[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1050770: marked as done (apr FTCBFS: cannot check for cross-process mutex)



Your message dated Thu, 06 Nov 2025 10:05:47 +0000
with message-id <E1vGwsF-005qiX-0I@fasolo.debian.org>
and subject line Bug#1050770: fixed in apr 1.7.6-1
has caused the Debian Bug report #1050770,
regarding apr FTCBFS: cannot check for cross-process mutex
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 owner@bugs.debian.org
immediately.)


-- 
1050770: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050770
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: apr
Version: 1.7.2-3
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

apr fails to cross build from source for most architectures:

| checking for robust cross-process mutex support... configure: error: in `/<<PKGBUILDDIR>>/debian/build':
| configure: error: cannot run test program while cross compiling

Usually, I'd consider this an aspect of the builder, but apr is unique
here in that its debian/rules has its own ideas of what that check
should return even natively. I therefore propose updating debian/rules
to also supply the value for cross builds. Do you agree? I'm attaching a
patch for your convenience.

Helmut
diff --minimal -Nru apr-1.7.2/debian/changelog apr-1.7.2/debian/changelog
--- apr-1.7.2/debian/changelog	2023-02-26 21:51:24.000000000 +0100
+++ apr-1.7.2/debian/changelog	2023-08-28 13:07:59.000000000 +0200
@@ -1,3 +1,10 @@
+apr (1.7.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Supply result for cross-process mutex. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 28 Aug 2023 13:07:59 +0200
+
 apr (1.7.2-3) unstable; urgency=medium
 
   * Add more fixes for atomics from upstream, in particular for
diff --minimal -Nru apr-1.7.2/debian/rules apr-1.7.2/debian/rules
--- apr-1.7.2/debian/rules	2023-02-02 22:18:42.000000000 +0100
+++ apr-1.7.2/debian/rules	2023-08-28 13:07:55.000000000 +0200
@@ -36,14 +36,13 @@
              ac_cv_prog_AWK=mawk
 
 # apr_cv_mutex_robust_shared causes hangs in procmutex test on arm(el|hf) and alpha
-ifneq (,$(findstring armel,$(DEB_HOST_ARCH)))
-  CONFFLAGS += apr_cv_mutex_robust_shared=no
-endif
-ifneq (,$(findstring armhf,$(DEB_HOST_ARCH)))
+ifneq (,$(filter $(DEB_HOST_ARCH),alpha armel armhf))
   CONFFLAGS += apr_cv_mutex_robust_shared=no
+else
+# apr_cv_mutex_robust_shared cannot be detected during cross compilation
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+  CONFFLAGS += apr_cv_mutex_robust_shared=yes
 endif
-ifneq (,$(findstring alpha,$(DEB_HOST_ARCH)))
-  CONFFLAGS += apr_cv_mutex_robust_shared=no
 endif
 
 # SH4 cannot use proc_pthread.

--- End Message ---
--- Begin Message ---
Source: apr
Source-Version: 1.7.6-1
Done: Stefan Fritsch <sf@debian.org>

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

Debian distribution maintenance software
pp.
Stefan Fritsch <sf@debian.org> (supplier of updated apr 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 05 Nov 2025 21:59:04 +0100
Source: apr
Architecture: source
Version: 1.7.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Stefan Fritsch <sf@debian.org>
Closes: 1050770 1102909 1104500
Changes:
 apr (1.7.6-1) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Explicitly depend on libcrypt-dev. (Closes: #1102909)
   * Fix FTCBFS: Supply result for cross-process mutex. (Closes: #1050770)
 .
   [ Stefan Fritsch ]
   * New upstream version
   * Enable sctp explicitly in configure. Closes: #1104500
Checksums-Sha1:
 2277ec2d20c42516c192e64abbfbd5429d3758d3 2402 apr_1.7.6-1.dsc
 635574b456ddaeddfda3f205adf435d8c6dfbca6 899670 apr_1.7.6.orig.tar.bz2
 b1c3ec583d9ad5679bb2ad9760a7d049b8b54a5a 898 apr_1.7.6.orig.tar.bz2.asc
 36fcd3b28d0f8bc424e364a646cbb90ff9d45482 42212 apr_1.7.6-1.debian.tar.xz
 303cababe69aa15e40b74f5e4649d1c217851a97 6616 apr_1.7.6-1_source.buildinfo
Checksums-Sha256:
 71f001027e0f59dac2ed1f6bca60a4560bbc11a7ed904b4e53c8c26dec74c8ff 2402 apr_1.7.6-1.dsc
 49030d92d2575da735791b496dc322f3ce5cff9494779ba8cc28c7f46c5deb32 899670 apr_1.7.6.orig.tar.bz2
 24c2f1ab9c7b9cc9410f44ddd7a659316993685fd9c4f8c4b7bc67eb3e83e331 898 apr_1.7.6.orig.tar.bz2.asc
 cf5c2b9473d99ceef5d726d86e2554892bd1e0c59402e281617bed6f5612be97 42212 apr_1.7.6-1.debian.tar.xz
 7a291dda98c5631034cfdae654401603c47e063ca8b678598b8e5f94fdeffed1 6616 apr_1.7.6-1_source.buildinfo
Files:
 85d415151b1b65456b9bbc3424fc0765 2402 libs optional apr_1.7.6-1.dsc
 2ebb58910e426e5a83af97bc94cae66d 899670 libs optional apr_1.7.6.orig.tar.bz2
 1542685c933de6a89e7c8411d59bf90d 898 libs optional apr_1.7.6.orig.tar.bz2.asc
 a9b2071233b2b671ab9d6d6d6a948985 42212 libs optional apr_1.7.6-1.debian.tar.xz
 ee9ecdca269273e72e724f970584322e 6616 libs optional apr_1.7.6-1_source.buildinfo

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

wsG7BAEBCgBvBYJpDGiECRDGh181Qc794EcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfocd7uwhXqBER88ShDZ/SPciqPDQHIYvFpyJ5KClj+
iRYhBDqYjc2vCagcsmGLMcaHXzVBzv3gAAAHhA//Z8x+IGMPKjQvGKeIko6TEnwB
nWi11WS9tyNxXpuAQDx8iOQHjV71QewwDqYHz2SK0L6l5n04D08lL7l8UgCMa9CJ
7r215vYFb7NhgzeykoMXBmS478Eeafmn+XvRbAbFSXLwX1+teRRxXOPlA6c5x7ZG
kK9AvmwIHacr0Trk/UXbMXVnrAuo0RfXULVqJzkJNGVAsRLd08kSUAwWQ6g7u4W5
ZCFs6ITV8+DPh9qERT/uOYpL1WORDzr7XMjX+NH1mb9qYx1l9W7VOZRfF4HH9QK5
tR7S6kLZjW5MPEcoaHiBFsEoYQdn9+gV0FtFmfe7sqBOwnhhYDwqNaOgO2ZpIasx
wkZ1ZnHuxEmHkC1j5fBNnmz5EPzyNtq3rSCEiOtzy5Pn+PwI4ngilkqkXeGPrRTJ
lOxMAQshhxBwxSpqznl5dcprGD18qChF3nLSVVrw63DEpd/6XSrWnDstmEJXF9gV
xZma8Puemg6K0ngSvzEzG0cuACo1MrkBJkDLgEneW90g6rgHWPt2SfncYV2iI4N0
vKS5i0PTDzUsrgBChcWjSMVsXnDyFBgQYfkZENcZb1m0kOxKIsG4hRaJz7fNfKd8
9zUWEzPKYL3dWltqTxhh8BgTJfKMBj5y8zM+gbKDbqs9ehCu2ZgXJQV7HPmU/kGv
k/kN9/4dFZACfEWXQxc=
=M4RX
-----END PGP SIGNATURE-----

Attachment: pgpK7rxaF9dfY.pgp
Description: PGP signature


--- End Message ---

Reply to: