pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: stray files in go build / bob sandbox not empty
Benny Siegert <bsiegert%netbsd.org@localhost> writes:
> As for not respecting FAKE HOME:
>
> How is that implemented? By setting $HOME? If that is not respected,
> that's clearly a bug that should be reported upstream.
Yes.
./bsd.pkg.mk:FAKEHOMEDIR= ${WRKDIR}/.home
./bsd.pkg.mk:ALL_ENV+= HOME=${FAKEHOMEDIR}
and then checks/check-fakehome.mk complains if it is non-empty.
This scheme
- mostly stops package builds from modifying the user's data
- mostly detects if a package writes things into $HOME
I had a whole bunch of stuff in .config/go/telemetry and cleareed it
out. Started "make package" in lang/go126, not using bob, normal
netbsd-10 amd64 machine, and soon:
$ find .config/go -type f | xargs ls -l
-rw-r--r-- 1 gdt users 16384 Jul 13 14:56 .config/go/telemetry/local/asm@go1.24.13-go1.24.13-netbsd-amd64-2026-07-13.v1.count
-rw-r--r-- 1 gdt users 16384 Jul 13 14:56 .config/go/telemetry/local/compile@go1.24.13-go1.24.13-netbsd-amd64-2026-07-13.v1.count
-rw-r--r-- 1 gdt users 16384 Jul 13 14:56 .config/go/telemetry/local/go@go1.24.13-go1.24.13-netbsd-amd64-2026-07-13.v1.count
-rw-r--r-- 1 gdt users 16384 Jul 13 14:57 .config/go/telemetry/local/link@go1.24.13-go1.24.13-netbsd-amd64-2026-07-13.v1.count
-rw-r--r-- 1 gdt users 0 Jul 13 14:56 .config/go/telemetry/local/upload.token
-rw-r--r-- 1 gdt users 2 Jul 13 14:56 .config/go/telemetry/local/weekends
I looked for about 10 minutes but could not trace the twisty maze of calls.
I guess we could disable telemetry as an interim thing until this is fixed.
Home |
Main Index |
Thread Index |
Old Index