golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.09k stars 17.68k forks source link

cmd/pack: arwrite hides write errors from perror #2705

Closed bradfitz closed 9 years ago

bradfitz commented 12 years ago
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?
bradfitz commented 12 years ago

Comment 1:

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
bradfitz commented 12 years ago

Comment 2:

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.
bradfitz commented 12 years ago

Comment 4:

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.
rsc commented 12 years ago

Comment 5:

will fix

Owner changed to @rsc.

Status changed to Accepted.

dsymonds commented 12 years ago

Comment 6:

Labels changed: added priority-later, removed priority-triage.

rsc commented 12 years ago

Comment 8:

Labels changed: added go1.1maybe.

davecheney commented 12 years ago

Comment 9:

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
bradfitz commented 12 years ago

Comment 10:

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.
davecheney commented 12 years ago

Comment 11:

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
?
bradfitz commented 12 years ago

Comment 12:

I just ran all.bash on a machine with some but not much disk space.
But that was almost a year ago.
davecheney commented 12 years ago

Comment 14:

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.
bradfitz commented 12 years ago

Comment 15:

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.
rsc commented 11 years ago

Comment 16:

Labels changed: added size-s.

rsc commented 11 years ago

Comment 17:

Labels changed: added suggested.

rsc commented 11 years ago

Comment 18:

[The time for maybe has passed.]

Labels changed: removed go1.1maybe.

rsc commented 11 years ago

Comment 19:

Labels changed: added go1.2.

rsc commented 11 years ago

Comment 20:

If my plans for Go 1.3 go through, this program will go away entirely. Not worth fixing
now.

Labels changed: added go1.3, removed go1.2.

davecheney commented 11 years ago

Comment 21:

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
minux commented 11 years ago

Comment 22:

re #20, Hi Russ, could you disclose your plan for Go 1.3?
rsc commented 10 years ago

Comment 23:

Labels changed: added release-go1.3.

rsc commented 10 years ago

Comment 24:

Labels changed: removed go1.3.

rsc commented 10 years ago

Comment 25:

Labels changed: added repo-main.

robpike commented 10 years ago

Comment 26:

This issue was closed by revision fdbf3d901b3c6c91ba0e5efe496f1518b53fd88.

Status changed to Fixed.