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: Evolution and perl-5.40.0 #369015

Closed
theorangepotato opened this issue Dec 29, 2024 · 4 comments
Closed

Build failure: Evolution and perl-5.40.0 #369015

theorangepotato opened this issue Dec 29, 2024 · 4 comments
Labels
0.kind: build failure A package fails to build

Comments

@theorangepotato
Copy link

Steps To Reproduce

Steps to reproduce the behavior:

  1. build evolution (e.g. nix-build '<nixpkgs>' --attr evolution)

Build log

Build Log
these 4 derivations will be built:
  /nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv
  /nix/store/9afl1j8jldimg96qw5g6q37n88va3vb7-perl5.40.0-Mail-DMARC-1.20230215.drv
  /nix/store/if5420w99gq5jx9g03nmw6ni0v4rc04f-perl5.40.0-SpamAssassin-4.0.1.drv
  /nix/store/kpzygnx4b6ys9cwbans0wzjdnpk66pff-evolution-3.54.2.drv
building '/nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/1j5xcpb25i1i7hc60gccimnfr72b5z3p-Net-IDN-Encode-2.500.tar.gz
source root is Net-IDN-Encode-2.500
setting SOURCE_DATE_EPOCH to timestamp 1538785687 of file Net-IDN-Encode-2.500/t/xtra_pp.t
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
patching ./eg/hello_idn_email.pl...
patching ./eg/hello_idn.pl...
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::IDN::Encode
Writing MYMETA.yml and MYMETA.json
no configure script, doing nothing
Running phase: buildPhase
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Net-IDN-Encode' version '2.500'
Building Net-IDN-Encode
gcc -I/nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE '-DVERSION="2.500"' '-DXS_VERSION="2.500"' -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -o lib/Net/IDN/Punycode.o lib/Net/IDN/Punycode.c
lib/Net/IDN/Punycode.xs: In function 'XS_Net__IDN__Punycode_decode_punycode':
lib/Net/IDN/Punycode.xs:256:19: error: implicit declaration of function 'uvuni_to_utf8_flags'; did you mean 'uvchr_to_utf8_flags'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
  256 |                   uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY);
      |                   ^~~~~~~~~~~~~~~~~~~
      |                   uvchr_to_utf8_flags
error building lib/Net/IDN/Punycode.o from 'lib/Net/IDN/Punycode.c' at /nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/ExtUtils/CBuilder/Base.pm line 185.
error: builder for '/nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv' failed with exit code 2;
       last 25 log lines:
       > unpacking source archive /nix/store/1j5xcpb25i1i7hc60gccimnfr72b5z3p-Net-IDN-Encode-2.500.tar.gz
       > source root is Net-IDN-Encode-2.500
       > setting SOURCE_DATE_EPOCH to timestamp 1538785687 of file Net-IDN-Encode-2.500/t/xtra_pp.t
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > patching ./eg/hello_idn_email.pl...
       > patching ./eg/hello_idn.pl...
       > Checking if your kit is complete...
       > Looks good
       > Generating a Unix-style Makefile
       > Writing Makefile for Net::IDN::Encode
       > Writing MYMETA.yml and MYMETA.json
       > no configure script, doing nothing
       > Running phase: buildPhase
       > Created MYMETA.yml and MYMETA.json
       > Creating new 'Build' script for 'Net-IDN-Encode' version '2.500'
       > Building Net-IDN-Encode
       > gcc -I/nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE '-DVERSION="2.500"' '-DXS_VERSION="2.500"' -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -o lib/Net/IDN/Punycode.o lib/Net/IDN/Punycode.c
       > lib/Net/IDN/Punycode.xs: In function 'XS_Net__IDN__Punycode_decode_punycode':
       > lib/Net/IDN/Punycode.xs:256:19: error: implicit declaration of function 'uvuni_to_utf8_flags'; did you mean 'uvchr_to_utf8_flags'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
       >   256 |                   uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY);
       >       |                   ^~~~~~~~~~~~~~~~~~~
       >       |                   uvchr_to_utf8_flags
       > error building lib/Net/IDN/Punycode.o from 'lib/Net/IDN/Punycode.c' at /nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/ExtUtils/CBuilder/Base.pm line 185.
       For full logs, run 'nix log /nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv'.
error: 1 dependencies of derivation '/nix/store/9afl1j8jldimg96qw5g6q37n88va3vb7-perl5.40.0-Mail-DMARC-1.20230215.drv' failed to build
error: 1 dependencies of derivation '/nix/store/if5420w99gq5jx9g03nmw6ni0v4rc04f-perl5.40.0-SpamAssassin-4.0.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kpzygnx4b6ys9cwbans0wzjdnpk66pff-evolution-3.54.2.drv' failed to build

Additional context

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.63, NixOS, 25.05 (Warbler), 25.05beta716003.55d15ad12a74`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Notify maintainers

Perl:

None officially, but @stigtsp seems to have last touched it

Evolution:

Gnome Maintainers: @bobby285271, @hedning, @jtojnar, @dasj19


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@theorangepotato theorangepotato added the 0.kind: build failure A package fails to build label Dec 29, 2024
@stigtsp
Copy link
Member

stigtsp commented Dec 29, 2024

Unable to reproduce on master a526aec

What nixpkgs commit are you seeing this on? And do you have a build log?

@theorangepotato
Copy link
Author

I am running on commit 634fd46.

Here is the build log after running nix-build '<nixpkgs>' --attr evolution --show-trace. Let me know if there's another build log you'd prefer.

Build Log ``` these 4 derivations will be built: /nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv /nix/store/9afl1j8jldimg96qw5g6q37n88va3vb7-perl5.40.0-Mail-DMARC-1.20230215.drv /nix/store/if5420w99gq5jx9g03nmw6ni0v4rc04f-perl5.40.0-SpamAssassin-4.0.1.drv /nix/store/kpzygnx4b6ys9cwbans0wzjdnpk66pff-evolution-3.54.2.drv building '/nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv'... Running phase: unpackPhase unpacking source archive /nix/store/1j5xcpb25i1i7hc60gccimnfr72b5z3p-Net-IDN-Encode-2.500.tar.gz source root is Net-IDN-Encode-2.500 setting SOURCE_DATE_EPOCH to timestamp 1538785687 of file Net-IDN-Encode-2.500/t/xtra_pp.t Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase patching ./eg/hello_idn_email.pl... patching ./eg/hello_idn.pl... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::IDN::Encode Writing MYMETA.yml and MYMETA.json no configure script, doing nothing Running phase: buildPhase Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Net-IDN-Encode' version '2.500' Building Net-IDN-Encode gcc -I/nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE '-DVERSION="2.500"' '-DXS_VERSION="2.500"' -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -o lib/Net/IDN/Punycode.o lib/Net/IDN/Punycode.c lib/Net/IDN/Punycode.xs: In function 'XS_Net__IDN__Punycode_decode_punycode': lib/Net/IDN/Punycode.xs:256:19: error: implicit declaration of function 'uvuni_to_utf8_flags'; did you mean 'uvchr_to_utf8_flags'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 256 | uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY); | ^~~~~~~~~~~~~~~~~~~ | uvchr_to_utf8_flags error building lib/Net/IDN/Punycode.o from 'lib/Net/IDN/Punycode.c' at /nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/ExtUtils/CBuilder/Base.pm line 185. error: builder for '/nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv' failed with exit code 2; last 25 log lines: > unpacking source archive /nix/store/1j5xcpb25i1i7hc60gccimnfr72b5z3p-Net-IDN-Encode-2.500.tar.gz > source root is Net-IDN-Encode-2.500 > setting SOURCE_DATE_EPOCH to timestamp 1538785687 of file Net-IDN-Encode-2.500/t/xtra_pp.t > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > patching ./eg/hello_idn_email.pl... > patching ./eg/hello_idn.pl... > Checking if your kit is complete... > Looks good > Generating a Unix-style Makefile > Writing Makefile for Net::IDN::Encode > Writing MYMETA.yml and MYMETA.json > no configure script, doing nothing > Running phase: buildPhase > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'Net-IDN-Encode' version '2.500' > Building Net-IDN-Encode > gcc -I/nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/x86_64-linux-thread-multi/CORE '-DVERSION="2.500"' '-DXS_VERSION="2.500"' -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/no-such-path/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -o lib/Net/IDN/Punycode.o lib/Net/IDN/Punycode.c > lib/Net/IDN/Punycode.xs: In function 'XS_Net__IDN__Punycode_decode_punycode': > lib/Net/IDN/Punycode.xs:256:19: error: implicit declaration of function 'uvuni_to_utf8_flags'; did you mean 'uvchr_to_utf8_flags'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] > 256 | uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY); > | ^~~~~~~~~~~~~~~~~~~ > | uvchr_to_utf8_flags > error building lib/Net/IDN/Punycode.o from 'lib/Net/IDN/Punycode.c' at /nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/lib/perl5/5.40.0/ExtUtils/CBuilder/Base.pm line 185. For full logs, run 'nix log /nix/store/k44kb3si4widx2m7df2s8s0qbhxhgan6-perl5.40.0-Net-IDN-Encode-2.500.drv'. error: 1 dependencies of derivation '/nix/store/9afl1j8jldimg96qw5g6q37n88va3vb7-perl5.40.0-Mail-DMARC-1.20230215.drv' failed to build error: 1 dependencies of derivation '/nix/store/if5420w99gq5jx9g03nmw6ni0v4rc04f-perl5.40.0-SpamAssassin-4.0.1.drv' failed to build error: 1 dependencies of derivation '/nix/store/kpzygnx4b6ys9cwbans0wzjdnpk66pff-evolution-3.54.2.drv' failed to build ```

@stigtsp
Copy link
Member

stigtsp commented Dec 29, 2024

This should have been fixed by #368797 which was merged yesterday :)

@theorangepotato
Copy link
Author

Ah, I see, thank you so much for your help! It seems unstable is still on 7cc0bff, which is 3 days old. I used evolution from a newer commit, and everything worked!

Thank you!

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

2 participants