spack install perl

105 views
Skip to first unread message

x2v0

unread,
Apr 4, 2022, 9:06:17 AM4/4/22
to sp...@googlegroups.com
Hi,
running 
spack  install perl
I got an error. 

How to fix it?

Thanks.
Regards. Valeriy

-----------------------------------------------------------------------------------------
cat spack-build-out.txt

==> perl: Executing phase: 'configure'
==> [2022-04-04-15:56:05.067782] Warning: Quotes in command arguments can confuse scripts like configure.
  The following arguments may cause problems when executed:
      -Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/lib/perl5\"
  Quotes aren't needed because spack doesn't use a shell. Consider removing them.
  If multiple levels of quotation are required, use `ignore_quotes=True`.
==> [2022-04-04-15:56:05.068019] './Configure' '-des' '-Dprefix=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl' '-Dlocincpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/include' '-Dloclibpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/lib' '-Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/lib/perl5\"' '-Duseshrplib' '-Dusethreads'
First let's make sure your kit is complete.  Checking...
Locating common programs...
I don't know where 'sort' is, and my life depends on it.
Go find a public domain implementation or fix your PATH setting!

Erik Schnetter

unread,
Apr 4, 2022, 10:11:54 AM4/4/22
to x2v0, Spack
A work-around is to install "perl @5.34.0" instead (the previous
version); this circumvents the problem for me.

-erik
> --
> You received this message because you are subscribed to the Google Groups "Spack" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to spack+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/spack/CAF-pLhB14tXpG-_sOPbM3HPqLTvMD1oePHS9wihaaFmqjhKMHQ%40mail.gmail.com.



--
Erik Schnetter <schn...@gmail.com>
http://www.perimeterinstitute.ca/personal/eschnetter/

Valeriy Onuchin

unread,
Apr 5, 2022, 1:30:37 AM4/5/22
to Spack
The same story

./spack install pe...@5.34
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/berkeley-db-18.1.40-iwvsvduchw6kawah2vy7rmkhvc5s2szx
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/libiconv-1.16-n5aeojce2nod4w4cwdx4uchaoptgby6a
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/pkgconf-1.8.0-52ycw6ktmt4ekniun73yicpoae6ue7kw
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/zlib-1.2.12-75iybh4lowlurijj4wzgmjburwzqy5ch
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/diffutils-3.8-rhputyfg6mehnpeghyptjqskkddx3a66
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/ncurses-6.2-nx56676nxwlgo67a3qryyrodhofh4hgc
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/bzip2-1.0.8-fmlyn2rxzftnjp2oq6zm2mbjztg2z72b
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/readline-8.1-l3mngj5pkffpbms75d5kzrrn25exiddj
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst
==> Installing perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl
==> No binary for perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl found: installing from source
==> Using cached archive: /home/xtovo/tmp/spack/var/spack/cache/_source-cache/archive/35/357951a491b0ba1ce3611263922feec78ccd581dddc24a446b033e25acf242a1.tar.gz
==> Using cached archive: /home/xtovo/tmp/spack/var/spack/cache/_source-cache/archive/9d/9da50e155df72bce55cb69f51f1dbb4b62d23740fb99f6178bb27f22ebdf8a46.tar.gz
==> Moving resource stage
        source: /tmp/xtovo/spack-stage/resource-cpanm-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/spack-src/
        destination: /tmp/xtovo/spack-stage/spack-stage-perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/spack-src/cpanm/cpanm
==> Ran patch() for perl

==> perl: Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 1:

    './Configure' '-des' '-Dprefix=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl' '-Dlocincpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/include' '-Dloclibpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/lib' '-Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/lib/perl5\"' '-Duseshrplib' '-Dusethreads'
See build log for details:
  /tmp/xtovo/spack-stage/spack-stage-perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/spack-build-out.txt

-----------------------------------------------------------------------------------------------------------------------
 cat  /tmp/xtovo/spack-stage/spack-stage-perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/spack-build-out.txt

==> perl: Executing phase: 'configure'
==> [2022-04-05-08:29:01.394678] Warning: Quotes in command arguments can confuse scripts like configure.

  The following arguments may cause problems when executed:
      -Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/lib/perl5\"
  Quotes aren't needed because spack doesn't use a shell. Consider removing them.
  If multiple levels of quotation are required, use `ignore_quotes=True`.
==> [2022-04-05-08:29:01.394797] './Configure' '-des' '-Dprefix=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl' '-Dlocincpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/include' '-Dloclibpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/lib' '-Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.1-umea5a7mhfhyhipdmhrjxy56qjvjo7rl/lib/perl5\"' '-Duseshrplib' '-Dusethreads'

First let's make sure your kit is complete.  Checking...
Locating common programs...
I don't know where 'sort' is, and my life depends on it.
Go find a public domain implementation or fix your PATH setting!




понедельник, 4 апреля 2022 г. в 17:11:54 UTC+3, schn...@gmail.com:

Valeriy Onuchin

unread,
Apr 5, 2022, 1:32:42 AM4/5/22
to Spack

./spack install pe...@5.34.0

[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/berkeley-db-18.1.40-iwvsvduchw6kawah2vy7rmkhvc5s2szx
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/libiconv-1.16-n5aeojce2nod4w4cwdx4uchaoptgby6a
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/pkgconf-1.8.0-52ycw6ktmt4ekniun73yicpoae6ue7kw
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/zlib-1.2.12-75iybh4lowlurijj4wzgmjburwzqy5ch
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/diffutils-3.8-rhputyfg6mehnpeghyptjqskkddx3a66
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/ncurses-6.2-nx56676nxwlgo67a3qryyrodhofh4hgc
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/bzip2-1.0.8-fmlyn2rxzftnjp2oq6zm2mbjztg2z72b
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/readline-8.1-l3mngj5pkffpbms75d5kzrrn25exiddj
[+] /home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst
==> Installing perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo
==> No binary for perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/55/551efc818b968b05216024fb0b727ef2ad4c100f8cb6b43fab615fa78ae5be9a.tar.gz

==> Using cached archive: /home/xtovo/tmp/spack/var/spack/cache/_source-cache/archive/9d/9da50e155df72bce55cb69f51f1dbb4b62d23740fb99f6178bb27f22ebdf8a46.tar.gz
==> Moving resource stage
        source: /tmp/xtovo/spack-stage/resource-cpanm-4yyv4twy3sqcewdp3bncvjtxuzr3zybo/spack-src/
        destination: /tmp/xtovo/spack-stage/spack-stage-perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo/spack-src/cpanm/cpanm

==> Ran patch() for perl
==> perl: Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 1:
    './Configure' '-des' '-Dprefix=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo' '-Dlocincpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/include' '-Dloclibpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/lib' '-Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo/lib/perl5\"' '-Duseshrplib' '-Dusethreads'

See build log for details:
  /tmp/xtovo/spack-stage/spack-stage-perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo/spack-build-out.txt



cat  /tmp/xtovo/spack-stage/spack-stage-perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo/spack-build-out.txt

==> perl: Executing phase: 'configure'
==> [2022-04-05-08:31:35.177423] Warning: Quotes in command arguments can confuse scripts like configure.

  The following arguments may cause problems when executed:
      -Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo/lib/perl5\"

  Quotes aren't needed because spack doesn't use a shell. Consider removing them.
  If multiple levels of quotation are required, use `ignore_quotes=True`.
==> [2022-04-05-08:31:35.177666] './Configure' '-des' '-Dprefix=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo' '-Dlocincpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/include' '-Dloclibpth=/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/gdbm-1.19-5uhmlspykpjemwrjgwoab2qdok7ubjst/lib' '-Accflags=-DAPPLLIB_EXP=\"/home/xtovo/tmp/spack/opt/spack/linux-centos7-skylake/gcc-11.2.1/perl-5.34.0-4yyv4twy3sqcewdp3bncvjtxuzr3zybo/lib/perl5\"' '-Duseshrplib' '-Dusethreads'

First let's make sure your kit is complete.  Checking...
Locating common programs...
I don't know where 'sort' is, and my life depends on it.
Go find a public domain implementation or fix your PATH setting!
понедельник, 4 апреля 2022 г. в 17:11:54 UTC+3, schn...@gmail.com:
A work-around is to install "perl @5.34.0" instead (the previous

x2v0

unread,
Apr 5, 2022, 1:42:45 AM4/5/22
to Spack
Hi  Erik ,
this problem has been appeared when I "spack install pythia6"

I have perl installed on my system 
perl --version

This is perl 5, version 30, subversion 3 (v5.30.3) built for x86_64-linux-thread-multi

Is it possible to avoid building perl from source (I even cannot understand why it is required)
but use the existing system wide perl?

Thanks.
Regards. Valeriy

вт, 5 апр. 2022 г. в 08:32, Valeriy Onuchin <tatanao...@gmail.com>:

x2v0

unread,
Apr 5, 2022, 1:54:49 AM4/5/22
to Spack
one more question ..
the error log says 

Quotes aren't needed because spack doesn't use a shell. Consider removing them.
  If multiple levels of quotation are required, use `ignore_quotes=True`.

Is it possible to add this option similar to "cflags="? 

вт, 5 апр. 2022 г. в 08:42, x2v0 <tatanao...@gmail.com>:

x2v0

unread,
Apr 5, 2022, 10:29:08 AM4/5/22
to Spack
Hi,
spack install perl@32.0 
Works!

Thanks! Erik

Regards. Valeriy


вт, 5 апр. 2022 г. в 08:54, x2v0 <tatanao...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages