Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730388 - net-dialup/freeradius-client calls ar directly
Summary: net-dialup/freeradius-client calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alarig Le Lay
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-07-01 14:32 UTC by Agostino Sarubbo
Modified: 2020-07-08 17:40 UTC (History)
1 user (show)

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

build.log (build.log,30.76 KB, text/plain)
2020-07-01 14:32 UTC, Agostino Sarubbo
other.tar.bz2 (other.tar.bz2,253 bytes, application/x-bzip-compressed-tar)
2020-07-01 14:32 UTC, Agostino Sarubbo
patched version shell session (file_730388.txt,48.86 KB, text/plain)
2020-07-08 17:40 UTC, Alarig Le Lay

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-01 14:32:29 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: net-dialup/freeradius-client calls ar directly.
Discovered on: amd64

As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the AR variable to x86_64-pc-linux-gnu-ar.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-01 14:32:41 UTC
Created attachment 647310 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-01 14:32:47 UTC
Created attachment 647312 [details]

other logs
Comment 3 Alarig Le Lay 2020-07-01 15:02:09 UTC

Did you used the last git version of the tree? has been merged five hours ago, and it should fix this issue.
Comment 4 Agostino Sarubbo gentoo-dev 2020-07-01 15:23:01 UTC
At the beginning of the build log you will see a link to the git head at the time of emerging.
Comment 5 Alarig Le Lay 2020-07-08 17:40:16 UTC
Created attachment 648442 [details]
patched version shell session


I wasn’t able to do a full fix with my old patch, so I used a totaly opposite fix. I patched to look for x86_64-pc-linux-gnu-ar if ar is not found.

checking for ar... no
checking for x86_64-pc-linux-gnu-ar... /usr/bin/x86_64-pc-linux-gnu-ar

See attachment for the complete shell session of the emerge.

If it’s OK, I can open a PR on github.