Your message dated Sat, 05 Nov 2022 16:05:26 +0000
with message-id <[email protected]>
and subject line Bug#1022973: fixed in deal.ii 9.4.0-2
has caused the Debian Bug report #1022973,
regarding FTBFS on ppc64el
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1022973: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022973
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:deal.ii
Version: 9.4.0-1
Control: tags -1 ftbfs
Control: tags -1 patch
--
Dear maintainer,
deal.ii fails to build atm on ppc64el on unstable. It actually fails at
link time.
Full log is here :
https://buildd.debian.org/status/fetch.php?pkg=deal.ii&arch=ppc64el&ver=9.4.0-1%2Bb1&stamp=1666717020&raw=0
Link error :
---
/usr/bin/c++ -fPIC -rdynamic -fuse-ld=gold -Wl,-z,relro -ggdb -shared
-Wl,-soname,libdeal.ii.g.so.9.4.0 -o
../lib/powerpc64le-linux-gnu/libdeal.ii.g.so.9.4.0
CMakeFiles/deal.ii.g.dir/dummy.cc.o <loads of .o and .a and .so>
/usr/bin/ld.gold: stub group size is too large; retrying with 0x1500000
/usr/bin/ld.gold: error: invalid STB_LOCAL symbol in external symbols
/usr/bin/ld.gold: error: linker defined: multiple definition of
'00000004.plt_call._ZN6dealii18deal_II_exceptions9internals20compare_for_equalityImjEEbRKT_RKT0_'
/usr/bin/ld.gold: command line: previous definition here
/usr/bin/ld.gold: error: invalid STB_LOCAL symbol in external symbols
/usr/bin/ld.gold: error: linker defined: multiple definition of
'00000004.plt_call._ZN6dealii18StandardExceptions20ExcDimensionMismatchC1ERKmS3_'
/usr/bin/ld.gold: command line: previous definition here
/usr/bin/ld.gold: error: invalid STB_LOCAL symbol in external symbols
/usr/bin/ld.gold: error: linker defined: multiple definition of
'00000004.plt_call._ZN6dealii18deal_II_exceptions9internals20issue_error_noreturnINS_18StandardExceptions20ExcDimens
...
---
Current unstable uses gcc-12. Trying in same build environment with
gcc-11, ld.gold does work.
Also, in a Ubuntu build environment it does work because they use
-Bsymbolic-functions by default, which once added in the Debian's build
makes linking succeed.
So for some reason gcc-12 does things differently compared to gcc-11.
I understand using -Bsymbolic-functions is more a workaround as it
has side effects on the PLT , but that can help for now (see attached
patch).
Regards,
F.
--- a/deal.ii-9.4.0/debian/rules 2022-07-04 18:45:43.000000000 +0200
+++ b/deal.ii-9.4.0/debian/rules 2022-10-28 12:09:03.891074479 +0200
@@ -3,6 +3,10 @@
export OMPI_MCA_plm_rsh_agent=/bin/false
export OMPI_MCA_rmaps_base_oversubscribe=1
+ifneq (,$(filter $(DEB_HOST_ARCH),ppc64el))
+CONFIGURE_LINKER_FLAGS=-DDEAL_II_LINKER_FLAGS="-Wl,-Bsymbolic-functions"
+endif
+
%:
dh $@
@@ -14,6 +18,7 @@ export OMPI_MCA_rmaps_base_oversubscribe
override_dh_auto_configure:
dh_auto_configure -- \
-DDEAL_II_CXX_FLAGS="-Wno-nonnull-compare -Wno-address" \
+ $(CONFIGURE_LINKER_FLAGS) \
-DCMAKE_PREFIX_PATH="/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/openmpi;/usr/include/hdf5/openmpi"
\
-DCMAKE_BUILD_TYPE=DebugRelease \
-DDEAL_II_ALLOW_AUTODETECTION=OFF \
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: deal.ii
Source-Version: 9.4.0-2
Done: Matthias Maier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
deal.ii, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Maier <[email protected]> (supplier of updated deal.ii
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 05 Nov 2022 15:39:48 +0000
Source: deal.ii
Built-For-Profiles: noudeb
Architecture: source
Version: 9.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Matthias Maier <[email protected]>
Closes: 1022973
Changes:
deal.ii (9.4.0-2) unstable; urgency=medium
.
[ Matthias Maier ]
* Force -std=c++17
.
[ Frédéric Bonnard ]
* Link with -Bsymbolic-functions on ppc64el to avoid FTBFS
(Closes: #1022973)
Checksums-Sha1:
5a25753a6deeabed0e1a13ee70d93fc7c25e8008 2765 deal.ii_9.4.0-2.dsc
3281babb84992038cee0a484fc500e3c253ff201 10612 deal.ii_9.4.0-2.debian.tar.xz
Checksums-Sha256:
d7bbb3e251d509d3921c1ce7a2eeb4d2319d4f4586f96a744f86835c7ccca3f5 2765
deal.ii_9.4.0-2.dsc
f0818f9c7daa604baa8bd92e4255fdab8a1f96fb2deb1c42b2781c7df663e143 10612
deal.ii_9.4.0-2.debian.tar.xz
Files:
30d3389bffa98a393c4730aebdfd3ae9 2765 libs optional deal.ii_9.4.0-2.dsc
314eccf8ccb870f9e30392d06347dd49 10612 libs optional
deal.ii_9.4.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEJeP/LX9Gnb59DU5Qr8/sjmac4cIFAmNmhgkACgkQr8/sjmac
4cLeQQ//b6DVqQM0j0iAFvidDXutKI4yN6gHqRGrDzvWVd8uPwQ1Gx53j3BIprHl
4Vo/XDYvBOyDBLcM3ddC/YvKB94gQa90djh7If986uDvGCkLGj6EHFRJcTlt/fnp
6iSfydfdbe1XVFWfQ+nvNM0F04PGLS0X0SexcxDUKkrb5OwnasQapEi0lsSXnT/E
Ig/eKLHug/iGhafU+3YNXSIpG70UhS+OF20jxSnIh1F1EkSiPrMWgcNZx7ywJ2HR
DpOJu3lLv5GbUE1DUZZTg1gA9VHggVLXa7/fsKcf8yMNWOkc12b4UWXVP0dkiY8j
W95ojxU8j0tDHDdqL6RHNstSTNpGMTyr24usKT1VtellR/zGOPrq2ZXTU5t/HZEg
9E88PsCyNjXiMYZbeXW5On8OoZeqivsfnYfO4r9oJqE4H03J6vX6uaSuD/TTZwvY
bOqpIjauthEVBcmbuCrrc1MMCuq7GXSmYm4Dv9I2FWYxUCn3otcTN+CKCkQmosU/
MfhF9CDG1SgMAQ1WUGgivMc+xCzcosPCnSnEDZP+6aLHEX4mrgxsY47OkRcNnxMU
OPhL2n47uGQrn9ZACnoj1lrv+I6Xg1vXdjEuZjK+VSU/cE3LRYURpHKu0hONLysx
FMT8Xj6INF1Sa0heJEcNa6wZU2AOXm+JcLQR99ezj9Z9S0uJZ8s=
=pTLN
-----END PGP SIGNATURE-----
--- End Message ---