Your message dated Fri, 12 Aug 2022 22:03:58 +0000
with message-id <e1omcl4-001qqs...@fasolo.debian.org>
and subject line Bug#911655: fixed in autoconf-archive 20220211-1
has caused the Debian Bug report #911655,
regarding AX_PATH_BDB_NO_OPTIONS makes broken assumptions for cross compilation
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.)


-- 
911655: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911655
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: autoconf-archive
Version: 20170928-2
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:moc

The AX_PATH_BDB_NO_OPTIONS is broken for cross compilation and that
breaks moc. The macro assumes that $ac_cpp does not emit #line markers.
For native compilation, $ac_cpp will be "cpp" and that assumption is ok.
For cross compilation, it will be "<triplet>-gcc -E" and that one emits
#line markers. The macro inserts a line

    AX_PATH_BDB_STUFF DB_VERSION_MAJOR,DB_VERSION_MINOR,DB_VERSION_PATCH

and then tries to parse what comes back from the preprocessor. In the
cross compilation, that line is split up into many lines and the parsing
fails.

If you do not want #line markers, you must pass -P to $ac_cpp. The
attached patch implements that.

Helmut
--- autoconf-archive-20170928.orig/m4/ax_path_bdb.m4
+++ autoconf-archive-20170928/m4/ax_path_bdb.m4
@@ -179,7 +179,7 @@
       ]])
     ],[
       # Extract version from preprocessor output.
-      HEADER_VERSION=`eval "$ac_cpp conftest.$ac_ext" 2> /dev/null \
+      HEADER_VERSION=`eval "$ac_cpp -P conftest.$ac_ext" 2> /dev/null \
         | grep AX_PATH_BDB_STUFF | sed 's/[[^0-9,]]//g;s/,/./g;1q'`
     ],[])
 

--- End Message ---
--- Begin Message ---
Source: autoconf-archive
Source-Version: 20220211-1
Done: Bastien Roucariès <ro...@debian.org>

We believe that the bug you reported is fixed in the latest version of
autoconf-archive, 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 911...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastien Roucariès <ro...@debian.org> (supplier of updated autoconf-archive 
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: Fri, 12 Aug 2022 15:02:23 +0000
Source: autoconf-archive
Architecture: source
Version: 20220211-1
Distribution: unstable
Urgency: medium
Maintainer: Bastien Roucariès <ro...@debian.org>
Changed-By: Bastien Roucariès <ro...@debian.org>
Closes: 911655 920653 985458
Changes:
 autoconf-archive (20220211-1) unstable; urgency=medium
 .
   * New upstream release
   * New macros AX_BOOST_ATOMIC, AX_BOOST_RANDOM, AX_MS_CPPREST
   * Bug fix: "AX_PATH_BDB_NO_OPTIONS makes broken assumptions for cross
     compilation", thanks to Helmut Grohne (Closes: #911655).
   * Bug fix: "ax_pthread.m4 uses the obsolete $as_echo", thanks to Vincent
     Lefevre (Closes: #985458).
   * Bug fix: "-Wunused-variable warning on PTHREAD_PRIO_INHERIT, which can
     be turned into an error", thanks to Vincent Lefevre (Closes: #920653).
   * Bump standard version no changes
Checksums-Sha1:
 2895e0c7c6d4199d00e13ad873286c0d9f066f1e 2328 autoconf-archive_20220211-1.dsc
 1132f3e9e7ad8c2a38c442fab388eea5f96371d5 675264 
autoconf-archive_20220211.orig.tar.xz
 e703fa5226c6bb6e5eab574e9eb38abfada639c5 488 
autoconf-archive_20220211.orig.tar.xz.asc
 f46985753d64fc3d00e7e1bda23dfd95c274394e 20468 
autoconf-archive_20220211-1.debian.tar.xz
 90828bdcac82ce290c66d59364e98813a27c978e 6244 
autoconf-archive_20220211-1_source.buildinfo
Checksums-Sha256:
 903ee2821d41522bf516db8f5ea4de319d7260dc73a150b84ddd21bf2c702792 2328 
autoconf-archive_20220211-1.dsc
 78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c 675264 
autoconf-archive_20220211.orig.tar.xz
 8a52784bca16d9377a5fc86018a5019984136e87f9d2959a6e51d6ccbdf5f540 488 
autoconf-archive_20220211.orig.tar.xz.asc
 e3ba131f83f61d3e4b6afb57c528e8645aef50468b9b68dcd042953e8d18d70a 20468 
autoconf-archive_20220211-1.debian.tar.xz
 5c4fe6ddba40348b123298967a88fb061c1884eaa36b00772d040031ea6dc5dc 6244 
autoconf-archive_20220211-1_source.buildinfo
Files:
 cadf801e27c4e2b708d1129d392bc188 2328 devel optional 
autoconf-archive_20220211-1.dsc
 d140e95be64f0aa7369f82e3caae4730 675264 devel optional 
autoconf-archive_20220211.orig.tar.xz
 ea66a4e70e9879d3a9f4146a566a8000 488 devel optional 
autoconf-archive_20220211.orig.tar.xz.asc
 01ad781e546b99e7841666eb432022e9 20468 devel optional 
autoconf-archive_20220211-1.debian.tar.xz
 c4a0084218ac49876dff017bca524a20 6244 devel optional 
autoconf-archive_20220211-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmL2yKQRHHJvdWNhQGRl
Ymlhbi5vcmcACgkQADoaLapBCF/qmg/8CV64tYNQi0zlRN/LjoigYq8Ha1+IsWOT
s2ac9kJR33UIL0FwbuAJ2BLxK1+JFgqypm0C1LuCt15q1wvl089eyXa4IMB8Yeon
tuq9d/K/vEKZ0be8pkt3q7SyWkjhHlQ8jQ4/PEw61Ffhgj6Q//YTskrSyvS9LgHt
1C0mUBi0i4ouu+WAWMN/yggmjnhokvPoTyv8eganA8kNKbOYRGzk2XHD9/3CPvUG
zt3Kxi+s86FhcpBrn86AYldMZb3vTKFWC1ZjeP74gB3XNxXljFdNIzqkpM0ufpLg
oMLGPhI75KcyPmopA4rL9skkhDKImDLDxnx8R2IXilhEAk5nY5TBaSmUvYCD2slw
497XLcYE0TaNQZbkXFq/JDYKXhc70ZeWa9iRRS73Yd8BgWnyzPAMkJMX0E3hz5ro
VtRKnzAam1tsDtvqZ/EjFO62Ow1wg//M9FOoeHwuYNm1xED0VtdwfMZLQwWYJUeX
ci3WwxMfSNUkLK7ohJ9LdUTotZ/WtFqCSn3cs3Vyl+5AzZIp5ltSAn+7cOZYDe4a
zDuINbytSK6kvC062myMYa00zJf+i6UKq3irYsRzQfNmo/VJBdoYrERWtzGqtWNB
XKNQyjji4+knE6AMIWRzjdaME9ogJArqgcGKWl/CtINOe0/DL+Ni0wwSwirxPBH0
82X86e1/ZCs=
=4Qsl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to