nix-eval-jobs (overlaying 2.22.0) fails to build despite fixes #29

Closed
opened 2024-05-26 18:41:01 +00:00 by antifuchs · 4 comments

With the latest nixos-module, lix (ref=refs/tags/2.90-beta.1) and nix-eval-jobs, I'm seeing build failures, at least with the overlay here applied against n-e-j 2.22.0:

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/7i0pp0mfbxkhzlnyq6xq9w7myq58xa1m-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
mesonConfigurePhase flags: --prefix=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0 --libdir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/lib --libexecdir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/libexec --bindir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/bin --sbindir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/sbin --includedir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/include --mandir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/share/man --infodir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/share/info --localedir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=debugoptimized
The Meson build system
Version: 1.4.0
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Project name: nix-eval-jobs
Project version: 0.1.6
C++ compiler for the host machine: g++ (gcc 13.2.0 "g++ (GCC) 13.2.0")
C++ linker for the host machine: g++ ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/nix/store/zdvrzlvzbn9ymb0z8na50w995j8np16z-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
Found CMake: /nix/store/q1nssraba326p2kp6627hldd2bhg254c-cmake-3.29.2/bin/cmake (3.29.2)
Run-time dependency lix-main found: NO (tried pkgconfig and cmake)

meson.build:6:15: ERROR: Dependency "lix-main" not found, tried pkgconfig and cmake

A full log can be found at /build/source/build/meson-logs/meson-log.txt

I'm not sure what is going on, but it seems the lix override isn't completely taking?

metadata

pinned SHAs in my flake.lock:

nixos-module: 18fa4a89e208cb8e881f5f71c75bbd4c1c2fd37d
lix: b6799ab0374a8e1907a48915d3187e07da41d88c
nixpkgs: bfb7a882678e518398ce9a31a881538679f6f092
With the latest nixos-module, lix (`ref=refs/tags/2.90-beta.1`) and nix-eval-jobs, I'm seeing build failures, at least with the overlay here applied against n-e-j 2.22.0: ```console @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/7i0pp0mfbxkhzlnyq6xq9w7myq58xa1m-source source root is source @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "configurePhase" } Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0 --libdir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/lib --libexecdir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/libexec --bindir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/bin --sbindir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/sbin --includedir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/include --mandir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/share/man --infodir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/share/info --localedir=/nix/store/033r08n2262riskwsadxndqbyigxqm48-nix-eval-jobs-2.22.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=debugoptimized The Meson build system Version: 1.4.0 Source dir: /build/source Build dir: /build/source/build Build type: native build Project name: nix-eval-jobs Project version: 0.1.6 C++ compiler for the host machine: g++ (gcc 13.2.0 "g++ (GCC) 13.2.0") C++ linker for the host machine: g++ ld.bfd 2.41 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/nix/store/zdvrzlvzbn9ymb0z8na50w995j8np16z-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Found CMake: /nix/store/q1nssraba326p2kp6627hldd2bhg254c-cmake-3.29.2/bin/cmake (3.29.2) Run-time dependency lix-main found: NO (tried pkgconfig and cmake) meson.build:6:15: ERROR: Dependency "lix-main" not found, tried pkgconfig and cmake A full log can be found at /build/source/build/meson-logs/meson-log.txt ``` I'm not sure what is going on, but it seems the lix override isn't completely taking? ### metadata pinned SHAs in my flake.lock: ``` nixos-module: 18fa4a89e208cb8e881f5f71c75bbd4c1c2fd37d lix: b6799ab0374a8e1907a48915d3187e07da41d88c nixpkgs: bfb7a882678e518398ce9a31a881538679f6f092 ```
Owner

seems like the module is assuming Lix HEAD where we changed the pkg-config stuff. I guess we need to do some version detection

seems like the module is assuming Lix HEAD where we changed the pkg-config stuff. I guess we need to do some version detection
Owner

can we just do another beta tag? that would be easier.

can we just do another beta tag? that would be easier.
Author

Agree that a new beta release would be good! While you're at it (most expensive phrase in the English language), can we get a beta branch whose HEAD points at the latest release tag? 😁

Agree that a new beta release would be good! While you're at it (most expensive phrase in the English language), can we get a `beta` branch whose HEAD points at the latest release tag? 😁
Owner

Fixed by release-2.90 branch.

Fixed by `release-2.90` branch.
jade closed this issue 2024-07-30 22:23:19 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/nixos-module#29
No description provided.