!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

322 Members
98 Servers

Load older messages


SenderMessageTime
24 Dec 2025
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.16:53:16
26 Dec 2025
@zimward:zimward.moezimward changed their display name from zimward to zimward @ 39c3.15:49:04
27 Dec 2025
@zimward:zimward.moezimward changed their display name from zimward @ 39c3 to zimward @ 39c3 ☎️ 75947.10:43:49
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) changed their display name from matthewcroughan to matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192).14:42:15
@andromeda:tchncs.deandromeda joined the room.20:00:15
@andromeda:tchncs.deandromedacurrently building nixbsd, but I ran into an issue21:09:05
@andromeda:tchncs.deandromeda

on commit 67f0c66 I run the command nom build .#base.vmClosureInfo --out-link .gcroots/vm --max-jobs 1 as the readme says and the build fails with the following output:

┏━ 2 Errors:
┃ error: Cannot build '/nix/store/2l49vw52k9gd2y2iw2psd87jnnadxj9x-closure-info.drv'.
┃        Reason: 1 dependency failed.
┃        Output paths:
┃          /nix/store/8v213znd8vm4qff7830g2l17y10vbhaa-closure-info
┃ error: Cannot build '/nix/store/5sq1f0ji91j1czjx0km33g72pjg6g2cx-lowdown-2.0.2.drv'.
┃        Reason: builder failed with exit code 1.
┃        Output paths:
┃          /nix/store/1ysm97d9py1a37k0mwbp4ph83p3adszx-lowdown-2.0.2-lib
┃          /nix/store/801d76j8vkn15cvwnhrdrqig532m57hh-lowdown-2.0.2
┃          /nix/store/dvjbv8rjy9wrw9nryjlf777m1ljhyzsp-lowdown-2.0.2-man
┃          /nix/store/ka6ippkbsr6r1w3rnxbaj1ba2dfsjrjq-lowdown-2.0.2-dev
┃        Last 14 log lines:
┃        > Running phase: unpackPhase
┃        > unpacking source archive /nix/store/0wzq3ghg2csxz804r9jdf1vnjbga6agr-lowdown-2.0.2.tar.gz
┃        > source root is lowdown-2.0.2
┃        > setting SOURCE_DATE_EPOCH to timestamp 1739739200 of file "lowdown-2.0.2/regress/template/var2.xml"
┃        > Running phase: patchPhase
┃        > applying patch /nix/store/8s6y8pq08z8nsvyhy5fs097k0fhdnlms-fix-cygwin-build.patch
┃        > patching file Makefile
┃        > Hunk #1 FAILED at 161.
┃        > Hunk #2 FAILED at 190.
┃        > Hunk #3 FAILED at 202.
┃        > Hunk #4 succeeded at 206 (offset -34 lines).
┃        > Hunk #5 FAILED at 273.
┃        > Hunk #6 FAILED at 406.
┃        > 5 out of 6 hunks FAILED -- saving rejects to file Makefile.rej
┃        For full logs, run:
┃          nix log /nix/store/5sq1f0ji91j1czjx0km33g72pjg6g2cx-lowdown-2.0.2.drv
┣━ Dependency Graph:
┃          ┌─ ⏸ sdl2-compat-2.32.60 waiting for 1 ⏵
┃       ┌─ ⏸ qemu-host-cpu-only-10.1.2
┃       │  ┌─ ⏸ closure-info waiting for 1 ⏵
┃       │  ├─ ⏸ closure-info waiting for 1 ⏵
┃       │  │              ┌─ ⏸ fcrontab waiting for 1 ⏵
┃       │  │           ┌─ ⏸ fcron
┃       │  │        ┌─ ⏸ rc.d
┃       │  │        │                 ┌─ ⏸ nix-cmd-2.34.0pre waiting for 1 ⏵
┃       │  │        │              ┌─ ⏸ nix-2.34.0pre20251214_9799fcb
┃       │  │        │           ┌─ ⏸ lazy-options.json
┃       │  │        │        ┌─ ⏸ options.json
┃       │  │        │     ┌─ ⏸ nixos-configuration-reference-manpage
┃       │  │        │  ┌─ ⏸ system-path
┃       │  │        ├─ ⏸ fcron.conf
┃       │  │     ┌─ ⏸ etc
┃       │  │  ┌─ ⏸ nixos-system-nixbsd-base-x86_64-unknown-freebsd
┃       │  ├─ ⏸ espDerivation
┃       ├─ ⏸ nixbsd-disk-image
┃    ┌─ ⏸ run-nixos-vm
┃ ┌─ ⏸ nixos-vm
┃ ├─ ⏵ openblas-0.3.30
┃ ├─ ⏵ lowdown-2.0.2 (patchPhase)
┃ ⏸ closure-info
┣━━━ Builds
┗━ ∑ ⏵ 2 │ ✔ 0 │ ⏸ 1125 │ ⚠ Exited with 2 errors reported by nix at 22:10:47 after 4s

some patch failed while building lowdown. Do any of yall know why this happened? Is this something silly or should I maybe file an error report?

21:12:35
@k900:0upti.meK900 Either update your lix or your nixpkgs 21:12:57
@k900:0upti.meK900 Or both, ideally 21:13:21
@andromeda:tchncs.deandromeda

it's not on lix, rather cppnix. The flake inputs section is as follows:

21:16:11
@andromeda:tchncs.deandromeda *

it's not on lix, rather cppnix. The flake inputs section is as follows:

inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/staging";
    # I can't figure out how to rebase our lix fork easily. Let's use cppnix for now.
    # lix = {
    #   url = "git+https://git.lix.systems/artemist/lix.git?ref=freebsd-build";
    #   inputs.nixpkgs.follows = "nixpkgs";
    #   # We don't need another nixpkgs clone, it won't evaluate anyway
    #   inputs.nixpkgs-regression.follows = "nixpkgs";
    # };
    cppnix = {
      url = "github:rhelmot/nix/freebsd";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    mini-tmpfiles = {
      url = "github:nixos-bsd/mini-tmpfiles";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
  };

  nixConfig = {
    extra-substituters = [ "https://attic.mildlyfunctional.gay/nixbsd" ];
    extra-trusted-public-keys =
      [ "nixbsd:gwcQlsUONBLrrGCOdEboIAeFq9eLaDqfhfXmHZs1mgc=" ];
  };
21:17:05
@emilazy:matrix.orgemilyyou probably need to use whatever their pinned commits are and not current ones21:29:17
28 Dec 2025
@psyclyx:matrix.orgpsyclyx joined the room.16:17:50
@psyclyx:matrix.orgpsyclyx set a profile picture.16:20:29
30 Dec 2025
@Ericson2314:matrix.orgJohn Ericson rhelmot: OK the staging commit you used should not be in master! 18:54:26
@rhelmot:matrix.orgrhelmotyay!!!19:02:02
@Ericson2314:matrix.orgJohn EricsonI am kicking off a build locally, but feel free to beat me too it :)19:02:52
@padarom:matrix.orgtoph joined the room.19:20:31
@Ericson2314:matrix.orgJohn Ericson rhelmot: \ 20:46:53
@Ericson2314:matrix.orgJohn EricsonRedacted or Malformed Event20:46:54
@Ericson2314:matrix.orgJohn Ericson *

rhelmot:

gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"freebsd"' -DCONF_MACHTYPE='"x86_64-unknown-freebsd"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/nix/store/4y27vmi6wbm6nq0z2sg65ddy9n5h2g8x-bash-interactive-static-x86_64-unknown-freebsd-5.3p3/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/build/bash-5.3/lib/intl -Wno-parentheses -Wno-format-security -g -DCROSS_COMPILING -rdynamic -g -DCROSS_COMPILING -o mksyntax ./mksyntax.c
make[1]: Entering directory '/build/bash-5.3/builtins'
rm -f mksignames.o
making /build/bash-5.3/lib/intl/libintl.h in /build/bash-5.3/lib/intl
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"freebsd"' -DCONF_MACHTYPE='"x86_64-unknown-freebsd"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/nix/store/4y27vmi6wbm6nq0z2sg65ddy9n5h2g8x-bash-interactive-static-x86_64-unknown-freebsd-5.3p3/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/build/bash-5.3/lib/intl -Wno-parentheses -Wno-format-security -g -DCROSS_COMPILING -DBUILDTOOL -c ./support/mksignames.c
make[2]: Entering directory '/build/bash-5.3/lib/intl'
sed -e '/IN_LIBGLOCALE/d'
-e 's,@''HAVE_POSIX_PRINTF''@,1,g'
-e 's,@''HAVE_ASPRINTF''@,1,g'
-e 's,@''HAVE_SNPRINTF''@,1,g'
-e 's,@''HAVE_WPRINTF''@,1,g'
-e 's,@''HAVE_NEWLOCALE''@,1,g'
-e 's,@''ENHANCE_LOCALE_FUNCS''@,0,g'
< ./libgnuintl.in.h > libintl.h
make[2]: Leaving directory '/build/bash-5.3/lib/intl'
rm -f mkbuiltins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/build/bash-5.3/lib/intl -Wno-parentheses -Wno-format-security -DHEREDOC_PIPESIZE=4096 -g -DCROSS_COMPILING mkbuiltins.c
In file included from mkbuiltins.c:46:
../bashansi.h:44:23: error: 'bool' cannot be defined via 'typedef'
44 | typedef unsigned char bool;
| ^~~~
../bashansi.h:44:23: note: 'bool' is a keyword with '-std=c23' onwards
../bashansi.h:44:1: warning: useless type name in empty declaration
44 | typedef unsigned char bool;
| ^~~~~~~
make[1]: *** [Makefile:231: mkbuiltins.o] Error 1
make[1]: Leaving directory '/build/bash-5.3/builtins'
make: *** [Makefile:822: builtins/builtext.h] Error 1
make: *** Waiting for unfinished jobs....
error: Cannot build '/nix/store/1nq20gs1fmvxw3dsknwislrkj33n2ssg-bash-interactive-static-x86_64-unknown-freebsd-5.3p3.drv'.

20:47:08
@Ericson2314:matrix.orgJohn Ericson *

rhelmot:

gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"freebsd"' -DCONF_MACHTYPE='"x86_64-unknown-freebsd"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/nix/store/4y27vmi6wbm6nq0z2sg65ddy9n5h2g8x-bash-interactive-static-x86_64-unknown-freebsd-5.3p3/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096   -I.  -I. -I./include -I./lib -I./lib/intl -I/build/bash-5.3/lib/intl -Wno-parentheses -Wno-format-security  -g -DCROSS_COMPILING -rdynamic -g -DCROSS_COMPILING -o mksyntax ./mksyntax.c
make[1]: Entering directory '/build/bash-5.3/builtins'
rm -f mksignames.o
making /build/bash-5.3/lib/intl/libintl.h in /build/bash-5.3/lib/intl
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"freebsd"' -DCONF_MACHTYPE='"x86_64-unknown-freebsd"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/nix/store/4y27vmi6wbm6nq0z2sg65ddy9n5h2g8x-bash-interactive-static-x86_64-unknown-freebsd-5.3p3/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096   -I.  -I. -I./include -I./lib -I./lib/intl -I/build/bash-5.3/lib/intl -Wno-parentheses -Wno-format-security  -g -DCROSS_COMPILING -DBUILDTOOL -c ./support/mksignames.c
make[2]: Entering directory '/build/bash-5.3/lib/intl'
sed -e '/IN_LIBGLOCALE/d' \
    -e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
    -e 's,@''HAVE_ASPRINTF''@,1,g' \
    -e 's,@''HAVE_SNPRINTF''@,1,g' \
    -e 's,@''HAVE_WPRINTF''@,1,g' \
    -e 's,@''HAVE_NEWLOCALE''@,1,g' \
    -e 's,@''ENHANCE_LOCALE_FUNCS''@,0,g' \
  < ./libgnuintl.in.h > libintl.h
make[2]: Leaving directory '/build/bash-5.3/lib/intl'
rm -f mkbuiltins.o
gcc -c  -DHAVE_CONFIG_H -DSHELL -I. -I..  -I.. -I../include -I../lib -I. -I../lib/intl -I/build/bash-5.3/lib/intl -Wno-parentheses -Wno-format-security -DHEREDOC_PIPESIZE=4096   -g -DCROSS_COMPILING mkbuiltins.c
In file included from mkbuiltins.c:46:
../bashansi.h:44:23: error: 'bool' cannot be defined via 'typedef'
   44 | typedef unsigned char bool;
      |                       ^~~~
../bashansi.h:44:23: note: 'bool' is a keyword with '-std=c23' onwards
../bashansi.h:44:1: warning: useless type name in empty declaration
   44 | typedef unsigned char bool;
      | ^~~~~~~
make[1]: *** [Makefile:231: mkbuiltins.o] Error 1
make[1]: Leaving directory '/build/bash-5.3/builtins'
make: *** [Makefile:822: builtins/builtext.h] Error 1
make: *** Waiting for unfinished jobs....
error: Cannot build '/nix/store/1nq20gs1fmvxw3dsknwislrkj33n2ssg-bash-interactive-static-x86_64-unknown-freebsd-5.3p3.drv'.
20:47:24
@Ericson2314:matrix.orgJohn Ericson3rd times the charm20:47:30
@Ericson2314:matrix.orgJohn Ericson -std=c23 problem cross compiling bash 20:47:49
@rhelmot:matrix.orgrhelmotugh20:47:59
@rhelmot:matrix.orgrhelmotI can fix it in a few hours maybe but feel free to beat me to it20:48:12
@Ericson2314:matrix.orgJohn Ericsondo you have a preferred way of fixing this?20:48:27
@Ericson2314:matrix.orgJohn Ericson HAVE_STDBOOL_H I guess that is wrong actually 20:52:40
@Ericson2314:matrix.orgJohn Ericson rhelmot: Do you know what the default -std flag is? the failing build didn't seem to have a -std=... but I need to provide one manually in the shell invoking $CC to reproduce the error 21:02:24
@Ericson2314:matrix.orgJohn Ericson gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/build/bash-5.3/lib/intl -Wno-parentheses -Wno-format-security -DHEREDOC_PIPESIZE=4096 -g -DCROSS_COMPILING mkbuiltins.c 21:03:29

Show newer messages


Back to Room ListRoom Version: 6