--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gmerlin-encoders FTCBFS: multiple issues
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Thu, 17 Nov 2022 08:04:05 +0100
- Message-id: <Y3Xc5XlK3OraZ80f@alf.mars>
Source: gmerlin-encoders
Version: 2.0.0~svn6278-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
gmerlin-encoders fails to cross build from source. The immediate failure
is a bad path extracted from gmerlin using the build architecture
pkg-config. There is one place in configure.ac that hard codes it. Then,
configure guesses that faac is available during cross builds, but the
package does not depend on libfaac-dev. Thus, skip detection and disable
it explicitly. I'm attaching a patch for your convenience.
Helmut
diff --minimal -Nru gmerlin-encoders-2.0.0~svn6278/debian/changelog gmerlin-encoders-2.0.0~svn6278/debian/changelog
--- gmerlin-encoders-2.0.0~svn6278/debian/changelog 2022-03-05 23:09:07.000000000 +0100
+++ gmerlin-encoders-2.0.0~svn6278/debian/changelog 2022-11-17 07:38:09.000000000 +0100
@@ -1,3 +1,12 @@
+gmerlin-encoders (2.0.0~svn6278-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + cross.patch: Use the host architecture pkg-config.
+ + Explicitly disable faac.
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 17 Nov 2022 07:38:09 +0100
+
gmerlin-encoders (2.0.0~svn6278-2) unstable; urgency=medium
* Fix FTBFS with FFmpeg-5.0 (Closes: #1004778)
diff --minimal -Nru gmerlin-encoders-2.0.0~svn6278/debian/patches/cross.patch gmerlin-encoders-2.0.0~svn6278/debian/patches/cross.patch
--- gmerlin-encoders-2.0.0~svn6278/debian/patches/cross.patch 1970-01-01 01:00:00.000000000 +0100
+++ gmerlin-encoders-2.0.0~svn6278/debian/patches/cross.patch 2022-11-17 07:38:07.000000000 +0100
@@ -0,0 +1,11 @@
+--- gmerlin-encoders-2.0.0~svn6278.orig/configure.ac
++++ gmerlin-encoders-2.0.0~svn6278/configure.ac
+@@ -28,7 +28,7 @@
+ gmerlin_plugindir='$(libdir)/gmerlin/plugins'
+
+ dnl LDFLAGS for plugins
+-GMERLIN_PLUGIN_LDFLAGS="-export-symbols "`pkg-config --variable=prefix gmerlin`"/share/gmerlin/plugin.sym $SAVE_LDFLAGS"
++GMERLIN_PLUGIN_LDFLAGS="-export-symbols "`$PKG_CONFIG --variable=prefix gmerlin`"/share/gmerlin/plugin.sym $SAVE_LDFLAGS"
+
+ AC_SUBST(GMERLIN_PLUGIN_LDFLAGS)
+ AC_SUBST(gmerlin_plugindir)
diff --minimal -Nru gmerlin-encoders-2.0.0~svn6278/debian/patches/series gmerlin-encoders-2.0.0~svn6278/debian/patches/series
--- gmerlin-encoders-2.0.0~svn6278/debian/patches/series 2022-03-05 23:09:07.000000000 +0100
+++ gmerlin-encoders-2.0.0~svn6278/debian/patches/series 2022-11-17 07:37:41.000000000 +0100
@@ -4,3 +4,4 @@
fix-spelling.patch
logging.patch
set_enum.patch
+cross.patch
diff --minimal -Nru gmerlin-encoders-2.0.0~svn6278/debian/rules gmerlin-encoders-2.0.0~svn6278/debian/rules
--- gmerlin-encoders-2.0.0~svn6278/debian/rules 2022-03-05 23:09:07.000000000 +0100
+++ gmerlin-encoders-2.0.0~svn6278/debian/rules 2022-11-17 07:38:09.000000000 +0100
@@ -29,6 +29,7 @@
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--enable-static=no \
--with-cpuflags=none \
+ --disable-faac \
$(DEB_CONFIGURE_EXTRA_FLAGS)
# Suppress scanning documentation images causing false alarms.
--- End Message ---
--- Begin Message ---
Source: gmerlin-encoders
Source-Version: 2.0.0~svn6278-4
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-encoders, 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 1024298@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-encoders 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: Mon, 30 Jan 2023 16:55:31 +0100
Source: gmerlin-encoders
Architecture: source
Version: 2.0.0~svn6278-4
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: 1024298
Changes:
gmerlin-encoders (2.0.0~svn6278-4) unstable; urgency=medium
.
[ Helmut Grohne <helmut@subdivi.de> ]
* Fix FTCBFS: (Closes: #1024298)
+ cross.patch: Use the host architecture pkg-config.
+ Explicitly disable faac.
Checksums-Sha1:
01509b9bf65b489d3dc7f3088330382560b489f2 2667 gmerlin-encoders_2.0.0~svn6278-4.dsc
fc520ec2222000d4fbbb52bbdb42fc04d9fbb5b4 11280 gmerlin-encoders_2.0.0~svn6278-4.debian.tar.xz
Checksums-Sha256:
a5784368b7730c0694e6bc6b6764f0791ad6cd7da29dfcca71005fd7a2ae2462 2667 gmerlin-encoders_2.0.0~svn6278-4.dsc
4f49a6ec5f1ee010ab2b233b7303f8b51775998c67e2f345d3b3ba74a6884cb6 11280 gmerlin-encoders_2.0.0~svn6278-4.debian.tar.xz
Files:
94eb3aa169c6592cea8183894e547245 2667 libs optional gmerlin-encoders_2.0.0~svn6278-4.dsc
ffcfd342e79b375340ba5dc202391849 11280 libs optional gmerlin-encoders_2.0.0~svn6278-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmPYMWQACgkQtlAZxH96
NvhG/Q/9FepTMxtU0US5uNZlUxW9w2cEgVvx3kfETHnYg9r1RC11WNKOmwzBxp7q
+06S1wm8yVtTeHBKBrmPA02byVrFh80tjqmnabuw6BUirPQRZOnhqvl9VY8z78G4
+rHeVZAlYayPWAic0USZBFy7tfw/CS9Qv+fNQxsPKRR3Szs9PkFx+r/gXlPsih/n
EDHQITT1PU26nh+QZ86phJGwhXGJI39KJdwwPyS2XEQOigDzpR+N18YwICniUwOm
fEjeLGae2F7v0fKB4ZUlNclag0mnl7oa2eSkXGV3m9we+Yto2SsKV3mFTdSBBU2E
7lsE7RrjDdeZlPp3pOrjVgwQ/8Dl3yxhRrqtBV5Ise7VnuAuCx349A1VoYa2EB/Y
1N//B3zAnBHqXQP6xatXdcOZvHhyxR5sMfGVIIsoX6MWV0NUAqgUvBUCsMW1D+TV
YgAa+Dif4m/lWxPo40LyI9m34QFeEr8Iw55sbRO7DXbp4FjTvWDZF48g15pV7oBu
1mDIWlFVDNpaJxHHwaffzkiIl1Epd780T9mkaemlXRW15FDcim8AAfpa7YxCgA+f
4xvUrQpM07F1B3T+hdKa1WBZAPzVx2b8F+/HlgLvMbSb33jINz5Fn84PqNuo6+Ci
ltnpwfoul138pJl/ZJtR/G/V+jNweTOlQAW/y8mYZ+PAz0AM1f8=
=yX0a
-----END PGP SIGNATURE-----
--- End Message ---