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

Bug 641882

Summary: mpfr install .la with wrong prefix with crossdev (aarch64)
Product: Gentoo/Alt Reporter: Emmanuel Lepage Vallee <elv1313>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Emmanuel Lepage Vallee 2017-12-21 07:24:06 UTC
When installing `@system` with x86_64 (host) aarch64 (target) crossdev environemnt, `mpc` and `gcc` fail to compile because they try to use the host mpfr.

After investigation, it turns out `/usr/aarch64-unknown-linux-gnu/usr/lib64/libmpfr.la` claim `/usr/lib64/libmpfr.so`.

Fixing the file manually get me pass the failure.

548871a6083e /tmp/mpc-1.0.3 # emerge --version
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.10.0-20-generic x86_64)


548871a6083e /tmp/mpc-1.0.3 # emerge -pv mpfr
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] dev-libs/mpfr-3.1.6:0/4::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB


548871a6083e /tmp/mpc-1.0.3 # aarch64-unknown-linux-gnu-emerge mpfr -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] dev-libs/mpfr-3.1.6:0/4::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-static-libs*" 0 KiB
Comment 1 Fabian Groffen gentoo-dev 2021-01-07 20:29:04 UTC
I'm sorry, this is not a Prefix issue.  If you still have this problem, please reopen and re-assign to crossdev maintainers, crossdev@gentoo.org.