-
Notifications
You must be signed in to change notification settings - Fork 2.4k
gcc broken: mpfr build fails due to inappropriate libgmp, SPACK_LINK_DEPS missing? #5564
Copy link
Copy link
Closed
Labels
Description
My CI build last succeeded on "Sep 30, 2017 2:27 AM" (GMT).
The failure I'm seeing looks like this in the console output:
==> Successfully installed gmp
Fetch: 0.02s. Build: 31.38s. Total: 31.41s.
[+] /scratch/hartzelg/spack-cime-sc1-working-dir/workspace/sc1-daily-build/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/gmp-6.1.2-6bsovvkqwx6zscwtbvjj6egrgizbyycm
==> Installing mpfr
==> Fetching file:///tmp/apps-build-mirror.TwcZKz/mirror/mpfr/mpfr-3.1.5.tar.bz2
==> Staging archive: /scratch/hartzelg/spack-cime-sc1-working-dir/workspace/sc1-daily-build/spack/var/spack/stage/mpfr-3.1.5-sgc4qsrkmz4g73gp4d7ltpik67g42p6q/mpfr-3.1.5.tar.bz2
==> Created stage in /scratch/hartzelg/spack-cime-sc1-working-dir/workspace/sc1-daily-build/spack/var/spack/stage/mpfr-3.1.5-sgc4qsrkmz4g73gp4d7ltpik67g42p6q
==> Applied patch vasprintf.patch
==> Applied patch strtofr.patch
==> Building mpfr [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 1:
'/scratch/hartzelg/spack-cime-sc1-working-dir/workspace/sc1-daily-build/spack/var/spack/stage/mpfr-3.1.5-sgc4qsrkmz4g73gp4d7ltpik67g42p6q/mpfr-3.1.5/configure' '--prefix=/scratch/hartzelg/spack-cime-sc1-working-dir/workspace/sc1-daily-build/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/mpfr-3.1.5-sgc4qsrkmz4g73gp4d7ltpik67g42p6q'
1 error found in build log:
[ ... ]
143 checking whether to build static libraries... yes
144 checking whether gcc __attribute__ ((mode (XX))) works... yes
145 checking for recent GMP... yes
146 checking usable gmp.h at link time... yes
147 checking for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency... yes
148 checking for __gmpz_init in -lgmp... no
>> 149 configure: error: libgmp not found or uses a different ABI (including static vs shared).
150 Please read the INSTALL file -- see "In case of problem".
See build log for details:
/scratch/hartzelg/spack-cime-sc1-working-dir/workspace/sc1-daily-build/spack/var/spack/stage/mpfr-3.1.5-sgc4qsrkmz4g73gp4d7ltpik67g42p6q/mpfr-3.1.5/spack-build.out
/scratch/hartzelg/spack-cime-sc1-working-dir/workspace/sc1-daily-build
and like this in the spack-build.out (Those of you following my disappearing staging dirs in #4977, this log is missing on the new shiny machine but present on the old system, which gives me a bit of traction):
[...]
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking for recent GMP... yes
checking usable gmp.h at link time... yes
checking for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency... yes
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI (including static vs shared).
Please read the INSTALL file -- see "In case of problem".
I don't see any obviously related commits over the past couple of days.
Reactions are currently unavailable