too long lines were shrinked: /bin/sh /usr/lib64/apache2/libtool --mode=compile x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/var/tmp/portage/www-apache/mod_fcgid-2.3.9-r2/work/mod_fcgid-2.3.9/modules/fcgid -I/var/tmp/portage/www-apache/mod /bin/sh /usr/lib64/apache2/libtool --mode=compile x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/var/tmp/portage/www-apache/mod_fcgid-2.3.9-r2/work/mod_fcgid-2.3.9/modules/fcgid -I/var/tmp/portage/www-apache/mod /bin/sh /usr/lib64/apache2/libtool --mode=compile x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/var/tmp/portage/www-apache/mod_fcgid-2.3.9-r2/work/mod_fcgid-2.3.9/modules/fcgid -I/var/tmp/portage/www-apache/mod /bin/sh /usr/lib64/apache2/libtool --mode=compile x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DFCGID_APXS_BUILD -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/var/tmp/portage/www-apache/mod_fcgid-2.3.9-r2/work/mod_fcgid-2.3.9/modules/fcgid -I/var/tmp/portage/www-apache/mod /bin/sh: /usr/lib64/apache2/libtool: No such file or directory /bin/sh: /usr/lib64/apache2/libtool: No such file or directory /bin/sh: /usr/lib64/apache2/libtool: No such file or directory ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220711-180014 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): clang version 14.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.6 Python 3.10.5 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.62.1 * The following VMs are available for generation-2: 1) IcedTea JDK 3.21.0 [icedtea-8] 2) IcedTea JDK 3.16.0 [icedtea-bin-8] 3) OpenJDK 17.0.3_p7 [openjdk-17] 4) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 6) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] 7) Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 [3] openjdk-17 [4] openjdk-bin-8 [5] openjdk-bin-11 [6] openjdk-bin-17 system-vm [7] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 [2] php8.0 * [3] php8.1 HEAD of ::gentoo commit 8ccafa549f30d23bf56aa11b5a69de5628b7d20d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Jul 22 09:16:42 2022 +0000 2022-07-22 09:16:41 UTC emerge -qpvO www-apache/mod_fcgid [ebuild N ] www-apache/mod_fcgid-2.3.9-r2
Created attachment 793169 [details] emerge-info.txt
Created attachment 793172 [details] emerge-history.txt.bz2
Created attachment 793175 [details] environment
Created attachment 793178 [details] etc.portage.tar.bz2
Created attachment 793181 [details] logs.tar.bz2
Created attachment 793184 [details] temp.tar.bz2
Created attachment 793187 [details] www-apache:mod_fcgid-2.3.9-r2:20220722-095031.log
I triggered this same failure when rebuilding world as suggested by news item 2023-01-01-hardening-fortify-assertions. According to my logs, this package was last successfully built on 2022-02-26 when I updated from 2.3.9-r1 to 2.3.9-r2. www-servers/apache was at version 2.4.52 back then. It is at version 2.4.54-r7 now. I installed 2.4.52 using a historic ebuild. This allowed me to install mod_fcgid, again. I tracked the problem to a change in /usr/lib64/apache2/build/config_vars.mk. > --- 2.4.52/usr/lib64/apache2/build/config_vars.mk > +++ 2.4.54/usr/lib64/apache2/build/config_vars.mk > @@ -88,7 +88,7 @@ > EXTRA_LIBS = > EXTRA_INCLUDES = -I$(includedir) -I. -I/usr/include/apr-1 > INTERNAL_CPPFLAGS = > -LIBTOOL = /usr/share/apr/build/libtool --silent > +LIBTOOL = $(SHELL) $(top_builddir)/libtool > SHELL = /bin/sh > RSYNC = /usr/bin/rsync > SVN = /usr/bin/svn The older version uses the libtool from apr instead of a non-existent file. Not applying www-servers/apache/files/apache-2.4.54-libtool.patch restores the original behaviour. The patch was introduced to solve #858836 so at this point I don't know how to go on, since I do not know what other implications there might be.
*** Bug 903648 has been marked as a duplicate of this bug. ***
Regrettably my patch for apache breaks apxs in subtle ways which I have not known about until now, for example 'apxs -q LIBTOOL' is unable to print the path towards apr's libtool. Removing the patch for now is probably the best course, www-apache/mod_fcgid has a build system that is not easy to workaround and who knows where else this is broken.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720178b72842ac243563e48541ae2e29aebd8af7 commit 720178b72842ac243563e48541ae2e29aebd8af7 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2023-10-11 05:52:27 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2023-10-11 05:52:27 +0000 www-servers/apache: drop libtool patch The libtool patch we applied was causing issues for some modules. Closes: https://bugs.gentoo.org/860081 Signed-off-by: Hans de Graaff <graaff@gentoo.org> www-servers/apache/Manifest | 1 + www-servers/apache/apache-2.4.57-r5.ebuild | 256 +++++++++++++++++++++++++++++ 2 files changed, 257 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/apache.git/commit/?id=25a1eaafc964ef2e29cc663292a0bcddab7f43e5 commit 25a1eaafc964ef2e29cc663292a0bcddab7f43e5 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2023-10-11 05:48:11 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2023-10-11 05:54:04 +0000 Drop 2.4 libtool patch Bug: https://bugs.gentoo.org/860081 Signed-off-by: Hans de Graaff <graaff@gentoo.org> 2.4/patches/05_libtool.patch | 21 --------------------- 1 file changed, 21 deletions(-)
This bug just happened to me today. So assume its not yet fixed? Workaround: ln -s /usr/bin/libtool /usr/lib64/apache2/libtool
(In reply to Marc Schiffbauer from comment #13) > This bug just happened to me today. So assume its not yet fixed? > > Workaround: ln -s /usr/bin/libtool /usr/lib64/apache2/libtool with what version of apache?
I am facing the same problem with apache-2.4.57 (installed) vs www-apache/mod_fcgid-2.3.9-r2 (to be installed)
I have just realized that the libtool patch has been removed from apache with version 2.4.57-r5. After upgrading apache to that version I have merged mod_fcgid successfully.