pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems Building lang/go120 - /tmp full?



> * On 2023-03-10 at 13:46 GMT, yancm%sdf.org@localhost wrote:
>
>>> * On 2023-03-10 at 13:05 GMT, yancm%sdf.org@localhost wrote:
>>>
>>>>[ 1095082.9828822] /tmp: write failed, file system is full
>>>># cmd/compile/internal/ssa
>>>>compile: writing output: write $WORK/b121/_pkg_.a: no space left on
>>>> device
>>>
>>> I run into this as well, I've switched to using:
>>>
>>>    MAKE_ENV+=   GOTMPDIR=${WRKOBJDIR:Q}
>>>
>>> in my mk.conf on affected build hosts.
>>>
>>
>>I added this line to my /etc/mk.conf
>>This addition does not change my outcome at all?
>>Build still fails with same message.
>
> In that case maybe something else is using TMPDIR and causing the
> failure.  The problem is that TMPDIR?= in g120/Makefile does nothing as
> bmake already sets it, try changing it to TMPDIR=


Hmmm. Absolutely no-joy...
I revised g120 Makefile to TMPDIR = /usr/pkgsrc/tmp (which I created)
I also updated g118 Makefile TMPDIR to same since g120 uses g118 to
bootstrap...

And I still get:
cmd/compile/internal/abi
cmd/compile/internal/typecheck

[ 1106120.1528012] /tmp: write failed, file system is full
cmd/compile/internal/deadcode
# cmd/compile/internal/types2
compile: writing output: write $WORK/b151/_pkg_.a: no space left on device
cmd/link/internal/loadpe

[ 1106120.2328355] /tmp: write failed, file system is full
# cmd/compile/internal/deadcode
compile: writing output: write $WORK/b145/_pkg_.a: no space left on device
cmd/link/internal/loadxcoff

[ 1106120.3128698] /tmp: write failed, file system is full
# cmd/link/internal/loadxcoff
compile: writing output: write $WORK/b185/_pkg_.a: no space left on device

[ 1106120.3328780] /tmp: write failed, file system is full
# cmd/link/internal/loadpe
compile: writing output: write $WORK/b184/_pkg_.a: no space left on device

[ 1106120.3428818] /tmp: write failed, file system is full
# cmd/compile/internal/abi
compile: writing output: write $WORK/b122/_pkg_.a: no space left on device

[ 1106121.3933268] /tmp: write failed, file system is full
# cmd/compile/internal/typecheck
compile: writing output: write $WORK/b126/_pkg_.a: no space left on device
go tool dist: FAILED:
/usr/pkgsrc/lang/go120/work/go/pkg/tool/netbsd_amd64/go_bootstrap install
-v cmd/asm cmd/cgo cmd/compile cmd/link: exit status 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/go120
*** Error code 1







Home | Main Index | Thread Index | Old Index