|Summary:||net-misc/asterisk calls ar directly|
|Product:||Gentoo Linux||Reporter:||Agostino Sarubbo <ago>|
|Component:||Current packages||Assignee:||Jaco Kroon <jaco>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
Description Agostino Sarubbo 2020-05-07 13:06:12 UTC
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.
Comment 1 Agostino Sarubbo 2020-05-07 13:06:17 UTC
Created attachment 636726 [details] build.log build log and emerge --info
Comment 2 Agostino Sarubbo 2020-05-07 13:06:58 UTC
I guess it is calling ar directly but I really don't know where cr comes from..
Comment 3 Jaco Kroon 2020-06-11 18:31:34 UTC
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
Comment 4 Agostino Sarubbo 2020-06-16 12:15:35 UTC
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
Comment 5 Larry the Git Cow 2020-06-17 17:15:35 UTC
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 <email@example.com> AuthorDate: 2020-06-17 15:43:45 +0000 Commit: Thomas Deutschmann <firstname.lastname@example.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 <email@example.com> Closes: https://github.com/gentoo/gentoo/pull/16195 Signed-off-by: Thomas Deutschmann <firstname.lastname@example.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 <email@example.com> AuthorDate: 2020-06-17 15:39:36 +0000 Commit: Thomas Deutschmann <firstname.lastname@example.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 <email@example.com> Signed-off-by: Thomas Deutschmann <firstname.lastname@example.org> net-misc/asterisk/Manifest | 1 + net-misc/asterisk/asterisk-13.34.0.ebuild | 296 ++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+)
Comment 6 Jaco Kroon 2020-06-17 17:53:56 UTC
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.
Comment 7 Agostino Sarubbo 2020-06-30 09:09:01 UTC
Hello Jaco, let's close then. If needed, another bug will be opened.