Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792735 - sci-electronics/gnucap-0.35.20091207-r1: Broken files that require: libstdc++.so.6 (64 bits): /usr/lib/gnucap/models-ngspice17/bsim4.so:
Summary: sci-electronics/gnucap-0.35.20091207-r1: Broken files that require: libstdc++...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on: 835817
Blocks:
  Show dependency tree
 
Reported: 2021-05-29 05:00 UTC by Andrew Savchenko
Modified: 2022-03-22 22:31 UTC (History)
0 users

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


Attachments
build.log.gz (gnucap-0.35.20091207-r1:20210528-124245.log.gz,572.81 KB, application/gzip)
2021-05-29 05:00 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,12.64 KB, application/x-info)
2021-05-29 05:01 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2021-05-29 05:00:58 UTC
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.
Comment 1 Andrew Savchenko gentoo-dev 2021-05-29 05:01:38 UTC
Created attachment 712110 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-01-27 18:28:02 UTC
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(+)