--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gmerlin FTCBFS: uses AC_TRY_RUN for posix semaphore check
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Tue, 22 Dec 2020 12:43:05 +0100
- Message-id: <X+HbyRuyjO0icjjq@alf.mars>
Source: gmerlin
Version: 1.2.0~dfsg+1-6.1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
gmerlin fails to cross build from source, because it uses AC_TRY_RUN
with no last argument nor cache variabel to check for posix semaphores.
In this case, degrading the check to AC_CHECK_FUNC for the cross case
seems reasonable. I'm attaching a patch that implements this.
Please consider applying the patch and close this bug when doing so even
though there are more cross compilation issues underneath.
Helmut
--- gmerlin-1.2.0~dfsg+1.orig/m4/check_funcs.m4
+++ gmerlin-1.2.0~dfsg+1/m4/check_funcs.m4
@@ -1749,6 +1749,7 @@
OLD_LIBS=$LIBS
LIBS="$LIBS -lpthread"
+AC_CHECK_FUNC([sem_init],[
AC_MSG_CHECKING([for POSIX unnamed semaphores]);
AC_TRY_RUN([
@@ -1771,9 +1772,17 @@
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_POSIX_SEMAPHORES)
],
+ [
# program could not be run
AC_MSG_RESULT(no)
+ ],
+ [
+ have_posix_semaphores="true"
+ AC_MSG_RESULT([cross compiling, assuming yes])
+ AC_DEFINE(HAVE_POSIX_SEMAPHORES)
+ ]
)
+])
LIBS=$OLD_LIBS
--- End Message ---
--- Begin Message ---
Source: gmerlin
Source-Version: 2.0.0~svn6298~dfsg0-1
Done: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
We believe that the bug you reported is fixed in the latest version of
gmerlin, 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 977941@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> (supplier of updated gmerlin 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: SHA256
Format: 1.8
Date: Sat, 12 Feb 2022 18:28:32 +0100
Source: gmerlin
Architecture: source
Version: 2.0.0~svn6298~dfsg0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Closes: 967432 977941 994866 1003785
Changes:
gmerlin (2.0.0~svn6298~dfsg0-1) unstable; urgency=medium
.
* Upload to unstable.
* libgmerlin-dev
- Versioned dependency on libgavl-dev (>= 2~)
.
gmerlin (2.0.0~svn6298~dfsg0-1~exp1) experimental; urgency=medium
.
* New upstream version 2.0.0~svn6298~dfsg0
- Drop patches applied upstream
- Refresh patches
* Remove /usr/share/gmerlin/plugin.sym from gmerlin-data (Closes: #994866)
* Add patch to fix FTBFS with format-security (Closes: #1003785)
* Add patch for gmerlin-transcoder launcher
* Rename libgmerlin0 to libgermlin2 to follow soname bump
* Update symbols file
* B-D on gavl>=2
* Drop Breaks/Replaces relation against packages
that are not even in oldoldstable
* Use execute_before_dh_* instead of override_dh_*
* Drop on-the-fly manpage generation
* Drop lintian-override to gmerlin
* Apply 'wrap-and-sort -ast'
* Have d/watch mangle the version to 2.0.0~svn
* Bump dates in d/copyright
* Regenerate d/copyright_hints
.
gmerlin (1.2.0+svn6244~dfsg0-1~exp1) experimental; urgency=medium
.
* New upstream version 1.2.0+svn6244~dfsg0 (Closes: #967432)
.
[ Ondřej Nový ]
* d/copyright: Use https protocol in Format field
* d/control: Set Vcs-* to salsa.debian.org
* d/watch: Use https protocol
* d/changelog: Remove trailing whitespaces
* Use debhelper-compat instead of debian/compat
.
[ Felipe Sateler ]
* Change maintainer address to debian-multimedia@lists.debian.org
.
[ IOhannes m zmölnig (Debian/GNU) ]
* Bump to GTK-3
* Refresh build-dependencies
* Drop versioned B-D that is satisfiable in oldoldstable
* d/patches
* Refresh patches
* Drop patches applied upstream
* Add description for cdio-api-fixes.patch
* Patch to not drop extra CFLAGS
* Patch to prevent underlinking
* Patch to prevent segfault when parsing cmdline args
* Fix typos
* Fix FTCBFS by using AC_TRY_RUN for posix semaphore check.
Thanks to Helmut Grohne <helmut@subdivi.de> (Closes: #977941)
(Unfortunately upstream has introduced another bunch of AC_TRY_RUN
invocations)
* Versioned dependency on libgavl-dev
* Disable jack support for now (no longer supported by upstream)
* Enable hardening+all
* Drop dbgsym-migration hacks
* Drop no-longer-useful manpages
* Drop "statically" (linked) from description of -dev package
* Update install-files
* Don't attempt to install non-existing auxiliary-binaries
* Rename tag-name in lintian-override
* Refresh libgmerlin0.symbols
* Remove trailing whitespace from d/changelog
* Update d/watch
* Versionmangling in d/watch
* Update d/copyright
* Remove redundant globbing patterns from d/copyright
* Drop non-matching globs from d/copyright
* Use Files-Excluded to exclude files from orig.tgz
* Strip out doc/ folder - it's GFDL-1.1
* Add salsa-ci configuration
* Remove obsolete file d/source/local-options
* Declare that building this package does not require 'root' powers.
* Switched from cdbs to dh-13
* Bump standards version to 4.6.0
Checksums-Sha1:
be93981cd23b059082d596ffe3204fce6c120b2f 2926 gmerlin_2.0.0~svn6298~dfsg0-1.dsc
bae6409dcecfa20f7df8fd9d10a5349589d7428f 27084 gmerlin_2.0.0~svn6298~dfsg0-1.debian.tar.xz
Checksums-Sha256:
fd80e38d5058f7da08e5c144318e5f4161aec0366cfa8878b14299b992164b76 2926 gmerlin_2.0.0~svn6298~dfsg0-1.dsc
b4d59edb0ea9b0f7da4beb2240a9e950cf8570b17b8cf7fe8d7cb3eeceda9526 27084 gmerlin_2.0.0~svn6298~dfsg0-1.debian.tar.xz
Files:
b91549c41a9f4110f9dbdbac40fde07b 2926 sound optional gmerlin_2.0.0~svn6298~dfsg0-1.dsc
fff2e4023a0463355cacf1de07691a5f 27084 sound optional gmerlin_2.0.0~svn6298~dfsg0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmIH8hUACgkQtlAZxH96
NviBow/9GzRsq7ALHkgpDyqnUS3hPDKuHxR6o8xbGxdH6oBsKDJn+ZdYBDvsobp4
iso1j5dQ8WpNKObwGdWRxhumCB489j4p5BRkxilTBeej0vOGfO9nME4+BqNc+OK1
3WwpLGbugkTdEITrstM2l03TcpcDQ3UH9KzLPFfk26+NHUU+VPM1PEJPr1n3TtAx
fI3jewNYEKleQ6ajmaOzDGCjr5kc7dcrXjBDm2ToxoQRbzZ8XdMfTWgN4iGX4oJv
VmnwU12UbzZl+k/yzNuPY+sB99bxBTm2WN3jxMw0G4fOAKX7XyT+pFJuu1Nnhvqi
Oh8JDHf1wx0qfGa5mtxc5GL/DSAKh/B+7Ij5aw9Xq9vnzwtF4p3XoSdLeJGF7UjE
7EqxpNTcIuWkOA0KnSla/7tNyHo7vT+5vaVOaQUhT/cThMUaUb8WxslkX8z1PV0q
kvoGjWimWVCsA5PngecHL5Tq6cWjsTCIgMIUwN1JObZQTdiRiie6Hvlvgvtx6+km
ET8IoNeNx8PINS4AwZGZUUeJke5Sy8g5xsZxSF7g///sFWg+8Jij8lh5jHsaZJbL
GJfeft566eb1Dj9PM7BZmnLG4sF0AmwM1rnN59POqvNAypIw+c6N0qsRlqGVT/AX
/UXKxKrdGUN5iIX1dZ4alWPf6Tw8uMrAF+nO+XrU1L/kgdzpC/4=
=Il2A
-----END PGP SIGNATURE-----
--- End Message ---