Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778572 - sci-electronics/ngspice-34 - options.c:(.text+<snip>): multiple definition of cp_enqvar; ngsconvert.o:ngsconvert.c:(.text+<snip>):
Summary: sci-electronics/ngspice-34 - options.c:(.text+<snip>): multiple definition of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
: 796377 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2021-03-27 08:46 UTC by Toralf Förster
Modified: 2023-06-12 04:33 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.95 KB, text/plain)
2021-03-27 08:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,317.14 KB, text/plain)
2021-03-27 08:46 UTC, Toralf Förster
Details
environment (environment,76.65 KB, text/plain)
2021-03-27 08:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.18 KB, application/x-bzip)
2021-03-27 08:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,20.42 KB, application/x-bzip)
2021-03-27 08:46 UTC, Toralf Förster
Details
sci-electronics:ngspice-34:20210327-043841.log.bz2 (sci-electronics:ngspice-34:20210327-043841.log.bz2,48.46 KB, application/x-bzip)
2021-03-27 08:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,117.80 KB, application/x-bzip)
2021-03-27 08:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-27 08:46:27 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: frontend/.libs/libfte.a(options.o): in function `cp_enqvar':
options.c:(.text+0x150): multiple definition of `cp_enqvar'; ngsconvert.o:ngsconvert.c:(.text+0xf0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: frontend/.libs/libfte.a(options.o): in function `cp_usrvars':
options.c:(.text+0x530): multiple definition of `cp_usrvars'; ngsconvert.o:ngsconvert.c:(.text+0x80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: frontend/.libs/libfte.a(options.o): in function `cp_usrset':

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210320-151517

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 27 03:05:45 UTC 2021

emerge -qpvO sci-electronics/ngspice
[ebuild  N    ] sci-electronics/ngspice-34  USE="deprecated openmp readline shared -X -debug -doc -examples -fftw -tcl -test"
Comment 1 Toralf Förster gentoo-dev 2021-03-27 08:46:28 UTC
Created attachment 694728 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-27 08:46:30 UTC
Created attachment 694731 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-27 08:46:31 UTC
Created attachment 694734 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-27 08:46:33 UTC
Created attachment 694737 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-27 08:46:34 UTC
Created attachment 694740 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-27 08:46:35 UTC
Created attachment 694743 [details]
sci-electronics:ngspice-34:20210327-043841.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-03-27 08:46:37 UTC
Created attachment 694746 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-03-27 12:20:35 UTC
slibtool was used but can reproduce with gnu libtool as well if USE=deprecated
Comment 9 Alessandro Barbieri 2021-06-17 00:05:09 UTC
*** Bug 796377 has been marked as a duplicate of this bug. ***
Comment 10 Jonas Jelten 2021-07-07 11:33:36 UTC
interestingly for me it builds, but when it's linked into kicad, the ngspice symbol history_file is undefined.
It's defined in ngspice's main.c, but it's undefined in libngspice.so.0.0.0.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-27 00:27:30 UTC
(In reply to Jonas Jelten from comment #10)
> interestingly for me it builds, but when it's linked into kicad, the ngspice
> symbol history_file is undefined.
> It's defined in ngspice's main.c, but it's undefined in libngspice.so.0.0.0.

Sharing the log of such a thing happening would've been useful :(
Comment 12 Larry the Git Cow gentoo-dev 2023-06-12 04:33:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebed24fd75ade152b14dd40bb9cfb109b76e6263

commit ebed24fd75ade152b14dd40bb9cfb109b76e6263
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-12 04:32:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-12 04:32:44 +0000

    sci-electronics/ngspice: drop 31-r1, 34, 35
    
    Closes: https://bugs.gentoo.org/778572
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/ngspice/Manifest             |   6 -
 sci-electronics/ngspice/ngspice-31-r1.ebuild | 202 --------------------------
 sci-electronics/ngspice/ngspice-34.ebuild    | 204 ---------------------------
 sci-electronics/ngspice/ngspice-35.ebuild    | 203 --------------------------
 4 files changed, 615 deletions(-)