[Debichem-devel] Bug#1028172: tiledarray: FTBFS in unstable
Adrian Bunk
bunk at debian.org
Mon Jan 9 00:37:50 GMT 2023
Control: reassgn -1 libmpich-dev 4.0.2-2
Control: retitle -1 libmpich-dev lacks dependencies required by its pkgconfig file
Control: affects -1 src:tiledarray
On Sat, Jan 07, 2023 at 05:03:01PM -0800, Steve Langasek wrote:
> Source: tiledarray
> Version: 1.0.0-1
> Severity: serious
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu lunar
>...
> CMake Error at /usr/share/cmake-3.25/Modules/CMakeTestCXXCompiler.cmake:63 (message):
> The C++ compiler
>
> "/usr/bin/c++"
>
> is not able to compile a simple test program.
>
> It fails with the following output:
>
> Change Dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-I8ie98
>
> Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d2ec9/fast && gmake[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-I8ie98'
> /usr/bin/gmake -f CMakeFiles/cmTC_d2ec9.dir/build.make CMakeFiles/cmTC_d2ec9.dir/build
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-I8ie98'
> Building CXX object CMakeFiles/cmTC_d2ec9.dir/testCXXCompiler.cxx.o
> /usr/bin/c++ -I/usr/include/x86_64-linux-gnu/mpich -o CMakeFiles/cmTC_d2ec9.dir/testCXXCompiler.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-I8ie98/testCXXCompiler.cxx
> Linking CXX executable cmTC_d2ec9
> /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d2ec9.dir/link.txt --verbose=1
> /usr/bin/c++ -I/usr/include/x86_64-linux-gnu/mpich -lmpich -lpthread -lhwloc -lucp -lucs -lrt CMakeFiles/cmTC_d2ec9.dir/testCXXCompiler.cxx.o -o cmTC_d2ec9
> /usr/bin/ld: cannot find -lhwloc: No such file or directory
> /usr/bin/ld: cannot find -lucp: No such file or directory
> /usr/bin/ld: cannot find -lucs: No such file or directory
> collect2: error: ld returned 1 exit status
> gmake[3]: *** [CMakeFiles/cmTC_d2ec9.dir/build.make:99: cmTC_d2ec9] Error 1
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-I8ie98'
> gmake[2]: *** [Makefile:127: cmTC_d2ec9/fast] Error 2
> gmake[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-I8ie98'
> [...]
>
> (https://buildd.debian.org/status/fetch.php?pkg=tiledarray&arch=amd64&ver=1.0.0-1&stamp=1673126398&raw=0)
>
>
> Possibly an issue in a build-dependency, I see that these library options
> come from the output of `pkg-config --libs-only-l mpi` but libmpich-dev
> apparently doesn't depend on the packages providing the libs in its output.
Thanks for the analysis.
I am reassigning this to libmpich-dev, which either needs to add
package dependencies on
libhwloc-dev, libucx-dev
or remove the libraries from Libs:
$ grep ^Libs /usr/lib/x86_64-linux-gnu/pkgconfig/mpich.pc
Libs: -Wl,-z,relro -L${libdir} -lmpich -lpthread -lhwloc -lucp -lucs -lrt
$
cu
Adrian
More information about the Debichem-devel
mailing list