Your message dated Mon, 26 Dec 2022 03:04:47 +0000
with message-id <[email protected]>
and subject line Bug#982039: fixed in xerces-c 3.2.4+debian-1
has caused the Debian Bug report #982039,
regarding xerces-c FTCBFS: uses AC_RUN_IFELSE
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.)


-- 
982039: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982039
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xerces-c
Version: 3.2.3+debian-3
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

xerces-c fails to cross build from source, because it uses AC_RUN_IFELSE
to check for two wchar functions. It actually tests whether those
functions behave as expected and such a test cannot be performed during
cross building. I propose degrading the check to a function existence
test during cross builds while keeping the elaborate check for native
builds. Please consider applying the attached patch.

Helmut
--- xerces-c-3.2.3+debian.orig/configure.ac
+++ xerces-c-3.2.3+debian/configure.ac
@@ -227,6 +227,7 @@
                       AC_DEFINE_UNQUOTED([HAVE_MBRLEN], 0, [Define to 1 if you have the `mbrlen' function.])
                     ]
                  )
+AC_CHECK_FUNC([wcsrtombs],[
 AC_MSG_CHECKING([for wcsrtombs])
 AC_RUN_IFELSE(  [AC_LANG_PROGRAM([[#include <wchar.h>
 #include <string.h>]],
@@ -247,8 +248,17 @@
                     [
                       AC_MSG_RESULT([no])
                       AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 0, [Define to 1 if you have the `wcsrtombs' function.])
+                    ],
+                    [
+		      AC_MSG_RESULT([cross. guessing yes])
+                      AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 1, [Define to 1 if you have the `wcsrtombs' function.])
                     ]
                  )
+],
+[
+  AC_DEFINE_UNQUOTED([HAVE_WCSRTOMBS], 0, [Define to 1 if you have the `wcsrtombs' function.])
+])
+AC_CHECK_FUNC([mbsrtowcs],[
 AC_MSG_CHECKING([for mbsrtowcs])
 AC_RUN_IFELSE(  [AC_LANG_PROGRAM([[#include <wchar.h>
 #include <string.h>]],
@@ -269,8 +279,16 @@
                     [
                       AC_MSG_RESULT([no])
                       AC_DEFINE_UNQUOTED([HAVE_MBSRTOWCS], 0, [Define to 1 if you have the `mbsrtowcs' function.])
+                    ],
+                    [
+                      AC_MSG_RESULT([cross. guessing yes])
+                      AC_DEFINE_UNQUOTED([HAVE_MBSRTOWCS], 1, [Define to 1 if you have the `mbsrtowcs' function.])
                     ]
                  )
+],
+[
+  AC_DEFINE_UNQUOTED([HAVE_MBSRTOWCS], 0, [Define to 1 if you have the `mbsrtowcs' function.])
+])
 
 AC_MSG_CHECKING([if iconv uses const pointers])
 AC_COMPILE_IFELSE(  [AC_LANG_PROGRAM([[#include <iconv.h>]],

--- End Message ---
--- Begin Message ---
Source: xerces-c
Source-Version: 3.2.4+debian-1
Done: William Blough <[email protected]>

We believe that the bug you reported is fixed in the latest version of
xerces-c, 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.
William Blough <[email protected]> (supplier of updated xerces-c 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: SHA256

Format: 1.8
Date: Sun, 25 Dec 2022 21:24:54 -0500
Source: xerces-c
Architecture: source
Version: 3.2.4+debian-1
Distribution: unstable
Urgency: medium
Maintainer: William Blough <[email protected]>
Changed-By: William Blough <[email protected]>
Closes: 982039
Changes:
 xerces-c (3.2.4+debian-1) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Update lintian override info format in
     d/libxerces-c-samples.lintian-overrides on line 2.
   * Re-export upstream signing key without extra signatures.
   * Set upstream metadata fields: Repository-Browse.
   * Update standards version to 4.6.1, no changes needed.
 .
   [ William Blough ]
   * New upstream version 3.2.4+debian
   * Refreshed patches
   * Fix FTBFS when cross-building. Closes: #982039
Checksums-Sha1:
 ccc7a7a8d3b8a803167060361113b050386c09fa 2493 xerces-c_3.2.4+debian-1.dsc
 47d219344ee94cc6a3476c39090b0f2ec8f9b791 1566760 
xerces-c_3.2.4+debian.orig.tar.xz
 6863d70f4fc9261ac6be30c99e91e5a6fc4facd5 21312 
xerces-c_3.2.4+debian-1.debian.tar.xz
 ba30c644db45409510d448bfae4dcb642fff5f23 11393 
xerces-c_3.2.4+debian-1_amd64.buildinfo
Checksums-Sha256:
 91c996da5d51667b3a02dd7a05d09b1c6a38cd331df152239d0bc790caa35d48 2493 
xerces-c_3.2.4+debian-1.dsc
 cf5b5d5fda86061a49bd5f58ef778aa9d7caba30c6b152a5d57c5ff545f50f2c 1566760 
xerces-c_3.2.4+debian.orig.tar.xz
 b76436c77b7ec5e45453220308961fdb06f9aeb39fcc0ec2362a808639aa8e13 21312 
xerces-c_3.2.4+debian-1.debian.tar.xz
 33930c36cf9b24a89e0544585f403b1002a3fe4c8920a8eed35be1443c680e32 11393 
xerces-c_3.2.4+debian-1_amd64.buildinfo
Files:
 d0144fb24aa2f439a408ccc1422e623f 2493 libs optional xerces-c_3.2.4+debian-1.dsc
 1a69fc0b34cbc3e3ab76a4314aac779c 1566760 libs optional 
xerces-c_3.2.4+debian.orig.tar.xz
 2fd9b1353b51543fec2f18c7f2c0692e 21312 libs optional 
xerces-c_3.2.4+debian-1.debian.tar.xz
 3577bad0ee816f8465f9cc5e7434cc8d 11393 libs optional 
xerces-c_3.2.4+debian-1_amd64.buildinfo

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

iQKnBAEBCACRFiEEJXjSPd76bZ5rVv2gNeEe5JHS9UwFAmOpCLVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDI1
NzhEMjNEREVGQTZEOUU2QjU2RkRBMDM1RTExRUU0OTFEMkY1NEMTHGJibG91Z2hA
ZGViaWFuLm9yZwAKCRA14R7kkdL1TBL0D/4y5M2Ih0+Gct3KRP6cCToLGfWSHTdX
JOb2MsnK1X2hlvB2nkMOMXRy4hQQqFn0JuNYrF2XINjPDtgeBQpHVmASSBACcDcx
8023abSbZ1JlsSixNXirhO/IGVClxbA2o4SlhkQiUYzdto3rhUiczUvMgVqyKguM
ShPWk8ptTZFkSreyAZua5olv9UXE+ZK6Oa/1exMKNz3ctjuzmG+d3XrQe0sOSeRA
UAU5urtXfp8ttliWo5ic7fSHQ7pn9G+t/Avn27fBYRWqLh6YTRk/oQToOGs64o73
EAnsRSHAWEBdF/a2WpyiaLCDfLUJ6IG7pMWMwnlEsJVTnFTue4HmZTOpomvsj3eh
ARg3yJ7XNSu4dojG6YyR13JCF6IGQVgdB51wmH8Rx/67dFyP4c0b4ZYkD4+s05r0
dSTDGA5ENtbTdC3vhPdCa/Fct0vQ1VUpKxIPopyH1bm7h272uT9N35u+RUJ+j0fQ
YhHkS0kShOCnxURTLtSSoXDQqVZBNqoDZKtfHPsobVy1s2xLiBFjs7q/zh2eA3Rz
25zVMErAHZOfb5sBX5cK73RkIfGc2anU/c7RKiIZT5S+Ev/TB4nMstbd0sXrHADh
yyxVPGKL1VtMVTn6/Hdi5uhJ6N4a/CXMvhFf+WvC/ZFwTW1T2Q6w5KcwO5yjpzo+
EI0B3qcthGWn/g==
=NvWB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to