Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: perl540Packages.AppMusicChordPro #391371

Open
3 tasks done
jzbor opened this issue Mar 19, 2025 · 0 comments
Open
3 tasks done

Build failure: perl540Packages.AppMusicChordPro #391371

jzbor opened this issue Mar 19, 2025 · 0 comments
Labels
0.kind: build failure A package fails to build

Comments

@jzbor
Copy link
Contributor

jzbor commented Mar 19, 2025

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

Build via Flakes:

nix build -L github:nixos/nixpkgs/nixos-unstable#perlPackages.AppMusicChordPro

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/292344886

Relevant log output

these 2 derivations will be built:
  /nix/store/0a86k01qr9p2lprmlzh83pjmnj3irayx-perl5.40.0-Wx-0.9932.drv
  /nix/store/xc8aaz945aznrs2r3av8vdqcsk043q6n-perl5.40.0-App-Music-ChordPro-6.050.7.drv
building '/nix/store/0a86k01qr9p2lprmlzh83pjmnj3irayx-perl5.40.0-Wx-0.9932.drv'...
error: builder for '/nix/store/0a86k01qr9p2lprmlzh83pjmnj3irayx-perl5.40.0-Wx-0.9932.drv' failed with exit code 2;
       last 25 log lines:
       >   633 | #define wxConvWhateverWorks wxGet_wxConvWhateverWorks()
       >       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/strconv.h:707:16: note: in expansion of macro 'wxConvWhateverWorks'
       >   707 |         return wxConvWhateverWorks.cMB2WC(s);
       >       |                ^~~~~~~~~~~~~~~~~~~
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/strconv.h:707:35: error: request for member 'cMB2WC' in something not a structure or union
       >   707 |         return wxConvWhateverWorks.cMB2WC(s);
       >       |                                   ^
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/strconv.h: At top level:
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/strconv.h:710:12: error: unknown type name 'wxCharBuffer'; did you mean 'wxWxCharBuffer'?
       >   710 |     inline wxCharBuffer wxSafeConvertWX2MB(const wchar_t *ws)
       >       |            ^~~~~~~~~~~~
       >       |            wxWxCharBuffer
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/strconv.h: In function 'wxSafeConvertWX2MB':
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/strconv.h:712:35: error: request for member 'cWC2MB' in something not a structure or union
       >   712 |         return wxConvWhateverWorks.cWC2MB(ws);
       >       |                                   ^
       > In file included from /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/unichar.h:15,
       >                  from /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/strvararg.h:19:
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/stringimpl.h: At top level:
       > /nix/store/9qnach9x0yrlyw8rv97lkyjzsw6skinf-wxwidgets-3.2.6/include/wx-3.2/wx/stringimpl.h:66:10: fatal error: string: No such file or directory
       >    66 | #include <string>
       >       |          ^~~~~~~~
       > compilation terminated.
       > make: *** [Makefile:454: Wx.o] Error 1
       For full logs, run 'nix log /nix/store/0a86k01qr9p2lprmlzh83pjmnj3irayx-perl5.40.0-Wx-0.9932.drv'.
error: 1 dependencies of derivation '/nix/store/xc8aaz945aznrs2r3av8vdqcsk043q6n-perl5.40.0-App-Music-ChordPro-6.050.7.drv' failed to build

Additional context

It seems like the failure actually stems from the perl5.50.0-Wx dependency.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.4, NixOS, 25.05 (Warbler), 25.05.20250309.e3e32b6
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • channels(jzbor): ""
  • nixpkgs: /etc/channels/nixpkgs

Notify maintainers

Seems like both perl540Packages.AppMusicChordPro, as well as perl540Packages.Wx are abandoned.


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@jzbor jzbor added the 0.kind: build failure A package fails to build label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

1 participant