| Summary: | ln -s /data/gentoo/bin/bash /bin is necessary on android to make emerge '=media-libs/libjpeg-turbo-1.5.1' work | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | troysung |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | ARM64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
the patched configure file for libjped-turbo-1.5.1,which works,and with some test echo lines
error log infomation when compiling libjped-turbo-1.5.1 |
||
|
Description
troysung
2017-01-18 16:53:41 UTC
*** Bug 606492 has been marked as a duplicate of this bug. *** Created attachment 460636 [details]
the patched configure file for libjped-turbo-1.5.1,which works,and with some test echo lines
Created attachment 460638 [details]
error log infomation when compiling libjped-turbo-1.5.1
I've pushed this, which probably helps:
@@ -59,7 +59,7 @@ multilib_src_configure() {
[[ ${ABI} == "x32" ]] && myconf+=( --without-simd ) #420239
# Force /bin/bash until upstream generates a new version. #533902
- CONFIG_SHELL=/bin/bash \
+ CONFIG_SHELL="${EPREFIX}"/bin/bash \
ECONF_SOURCE=${S} \
econf \
$(use_enable static-libs static) \
Comment on attachment 460636 [details]
the patched configure file for libjped-turbo-1.5.1,which works,and with some test echo lines
the key to solve the problem is to reset CONFIG_SHELL=/data/gentoo/bin/bash before it is used in the configure file, and test shows that the OCNFIG_SHELL was set to /bin/sh when the configure file was excuted, which directly caused the error in compilation.
(In reply to Fabian Groffen from comment #4) > I've pushed this, which probably helps: > > @@ -59,7 +59,7 @@ multilib_src_configure() { > [[ ${ABI} == "x32" ]] && myconf+=( --without-simd ) #420239 > > # Force /bin/bash until upstream generates a new version. #533902 > - CONFIG_SHELL=/bin/bash \ > + CONFIG_SHELL="${EPREFIX}"/bin/bash \ > ECONF_SOURCE=${S} \ > econf \ > $(use_enable static-libs static) \ it works,thanks :) cool, thanks for testing Thank you @troysung! Nice contribution! |