Skip to content

Installation issue: perl-module-build #26738

@cessenat

Description

@cessenat

Steps to reproduce the issue

On CentOS7 with no external package, perl-module-build suddenly does not compile.
It used to compile fine some time before (I have a trace with perl 5.32.1).
I'm puzzled and stuck by the problem which seems very basic:

$ spack install perl-module-build 
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/berkeley-db-18.1.40-v2fh47lj747q6f5dvm5yq56bgkrsxzoe
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/libiconv-1.16-bc77gktrez3mljgzwtir5cewztwhnyiu
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/pkgconf-1.8.0-5gqwkmz7io5t2fgfn2to566ukiottsby
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/zlib-1.2.11-2ekzgkkb63wocydupkea5u35kiheku4e
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/diffutils-3.8-eoyv4oulrsx3njpb2cd6gcoql2qrhntz
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/ncurses-6.2-cskjnnp4yjrowksyb6odprvjyjaetgyr
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/bzip2-1.0.8-bbbjrbbfx3lqenr4zwv5szj2gf7ntbus
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/readline-8.1-x6qb5imspwpa7i5v2akn7qpedsifbhpd
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/gdbm-1.19-dwcyfancqsgargmbpbvp77tsic2k7cwc
[+] /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/perl-5.34.0-uocthprem24ibe4an3dmvu66zg4vw5eg
==> Installing perl-module-build-0.4224-m3xj7xonw6xfjphaleecbhy64yirtqx7
==> No binary for perl-module-build-0.4224-m3xj7xonw6xfjphaleecbhy64yirtqx7 found: installing from source
==> Using cached archive: /home/cessenat/spack/var/spack/cache/_source-cache/archive/a6/a6ca15d78244a7b50fdbf27f85c85f4035aa799ce7dd018a0d98b358ef7bc782.tar.gz
==> No patches needed for perl-module-build
==> perl-module-build: Executing phase: 'configure'
==> perl-module-build: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8'

1 error found in build log:
     13    Created MYMETA.yml and MYMETA.json
     14    Creating new 'Build' script for 'Module-Build' version '0.4224'
     15    ==> perl-module-build: Executing phase: 'build'
     16    ==> [2021-10-14-18:00:26.349875] 'make' '-j8'
     17    /home/cessenat/spack/opt/spack/linux-centos7-skylake/gcc-8.4.0/perl-5.34.0-uocthprem24ibe4an3dmvu66zg4vw5eg/bin/perl Build --makefile_env
           _macros 1
     18    Parser.c: loadable library and perl binaries are mismatched (got handshake key 0xcd00080, needed 0xeb00080)
  >> 19    make: *** [all] Error 1

See build log for details:
  /home/cessenat/tmp/spack-stage-perl-module-build-0.4224-m3xj7xonw6xfjphaleecbhy64yirtqx7/spack-build-out.txt


Information on your system

$ spack debug report

  • Spack: 0.16.2-4883-e4ff135
  • Python: 3.6.8
  • Platform: linux-centos7-skylake
  • Concretizer: clingo

Additional information

spack-build-env.txt
spack-build-out.txt

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions