VLC fails to cross-compile from a gettext version test. Reproducible: Always Steps to Reproduce: 1. cross-emerge -v vlc Actual Results: Making all in po make[2]: Entering directory '/var/tmp/portage/media-video/vlc-3.0.12.1/work/vlc-3.0-3.0.12.1/po' *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20 make[2]: *** [Makefile:1400: stamp-po] Error 1 Expected Results: It should build and install. It works again after changing it to require a minimum version instead. --- media-video/vlc/vlc-3.0.12.1.ebuild +++ media-video/vlc/vlc-3.0.12.1.ebuild @@ -262,6 +262,9 @@ src_prepare() { sed -e "/test.*build.*host/s/\$(host)/nothanks/" \ -i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen" + # Fix gettext version mismatch errors. + sed -i -e s/GETTEXT_VERSION/GETTEXT_REQUIRE_VERSION/ configure.ac + eautoreconf # Disable automatic running of tests.
To reproduce I did have to cross-emerge gettext first, works if only native. Patch works anyway.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e09a87470369955e7fcb7fecd76dd21d187b82 commit 31e09a87470369955e7fcb7fecd76dd21d187b82 Author: David Michael <fedora.dm0@gmail.com> AuthorDate: 2021-03-22 10:06:31 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-03-22 10:06:31 +0000 media-video/vlc: fix gettext version mismatch Make the specified gettext version the minimum instead of the exact version required. It fixes this error when cross-compiling: *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20 Closes: https://bugs.gentoo.org/766549 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> media-video/vlc/vlc-3.0.12.1-r100.ebuild | 3 +++ media-video/vlc/vlc-3.0.9999.ebuild | 3 +++ media-video/vlc/vlc-9999.ebuild | 3 +++ 3 files changed, 9 insertions(+)