[Debichem-devel] Bug#1042034: nwchem: FTBFS: ld: cannot find -ldangchang: No such file or directory

Lucas Nussbaum lucas at debian.org
Tue Jul 25 21:54:20 BST 2023


Source: nwchem
Version: 7.0.2-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230724 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build-mpich/src'
> /bin/sh: 1: [: Illegal number: .
> /bin/sh: 1: [: Illegal number: .
> make nwchem.o stubs.o
> /bin/sh: 1: [: Illegal number: .
> /bin/sh: 1: [: Illegal number: .
> gfortran -g -O2 -ffast-math -fno-aggressive-loop-optimizations -fno-tree-dominator-opts  -std=legacy -ffast-math  -Warray-bounds -std=legacy -fdefault-integer-8 -fno-tree-dominator-opts  -finline-functions -O2 -g  -fno-aggressive-loop-optimizations -fno-tree-dominator-opts  -g -O   -I.  -I/<<PKGBUILDDIR>>/build-mpich/src/include -I/usr/include -I/usr/include/x86_64-linux-gnu/mpich -I/usr/include/x86_64-linux-gnu/mpich -DLINUX -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DSCALAPACK -DPARALLEL_DIAG -DCOMPILATION_DATE="'`date +%a_%b_%d_%H:%M:%S_%Y`'" -DCOMPILATION_DIR="'/<<PKGBUILDDIR>>/build-mpich'" -DNWCHEM_BRANCH="'7.0.2'"  -c -o nwchem.o nwchem.F
> gfortran -g -O2 -ffast-math -fno-aggressive-loop-optimizations -fno-tree-dominator-opts  -std=legacy -ffast-math  -Warray-bounds -std=legacy -fdefault-integer-8 -fno-tree-dominator-opts  -finline-functions -O2 -g  -fno-aggressive-loop-optimizations -fno-tree-dominator-opts  -g -O   -I.  -I/<<PKGBUILDDIR>>/build-mpich/src/include -I/usr/include -I/usr/include/x86_64-linux-gnu/mpich -I/usr/include/x86_64-linux-gnu/mpich -DLINUX -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DSCALAPACK -DPARALLEL_DIAG -DCOMPILATION_DATE="'`date +%a_%b_%d_%H:%M:%S_%Y`'" -DCOMPILATION_DIR="'/<<PKGBUILDDIR>>/build-mpich'" -DNWCHEM_BRANCH="'7.0.2'"  -c -o stubs.o stubs.F
> gfortran   -L/<<PKGBUILDDIR>>/build-mpich/lib/LINUX64 -L/usr/lib/x86_64-linux-gnu  -L/usr/lib/x86_64-linux-gnu  -o /<<PKGBUILDDIR>>/build-mpich/bin/LINUX64/nwchem nwchem.o stubs.o -lnwctask -lccsd -lmcscf -lselci -lmp2 -lmoints -lstepper -ldriver -loptim -lnwdft -lgradients -lcphf -lesp -lddscf -ldangchang -lguess -lhessian -lvib -lnwcutil -lrimp2 -lproperty -lsolvation -lnwints -lprepar -lnwmd -lnwpw -lofpw -lpaw -lpspw -lband -lnwpwlib -lcafe -lspace -lanalyze -lqhop -lpfft -ldplot -lnwpython -ldrdy -lvscf -lqmmm -lqmd -letrans -lpspw -ltce -lbq -lmm -lcons -lperfm -ldntmc -lccca -ldimqm -lnwcutil -lga-mpich -lscalapack-mpich -llapack -lblas -larmci-mpich -larmci-mpich -lpeigs -lperfm -lcons -lbq -lnwcutil  -lscalapack-mpich  -l64to32 -lblas -llapack  "-llapack" "-lblas" -L/usr/lib -L/usr/lib/x86_64-linux-gnu -lmpichfort -lmpich    -larmci-mpich  -lpthread  -lnwcutil -L/usr/lib/python3.11/config-3.11-x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lpython3.11 -ldl  -lm   
> /usr/bin/ld: cannot find -ldangchang: No such file or directory
> /usr/bin/ld: cannot find -lnwmd: No such file or directory
> /usr/bin/ld: cannot find -lcafe: No such file or directory
> /usr/bin/ld: cannot find -lspace: No such file or directory
> /usr/bin/ld: cannot find -lanalyze: No such file or directory
> /usr/bin/ld: cannot find -lnwpython: No such file or directory
> /usr/bin/ld: cannot find -ldrdy: No such file or directory
> /usr/bin/ld: cannot find -lvscf: No such file or directory
> /usr/bin/ld: cannot find -lqmmm: No such file or directory
> /usr/bin/ld: cannot find -lqmd: No such file or directory
> /usr/bin/ld: cannot find -letrans: No such file or directory
> /usr/bin/ld: cannot find -ltce: No such file or directory
> /usr/bin/ld: cannot find -lmm: No such file or directory
> /usr/bin/ld: cannot find -ldntmc: No such file or directory
> /usr/bin/ld: cannot find -lccca: No such file or directory
> /usr/bin/ld: cannot find -ldimqm: No such file or directory
> /usr/bin/ld: cannot find -l64to32: No such file or directory
> collect2: error: ld returned 1 exit status


The full build log is available from:
http://qa-logs.debian.net/2023/07/24/nwchem_7.0.2-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230724;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230724&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debichem-devel mailing list