Summary: | www-servers/apache-2.4.10-r1: fails to build with /bin/sh -> dash | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | alexander, mattsch |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=540114 https://bugs.gentoo.org/show_bug.cgi?id=552142 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 | ||
Attachments: | build.log |
Description
Diego Elio Pettenò (RETIRED)
2014-10-21 07:21:00 UTC
Created attachment 387960 [details]
build.log
Autoattach of build.log
You probably need to reemerge libtool. system #1: $ qlist -ICv dash app-shells/dash-0.5.7.4 $ head -n1 /usr/share/build-1/libtool #! /bin/bash $ grep '\+=' /usr/share/build-1/libtool | wc -l 267 snippet: # Add the arguments to base_compile. base_compile+=" $lastarg" continue system #2: # qlist -ICv dash app-shells/dash-0.5.8.1 # head -n1 /usr/share/build-1/libtool #! /bin/sh # grep '\+=' /usr/share/build-1/libtool | wc -l 7 snippet: # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue (In reply to Alexander Tsoy from comment #2) > You probably need to reemerge libtool. Oops.. I meant apr. $ qfile /usr/share/build-1/libtool dev-libs/apr (/usr/share/build-1/libtool) (In reply to Alexander Tsoy from comment #3) > (In reply to Alexander Tsoy from comment #2) > > You probably need to reemerge libtool. > > Oops.. I meant apr. > > $ qfile /usr/share/build-1/libtool > dev-libs/apr (/usr/share/build-1/libtool) The problem is /usr/share/build-1/libtool contains bashisms. That utility should really use #! /bin/bash and not #! /bin/sh Just to confirm that reemerging apr (1.5.0-r2) did the trick for me. Looking at the libtool bangline, it was /bin/sh before and is now /bin/bash. Did the ebuild get fixed without bumping its revision number, or did the existing ebuild somehow already detect that it needed to install a different bangline when sh==dash ? Confirming that apr 1.5.0-r2 and 1.5.1-r1 install a different bangline depending on what /bin/sh was at compile time. Ugly :/ |