Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220353

Summary: apache build failuer with libtool-2.2.x
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Severity: normal CC: ansla80, holger, niel.drummond, reuben-gentoo-bugzilla, spock
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 212763    

Description Peter Volkov (RETIRED) gentoo-dev 2008-05-05 12:25:44 UTC
Apache fails to build with libtool-2.2.x with the following error:
ain  -c mod_authn_file.c && touch mod_authn_file.slo
/bin/sh /var/tmp/portage/www-servers/apache-2.2.8-r2/work/httpd-2.2.8/shlibtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread  -O2 -march=i686 -pipe -mtune=i686  -L/usr/lib  -Wl,--as-needed -Wl,--no-as-needed    -o -rpath /usr/lib/apache2/modules -module -avoid-version  mod_authn_file.lo
/bin/sh: /var/tmp/portage/www-servers/apache-2.2.8-r2/work/httpd-2.2.8/shlibtool: No such file or directory Error 127
make[4]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8-r2/work/httpd-2.2.8/modules/aaa'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8-r2/work/httpd-2.2.8/modules/aaa'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8-r2/work/httpd-2.2.8/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-servers/apache-2.2.8-r2/work/httpd-2.2.8'
make: *** [all-recursive] Error 1

The patch in URL fixes the problem here. Please add it to our patchset. Courtesy of Arfrever Frehtes Taifersar Arahesis.
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2008-05-07 12:47:57 UTC
*** Bug 220729 has been marked as a duplicate of this bug. ***
Comment 2 Roby 2008-05-09 18:42:15 UTC
The fix doesn't work, unfortunately.
Comment 3 Roby 2008-05-09 19:17:13 UTC
I got around it by reemerging libtool-1.5.x, emerge apache, and then reemerging libtool-2.2.x

But then, I don't know whether the mod_authn_file still works or not. Will test.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-05-10 11:09:45 UTC
Roby, how did you applied patch? You have to incorporate it into apache patchset to make build system handle it correctly...
Comment 5 Jason Waldhelm 2008-05-11 12:42:28 UTC
The patch works for me as well.
Comment 6 giavoltor 2008-05-12 19:06:35 UTC
The patch works for me too, ~amd64, 
Comment 7 Migo 2008-05-13 08:27:12 UTC
patch works for me too.

Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-05-17 13:47:58 UTC
Upstream has accepted my patch.
Comment 9 Roby 2008-05-23 20:18:39 UTC
How can I apply the patch to the apache patch set? Isn't an ordinary epatch statement enough?
Comment 10 Rafał Mużyło 2008-06-02 15:49:24 UTC
If even upstream accepted this patch, why didn't it hit the tree during recent revbump ?
Comment 11 Benedikt Böhm (RETIRED) gentoo-dev 2008-06-02 15:58:02 UTC
(In reply to comment #10)
> If even upstream accepted this patch, why didn't it hit the tree during recent
> revbump ?

because it was just a security revbump
Comment 12 Rafał Mużyło 2008-06-02 18:06:05 UTC
Well, this patch doesn't break anything for libtool 1.5 and fixes a problem with libtool 2 AND got accepted by upstream.
And don't forget that it's the latest in tree so it will affect ~arch the moment
libtool 2 gets unmasked again.
And as a sidenote:
it seems that substitute useflag is missing a description, at least it did when I syncd about 2 hours ago.
Comment 13 Rafał Mużyło 2008-06-02 18:17:09 UTC
Sorry, my mistake - substitute is not a useflag.
Comment 14 Benedikt Böhm (RETIRED) gentoo-dev 2008-06-11 19:11:33 UTC
fixed in 2.2.8-r4