-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: ZHF FixesFixes during the Zero Hydra Failures (ZHF) campaignFixes during the Zero Hydra Failures (ZHF) campaign0.kind: build failureA package fails to buildA package fails to build
Description
As part of ZHF for NixOS 22.11, I found that devilutionx no longer builds correctly.
Steps To Reproduce
Steps to reproduce the behavior:
- build devilutionx
Build log
The first time it started to fail on hydra, and here's the latest failure. I can reproduce it locally.
I think that this is the important part, where SDL2::SDL2main was not found:
...
-- Found Gettext: /nix/store/yzhdxmwvrcgc7i5kizfy45490169gzn5-gettext-0.21/bin/msgmerge (found version "0.21")
-- Configuring done
CMake Error at CMakeLists.txt:243 (target_link_libraries):
Target "devilutionx" links to:
SDL2::SDL2main
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at CMake/Dependencies.cmake:73 (target_link_libraries):
The link interface of target "DevilutionX::SDL" contains:
SDL2::SDL2main
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
CMakeLists.txt:203 (include)
Notify maintainers
I'm the maintainer, but I'm not sure how to fix it...
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.0.5, NixOS, 22.11 (Raccoon), 22.11pre422009.fdebb81f45a`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.11.0`
- channels(karol): `""`
- channels(root): `"home-manager, nixos"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: ZHF FixesFixes during the Zero Hydra Failures (ZHF) campaignFixes during the Zero Hydra Failures (ZHF) campaign0.kind: build failureA package fails to buildA package fails to build