This is an auto-filled bug because net-misc/asterisk calls ar directly. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to x86_64-pc-linux-gnu-ar and by removing the /usr/bin/ar binary.
Created attachment 636726 [details] build.log build log and emerge --info
I guess it is calling ar directly but I really don't know where cr comes from..
Hi Agostino, I believe the latest bump should address this. The problem as far as I can tell was in the embedded libedit library, which I've now eliminated from use preferring the system-installed libedit instead. I'm however having serious challenges reproducing either way round, so if you don't mind please sharing the magic that you use? Or testing version 13.34.0 in the associated PR. Kind Regards, Jaco
Hi Jaco, to reproduce you can follow the note at comment #0. Try to set AR and remove /usr/bin/ar of if you want use gcc-config and binutils-config with -native-symlinks
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=379bfa21016a3a3fb671572522b0d097b89e0974 commit 379bfa21016a3a3fb671572522b0d097b89e0974 Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2020-06-17 15:43:45 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-17 17:15:19 +0000 net-misc/asterisk: 16.11.1 Closes: https://bugs.gentoo.org/show_bug.cgi?id=717602 Bug: https://bugs.gentoo.org/721470 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/16195 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-misc/asterisk/Manifest | 1 + net-misc/asterisk/asterisk-16.11.1.ebuild | 301 ++++++++++++++++++++++++++++++ 2 files changed, 302 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1697a125189ea4239385246486cfe9bd7d817eb7 commit 1697a125189ea4239385246486cfe9bd7d817eb7 Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2020-06-17 15:39:36 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-17 17:15:18 +0000 net-misc/asterisk: Version 13.34.0 bump. Bug: https://bugs.gentoo.org/717602 Bug: https://bugs.gentoo.org/721470 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-misc/asterisk/Manifest | 1 + net-misc/asterisk/asterisk-13.34.0.ebuild | 296 ++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+)
Hi Agostino, I was no longer able to reproduce this after forcing the external libedit usage, I followed a slightly different route, I added /usr/local/bin/ar with simple: #! /bin/bash /bin/false and then got the errors you did passing AR=/usr/bin/ar on the CLI. Using these builds this no longer triggered. Since my methodology was different from yours I'd appreciate if you could please confirm from your side as well. I'm happy though, so unless I get further feedback I'm going to close this.
Hello Jaco, let's close then. If needed, another bug will be opened.