Closed Zaczero closed 1 month ago
Steps to reproduce the behavior:
postgresql_16_jit.withPackages (ps: [ ps.postgis ])
last 24 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/b6i4m8ncipqc9ia4yyjvd0m7hygh43d8-postgis-3.4.2.tar.gz > source root is postgis-3.4.2 > setting SOURCE_DATE_EPOCH to timestamp 1707412498 of file postgis-3.4.2/doc/topology_comments.sql > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub > Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess > Running phase: configurePhase > fixing libtool script ./build-aux/ltmain.sh > ./configure > patching script interpreter paths in ./configure > ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/iafzjk7zbkqaszqfp6n006vvxjrpn4f6-bash-5.2p32/bin/sh" > configure flags: --prefix=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2 --bindir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/bin --sbindir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/sbin --includedir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/include --oldincludedir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/include --mandir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/share/man --infodir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/share/info --docdir=/nix/store/5cxwrnnc5njhx12a01qiyr5w5fhh7nww-postgis-3.4.2-doc/share/doc/postgis --libdir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/lib --libexecdir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/libexec --localedir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/share/locale --datadir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/share/postgresql --datarootdir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/share/postgresql --bindir=/nix/store/f0wl7s7md2lcbyh8hji5d9yhqhbgchhy-postgis-3.4.2/bin --docdir=/nix/store/5cxwrnnc5njhx12a01qiyr5w5fhh7nww-postgis-3.4.2-doc/share/doc/postgis --with-gdalconfig=/nix/store/00syb4zf2wf1h69r0a0qifs730pjzd6v-gdal-minimal-3.9.2/bin/gdal-config --with-jsondir=/nix/store/pcp2x53q5cz04cag2nn29fdfnjaxvwyr-json-c-0.17-dev --disable-extension-upgrades-install > checking for a BSD-compatible install... /nix/store/1l41471x6rlf7l544s1bxkqqgpprd28m-coreutils-9.5/bin/install -c > checking build system type... aarch64-apple-darwin23.6.0 > checking host system type... aarch64-apple-darwin23.6.0 > checking how to print strings... printf > checking for gcc... clang > checking whether the C compiler works... no > configure: error: in `/private/tmp/nix-build-postgis-3.4.2.drv-0/postgis-3.4.2': > configure: error: C compiler cannot create executables > See `config.log' for more details > /nix/store/riapfbcz0gbwpw2fv8s19aiisiv5zgk0-stdenv-darwin/setup: line 236: postgresqlStop: command not found For full logs, run 'nix log /nix/store/p9w1wprfzlbhcaarkk1jgqiwzj4fx61s-postgis-3.4.2.drv'.
GH Job: https://github.com/openstreetmap-ng/openstreetmap-ng/actions/runs/10889150978/job/30215154539
@autra @imincik @l0b0 @nh2 @nialov @sikmir @willcohen @MarcWeber @wolfgangwalther
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
I don't have an easy access to a darwin machine.
Add a :+1: reaction to issues you find important.
Opened #342369 to fix it.
Thanks a lot! Works now :+1:
Steps To Reproduce
Steps to reproduce the behavior:
postgresql_16_jit.withPackages (ps: [ ps.postgis ])
Build log
Additional context
GH Job: https://github.com/openstreetmap-ng/openstreetmap-ng/actions/runs/10889150978/job/30215154539
Notify maintainers
@autra @imincik @l0b0 @nh2 @nialov @sikmir @willcohen @MarcWeber @wolfgangwalther
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.I don't have an easy access to a darwin machine.
Add a :+1: reaction to issues you find important.