From c9ab88f8c2d82e1c64933aafe72b3fe7b3b223b1 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 28 Aug 2018 08:37:51 +0200 Subject: [PATCH] libtool: error: line 2642: func__fatal_error: command not Resolves: rhbz#1622611 Version: 2.4.6-26 --- libtool-2.4.6-fatal-handler.patch | 34 +++++++++++++++++++++++++++++++ libtool.spec | 5 +++++ 2 files changed, 39 insertions(+) create mode 100644 libtool-2.4.6-fatal-handler.patch diff --git a/libtool-2.4.6-fatal-handler.patch b/libtool-2.4.6-fatal-handler.patch new file mode 100644 index 0000000..d253160 --- /dev/null +++ b/libtool-2.4.6-fatal-handler.patch @@ -0,0 +1,34 @@ +From 350082b6aa89f9ef603fcebbb4cf33f15a743f2f Mon Sep 17 00:00:00 2001 +From: Bert Wesarg +Date: Mon, 13 Jun 2016 22:28:47 +0200 +Subject: [PATCH] libtool: exit verbosely for fatal configure problems + +Instead of calling not-existing function and processing subsequent +shell code. + +* build-aux/ltmain.in (func_fatal_configuration): Fix typo in +func_fatal_error call. + +Copyright-paperwork-exempt: Yes + +Upstream: 350082b6aa89f9ef603fcebbb4cf33f15a743f2f +--- + build-aux/ltmain.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in +index 0ad021db..c3058f21 100644 +--- a/build-aux/ltmain.in ++++ b/build-aux/ltmain.in +@@ -212,7 +212,7 @@ fi + # a configuration failure hint, and exit. + func_fatal_configuration () + { +- func__fatal_error ${1+"$@"} \ ++ func_fatal_error ${1+"$@"} \ + "See the $PACKAGE documentation for more information." \ + "Fatal configuration error." + } +-- +2.17.1 + diff --git a/libtool.spec b/libtool.spec index ac50106..4d9177b 100644 --- a/libtool.spec +++ b/libtool.spec @@ -30,6 +30,9 @@ Patch2: libtool-2.4.6-specs.patch %undefine _hardened_build Patch3: libtool-2.4.6-hardening.patch +# rhbz#1622611, upstream 350082b6aa89f9ef603fcebbb4cf33f15a743f2f +Patch4: libtool-2.4.6-fatal-handler.patch + %if ! 0%{?_module_build} Patch100: libtool-nodocs.patch %endif @@ -102,6 +105,7 @@ Static libraries and header files for development with ltdl. %patch1 -p1 -b .test %patch2 -p1 -b .gcc-specs %patch3 -p1 -b .ltdl-hardening +%patch4 -p1 -b .fatal-handler %if ! 0%{?_module_build} %patch100 -p1 -b .nodocs %endif @@ -179,6 +183,7 @@ rm -f %{buildroot}%{_libdir}/libltdl.{a,la} %changelog * Tue Aug 28 2018 Pavel Raiskup - 2.4.6-26 - cleanup post/postun, there are RPM triggers nowadays +- fix error: line 2642: func__fatal_error: command not found (rhbz#1622611) * Fri Jul 13 2018 Fedora Release Engineering - 2.4.6-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild