Skip to content

Installation issue: blast-plus #9646

@phxyz12

Description

@phxyz12

Steps to reproduce the issue

$ spack install blast-plus %[email protected] 

==> Error: ProcessError: Command exited with status 1:
    '/tmp/swadm/spack-stage/spack-stage-to6lRR/ncbi-blast-2.7.1+-src/c++/configure' '--prefix=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/blast-plus-2.7.1-q37xd35h' '--with-bin-release' '--without-debug' '--with-mt' '--with-64' '--without-boost' '--with-dll' '--without-static' '--without-static-exe' '--with-jpeg=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/libjpeg-turbo-1.5.90-zxzz6oip' '--with-png=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/libpng-1.6.34-yln6jrur' '--with-freetype=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/freetype-2.9.1-somhyhqs' '--without-hdf5' '--with-z=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/zlib-1.2.11-zknfwanb' '--with-bz2=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/bzip2-1.0.6-hzpdm3hw' '--with-lzo=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/lzo-2.09-74jpbr5o' '--with-gnutls=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/gnutls-3.5.13-ylsgp5dz' '--with-openssl=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/openssl-1.0.2o-sh6zpq5n' '--with-pcre=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/pcre-8.42-gzs4wakw' '--with-python=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/python-2.7.15-2azrjn6j' '--with-perl=/cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/perl-5.26.2-6it6cpil'

1 error found in build log:
     411    checking for libpng in /cfs/software/spack/linux-centos7-x86_64/gcc-7.3.0/libpng-1.6.34-yln6jrur... yes
     412    checking for libtiff... no
     413    checking for libgif... no
     414    checking for libungif... no
     415    checking for libXpm... no
     416    checking for freetype-config... no
  >> 417    configure: error: --with-freetype explicitly specified, but no usable version found.

As you can see, freetype is already installed and correctly listed in prefix=/cfs... above.

Platform and user environment

Please report your OS here:

$ uname -a 
Linux build02.hpc.zhaw.ch 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -d
Description:	CentOS Linux release 7.5.1804 (Core)

and, if relevant, post or attach:

  • packages.yaml
  • compilers.yaml

to the issue

Additional information

[swadm@build02 ~]$ spack spec --install-status freetype
Input spec
--------------------------------
     freetype

Concretized
--------------------------------
[+]  [email protected]%[email protected] arch=linux-centos7-x86_64 
[+]      ^[email protected]%[email protected]+shared 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]+optimize+pic+shared arch=linux-centos7-x86_64 
[+]      ^[email protected]%[email protected] arch=linux-centos7-x86_64 

If your build didn't make it past the configure stage, Spack as also commands to parse
logs and report error and warning messages:

[swadm@build02 ~]$ spack log-parse --show=errors,warnings /local/swadm/spack/var/spack/stage/blast-plus-2.7.1-q37xd35ho3e7tbjy35lppe4seg7xhzmo/ncbi-blast-2.7.1+-src/spack-build.out
1 errors
0 warnings
     414    checking for libungif... no
     415    checking for libXpm... no
     416    checking for freetype-config... no
  >> 417    configure: error: --with-freetype explicitly specified, but no usable version found.

Rebuilding the package with the following options:

$ spack -d install -j 1 <spec>
...

spack-cc-blast-plus-q37xd35.in.log
spack-cc-blast-plus-q37xd35.out.log

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