!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

413 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.137 Servers

Load older messages


SenderMessageTime
15 Dec 2025
@hexa:lossy.networkhexacpu goes brrrrrmmm19:53:55
@hexa:lossy.networkhexa cc delroth 20:02:21
@delroth:delroth.netdelrothwill have a look in a minute20:02:49
@delroth:delroth.netdelrothprobably not much we can easily do if it's just the usual scraper waves20:03:09
16 Dec 2025
@winter:catgirl.cloudWinter anyone see functional-tarball fail on Linux (NixOS, nothing special)?

1/1 lix:installcheck / functional-tarball        FAIL             0.42s   exit status 1
>>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=140 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_BUILD_ROOT=/home/winter/src/lix/build /nix/store/7av9p5ds2m5z76072pf6fgd4idfavbyb-python3-3.12.11-env/bin/python3 /home/winter/src/lix/meson/run-test.py tarball.sh
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
clearing store...
/tmp/nix-test/tarball/store/lmrrrf00487rd9418fqrdpnj88xqvq56-dependencies-top
/tmp/nix-test/tarball/store/lmrrrf00487rd9418fqrdpnj88xqvq56-dependencies-top
/tmp/nix-test/tarball/store/lmrrrf00487rd9418fqrdpnj88xqvq56-dependencies-top
/tmp/nix-test/tarball/store/lmrrrf00487rd9418fqrdpnj88xqvq56-dependencies-top
[FAIL]
stderr:
++(common/vars-and-functions.sh:314) trap onError ERR
+(init.sh:6) test -n /tmp/nix-test/tarball
+(init.sh:7) test -d /tmp/nix-test/tarball
+(init.sh:8) chmod -R u+w /tmp/nix-test/tarball
+(init.sh:10) killDaemon
+(common/vars-and-functions.sh:122) [[ '' == '' ]]
+(common/vars-and-functions.sh:123) return
+(init.sh:11) rm -rf /tmp/nix-test/tarball
+(init.sh:13) mkdir /tmp/nix-test/tarball
+(init.sh:15) mkdir /tmp/nix-test/tarball/store
+(init.sh:16) mkdir /tmp/nix-test/tarball/var
+(init.sh:17) mkdir -p /tmp/nix-test/tarball/var/log/nix/drvs
+(init.sh:18) mkdir /tmp/nix-test/tarball/var/nix
+(init.sh:19) mkdir /tmp/nix-test/tarball/etc
+(init.sh:21) cat
++(init.sh:21) whoami
+(init.sh:35) cat
+(init.sh:42) nix-store --init
+(init.sh:45) test -e /tmp/nix-test/tarball/var/nix/db/db.sqlite
+++(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:314) trap onError ERR
++(common.sh:8) [[ -n '' ]]
+(tarball.sh:3) clearStore
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:77) echo 'clearing store...'
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:78) chmod -R +w /tmp/nix-test/tarball/store
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:79) rm -rf /tmp/nix-test/tarball/store
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:80) mkdir /tmp/nix-test/tarball/store
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:81) rm -rf /tmp/nix-test/tarball/var/nix
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:82) mkdir /tmp/nix-test/tarball/var/nix
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:83) clearProfiles
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:67) profiles=/tmp/nix-test/tarball/test-home/.local/state/nix/profiles
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:68) rm -rf /tmp/nix-test/tarball/test-home/.local/state/nix/profiles
+(tarball.sh:5) rm -rf /tmp/nix-test/tarball/test-home
+(tarball.sh:7) tarroot=/tmp/nix-test/tarball/tarball
+(tarball.sh:8) rm -rf /tmp/nix-test/tarball/tarball
+(tarball.sh:9) mkdir -p /tmp/nix-test/tarball/tarball
+(tarball.sh:10) cp dependencies.nix /tmp/nix-test/tarball/tarball/default.nix
+(tarball.sh:11) cp config.nix dependencies.builder0.sh /tmp/nix-test/tarball/tarball/
+(tarball.sh:12) touch -d @1000000000 /tmp/nix-test/tarball/tarball /tmp/nix-test/tarball/tarball/config.nix /tmp/nix-test/tarball/tarball/default.nix /tmp/nix-test/tarball/tarball/dependencies.builder0.sh
++(tarball.sh:14) nix hash path /tmp/nix-test/tarball/tarball
+(tarball.sh:14) hash=sha256-2NhJHAcxowveS0j8hqI88SaMBEzLnDHYZVPYzr0B5Dk=
+(tarball.sh:65) test_tarball '' cat
+(tarball.sh:17) local ext=
+(tarball.sh:18) local compressor=cat
+(tarball.sh:20) tarball=/tmp/nix-test/tarball/tarball.tar
+(tarball.sh:21) cd /tmp/nix-test/tarball
+(tarball.sh:21) GNUTAR_REPRODUCIBLE=
+(tarball.sh:21) cat
+(tarball.sh:21) tar --mtime=/tmp/nix-test/tarball/tarball/default.nix --owner=0 --group=0 --numeric-owner --sort=name -c -f - tarball
+(tarball.sh:23) nix-env -f file:///tmp/nix-test/tarball/tarball.tar -qa --out-path
+(tarball.sh:23) grepQuiet dependencies
+(/home/winter/src/lix/build/tests/functional/common/vars-and-functions.sh:301) grep dependencies
+(tarball.sh:25) nix-build -o /tmp/nix-test/tarball/result file:///tmp/nix-test/tarball/tarball.tar
these 6 derivations will be built:
  /tmp/nix-test/tarball/store/5ldcda88jam02irn38vh3y6ikwlxrsch-fod-input.drv
  /tmp/nix-test/tarball/store/7i6pcb97xwpd898mzrb4hfgwpf3750y2-dependencies-input-1.drv
  /tmp/nix-test/tarball/store/bks7dygq49y992lx4gzcl69ahnd567in-dependencies-input-0.drv
  /tmp/nix-test/tarball/store/v2c78gyldds6j7kwl2n2qg30fbdy0vcq-dependencies-input-3.drv
  /tmp/nix-test/tarball/store/ncmwg7bw1qn8cvhf623wkgvhcb10jhka-dependencies-input-2.drv
  /tmp/nix-test/tarball/store/854wj8997z02cv7h1czicniz4jw1qp20-dependencies-top.drv
building '/tmp/nix-test/tarball/store/7i6pcb97xwpd898mzrb4hfgwpf3750y2-dependencies-input-1.drv'...
building '/tmp/nix-test/tarball/store/bks7dygq49y992lx4gzcl69ahnd567in-dependencies-input-0.drv'...
building '/tmp/nix-test/tarball/store/v2c78gyldds6j7kwl2n2qg30fbdy0vcq-dependencies-input-3.drv'...
building '/tmp/nix-test/tarball/store/5ldcda88jam02irn38vh3y6ikwlxrsch-fod-input.drv'...

building '/tmp/nix-test/tarball/store/ncmwg7bw1qn8cvhf623wkgvhcb10jhka-dependencies-input-2.drv'...
building '/tmp/nix-test/tarball/store/854wj8997z02cv7h1czicniz4jw1qp20-dependencies-top.drv'...
FOO
+(tarball.sh:27) nix-build -o /tmp/nix-test/tarball/result '<foo>' -I foo=file:///tmp/nix-test/tarball/tarball.tar
+(tarball.sh:29) nix-build -o /tmp/nix-test/tarball/result -E 'import (fetchTarball "file:///tmp/nix-test/tarball/tarball.tar")'
+(tarball.sh:31) nix-build -o /tmp/nix-test/tarball/result -E 'import (fetchTarball { url = "file:///does-not-exist/must-remain-unused//tmp/nix-test/tarball/tarball.tar"; sha256 = "sha256-2NhJHAcxowveS0j8hqI88SaMBEzLnDHYZVPYzr0B5Dk="; })'
++(tarball.sh:36) mktemp -d
+(tarball.sh:36) export HOME=/tmp/tmp.uv9cfspZrx
+(tarball.sh:36) HOME=/tmp/tmp.uv9cfspZrx
tarball.sh: line 37: TMPDIR: unbound variable
00:40:47
@winter:catgirl.cloudWinter this is on main 00:40:58
@helle:tacobelllabs.nethelle (just a stray cat girl)it's an isolation failure in f100:43:09
@helle:tacobelllabs.nethelle (just a stray cat girl)can't quickly check what the work around is, but your shells TMPDIR iirc is what is affecting it00:43:51
@winter:catgirl.cloudWinterin my case $TMPDIR is null so maybe that's why00:44:17
@winter:catgirl.cloudWinterwell, yes, it is why00:44:21
@winter:catgirl.cloudWinteri just can't read00:44:23
@helle:tacobelllabs.nethelle (just a stray cat girl)yep, welcome to why the hell f2 was so badly needed00:44:42
@winter:catgirl.cloudWinteryeah00:44:56
@winter:catgirl.cloudWinterlol00:44:58
@aloisw:julia0815.dealoisw
In reply to @winter:catgirl.cloud
in my case $TMPDIR is null so maybe that's why
Yeah, workaround is TMPDIR=/tmp, fix is probably migration to functional2.
06:25:25
@winter:catgirl.cloudWinter(am i the only person with an unset TMPDIR running tests? 😅)06:27:18
@raitobezarius:matrix.orgraitobezariusIsn't this a Darwin only problem?06:31:10
@raitobezarius:matrix.orgraitobezariusAh you wrote on Linux as well...06:31:35
@raitobezarius:matrix.orgraitobezariusI don't think I saw it so I must be setting that variable somehow 06:31:48
@winter:catgirl.cloudWinter are you using direnv? i know it unsets TMPDIR so that’s where mine is coming from i imagine 06:38:11
@aloisw:julia0815.dealoisw
In reply to @winter:catgirl.cloud
(am i the only person with an unset TMPDIR running tests? 😅)
No, I have run into it too, and someone else filed an issue already (https://git.lix.systems/lix-project/lix/issues/1035).
07:17:37
@helle:tacobelllabs.nethelle (just a stray cat girl)we'll say, moving everything that fails on unset TMPDIR should just be ported to f2 with priority 07:19:21
@helle:tacobelllabs.nethelle (just a stray cat girl)but I am biassed (and too sick to do it myself annoyingly)07:19:39
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping... There might even be a wip cl by me, but dont have capacities to continue working on it. Feel free to grab07:21:35
@raitobezarius:matrix.orgraitobezarius
In reply to @winter:catgirl.cloud
are you using direnv? i know it unsets TMPDIR so that’s where mine is coming from i imagine
I am
07:24:00
@raitobezarius:matrix.orgraitobezariusUnfortunately, away from laptop for the next days so I will leave the mystery for why I am seemingly unaffected to another day07:24:29
@helle:tacobelllabs.nethelle (just a stray cat girl)I mean I am using direnv and not seeing it07:24:42
@piegames:flausch.socialpiegames
In reply to @winter:catgirl.cloud
(am i the only person with an unset TMPDIR running tests? 😅)
Nope, had this too
09:03:06
@piegames:flausch.socialpiegamesAlso I think pretty much everyone is using direnv because how else are you supposed to develop 😅09:03:40
@raitobezarius:matrix.orgraitobezariuslorri is a thing too09:04:31

Show newer messages


Back to Room ListRoom Version: 10