Source: buildd=mpich
Version: 4.3.0-5
Severity: serious
X-Debbugs-Cc: Alastair McKinstry <mckins...@debian.org>
Control: affects src:mpi-defaults

https://tracker.debian.org/pkg/mpich

Issues preventing migration:
∙ ∙ autopkgtest for mpi-defaults/1.18: amd64: No tests, superficial or marked 
flaky ♻ (reference ♻), arm64: No tests, superficial or marked flaky ♻ 
(reference ♻), armel: Regression or new test ♻ (reference ♻), armhf: Regression 
or new test ♻ (reference ♻), i386: Regression or new test ♻ (reference ♻), 
ppc64el: No tests, superficial or marked flaky ♻ (reference ♻), riscv64: No 
tests, superficial or marked flaky ♻ (reference ♻), s390x: No tests, 
superficial or marked flaky ♻ (reference ♻)


...
214s autopkgtest [01:51:54]: test mpi-compile-run-cc-pkgconf-mpi-c: 
debian/tests/mpi-compile-run cc hello.c pkg-config mpi-c --libs --cflags
214s autopkgtest [01:51:54]: test mpi-compile-run-cc-pkgconf-mpi-c: 
[-----------------------
214s Package mpi-c was not found in the pkg-config search path.
214s Perhaps you should add the directory containing `mpi-c.pc'
214s to the PKG_CONFIG_PATH environment variable
214s Package 'mpi-c', required by 'virtual:world', not found
214s autopkgtest [01:51:54]: test mpi-compile-run-cc-pkgconf-mpi-c: 
-----------------------]
214s autopkgtest [01:51:54]: test mpi-compile-run-cc-pkgconf-mpi-c:  - - - - - 
- - - - - results - - - - - - - - - -
214s mpi-compile-run-cc-pkgconf-mpi-c FAIL non-zero exit status 1
...
261s + gfortran -o hello hello.f90 -I/usr/lib/arm-linux-gnueabihf/mpich/include 
-L/usr/lib/arm-linux-gnueabihf/mpich/lib -lmpich -Wl,-z,relro -Wl,-z,now 
-lpthread -lhwloc
261s /usr/bin/ld: /tmp/ccXCJF5d.o: in function `MAIN__':
261s hello.f90:(.text+0xc): undefined reference to `mpi_init_'
261s /usr/bin/ld: hello.f90:(.text+0x20): undefined reference to 
`mpi_comm_size_'
261s /usr/bin/ld: hello.f90:(.text+0x34): undefined reference to 
`mpi_comm_rank_'
261s /usr/bin/ld: hello.f90:(.text+0xaa): undefined reference to `mpi_finalize_'
261s collect2: error: ld returned 1 exit status
262s autopkgtest [01:52:42]: test mpi-compile-run-f90-pkgconf-mpi: 
-----------------------]
262s autopkgtest [01:52:42]: test mpi-compile-run-f90-pkgconf-mpi:  - - - - - - 
- - - - results - - - - - - - - - -
262s mpi-compile-run-f90-pkgconf-mpi FAIL non-zero exit status 1
...
265s autopkgtest [01:52:45]: @@@@@@@@@@@@@@@@@@@@ summary
265s mpi-compile-run-mpicc PASS (superficial)
265s mpi-compile-run-mpiCC PASS (superficial)
265s mpi-compile-run-mpif77 PASS (superficial)
265s mpi-compile-run-mpif90 PASS (superficial)
265s mpi-compile-run-cc-pkgconf-mpi PASS (superficial)
265s mpi-compile-run-cc-pkgconf-mpi-c FAIL non-zero exit status 1
265s mpi-compile-run-f90-pkgconf-mpi FAIL non-zero exit status 1
265s mpi-compile-run-f90-pkgconf-mpi-fort FAIL non-zero exit status 1



This is related to two lines disappearing from the
libmpich-dev postinst:

 --slave /usr/lib/i386-linux-gnu/pkgconfig/mpi-c.pc mpi-c.pc-i386-linux-gnu 
/usr/lib/i386-linux-gnu/pkgconfig/mpich.pc \
 --slave /usr/lib/i386-linux-gnu/pkgconfig/mpi-fort.pc 
mpi-fort.pc-i386-linux-gnu /usr/lib/i386-linux-gnu/pkgconfig/mpich.pc


Re-adding the first line fixes mpi-compile-run-cc-pkgconf-mpi-c.


Fixing mpi-compile-run-f90-pkgconf-mpi* requires re-adding the second line,
plus reverting the following change:

/usr/lib/i386-linux-gnu/mpich/lib/pkgconfig/mpich.pc
 -Libs:  -Wl,-z,relro -Wl,-z,now -L${libdir} -lmpichfort -lmpich   -lpthread  
-lhwloc
 +Libs:  -Wl,-z,relro -Wl,-z,now -L${libdir} -lmpich   -Wl,-z,relro -Wl,-z,now  
-lpthread   -lhwloc

Reply via email to