https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/cgdb-0.7.1 calls ar directly. Discovered on: amd64 (internal ref: ci) NOTE: 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.
Created attachment 660465 [details] build.log build log and emerge --info
Created attachment 660468 [details] context context
Interestingly, the patch was working when the ebuild was using ./autogen.sh as I tested it initially, but when changed to `eautoreconf`, this happens again. I'll look into this ASAP.
no problem, the CI is here to help :)
Apologies, my mistake for not spotting this before, but I should not have called `cp` before `default` in src_prepare, as that leads to the ebuild using unpatched configure.init file
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e101aa053b245bf7f4833e1a10fb57b73a4d236 commit 5e101aa053b245bf7f4833e1a10fb57b73a4d236 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2020-09-16 11:52:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-09-17 06:06:40 +0000 dev-util/cgdb: call default at the beginning of src_prepare `default` should be called before `cp` in src_prepare as not doing that results in copying unpatched configure.init file, leading to the ebuild again calling ar directly Closes: https://bugs.gentoo.org/742731 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/17563 Signed-off-by: Sam James <sam@gentoo.org> dev-util/cgdb/cgdb-0.6.8.ebuild | 2 +- dev-util/cgdb/cgdb-0.7.0-r2.ebuild | 2 +- dev-util/cgdb/cgdb-0.7.1.ebuild | 2 +- dev-util/cgdb/cgdb-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)