Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462318 - sci-electronics/ngspice-25 fails to build: x86_64-apple-darwin11-gcc: -bundle not allowed with -dynamiclib
Summary: sci-electronics/ngspice-25 fails to build: x86_64-apple-darwin11-gcc: -bundle...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 14:12 UTC by Timothy Miller
Modified: 2017-12-03 17:25 UTC (History)
0 users

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


Attachments
build log (build.log,160.91 KB, text/plain)
2013-03-19 14:13 UTC, Timothy Miller
Details
environment (environment,106.90 KB, text/plain)
2013-03-19 14:13 UTC, Timothy Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Miller 2013-03-19 14:12:50 UTC
* ERROR: sci-electronics/ngspice-25 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called call-ebuildshell 'src_compile'
 *        environment, line  635:  Called src_compile
 *        environment, line 2921:  Called __eapi2_src_compile
 *   phase-helpers.sh, line  622:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-electronics/ngspice-25'`,
 * the complete build log and the output of `emerge -pqv '=sci-electronics/ngspice-25'`.
 * The complete build log is located at '/Users/millerti/Gentoo/var/tmp/portage/sci-electronics/ngspice-25/temp/build.log'.
 * The ebuild environment file is located at '/Users/millerti/Gentoo/var/tmp/portage/sci-electronics/ngspice-25/temp/environment'.
 * Working directory: '/Users/millerti/Gentoo/var/tmp/portage/sci-electronics/ngspice-25/work/ngspice-25'
 * S: '/Users/millerti/Gentoo/var/tmp/portage/sci-electronics/ngspice-25/work/ngspice-25'



x86_64-apple-darwin11-gcc -O2 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wold-style-definition -Wredundant-decls -Wconversion -O2 -pipe -ggdb -march=core2 -fPIC -Wl,-dead_strip_dylibs -shared -bundle -flat_namespace -undefined suppress -shared -bundle -flat_namespace -undefined suppress spice2poly/dlmain.o spice2poly/icm_spice2poly/cfunc.o spice2poly/icm_spice2poly/ifspec.o -o spice2poly/spice2poly.cm
x86_64-apple-darwin11-gcc: -bundle not allowed with -dynamiclib


Reproducible: Always




[ebuild  N    ] sci-electronics/ngspice-25  USE="X readline -debug" 



Portage 2.2.01.21688-prefix (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 12.2.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-12.2.0-x86_64-i386-64bit
Timestamp of tree: Tue, 19 Mar 2013 13:36:00 +0000
app-shells/bash:      4.2_p39-r1::gentoo_prefix
dev-lang/python:      2.7.3-r3::gentoo_prefix, 3.3.0-r1::gentoo_prefix
dev-util/cmake:       2.8.9::gentoo_prefix
dev-util/pkgconfig:   0.28::gentoo_prefix
sys-devel/autoconf:   2.69::gentoo_prefix
sys-devel/automake:   1.11.5::gentoo_prefix, 1.12.4::gentoo_prefix
sys-devel/gcc-config: 1.8-r00.1::gentoo_prefix
sys-devel/libtool:    2.4.2::gentoo_prefix
sys-devel/make:       3.82-r4::gentoo_prefix
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin11"
CFLAGS="-O2 -pipe -ggdb -march=core2"
CHOST="x86_64-apple-darwin11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -ggdb -march=core2"
DISTDIR="/Users/millerti/Gentoo/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="--jobs=8"
PKGDIR="/Users/millerti/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/millerti/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/millerti/Gentoo/var/tmp"
PORTDIR="/Users/millerti/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua coreaudio cracklib cxx ipv6 jpeg latex mmx mmxext modules ncurses nls objc objc++ png prefix readline sse sse2 ssl threads unicode x64-macos zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Timothy Miller 2013-03-19 14:13:11 UTC
Created attachment 342640 [details]
build log
Comment 2 Timothy Miller 2013-03-19 14:13:23 UTC
Created attachment 342642 [details]
environment
Comment 3 Timothy Miller 2013-04-29 23:33:48 UTC
It would be really nice if this bug could get fixed.  Thanks.
Comment 4 Larry the Git Cow gentoo-dev 2017-12-03 17:24:44 UTC
The bug has been closed via the following commit(s):

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

commit 5c118ba950c1ad185fb1d18e8121b59b9169d42b
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2017-12-03 17:24:19 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2017-12-03 17:24:34 +0000

    sci-electronics/ngspice: replace ldflags sed with a patch for Darwin
    
    The sed was too greedy, causing bugs like #462318.  Replace with a patch
    that ensures we only once append to LDFLAGS, not multiple times.
    
    Closes: https://bugs.gentoo.org/462318
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sci-electronics/ngspice/Manifest                   |  4 +--
 .../ngspice/files/ngspice-26-respect-ldflags.patch | 31 ++++++++++++++++++++++
 sci-electronics/ngspice/ngspice-26.ebuild          |  6 ++---
 3 files changed, 36 insertions(+), 5 deletions(-)
Comment 5 Fabian Groffen gentoo-dev 2017-12-03 17:25:46 UTC
A little late, sorry.