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

Installation issue: perl-xml-libxml fails in gcc14 #44253

Closed
4 tasks done
teaguesterling opened this issue May 18, 2024 · 0 comments
Closed
4 tasks done

Installation issue: perl-xml-libxml fails in gcc14 #44253

teaguesterling opened this issue May 18, 2024 · 0 comments

Comments

@teaguesterling
Copy link
Contributor

teaguesterling commented May 18, 2024

Steps to reproduce the issue

$ spack install perl-xml-libxml@2.0201%gcc@14
...

Error message

Error message The `perl-xml-libxml` package fails to build with gcc14 at version 2.0201.
...
    67    perl-libxml-mm.c: In function 'PmmDumpRegistry':
  >> 68    perl-libxml-mm.c:142:32: error: passing argument 2 of 'xmlHashScan' from incompatible pointer type [-Wincompatible-pointer-types]
     69      142 |                 xmlHashScan(r, PmmRegistryDumpHashScanner, NULL);
     70          |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
     71          |                                |
     72          |                                void (*)(void *, void *, xmlChar *) {aka void (*)(void *, void *, unsigned char *)}
     73    In file included from /home/teague/System/apps/spack/opt/spack/linux-pop22-zen3/gcc-14.1.0/libxml2-2.10.3-4zgiwk2ttsnsgbaayg7c7bjxv2ibp4mg/include/libxml2/libxml/parser.h:16,
     74                     from perl-libxml-mm.h:20,
     75                     from perl-libxml-mm.c:26:
     76    /home/teague/System/apps/spack/opt/spack/linux-pop22-zen3/gcc-14.1.0/libxml2-2.10.3-4zgiwk2ttsnsgbaayg7c7bjxv2ibp4mg/include/libxml2/libxml/hash.h:213:57: note: expected 'xmlHashScanner' {aka 'void (
           *)(void *, void *, const unsigned char *)'} but argument is of type 'void (*)(void *, void *, xmlChar *)' {aka 'void (*)(void *, void *, unsigned char *)'}
     77      213 |                                          xmlHashScanner f,
     78          |                                          ~~~~~~~~~~~~~~~^
     79    perl-libxml-mm.c: In function 'PmmUnregisterProxyNode':
...

Information on your system

  • Spack: 0.23.0.dev0 (bd8a6a9925e10e34c2325d5a92c867fd2fdd036e)
  • Python: 3.10.12
  • Platform: linux-pop22-zen3
  • Concretizer: clingo

Additional information

I will be adding a conflicts and new version in pull request in to triage this.
spack-build-out.txt
spack-build-env.txt

https://lists.opensuse.org/archives/list/bugs@lists.opensuse.org/thread/R4MJ6PJCJ6QUIA256UTFEBYZOCBDIZ53/?sort=thread

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant