Your message dated Tue, 17 May 2022 06:18:52 +0000
with message-id <e1nqqxk-00013w...@fasolo.debian.org>
and subject line Bug#1011108: fixed in macromoleculebuilder 3.5+dfsg-6
has caused the Debian Bug report #1011108,
regarding ftbfs: forces std=c++14
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.)
--
1011108: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011108
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: macromoleculebuilder
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch
Dear maintainers,
The macromoleculebuilder source package fails to build in Debian unstable:
[...]
/usr/bin/c++ -DBuildNtC -DLEPTON_BUILDING_STATIC_LIBRARY -DLepton_USAGE
-DMMBlib_EXPORTS -DUSE_MMB_CONSTEXPR -DUSE_OPENMM -isystem
/tmp/macromoleculebuilder-3.5+dfsg/include -isystem
/usr/include/simbody-isystem /usr/include/openmm -isystem
/usr/include/openmm/reference -isystem /include -isystem
/tmp/macromoleculebuilder-3.5+dfsg/3rdparty/Lepton1.3/include -D BuildNtC -D
USE_OPENMM -g -O2 -ffile-prefix-map=/tmp/macromoleculebuilder-3.5+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -O0
-fvisibility=hidden -O3 -DNDEBUG -fPIC -DMMB_BUILDING_SHARED_LIBRARY -std=c++14
-MD -MT CMakeFiles/MMBlib.dir/src/ConstraintContainer.cpp.o -MF
CMakeFiles/MMBlib.dir/src/ConstraintContainer.cpp.o.d -o
CMakeFiles/MMBlib.dir/src/ConstraintContainer.cpp.o -c
/tmp/macromoleculebuilder-3.5+dfsg/src/ConstraintContainer.cpp
In file included from /usr/include/tao/pegtl.hpp:8,
from /usr/include/gemmi/cif.hpp:13,
from /usr/include/gemmi/mmread.hpp:9,
from /usr/include/molmodel/internal/Compound.h:48,
from /usr/include/SimTKmolmodel.h:53,
from
/tmp/macromoleculebuilder-3.5+dfsg/include/UnitCellParameters.h:3,
from
/tmp/macromoleculebuilder-3.5+dfsg/src/UnitCellParameters.cpp:4:
/usr/include/tao/pegtl/demangle.hpp:23:33: error: 'string_view' in namespace
'std' does not name a type
23 | [[nodiscard]] constexpr std::string_view demangle() noexcept;
[...]
This is because tao-pegtl-dev now requires C++17, but -std=c++14 is being
forced.
I've uploaded the attached patch in Ubuntu to work around this by forcing
c++17 instead of c++14. You could also probably drop the forcing entirely,
since the default standard nowadays is gnu17 (C++17 with GNU extensions).
The package currently still fails to build from source because gemmi's
headers are also incompatible with the new tao-pegtl; but I'm hoping this
will be resolved when bug #1009415 is fixed.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru macromoleculebuilder-3.5+dfsg/debian/patches/CXX17.patch
macromoleculebuilder-3.5+dfsg/debian/patches/CXX17.patch
--- macromoleculebuilder-3.5+dfsg/debian/patches/CXX17.patch 1969-12-31
16:00:00.000000000 -0800
+++ macromoleculebuilder-3.5+dfsg/debian/patches/CXX17.patch 2022-05-16
18:02:44.000000000 -0700
@@ -0,0 +1,21 @@
+Description: Use C++17 standard, not C++14.
+ The macromoleculebuilder tries to force C++14 in the compiler to ensure
+ access to newer language features. However, C++14 is now too *old* for
+ some of the build-dependencies (tao-pegtl-dev) and causes a build failure.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Update: 2022-05-16
+Forwarded: no
+
+Index: macromoleculebuilder-3.5+dfsg/CMakeLists.txt
+===================================================================
+--- macromoleculebuilder-3.5+dfsg.orig/CMakeLists.txt
++++ macromoleculebuilder-3.5+dfsg/CMakeLists.txt
+@@ -8,7 +8,7 @@
+
+ PROJECT(MMB LANGUAGES CXX)
+
+-SET(CMAKE_CXX_STANDARD 14)
++SET(CMAKE_CXX_STANDARD 17)
+ SET(CMAKE_CXX_EXTENSIONS OFF)
+ SET(CMAKE_CXX_STANDARD_REQUIRED ON)
+
diff -Nru macromoleculebuilder-3.5+dfsg/debian/patches/series
macromoleculebuilder-3.5+dfsg/debian/patches/series
--- macromoleculebuilder-3.5+dfsg/debian/patches/series 2022-03-30
03:37:26.000000000 -0700
+++ macromoleculebuilder-3.5+dfsg/debian/patches/series 2022-05-16
18:01:18.000000000 -0700
@@ -1,2 +1,3 @@
fix-Lepton-path.patch
fix-Gemmi-compatibility.patch
+CXX17.patch
--- End Message ---
--- Begin Message ---
Source: macromoleculebuilder
Source-Version: 3.5+dfsg-6
Done: Andrius Merkys <mer...@debian.org>
We believe that the bug you reported is fixed in the latest version of
macromoleculebuilder, 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 1011...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrius Merkys <mer...@debian.org> (supplier of updated macromoleculebuilder
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: Tue, 17 May 2022 02:01:32 -0400
Source: macromoleculebuilder
Architecture: source
Version: 3.5+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <debichem-de...@lists.alioth.debian.org>
Changed-By: Andrius Merkys <mer...@debian.org>
Closes: 1011108
Changes:
macromoleculebuilder (3.5+dfsg-6) unstable; urgency=medium
.
* Drop forcing C++14 (Closes: #1011108).
Checksums-Sha1:
0cefb50c05c738ec7dda7b5b453547fc5435849e 2409
macromoleculebuilder_3.5+dfsg-6.dsc
46c7cc1ae9591e1a1f10d1f7d65f1eca1f5719ce 4552
macromoleculebuilder_3.5+dfsg-6.debian.tar.xz
3007755c69c7d4c1b5725c8cf9261c3489add89d 9704
macromoleculebuilder_3.5+dfsg-6_source.buildinfo
Checksums-Sha256:
d585da74f178b68ac1c1a1838c9fdcb1af2971bc9dfeeff021f101354576fe66 2409
macromoleculebuilder_3.5+dfsg-6.dsc
cc23b7c7328ff613a241cbbaf1073c355b4b3f8844032b7723fa368b5a7caef2 4552
macromoleculebuilder_3.5+dfsg-6.debian.tar.xz
70ad28bd41f130e5e305c5d33eb8d64ec160103f02a4e6a22b3236117776696e 9704
macromoleculebuilder_3.5+dfsg-6_source.buildinfo
Files:
c7e5ae633c7a47133ea309b9990c2cdc 2409 science optional
macromoleculebuilder_3.5+dfsg-6.dsc
562b2b288b2321c2f1a3239de830382c 4552 science optional
macromoleculebuilder_3.5+dfsg-6.debian.tar.xz
b52919e12cb5ded2f059f484b94f1a93 9704 science optional
macromoleculebuilder_3.5+dfsg-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAmKDO30SHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKHCiIP/jvFKFMmoL42XfixRwodqZwEvPpDFu7Y
7e9CTPfROrvB1ATxnvV5yLu84Lz133Hto6ysirIdQ1afAW3OzesZVgSihWNqHVFu
0x4VY2joRI6hN39OdRg8Eka/PkY6CmmTy/Jmj52q8ymcqhJLBFVy3O0R93BWl2/C
IS8aKVOsv21k/MS7CO2z/bBe5qCkIdWckxGbQmIiZU8lA87/2jsIdmtX62mJQU2Q
3MdX3Mnn98YE5SBBpuT/xOqTES1vXT1mNoumpU6rbNfPxENeksJ36JUhsfk5RfZy
Dzb2EUSGArKv7GGcNjo5Nx0H2LVJZbla7It+PsIgNq/nfXUDYfzq0qBMCkYjLGdd
UYVQ+9M7T7jonULvQynUyaPE7kD/lwpRpsjoCgqQuoFxjyAiHNqKUGLb05fpvZwA
PGa6v4zhBl7Ru/ph5mccCOk1hMSNvk6ZGhqaGAiJ9VQl9LnJsf8Dj7z4wnEpWHfs
ju7wIQXY3GIMdeDwKK03Vl1ikDk+KZDcz+YWN6Z8YHX7WYMi7TYWtOYAZ0xN4oUI
w5kXavetNFH7vyecIgTyKxv1lwgXBIPQ1A2mOiN1RGys3Y5jK92Zw8oTXh11kWNM
09oANLLFdgFIWUEQxCNXW98aa0SvThB42m2DGGYaSErvYCUWHwiBaG/x2NkZFLpY
4J64AbO3NqEi
=nkdp
-----END PGP SIGNATURE-----
--- End Message ---