My favorites | Sign in
go
Project Home Downloads Wiki Issues Source Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2705: cmd/pack: arwrite hides write errors from perror
4 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  rsc@golang.org
Closed:  Jan 2014
Cc:  bradfitz@golang.org, i...@golang.org


Sign in to add a comment
 
Project Member Reported by bradfitz@golang.org, Jan 15, 2012
I just created a new Linux-amd64 Debian Squeeze VM.  I installed the documented dependencies, but all.bash fails:

....


%%%% making runtime generated files %%%%

cp runtime.h "/home/bradfitz/go/pkg/linux_amd64/runtime.h"
cp cgocall.h "/home/bradfitz/go/pkg/linux_amd64/cgocall.h"
6g -+   -p runtime -o _go_.6 debug.go error.go extern.go mem.go sig.go softfloat64.go type.go zgoarch_amd64.go zgoos_linux.go zruntime_defs_linux_amd64.go zversion.go  
cp arch_amd64.h arch_GOARCH.h
cp os_linux.h os_GOOS.h
cp signals_linux.h signals_GOOS.h
cp defs_linux_amd64.h defs_GOOS_GOARCH.h
cp zasm_linux_amd64.h zasm_GOOS_GOARCH.h
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "traceback_x86.6" traceback_x86.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "lock_futex.6" lock_futex.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "alg.6" alg.c
6a -DGOOS_linux -DGOARCH_amd64 asm_amd64.s
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "atomic_amd64.6" atomic_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "cgocall.6" cgocall.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "chan.6" chan.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "closure_amd64.6" closure_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "complex.6" complex.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "cpuprof.6" cpuprof.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "float.6" float.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "hashmap.6" hashmap.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "iface.6" iface.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "mcache.6" mcache.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "mcentral.6" mcentral.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "mem_linux.6" mem_linux.c
6a -DGOOS_linux -DGOARCH_amd64 memmove_amd64.s
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "mfinal.6" mfinal.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "mfixalloc.6" mfixalloc.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "mgc0.6" mgc0.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "mheap.6" mheap.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "msize.6" msize.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "print.6" print.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "proc.6" proc.c
6a -DGOOS_linux -DGOARCH_amd64 rt0_linux_amd64.s
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "rune.6" rune.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "runtime.6" runtime.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "signal_linux_amd64.6" signal_linux_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "slice.6" slice.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "symtab.6" symtab.c
6a -DGOOS_linux -DGOARCH_amd64 sys_linux_amd64.s
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "thread_linux.6" thread_linux.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "zmalloc_amd64.6" zmalloc_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "zmprof_amd64.6" zmprof_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "zruntime1_amd64.6" zruntime1_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "zsema_amd64.6" zsema_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "zsigqueue_amd64.6" zsigqueue_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "zstring_amd64.6" zstring_amd64.c
6c -FVw -DGOOS_linux -DGOARCH_amd64 -o "ztime_amd64.6" ztime_amd64.c
rm -f _obj/runtime.a
gopack grc _obj/runtime.a _go_.6 traceback_x86.6  lock_futex.6  alg.6 asm_amd64.6 atomic_amd64.6 cgocall.6 chan.6 closure_amd64.6 complex.6 cpuprof.6 float.6 hashmap.6 iface.6 mcache.6 mcentral.6 mem_linux.6 memmove_amd64.6 mfinal.6 mfixalloc.6 mgc0.6 mheap.6 msize.6 print.6 proc.6 rt0_linux_amd64.6 rune.6 runtime.6 signal_linux_amd64.6 slice.6 symtab.6 sys_linux_amd64.6 thread_linux.6 zmalloc_amd64.6 zmprof_amd64.6 zruntime1_amd64.6 zsema_amd64.6 zsigqueue_amd64.6 zstring_amd64.6 ztime_amd64.6 
cp _obj/runtime.a "/home/bradfitz/go/pkg/linux_amd64/runtime.a"
rm -f arch_GOARCH.h os_GOOS.h signals_GOOS.h defs_GOOS_GOARCH.h zasm_GOOS_GOARCH.h  runtime_defs.go version*.go asm_*.h
rm -rf *.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo* test.out build.out

# Building go command from bootstrap script.
gopack: write error: No such file or directory



New dependency that we don't document / check for?

Jan 15, 2012
Project Member #1 bradfitz@golang.org
Setting set -x to the buildscript, I see it end with:

# Building go command from bootstrap script.
+ mkdir -p /tmp/go-build.cAFXfk/runtime/_obj/
+ cd /home/bradfitz/go/src/pkg/runtime
+ 6g -o /tmp/go-build.cAFXfk/runtime/_obj/_go_.6 -p runtime -+ -I /tmp/go-build.cAFXfk ./debug.go ./error.go ./extern.go ./mem.go ./sig.go ./softfloat64.go ./type.go ./zgoarch_amd64.go ./zgoos_linux.go ./zruntime_defs_linux_amd64.go ./zversion.go
+ cp /home/bradfitz/go/src/pkg/runtime/arch_amd64.h /tmp/go-build.cAFXfk/runtime/_obj/arch_GOARCH.h
+ cp /home/bradfitz/go/src/pkg/runtime/defs_linux_amd64.h /tmp/go-build.cAFXfk/runtime/_obj/defs_GOOS_GOARCH.h
+ cp /home/bradfitz/go/src/pkg/runtime/os_linux.h /tmp/go-build.cAFXfk/runtime/_obj/os_GOOS.h
+ cp /home/bradfitz/go/src/pkg/runtime/signals_linux.h /tmp/go-build.cAFXfk/runtime/_obj/signals_GOOS.h
+ cp /home/bradfitz/go/src/pkg/runtime/zasm_linux_amd64.h /tmp/go-build.cAFXfk/runtime/_obj/zasm_GOOS_GOARCH.h
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/alg.6 -DGOOS_linux -DGOARCH_amd64 ./alg.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/atomic_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./atomic_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/cgocall.6 -DGOOS_linux -DGOARCH_amd64 ./cgocall.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/chan.6 -DGOOS_linux -DGOARCH_amd64 ./chan.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/closure_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./closure_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/complex.6 -DGOOS_linux -DGOARCH_amd64 ./complex.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/cpuprof.6 -DGOOS_linux -DGOARCH_amd64 ./cpuprof.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/float.6 -DGOOS_linux -DGOARCH_amd64 ./float.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/hashmap.6 -DGOOS_linux -DGOARCH_amd64 ./hashmap.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/iface.6 -DGOOS_linux -DGOARCH_amd64 ./iface.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/lock_futex.6 -DGOOS_linux -DGOARCH_amd64 ./lock_futex.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/mcache.6 -DGOOS_linux -DGOARCH_amd64 ./mcache.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/mcentral.6 -DGOOS_linux -DGOARCH_amd64 ./mcentral.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/mem_linux.6 -DGOOS_linux -DGOARCH_amd64 ./mem_linux.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/mfinal.6 -DGOOS_linux -DGOARCH_amd64 ./mfinal.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/mfixalloc.6 -DGOOS_linux -DGOARCH_amd64 ./mfixalloc.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/mgc0.6 -DGOOS_linux -DGOARCH_amd64 ./mgc0.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/mheap.6 -DGOOS_linux -DGOARCH_amd64 ./mheap.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/msize.6 -DGOOS_linux -DGOARCH_amd64 ./msize.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/print.6 -DGOOS_linux -DGOARCH_amd64 ./print.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/proc.6 -DGOOS_linux -DGOARCH_amd64 ./proc.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/rune.6 -DGOOS_linux -DGOARCH_amd64 ./rune.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/runtime.6 -DGOOS_linux -DGOARCH_amd64 ./runtime.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/signal_linux_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./signal_linux_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/slice.6 -DGOOS_linux -DGOARCH_amd64 ./slice.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/symtab.6 -DGOOS_linux -DGOARCH_amd64 ./symtab.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/thread_linux.6 -DGOOS_linux -DGOARCH_amd64 ./thread_linux.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/traceback_x86.6 -DGOOS_linux -DGOARCH_amd64 ./traceback_x86.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/zmalloc_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./zmalloc_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/zmprof_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./zmprof_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/zruntime1_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./zruntime1_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/zsema_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./zsema_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/zsigqueue_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./zsigqueue_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/zstring_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./zstring_amd64.c
+ 6c -FVw -I /tmp/go-build.cAFXfk/runtime/_obj/ -I /home/bradfitz/go/pkg/linux_amd64 -o /tmp/go-build.cAFXfk/runtime/_obj/ztime_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./ztime_amd64.c
+ 6a -I /tmp/go-build.cAFXfk/runtime/_obj/ -o /tmp/go-build.cAFXfk/runtime/_obj/asm_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./asm_amd64.s
+ 6a -I /tmp/go-build.cAFXfk/runtime/_obj/ -o /tmp/go-build.cAFXfk/runtime/_obj/memmove_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./memmove_amd64.s
+ 6a -I /tmp/go-build.cAFXfk/runtime/_obj/ -o /tmp/go-build.cAFXfk/runtime/_obj/rt0_linux_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./rt0_linux_amd64.s
+ 6a -I /tmp/go-build.cAFXfk/runtime/_obj/ -o /tmp/go-build.cAFXfk/runtime/_obj/sys_linux_amd64.6 -DGOOS_linux -DGOARCH_amd64 ./sys_linux_amd64.s
+ gopack grc /tmp/go-build.cAFXfk/runtime.a /tmp/go-build.cAFXfk/runtime/_obj/_go_.6 /tmp/go-build.cAFXfk/runtime/_obj/alg.6 /tmp/go-build.cAFXfk/runtime/_obj/atomic_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/cgocall.6 /tmp/go-build.cAFXfk/runtime/_obj/chan.6 /tmp/go-build.cAFXfk/runtime/_obj/closure_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/complex.6 /tmp/go-build.cAFXfk/runtime/_obj/cpuprof.6 /tmp/go-build.cAFXfk/runtime/_obj/float.6 /tmp/go-build.cAFXfk/runtime/_obj/hashmap.6 /tmp/go-build.cAFXfk/runtime/_obj/iface.6 /tmp/go-build.cAFXfk/runtime/_obj/lock_futex.6 /tmp/go-build.cAFXfk/runtime/_obj/mcache.6 /tmp/go-build.cAFXfk/runtime/_obj/mcentral.6 /tmp/go-build.cAFXfk/runtime/_obj/mem_linux.6 /tmp/go-build.cAFXfk/runtime/_obj/mfinal.6 /tmp/go-build.cAFXfk/runtime/_obj/mfixalloc.6 /tmp/go-build.cAFXfk/runtime/_obj/mgc0.6 /tmp/go-build.cAFXfk/runtime/_obj/mheap.6 /tmp/go-build.cAFXfk/runtime/_obj/msize.6 /tmp/go-build.cAFXfk/runtime/_obj/print.6 /tmp/go-build.cAFXfk/runtime/_obj/proc.6 /tmp/go-build.cAFXfk/runtime/_obj/rune.6 /tmp/go-build.cAFXfk/runtime/_obj/runtime.6 /tmp/go-build.cAFXfk/runtime/_obj/signal_linux_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/slice.6 /tmp/go-build.cAFXfk/runtime/_obj/symtab.6 /tmp/go-build.cAFXfk/runtime/_obj/thread_linux.6 /tmp/go-build.cAFXfk/runtime/_obj/traceback_x86.6 /tmp/go-build.cAFXfk/runtime/_obj/zmalloc_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/zmprof_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/zruntime1_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/zsema_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/zsigqueue_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/zstring_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/ztime_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/asm_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/memmove_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/rt0_linux_amd64.6 /tmp/go-build.cAFXfk/runtime/_obj/sys_linux_amd64.6
gopack: write error: No such file or directory
+ rm -rf /tmp/go-build.cAFXfk

Jan 15, 2012
Project Member #2 bradfitz@golang.org
I modified gopack to add more logging.  The error is not actually ENOENT.  It's that write in arwrite is writing less than expected.  (errno isn't set)

arwrite to fd 3: wrote 46590; want 439802

Ideas?

I don't know this code.

Jan 15, 2012
Project Member #3 bradfitz@golang.org
(No comment was entered for this change.)
Summary: all.bash failure on new Linux VM; gopack short write in arwrite
Jan 16, 2012
Project Member #4 bradfitz@golang.org
Okay, this was boring.

After tweaking gopack more, I got it to spit out the real error message:  /tmp was full.  But I never noticed because of the buildscript's rm -rf $WORKDIR trap.

But gopack's arwrite could re-try the remainder of the write so errno is set to something useful so perror could print a good error message.
Summary: gopack arwrite hides write errors from perror
Jan 16, 2012
Project Member #5 rsc@golang.org
will fix

Status: Accepted
Owner: rsc@golang.org
Jan 18, 2012
Project Member #6 dsymo...@golang.org
(No comment was entered for this change.)
Labels: -Priority-Triage Priority-Later
Jan 29, 2012
Project Member #7 rsc@golang.org
(No comment was entered for this change.)
Summary: cmd/gopack: arwrite hides write errors from perror
Sep 12, 2012
Project Member #8 rsc@golang.org
(No comment was entered for this change.)
Labels: Go1.1Maybe
Sep 19, 2012
Project Member #9 d...@cheney.net
I think this may be fixed, at least now we get a reliable error.

# launchpad.net/juju-core/worker/uniter_test
pack: non-object file $WORK/launchpad.net/juju-core/worker/uniter/_test/_go_.6
pack: zero length file $WORK/launchpad.net/juju-core/worker/uniter/_test/_go_.6
pack: write error: No space left on device

Sep 19, 2012
Project Member #10 bradfitz@golang.org
I see no hg changes to fix this.  I think you just got the error at a lucky time, and not at the point at which I hit it.

Sep 19, 2012
Project Member #11 d...@cheney.net
I submitted 2874979af37a a while back as a partial solution to expose
the error. Can you give some hints how to reproduce the error you saw
?
Sep 19, 2012
Project Member #12 bradfitz@golang.org
I just ran all.bash on a machine with some but not much disk space.

But that was almost a year ago.

Oct 4, 2012
Project Member #13 rsc@golang.org
(No comment was entered for this change.)
Summary: cmd/pack: arwrite hides write errors from perror
Oct 14, 2012
Project Member #14 d...@cheney.net
I managed to run out of space on /tmp this weekend and received a useful error from pack (sorry, I didn't capture the text). I would like to close this issue as complete.
Cc: bradfitz@golang.org
Oct 15, 2012
Project Member #15 bradfitz@golang.org
Don't close it until you can point me to the commit that fixed it.

I remain convinced that you're just getting lucky.  IIRC, some write calls in that program generate good errors and some get masked.  I think you happened to hit a path that generated a good error.

Dec 9, 2012
Project Member #16 rsc@golang.org
(No comment was entered for this change.)
Labels: Size-S
Dec 9, 2012
Project Member #17 rsc@golang.org
(No comment was entered for this change.)
Labels: Suggested
Mar 12, 2013
Project Member #18 rsc@golang.org
[The time for maybe has passed.]

Labels: -Go1.1Maybe
Jul 30, 2013
Project Member #19 rsc@golang.org
(No comment was entered for this change.)
Labels: Go1.2
Sep 9, 2013
Project Member #20 rsc@golang.org
If my plans for Go 1.3 go through, this program will go away entirely. Not worth fixing now.

Labels: -Go1.2 Go1.3
Oct 8, 2013
Project Member #21 d...@cheney.net
Here is an interesting datapoint 

The host I was building on was 100% full on /

# Building compilers and Go bootstrap tool for host, linux/arm.
lib9
libbio
libmach
misc/pprof
cmd/addr2line
cmd/nm
cmd/objdump
cmd/pack
cmd/prof
cmd/cc
cmd/gc
cmd/5l
cmd/5a
cmd/5c
cmd/5g
pkg/runtime
pack: write error: No such file or directory
go tool dist: FAILED: /home/cubie/go/pkg/tool/linux_arm/pack grc /home/cubie/go/pkg/linux_arm/runtime.a $WORK/alg.o $WORK/asm_arm.o $WORK/atomic_arm.o $WORK/cgocall.o $WORK/chan.o $WORK/complex.o $WORK/cpuprof.o $WORK/env_posix.o $WORK/float.o $WORK/hashmap.o $WORK/iface.o $WORK/lfstack.o $WORK/lock_futex.o $WORK/mcache.o $WORK/mcentral.o $WORK/mem_linux.o $WORK/memclr_arm.o $WORK/memmove_arm.o $WORK/mfinal.o $WORK/mfixalloc.o $WORK/mgc0.o $WORK/mheap.o $WORK/msize.o $WORK/netpoll_epoll.o $WORK/os_linux.o $WORK/os_linux_arm.o $WORK/panic.o $WORK/parfor.o $WORK/print.o $WORK/proc.o $WORK/race0.o $WORK/rt0_linux_arm.o $WORK/rune.o $WORK/runtime.o $WORK/signal_arm.o $WORK/signal_unix.o $WORK/slice.o $WORK/softfloat_arm.o $WORK/stack.o $WORK/symtab.o $WORK/sys_arm.o $WORK/sys_linux_arm.o $WORK/traceback_arm.o $WORK/vlop_arm.o $WORK/vlrt_arm.o $WORK/zmalloc_linux_arm.o $WORK/zmprof_linux_arm.o $WORK/znetpoll_linux_arm.o $WORK/znoasm_arm_linux_arm.o $WORK/zruntime1_linux_arm.o $WORK/zsema_linux_arm.o $WORK/zsigqueue_linux_arm.o $WORK/zstring_linux_arm.o $WORK/zsys_linux_arm.o $WORK/ztime_linux_arm.o $WORK/_go_.5

cubie@Cubian:~/go/src$ ls -al /home/cubie/go/pkg/linux_arm/runtime.a
-rw-r--r-- 1 cubie cubie 1642496 Oct  9 04:47 /home/cubie/go/pkg/linux_arm/runtime.a
Oct 8, 2013
#22 minux...@gmail.com
re #20, Hi Russ, could you disclose your plan for Go 1.3?
Dec 3, 2013
Project Member #23 rsc@golang.org
(No comment was entered for this change.)
Labels: Release-Go1.3
Dec 3, 2013
Project Member #24 rsc@golang.org
(No comment was entered for this change.)
Labels: -Go1.3
Dec 3, 2013
Project Member #25 rsc@golang.org
(No comment was entered for this change.)
Labels: Repo-Main
Jan 15, 2014
Project Member #26 r@golang.org
This issue was closed by revision 160cde0af860.
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting