Summary: | media-libs/libjpeg-turbo: configure failure with /bin/sh != bash | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rémi Cardona (RETIRED) <remi> |
Component: | [OLD] Library | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anarchy, remi, ssuominen |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 | ||
Attachments: |
build.log
ebuild patch |
Created attachment 392634 [details]
build.log
Created attachment 393086 [details, diff]
ebuild patch
Here's an ebuild patch that fixes the issue. It also fixes the weird output issue.
In a nutshell, the patch forces eautoreconf all the time, so we get a fresh ./configure. The original configure was generated with autoconf 2.59 which is 11 years old.
May I commit? (In reply to Rémi Cardona from comment #3) > May I commit? Commit it. Pushed to portage without a revbump. Thanks Commit message: Set CONFIG_SHELL directly instead of regenerating autotools as it will be faster and less flaky (like libtool version mismatches) http://sources.gentoo.org/media-libs/libjpeg-turbo/libjpeg-turbo-1.4.1.ebuild?r1=1.1&r2=1.2 |
configure: creating ./config.status ... config.status: creating Makefile sed: file ./confstatUGWBur/subs-1.sed line 29: unterminated `s' command ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-libs/libjpeg-turbo-1.3.1-r1/work/libjpeg-turbo-1.3.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j4 make: *** No targets. Stop. I have /bin/sh that points to dash and CONFIG_SHELL set to /bin/dash explicitly in make.conf. Another weird thing is that the rest of the configure output has many blank lines. Bash output looks like: checking for a BSD-compatible install... /usr/bin/install -c Dash output looks like: checking for a BSD-compatible install... /usr/bin/install -c (" " with bash, "\n\n\t" with dash) I have no idea if this is at all related. Reproducible: Always