Your message dated Sat, 13 Mar 2021 08:48:44 +0000
with message-id <e1lkzwy-0003p2...@fasolo.debian.org>
and subject line Bug#984838: fixed in boost1.74 1.74.0-9
has caused the Debian Bug report #984838,
regarding libboost1.74-dev: depends on libstdc++-dev provided by multiple
packages
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 ow...@bugs.debian.org
immediately.)
--
984838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984838
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libboost1.74-dev
Version: 1.74.0-8
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts
libstdc++-dev is not a good virtual package to depend upon, since it is
provided by multiple packages:
bullseye# apt-get install libstdc++-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libstdc++-dev is a virtual package provided by:
libstdc++-9-dev 9.3.0-22
libstdc++-10-dev 10.2.1-6
You should explicitly select one to install.
E: Package 'libstdc++-dev' has no installation candidate
If apt has to choose, it may select the wrong one:
bullseye# apt-get install libboost1.74-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libstdc++-9-dev
Suggested packages:
libboost1.74-doc libboost-atomic1.74-dev libboost-chrono1.74-dev
libboost-container1.74-dev libboost-context1.74-dev libboost-contract1.74-dev
libboost-coroutine1.74-dev libboost-date-time1.74-dev
libboost-exception1.74-dev libboost-fiber1.74-dev
libboost-filesystem1.74-dev libboost-graph1.74-dev
libboost-graph-parallel1.74-dev libboost-iostreams1.74-dev
libboost-locale1.74-dev libboost-log1.74-dev libboost-math1.74-dev
libboost-mpi1.74-dev libboost-mpi-python1.74-dev libboost-numpy1.74-dev
libboost-program-options1.74-dev libboost-python1.74-dev
libboost-random1.74-dev libboost-regex1.74-dev libboost-serialization1.74-dev
libboost-stacktrace1.74-dev libboost-system1.74-dev libboost-test1.74-dev
libboost-thread1.74-dev libboost-timer1.74-dev
libboost-type-erasure1.74-dev libboost-wave1.74-dev libboost1.74-tools-dev
libmpfrc++-dev libntl-dev libboost-nowide1.74-dev libstdc++-9-doc
The following NEW packages will be installed:
libboost1.74-dev libstdc++-9-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/11.2 MB of archives.
After this operation, 159 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
But worse, on upgrades from buster to bullseye libstdc++-8-dev would
have to be removed and libstdc++-10-dev would have to be installed to
perform a clean upgrade, but I've found with piuparts a few upgrade
paths where apt prefers to keep libstdc++-8-dev installed since it
provides libstdc++-dev. That causes the upgrade to fail, since apt
cannot find a valid upgrade path at al in these cases.
The attached patch exchanges this dependency to
Upgrading to the packages with this patch applied fixes all the issues I
observed. I also tried a
Depends: libstdc++-10-dev | libstdc++-dev
but that leaves us with the failure I initially observed
Andreas
diff -Nru boost1.74-1.74.0/debian/changelog boost1.74-1.74.0/debian/changelog
--- boost1.74-1.74.0/debian/changelog 2021-01-23 20:00:18.000000000 +0100
+++ boost1.74-1.74.0/debian/changelog 2021-03-08 16:18:55.000000000 +0100
@@ -1,3 +1,13 @@
+boost1.74 (1.74.0-8.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * libboost1.74-dev: Smoothen upgrades from buster by depending on
+ libstdc++-${gxx:major}-dev using the build-time version of g++ instead of
+ the virtual libstdc++-dev provided by multiple packages.
+ (Closes: #xxxxxx)
+
+ -- Andreas Beckmann <a...@debian.org> Mon, 08 Mar 2021 16:18:55 +0100
+
boost1.74 (1.74.0-8) unstable; urgency=medium
* [85a2610] Fix compilation warnings. (Closes: #980497)
diff -Nru boost1.74-1.74.0/debian/control boost1.74-1.74.0/debian/control
--- boost1.74-1.74.0/debian/control 2021-01-23 19:37:38.000000000 +0100
+++ boost1.74-1.74.0/debian/control 2021-03-08 16:18:55.000000000 +0100
@@ -24,7 +24,7 @@
Architecture: any
Multi-Arch: same
Section: libdevel
-Depends: ${misc:Depends}, ${shlibs:Depends}, libstdc++-dev
+Depends: ${misc:Depends}, ${shlibs:Depends}, libstdc++-${gxx:major}-dev
Suggests: libboost1.74-doc,
libboost-atomic1.74-dev,
libboost-chrono1.74-dev,
diff -Nru boost1.74-1.74.0/debian/rules boost1.74-1.74.0/debian/rules
--- boost1.74-1.74.0/debian/rules 2020-12-25 23:26:58.000000000 +0100
+++ boost1.74-1.74.0/debian/rules 2021-03-08 16:18:55.000000000 +0100
@@ -343,6 +343,9 @@
sed -i -r 's/^(libboost_numpy([0-9]{2}) \S+ (\S+).*)$$/\1, \3-py\2/'
debian/libboost-numpy$(SOVERSION)/DEBIAN/shlibs
endif
+override_dh_gencontrol:
+ dh_gencontrol -- -V'gxx:major=$(shell dpkg-query -f '$${version}' -W
g++ | sed 's/.*://;s/\..*//')'
+
$(b2):
cd tools/build && bison -y -d -o src/engine/jamgram.cpp
src/engine/jamgram.y
./bootstrap.sh --with-icu=/usr --prefix=$(CURDIR)/debian/tmp/usr \
libkf5mailcommon-dev_4:20.08.3-1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: boost1.74
Source-Version: 1.74.0-9
Done: Anton Gladky <gl...@debian.org>
We believe that the bug you reported is fixed in the latest version of
boost1.74, 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 984...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anton Gladky <gl...@debian.org> (supplier of updated boost1.74 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 13 Mar 2021 09:21:38 +0100
Source: boost1.74
Architecture: source
Version: 1.74.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Boost Team <team+bo...@tracker.debian.org>
Changed-By: Anton Gladky <gl...@debian.org>
Closes: 984838
Changes:
boost1.74 (1.74.0-9) unstable; urgency=medium
.
[ Andreas Beckmann ]
* libboost1.74-dev: Smoothen upgrades from buster by depending on
libstdc++-${gxx:major}-dev using the build-time version of g++ instead of
the virtual libstdc++-dev provided by multiple packages.
(Closes: #984838)
Checksums-Sha1:
7e5ebb8d59e00c359c48502526e522751433066e 9222 boost1.74_1.74.0-9.dsc
235973436bfc007a0f604962bbb28752d2578db0 367784
boost1.74_1.74.0-9.debian.tar.xz
a3cb49f31ffe39be34b49885a81603ada369d439 10944
boost1.74_1.74.0-9_source.buildinfo
Checksums-Sha256:
d3ee109fb93c3fd3eb761e1278a7fbf270c3c51564009728b7355af297fbcd50 9222
boost1.74_1.74.0-9.dsc
10ff1892cd8194f38316a63c2236a44cb7681ba17301cbc0a2fa6f482335c1f9 367784
boost1.74_1.74.0-9.debian.tar.xz
1add3a6bc619192a10562e08357066724e8a84bac82bdfc9656ed9a7071f2997 10944
boost1.74_1.74.0-9_source.buildinfo
Files:
2d3ffbdd008b8f807dc3d2ecd5a84fe9 9222 libs optional boost1.74_1.74.0-9.dsc
238a5e2463145406dc30f791a47e2a83 367784 libs optional
boost1.74_1.74.0-9.debian.tar.xz
0c0fdcbc6c40cf43a830ed07f900de80 10944 libs optional
boost1.74_1.74.0-9_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAmBMeWoACgkQ0+Fzg8+n
/waqmA/7BQUNW7xxYGDnRI0v3fvxJ1kP6uBgBUXZZrdPL9oLoyrxNFJupK3VEhBy
sZgaH2R4wpe616MWZKaavwZyqhRWcwBHTCh/sJDpXt9HKyN311bXGuomrFZNicXr
hETNNiHphK4BeQs98v7l9Qum+ugfx+u5dAPZzdhJU9XGi0/Vf3m1dbCk6ZbYi6Tk
EBzFvsCYFe1WASkGjltCs+TXnunQUZAyqy7USYUjhzO6Y8HoSiK+Va4GB79hmr7N
hijNAnd5IxuHVGKIi4PAPyQyHY7QtIqBy5md/kUhK5MW0IYrpZ1nbOWnbdy58PyG
rbgolQ2kum4bLq0BYp/WQ/Oofv5nm/8JIKttsEoqINWX0XAlSlB6C6sQ3sdp1/sm
6caQeLliUgyU0Zzmgmq7yy9+G0RHHWGZCjjYU86sByDZyQhO18Ri2tsYEFQFQoOo
6Y7t7fY3UWr0SSN47XIxkgQi93r/Xf4U7AiSyLHIEZlroF6kSUbKwtjbOvAp1Hgj
4lXfiTLj/5aO1rDmWwsg/ve4/GD4G0x/K0pJRRWjsJLm76y+x+8jyQblDW7Wb/63
gCYOIsYWGjwbeywtyb8xDE9Et7MbcBoVXsvz4omfqz6ZCX3kqqLXUbXJa8wrZcyh
czIIpN7iYjSRtnixP4vJST8dLAY13zV7rN9HIQzFF0uz2NdzABc=
=ye2I
-----END PGP SIGNATURE-----
--- End Message ---