There are a lot of build failures reported recently which are reproducible only with dash-0.5.8.1 and /bin/sh -> dash symlink. This is because debian dropped patch "0003-VAR-Disable-LINENO-support.diff" (dash ebuilds applies all debian patches) and now using --disable-lineno configure option instead (see [1]). So please consider also disabling LINENO support in Gentoo and restore the old behavior of <dash-0.5.8. It seems debian removes LINENO support because of a large amount of build failures, see [2] for example. From autoconf faq [3]: "Most modern shells provide the current line number in LINENO. Its value is the line number of the beginning of the current command. M4sh, and hence Autoconf, attempts to execute configure with a shell that supports LINENO." So if LINENO is not supported by /bin/sh, then configure prefer to reload itself in bash. [1] http://metadata.ftp-master.debian.org/changelogs//main/d/dash/dash_0.5.8-2_changelog [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23766048 [3] https://www.gnu.org/software/automake/faq/autoconf.html
Of course, there is an alternative solution: fight with uncooperative upstreams :) https://bugzilla.gnome.org/show_bug.cgi?id=738835
yeah, we don't want to enable LINENO in our builds either
should be all set now in the tree; thanks for the report! Commit message: Disable LINENO support via the new configure flag http://sources.gentoo.org/app-shells/dash/dash-0.5.8.1-r1.ebuild?rev=1.1
Thanks! (In reply to Alexander Tsoy from comment #0) > It seems debian removes LINENO support because of a large amount of build > failures, see [2] for example. Leaving another related link here, just in case: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582952