Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS: cernlib %[email protected] #94

Open
4 tasks done
wdconinc opened this issue Jan 28, 2021 · 2 comments
Open
4 tasks done

FTBFS: cernlib %[email protected] #94

wdconinc opened this issue Jan 28, 2021 · 2 comments
Labels
ftbfs Fails to build from source

Comments

@wdconinc
Copy link
Contributor

Steps to reproduce the issue

spack install --overwrite --until install --keep-stage cernlib target=x86_64

Information on your system

  • Spack: 0.16.0-58-bfb5066bdc
  • Python: 3.8.6
  • Platform: linux-ubuntu20.10-skylake

Additional information

     3205    gcc -c -O1 -fomit-frame-pointer   -I. -I/home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack/sysreq -I/home/wdconinc/.spack/stage/spack-stage-cernlib
             -2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/build/packlib/cspack -I/home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack -I/home/wdcon
             inc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack/sysreq -I/home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-
             src/2005/src/include   -DLINUX -DFUNCPROTO=15 -DNARROWPROTO    -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC -DCERNLIB_QMLXIA64 -DCERNLIB_GFORTRAN -DCERNLIB_GCC4 /home/wdconinc/.spack/stage/spack-stage-cer
             nlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack/sysreq/serror.c -o archive/serror.o
     3206    /home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack/sysreq/serror.c: In function 'sstrerror':
  >> 3207    /home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack/sysreq/serror.c:179:33: error: 'sys_nerr' undeclared (first use in this function)
     3208      179 |                 if ((n>0) && (n<sys_nerr)) {
     3209          |                                 ^~~~~~~~
     3210    /home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack/sysreq/serror.c:179:33: note: each undeclared identifier is reported only once for each function
              it appears in
  >> 3211    /home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/src/packlib/cspack/sysreq/serror.c:180:39: error: 'sys_errlist' undeclared (first use in this function); did you me
             an 'sys_serrlist'?
     3212      180 |                         return((char*)sys_errlist[n]);
     3213          |                                       ^~~~~~~~~~~
     3214          |                                       sys_serrlist
     3215    gmake[3]: *** [Makefile:216: archive/serror.o] Error 1
     3216    gmake[3]: Leaving directory '/home/wdconinc/.spack/stage/spack-stage-cernlib-2014.04.17-tkk3kvi24uhpu7pz4cd6gppvr4n5g5bc/spack-src/2005/build/packlib/cspack/sysreq'
     3217    gmake[2]: *** [Makefile:433: sysreq/archive/objects.list] Error 2

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
@wdconinc wdconinc added the ftbfs Fails to build from source label Jan 28, 2021
@wdconinc
Copy link
Contributor Author

wdconinc commented Mar 9, 2021

Also on:

  • Spack: 0.16.1-60-046bda9cc3
  • Python: 3.8.6
  • Platform: linux-ubuntu20.04-skylake_avx512

@wdconinc
Copy link
Contributor Author

wdconinc commented Mar 9, 2021

resources/build_scripts/patches/cernlib/linux-lp64.cf.patch:+#   define DefaultFCOptions        -fno-automatic -fno-second-underscore -fPIC -fallow-invalid-boz -fallow-argument-mismatch -fcommon
resources/build_scripts/patches/cernlib/Imakefile_fmotif.patch:+FORTRANOPTIONS = -fno-backslash  $(FORTRANSAVEOPTION) -fno-second-underscore -fallow-argument-mismatch
2005/src/pawlib/paw/fmotif/Imakefile:FORTRANOPTIONS = -fno-backslash  $(FORTRANSAVEOPTION) -fno-second-underscore -fallow-argument-mismatch
2005/build/pawlib/paw/fmotif/Makefile:FORTRANOPTIONS = -fno-backslash  $(FORTRANSAVEOPTION) -fno-second-underscore -fallow-argument-mismatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ftbfs Fails to build from source
Projects
None yet
Development

No branches or pull requests

1 participant