Your message dated Mon, 19 Nov 2018 16:05:54 +0000
with message-id <[email protected]>
and subject line Bug#843918: fixed in yaml-cpp 0.5.3-0.1
has caused the Debian Bug report #843918,
regarding yaml-cpp FTCBFS: uses build architecture compiler, does not honour
DEB_BUILD_OPTIONS=nocheck
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.)
--
843918: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843918
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: yaml-cpp
Version: 0.5.2-4
Tags: patch
User: [email protected]
Usertags: rebootstrap
yaml-cpp fails to cross build from source, because it uses the build
architecture compiler. It also also runs tests even when
DEB_BUILD_OPTIONS contains nocheck. The attached patch fixes both
problems and makes the cross build succeed. dh_auto_configure knows how
to tell cmake about cross compilers, so I am opting for that
indirection. Please consider applying the attached patch.
Helmut
diff --minimal -Nru yaml-cpp-0.5.2/debian/changelog
yaml-cpp-0.5.2/debian/changelog
--- yaml-cpp-0.5.2/debian/changelog 2016-10-13 01:48:11.000000000 +0200
+++ yaml-cpp-0.5.2/debian/changelog 2016-11-10 17:55:54.000000000 +0100
@@ -1,3 +1,12 @@
+yaml-cpp (0.5.2-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS (Closes: #-1)
+ + Let dh_auto_configure pass cross flags
+ + Honour DEB_BUILD_OPTIONS=nocheck
+
+ -- Helmut Grohne <[email protected]> Thu, 10 Nov 2016 17:55:54 +0100
+
yaml-cpp (0.5.2-4) unstable; urgency=medium
* Make the build reproducible (Closes: #808714)
diff --minimal -Nru yaml-cpp-0.5.2/debian/rules yaml-cpp-0.5.2/debian/rules
--- yaml-cpp-0.5.2/debian/rules 2016-10-13 01:48:11.000000000 +0200
+++ yaml-cpp-0.5.2/debian/rules 2016-11-10 17:15:59.000000000 +0100
@@ -23,13 +23,11 @@
override_dh_auto_configure:
dh_testdir
- mkdir build-static; cd build-static; \
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ dh_auto_configure --builddirectory=build-static --
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-DYAML_CPP_BUILD_TOOLS=ON \
-Dgtest_disable_pthreads=$(DISABLE_PTHREADS)
- mkdir build-shared; cd build-shared; \
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ dh_auto_configure --builddirectory=build-shared --
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-DBUILD_SHARED_LIBS=ON \
-DYAML_CPP_BUILD_TOOLS=ON \
@@ -48,9 +46,11 @@
$(MAKE) -C build-static install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C build-shared install DESTDIR=$(CURDIR)/debian/tmp
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
override_dh_auto_test:
$(MAKE) -C build-static test
$(MAKE) -C build-shared test
+endif
clean:
dh_testdir
--- End Message ---
--- Begin Message ---
Source: yaml-cpp
Source-Version: 0.5.3-0.1
We believe that the bug you reported is fixed in the latest version of
yaml-cpp, 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.
Boyuan Yang <[email protected]> (supplier of updated yaml-cpp 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: Mon, 19 Nov 2018 10:29:13 -0500
Source: yaml-cpp
Binary: libyaml-cpp0.5v5 libyaml-cpp-dev
Architecture: source
Version: 0.5.3-0.1
Distribution: unstable
Urgency: medium
Maintainer: Lifeng Sun <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Description:
libyaml-cpp-dev - YAML parser and emitter for C++ - development files
libyaml-cpp0.5v5 - YAML parser and emitter for C++
Closes: 843918
Changes:
yaml-cpp (0.5.3-0.1) unstable; urgency=medium
.
* Non-maintainer upload with acknowledgement from Andreas Tille.
* New upstream 0.5.x release 0.5.3.
* debian/control:
+ Bump debhelper compat to v11.
+ Bump Standards-Version to 4.2.1.
+ Mark libyaml-cpp-dev as Multi-Arch: same.
* debian/rules:
+ Modernize packaging instructions.
+ Use "dh_missing --fail-missing".
+ Fixes FTCBFS by letting dh_auto_configure handle cross flags.
(Closes: #843918)
* debian/patches:
+ Refresh patches.
- Drop 303.patch and backport-b426fafff.patch, merged in
new release.
Checksums-Sha1:
32c28bfde15f4d19b5feb6f90ed676088ef61850 2004 yaml-cpp_0.5.3-0.1.dsc
48298936757130092e97f7b432e0bfb91bad2eb9 2016749 yaml-cpp_0.5.3.orig.tar.gz
306a2ed4365145143524fdf9131df94c9909307d 6224 yaml-cpp_0.5.3-0.1.debian.tar.xz
38cf82026a67cd6c454b051c18ca786633c2c724 6818
yaml-cpp_0.5.3-0.1_amd64.buildinfo
Checksums-Sha256:
d2e663a2aa7e1cadf6e0b408c7e3523e9b8cc4cfec05189345de6149c3ec1fa5 2004
yaml-cpp_0.5.3-0.1.dsc
3492d9c1f4319dfd5588f60caed7cec3f030f7984386c11ed4b39f8e3316d763 2016749
yaml-cpp_0.5.3.orig.tar.gz
ec77466417096baed2e55af02e5feb0bb100eb758b6cccad6a8f0a8ef6f97477 6224
yaml-cpp_0.5.3-0.1.debian.tar.xz
bf6b885fdcdef64d5b1943f8d481a84e38850ccf6a92dc36e00c3c66be9f2598 6818
yaml-cpp_0.5.3-0.1_amd64.buildinfo
Files:
7746682611d78cab3ac12a5416ccc259 2004 devel optional yaml-cpp_0.5.3-0.1.dsc
e2507c3645fc2bec29ba9a1838fb3951 2016749 devel optional
yaml-cpp_0.5.3.orig.tar.gz
b0c857851e73d48f647f1edfcb3f929d 6224 devel optional
yaml-cpp_0.5.3-0.1.debian.tar.xz
3e0ea2eaa434dd68d9042bb018b99ed0 6818 devel optional
yaml-cpp_0.5.3-0.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAlvy2WMACgkQwpPntGGC
Ws7MnBAAxJ79sjsU8Az4/TbBYVdoEyE9qLZULEBG6umTnsS4gycFDZMzMwJy0qPk
oBmsTFxWalZKYnuKKdZMntyePrpjsJKSE66f13OJU69m50e0YhFLLDBAGsGvjaI4
1UHy2+bjtp9LRnwh/VAizyqt9YA4kFD3LbL3VLMu1NN0tvNnqRlnI/phcpMl1mYw
MH7Ehpgpksd1JgBDecR3CDj+j0IDes+fSVr5iFfYVNljvK+k7e/qJHPJgz0VC+TR
AHjQGTZcNBHX5YYAx/5bMTsSBderPySlSv+w4e3a9bqUobyxaPEh9UZHhTOSj9T3
ss0wjsSB76apj1Gud9/ZfCf7k6rQiswSBI2RQBc7ppDR7vC+XBPCOPmx7D0JLF93
mZowf1kuIoOYVfXucBQR0Et+AEhluIi7ZQv5CmraKv7uV1Bv8qYbQBaaCl6pVt1Q
uHnefBg+fBGTNR/e8t9sBXIo7Ud4P9RmOYyt+QVvHzz23zP4PTUSOkqhHOToR199
1gvXUrfws1u10CWsf4+Kyi76QEw7yHGdyRg7l3HUVSIwNF2ZBcHHBKvMfh05QeVR
YbPfpRzCF6Eg8aE4F4CiGNlC/MVfp7ETF8AsoiapmtVTFlDWnrvCFurlguH4DUwF
Z87AuPX9qJDs768x0JVxJhETo7g0ZIqUB68ao+L3I2gpCBDr1i0=
=gLnF
-----END PGP SIGNATURE-----
--- End Message ---