[MacPorts] #70175: ngspice build failure: {standard input}: FATAL: incompatible feature used: directive .non_lazy_symbol_pointer (must specify "-dynamic" to be used)
MacPorts
noreply at macports.org
Wed Jun 5 17:58:28 UTC 2024
#70175: ngspice build failure: {standard input}: FATAL: incompatible feature used:
directive .non_lazy_symbol_pointer (must specify "-dynamic" to be used)
--------------------------+---------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: ngspice
--------------------------+---------------------
Immediate issue is that this port requires C++11, but once that is fixed,
it fails toward the end of the build:
{{{
:info:build /bin/sh ../../../libtool --tag=CC --mode=link
/opt/local/bin/gcc-mp-13 -static -pipe -Os -arch ppc -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -o libcidertwod.la twoadmit.lo
twoaval.lo twocond.lo twocont.lo twocurr.lo twodest.lo twodopng.lo
twoelect.lo twofield.lo twomesh.lo twomobdv.lo twomobfn.lo twomobil.lo
twoncont.lo twopcont.lo twopoiss.lo twoprint.lo twoproj.lo tworead.lo
twosetbc.lo twosetup.lo twosolve.lo -lncurses -lm -lfreetype -lfontconfig
-lstdc++ -lfftw3 -ledit
:info:build libtool: link: ar cr .libs/libcidertwod.a twoadmit.o
twoaval.o twocond.o twocont.o twocurr.o twodest.o twodopng.o twoelect.o
twofield.o twomesh.o twomobdv.o twomobfn.o twomobil.o twoncont.o
twopcont.o twopoiss.o twoprint.o twoproj.o tworead.o twosetbc.o twosetup.o
twosolve.o
:info:build libtool: link: ranlib .libs/libcidertwod.a
:info:build libtool: link: ( cd ".libs" && rm -f "libcidertwod.la" && ln
-s "../libcidertwod.la" "libcidertwod.la" )
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ngspice/ngspice/work/ngspice-36/src/ciderlib/twod'
:info:build make[3]: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ngspice/ngspice/work/ngspice-36/src/ciderlib'
:info:build make[3]: Nothing to be done for `all-am'.
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ngspice/ngspice/work/ngspice-36/src/ciderlib'
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ngspice/ngspice/work/ngspice-36/src/ciderlib'
:info:build make[2]: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ngspice/ngspice/work/ngspice-36/src'
:info:build /opt/local/bin/gcc-mp-13 -DHAVE_CONFIG_H -I. -I.
-I../src/include -I../src/include -I../src/spicelib/devices
-I/opt/local/include -I/usr/include/freetype2 -DSIMULATOR
-I/opt/local/include/freetype2 -I/opt/local/include -static -pipe -Os
-arch ppc -MT ngspice-main.o -MD -MP -MF .deps/ngspice-main.Tpo -c -o
ngspice-main.o `test -f 'main.c' || echo './'`main.c
:info:build /opt/local/bin/gcc-mp-13 -DHAVE_CONFIG_H -I. -I.
-I../src/include -I../src/include -I../src/spicelib/devices
-I/opt/local/include -I/usr/include/freetype2 -DSIMULATOR
-I/opt/local/include/freetype2 -I/opt/local/include -static -pipe -Os
-arch ppc -MT ngspice-conf.o -MD -MP -MF .deps/ngspice-conf.Tpo -c -o
ngspice-conf.o `test -f 'conf.c' || echo './'`conf.c
:info:build /opt/local/bin/gcc-mp-13 -DHAVE_CONFIG_H -I. -I.
-I../src/include -I../src/include -I../src/spicelib/devices
-I/opt/local/include -I/usr/include/freetype2 -DSIMULATOR
-I/opt/local/include/freetype2 -I/opt/local/include -static -pipe -Os
-arch ppc -MT ngspice-ngspice.o -MD -MP -MF .deps/ngspice-ngspice.Tpo -c
-o ngspice-ngspice.o `test -f 'ngspice.c' || echo './'`ngspice.c
:info:build rm -f spinit spinit.tmp
:info:build srcdir=''; \
:info:build test -f ./spinit.in || srcdir=./; \
:info:build sed -e 's|@XSPICEINIT[@]||g' -e
's|@pkglibdir[@]|/opt/local/lib/ngspice|g' ${srcdir}spinit.in >spinit.tmp
:info:build mv spinit.tmp spinit
:info:build mv -f .deps/ngspice-conf.Tpo .deps/ngspice-conf.Po
:info:build mv -f .deps/ngspice-ngspice.Tpo .deps/ngspice-ngspice.Po
:info:build {standard input}:1644:FATAL:incompatible feature used:
directive .non_lazy_symbol_pointer (must specify "-dynamic" to be used)
:info:build make[2]: *** [ngspice-main.o] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ngspice/ngspice/work/ngspice-36/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ngspice/ngspice/work/ngspice-36/src'
:info:build make: *** [all-recursive] Error 1
}}}
`ngspice-lib` builds fine, only `ngspice` fails.
P. S. Maybe it should just be updated though: v. 36 in MacPorts, v. 42 in
upstream.
--
Ticket URL: <https://trac.macports.org/ticket/70175>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list