Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445700 - media-libs/mesa does not respect AR/RANLIB
Summary: media-libs/mesa does not respect AR/RANLIB
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2012-12-02 20:35 UTC by Agostino Sarubbo
Modified: 2013-01-28 02:48 UTC (History)
0 users

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 2012-12-02 20:35:05 UTC
You receive this bug because this package does not respect my system's AR/RANLIB ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar | x86_64-pc-linux-gnu-ranlib - /usr/bin/x86_64-pc-linux-gnu-ranlib ) and calls directly ar - /usr/bin/ar | ranlib - /usr/bin/ranlib
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export AR RANLIB
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"

It is not much verbose. It will happen if you remove /usr/bin/ar

mklib: Making Linux static library:  libglsl.a
../../bin/mklib: line 90: ar: command not found
ranlib: 'libglsl.a': No such file
Comment 1 Matt Turner gentoo-dev 2013-01-28 02:48:52 UTC
mklib isn't used upstream anymore. I don't think anyone will bother with this bug since it's not relevant to future versions.