Created attachment 712107 [details] build.log.gz Hi! On ~x86 revdep-rebuild -pv gives me the following warning about gnucap: * Broken files that require: libgcc_s.so.1 (64 bits) * /usr/lib/gnucap/models-ngspice17/bsim4.so * Broken files that require: libc.so.6 (64 bits) * /usr/lib/gnucap/models-ngspice17/bsim4.so * Broken files that require: libm.so.6 (64 bits) * /usr/lib/gnucap/models-ngspice17/bsim4.so * Broken files that require: libstdc++.so.6 (64 bits) * /usr/lib/gnucap/models-ngspice17/bsim4.so * Assign files to packages This is indeed 64-bit ELF: $ readelf -h /usr/lib/gnucap/models-ngspice17/bsim4.so ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian After src_prepare() stage I indeed have the following 64-bit ELF file: ${S}/models-ngspice17/bsim4.6.0ng/bsim4.so Looks like gnucap installs prebuild binary instead of building it. Please fix.
Created attachment 712110 [details] emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e79a95397bbf5564ba4b59fdd437b2ebe00d5a1d commit e79a95397bbf5564ba4b59fdd437b2ebe00d5a1d Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-01-27 18:25:46 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-01-27 18:27:54 +0000 sci-electronics/gnucap: add version 20210107 Closes: https://bugs.gentoo.org/614656 Bug: https://bugs.gentoo.org/628828 Bug: https://bugs.gentoo.org/792735 Bug: https://bugs.gentoo.org/731854 Bug: https://bugs.gentoo.org/725452 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-electronics/gnucap/Manifest | 1 + .../gnucap/files/gnucap-20210107-fix-paths.patch | 68 +++++++ .../files/gnucap-20210107-respect-ldflags.patch | 208 +++++++++++++++++++++ sci-electronics/gnucap/gnucap-20210107.ebuild | 21 +++ 4 files changed, 298 insertions(+)