Skip to content

Packages that have the same SHA-1 prefix #5587

@hartzell

Description

@hartzell

This is a continuation of the discussion in #5564 since it seems to be a different issue.

It might be a duplicate of #5578.

As mentioned in #5564, patching my tree to add configure_args() to the mpfr package and building mpfr generated this warning:

[+] /isilon/scratch/hartzelg/spack-mpfr-debug/opt/spack/linux-centos7-x86_64/gcc-4.8.3/mpfr-3.1.5-ejbuuahwm3gwrqf3bfj7f7xvu3jgfki7
==> Warning: Dependency missing due to corrupt install directory:
  /isilon/scratch/hartzelg/spack-mpfr-debug/opt/spack/linux-centos7-x86_64/gcc-4.8.3/mpfr-3.1.5-ejbuuahwm3gwrqf3bfj7f7xvu3jgfki7
  Specs [email protected]%[email protected] patches=dfd62a42a239c427bb44087b4a520edbcd65bae6ad1fbe07303c96ee8696afbd,88dfefa6d39c9fd5a26a40d9bbc73df8da93f946c65c06038026261d78d919f5 arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00 +sigsegv arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=f84b2708a42777aadcc7f502a261afe10ca5646a51c1ef8b5e60d2070d926b57 ~symlinks arch=linux-centos7-x86_64 ^[email protected]%[email protected]+cpanm+shared arch=linux-centos7-x86_64 ^[email protected]%[email protected]+internal_glib arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 and [email protected]%[email protected] patches=dfd62a42a239c427bb44087b4a520edbcd65bae6ad1fbe07303c96ee8696afbd,88dfefa6d39c9fd5a26a40d9bbc73df8da93f946c65c06038026261d78d919f5 arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 have the same SHA-1 prefix!

In a fit of optimism, I tried to build [email protected] but ended up with an error:

hartzelg@rpbuchop001:spack-mpfr-debug (bug/fix-mpfr-build)$ spack build [email protected]
==> Checking dependencies for ['[email protected]']
==> gmp is already installed in /isilon/scratch/hartzelg/spack-mpfr-debug/opt/spack/linux-centos7-x86_64/gcc-4.8.3/gmp-6.1.2-yttyaes254rx44dkpsfco2pgx3togxqp
==> Installing mpfr
==> Using cached archive: /isilon/scratch/hartzelg/spack-mpfr-debug/var/spack/cache/mpfr/mpfr-3.1.5.tar.bz2
==> Staging archive: /isilon/scratch/hartzelg/spack-mpfr-debug/var/spack/stage/mpfr-3.1.5-ejbuuahwm3gwrqf3bfj7f7xvu3jgfki7/mpfr-3.1.5.tar.bz2
==> Created stage in /isilon/scratch/hartzelg/spack-mpfr-debug/var/spack/stage/mpfr-3.1.5-ejbuuahwm3gwrqf3bfj7f7xvu3jgfki7
==> Applied patch vasprintf.patch
==> Applied patch strtofr.patch
==> Building mpfr [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Executing phase: 'build'
==> Executing phase: 'install'
==> Warning: Module file already exists : skipping creation
file : /isilon/scratch/hartzelg/spack-mpfr-debug/share/spack/modules/linux-centos7-x86_64/mpfr-3.1.5-gcc-4.8.3-ejbuuah
spec : [email protected]%[email protected] patches=dfd62a42a239c427bb44087b4a520edbcd65bae6ad1fbe07303c96ee8696afbd,88dfefa6d39c9fd5a26a40d9bbc73df8da93f946c65c06038026261d78d919f5 arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00 +sigsegv arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=f84b2708a42777aadcc7f502a261afe10ca5646a51c1ef8b5e60d2070d926b57 ~symlinks arch=linux-centos7-x86_64 ^[email protected]%[email protected]+cpanm+shared arch=linux-centos7-x86_64 ^[email protected]%[email protected]+internal_glib arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64
==> Warning: Module file already exists : skipping creation
file : /isilon/scratch/hartzelg/spack-mpfr-debug/share/spack/dotkit/linux-centos7-x86_64/mpfr-3.1.5-gcc-4.8.3-ejbuuah.dk
spec : [email protected]%[email protected] patches=dfd62a42a239c427bb44087b4a520edbcd65bae6ad1fbe07303c96ee8696afbd,88dfefa6d39c9fd5a26a40d9bbc73df8da93f946c65c06038026261d78d919f5 arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00 +sigsegv arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=f84b2708a42777aadcc7f502a261afe10ca5646a51c1ef8b5e60d2070d926b57 ~symlinks arch=linux-centos7-x86_64 ^[email protected]%[email protected]+cpanm+shared arch=linux-centos7-x86_64 ^[email protected]%[email protected]+internal_glib arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64
==> Successfully installed mpfr
  Fetch: 0.01s.  Build: 15.15s.  Total: 15.16s.
[+] /isilon/scratch/hartzelg/spack-mpfr-debug/opt/spack/linux-centos7-x86_64/gcc-4.8.3/mpfr-3.1.5-ejbuuahwm3gwrqf3bfj7f7xvu3jgfki7
==> gmp is already installed in /isilon/scratch/hartzelg/spack-mpfr-debug/opt/spack/linux-centos7-x86_64/gcc-4.8.3/gmp-6.1.2-yttyaes254rx44dkpsfco2pgx3togxqp
==> gmp is already installed in /isilon/scratch/hartzelg/spack-mpfr-debug/opt/spack/linux-centos7-x86_64/gcc-4.8.3/gmp-6.1.2-yttyaes254rx44dkpsfco2pgx3togxqp
==> Error: Specs [email protected]%[email protected] patches=dfd62a42a239c427bb44087b4a520edbcd65bae6ad1fbe07303c96ee8696afbd,88dfefa6d39c9fd5a26a40d9bbc73df8da93f946c65c06038026261d78d919f5 arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00 +sigsegv arch=linux-centos7-x86_64 ^[email protected]%[email protected] patches=f84b2708a42777aadcc7f502a261afe10ca5646a51c1ef8b5e60d2070d926b57 ~symlinks arch=linux-centos7-x86_64 ^[email protected]%[email protected]+cpanm+shared arch=linux-centos7-x86_64 ^[email protected]%[email protected]+internal_glib arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 and [email protected]%[email protected] patches=dfd62a42a239c427bb44087b4a520edbcd65bae6ad1fbe07303c96ee8696afbd,88dfefa6d39c9fd5a26a40d9bbc73df8da93f946c65c06038026261d78d919f5 arch=linux-centos7-x86_64 ^[email protected]%[email protected] arch=linux-centos7-x86_64 have the same SHA-1 prefix!

It's a little funny that it build mpfr again, since I'd just built it by hand (though perhaps that warning resulted in nothing being installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions