Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484974 - app-emulation/qemu: defaults to `ar` rather than `${CHOST}-ar`
Summary: app-emulation/qemu: defaults to `ar` rather than `${CHOST}-ar`
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Doug Goldstein (RETIRED)
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-09-15 09:06 UTC by Agostino Sarubbo
Modified: 2014-04-19 17:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-09-15 09:06:27 UTC
You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"

From the build log:

ar rv libfdt/libfdt.a libfdt/fdt.o libfdt/fdt_ro.o libfdt/fdt_wip.o libfdt/fdt_sw.o libfdt/fdt_rw.o libfdt/fdt_strerror.o
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2013-09-16 02:04:21 UTC
What version of the package did you see this with? What were your USE flags (really just making sure you had USE=fdt enabled)? What version of sys-apps/dtc do you have installed?