Opened 10 months ago
Last modified 10 months ago
#72024 new defect
asymptote @2.96 fails to build: ModuleNotFoundError: No module named 'PyQt5'
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | ||
| Port: | asymptote |
Description
This bug was fixed once, I think, and now it is back:
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o main.o -c main.cc
cd GUI && /opt/local/bin/python3.13 buildtool.py buildui
Traceback (most recent call last):
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.96/GUI/buildtool.py", line 9, in <module>
from PyQt5.uic import compileUiDir
ModuleNotFoundError: No module named 'PyQt5'
make: [GUI/xasyqtui] Error 1 (ignored)
cd GUI && /opt/local/bin/python3.13 buildtool.py buildicons
Traceback (most recent call last):
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.96/GUI/buildtool.py", line 9, in <module>
from PyQt5.uic import compileUiDir
ModuleNotFoundError: No module named 'PyQt5'
make: [GUI/xasyicons] Error 1 (ignored)
Traceback (most recent call last):
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.96/GUI/buildtool.py", line 9, in <module>
from PyQt5.uic import compileUiDir
ModuleNotFoundError: No module named 'PyQt5'
make: [GUI/xasyversion] Error 1 (ignored)
echo "const char *REVISION="\"2.96\"\; > revision.cc
echo const char *AsyGLVersion=\"1.02\"\; >> revision.cc;
/opt/local/bin/gcc-mp-14 -I. -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -arch ppc -fno-var-tracking -DGLEW_NO_GLU -DGLEW_BUILD -O1 -fPIC -o glew.o -c glew.c
echo @set VERSION 2.96 > doc/version.texi
echo @set Datadir /opt/local/share >> doc/version.texi
echo @set Docdir /opt/local/share/doc/asymptote >> doc/version.texi
echo string VERSION=\"2.96\"\; > base/version.asy
/opt/local/bin/python3.13 findsym.py runtime.symbols.h runtime.raw.i
/opt/local/bin/python3.13 findsym.py runbacktrace.symbols.h runbacktrace.raw.i
/opt/local/bin/python3.13 findsym.py runpicture.symbols.h runpicture.raw.i
/opt/local/bin/python3.13 findsym.py runlabel.symbols.h runlabel.raw.i
/opt/local/bin/python3.13 findsym.py runhistory.symbols.h runhistory.raw.i
/opt/local/bin/python3.13 findsym.py runarray.symbols.h runarray.raw.i
/opt/local/bin/python3.13 findsym.py runfile.symbols.h runfile.raw.i
/opt/local/bin/python3.13 findsym.py runsystem.symbols.h runsystem.raw.i
/opt/local/bin/python3.13 findsym.py runpair.symbols.h runpair.raw.i
/opt/local/bin/python3.13 findsym.py runtriple.symbols.h runtriple.raw.i
/opt/local/bin/python3.13 findsym.py runpath.symbols.h runpath.raw.i
/opt/local/bin/python3.13 findsym.py runpath3d.symbols.h runpath3d.raw.i
/opt/local/bin/python3.13 findsym.py runstring.symbols.h runstring.raw.i
/opt/local/bin/python3.13 findsym.py runmath.symbols.h runmath.raw.i
/opt/local/bin/python3.13 findsym.py types.symbols.h types.raw.i
/opt/local/bin/python3.13 findsym.py builtin.symbols.h builtin.raw.i
/opt/local/bin/python3.13 findsym.py gsl.symbols.h gsl.raw.i
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o revision.o -c revision.cc
cd doc && /usr/bin/make asy-latex.pdf
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.96/doc'
make[1]: `asy-latex.pdf' is up to date.
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.96/doc'
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runtime.o -c runtime.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runbacktrace.o -c runbacktrace.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runpicture.o -c runpicture.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runlabel.o -c runlabel.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runhistory.o -c runhistory.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runarray.o -c runarray.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runfile.o -c runfile.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runsystem.o -c runsystem.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runpair.o -c runpair.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runtriple.o -c runtriple.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runpath.o -c runpath.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runpath3d.o -c runpath3d.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runstring.o -c runstring.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o runmath.o -c runmath.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o types.o -c types.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o builtin.o -c builtin.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o gsl.o -c gsl.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o symbol.o -c symbol.cc
/opt/local/bin/g++-mp-14 -DHAVE_CONFIG_H -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR -I. -Igc/include -Itinyexr -Ibackports/glew/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -std=c++17 -pipe -Os -arch ppc -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o asy camperror.o path.o drawpath.o drawlabel.o picture.o psfile.o texfile.o util.o settings.o guide.o flatguide.o knot.o drawfill.o path3.o drawpath3.o drawsurface.o beziercurve.o bezierpatch.o pen.o pipestream.o runtime.o runbacktrace.o runpicture.o runlabel.o runhistory.o runarray.o runfile.o runsystem.o runpair.o runtriple.o runpath.o runpath3d.o runstring.o runmath.o types.o builtin.o gsl.o PRCbitStream.o oPRCFile.o PRCdouble.o writePRC.o tinyexr_impl.o env.o genv.o stm.o dec.o errormsg.o callable.o name.o symbol.o entry.o exp.o newexp.o stack.o exithandlers.o camp.tab.o lex.yy.o access.o virtualfieldaccess.o absyn.o record.o interact.o fileio.o fftw++asy.o parallel.o simpson.o coder.o coenv.o impdatum.o locate.o asyparser.o program.o application.o varinit.o fundec.o refaccess.o envcompleter.o asyprocess.o constructor.o array.o memory.o Delaunay.o predicates.o glrender.o tr.o shaders.o jsfile.o v3dfile.o EXRFiles.o GLTextures.o lspserv.o symbolmaps.o win32helpers.o win32pipestream.o win32xdr.o xstream.o lspdec.o lspexp.o lspfundec.o lspstm.o main.o revision.o -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc -L/opt/local/lib -lreadline -L/opt/local/lib -Wl,-search_paths_first -lncurses -L/opt/local/lib -lcurl -L/opt/local/lib -lfftw3 -L/opt/local/lib -lgsl -lgslcblas -lm -L/opt/local/lib -lgsl -lgslcblas -lm glew.o -lsigsegv -lz -framework GLUT -framework OpenGL -framework Cocoa gc/.libs/libgc.a
ld: file not found: gc/.libs/libgc.a
collect2: error: ld returned 1 exit status
make: *** [asy] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.96'
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.96" && /usr/bin/make -j6 -w all
Exit code: 2
Attachments (1)
Change History (13)
Changed 10 months ago by barracuda156
comment:1 Changed 10 months ago by barracuda156
comment:2 Changed 10 months ago by barracuda156
Oh great, adding libatomic_ops still does not fix it, apparently:
config.status: error: in `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.96/gc':
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE="gmake" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
comment:3 Changed 10 months ago by barracuda156
Looks like upstream has broken building with external GC, so the build tries to set GCLIB='$(GC)/.libs/libgc.a'.
comment:4 Changed 10 months ago by Schamschula (Marius Schamschula)
It sounds to me like we a missing something else that got opportunistically linked or was already installed on my system.
Oh, do I want trace mode back!
comment:5 follow-up: 7 Changed 10 months ago by Schamschula (Marius Schamschula)
I just noticed that port:py${python.version}-pyqt5 has been commented out. I do have that installed.
This error is being ignored.
comment:6 Changed 10 months ago by Schamschula (Marius Schamschula)
However, my build does generate the missing file:
marius@Mira ports % ls -al graphics/asymptote/work/asymptote-2.96/gc/.libs/libgc.a -rw-r--r--@ 1 macports wheel 805312 Feb 8 15:53 graphics/asymptote/work/asymptote-2.96/gc/.libs/libgc.a
We should be using the MacPorts version @
/opt/local/lib/libgc.a
comment:7 Changed 10 months ago by barracuda156
Replying to Schamschula:
I just noticed that
port:py${python.version}-pyqt5has been commented out. I do have that installed.This error is being ignored.
Yes, that is not the error which breaks the build indeed (and pyqt5 one should be ignored, though I would prefer a more sensible way to deal with it, but this is what upstream settled on).
Re GC, take a look at upstream comments. They removed support for external GC on purpose and want it to be that way. (Of course, this does not mean that MacPorts must follow that).
comment:8 Changed 10 months ago by Schamschula (Marius Schamschula)
I'm not sure why this error occurs on the build bots. I have cleanly built version 2.96, 2.97 and 2.98 on my Sonoma machine.
comment:9 Changed 10 months ago by johncbowman (John Bowman)
The difference probably has to do whether you have autoconf installed. For the solution, see https://github.com/macports/macports-ports/pull/27612#issuecomment-2646632364
comment:10 follow-up: 11 Changed 10 months ago by johncbowman (John Bowman)
See https://github.com/vectorgraphics/asymptote/issues/521#issuecomment-2644549764 for the rationale for using an integrated garbage collector in Asymptote. Boehm gc is a small library; it only adds 145kB to the stripped binary. Also, in the version we compile we exploit the fact that our application is single threaded; the second thread is only used for OpenGL rendering (long ago MacOS forced this requirement on us:-).
comment:11 Changed 10 months ago by barracuda156
Replying to johncbowman:
There is something wrong with the syntax here (so just adding --disable-dependency-tracking is not enough):
/bin/sh ./libtool --tag=CC --mode=compile /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -g -O2 -fno-strict-aliasing -Wno-frame-address -c -o fnlz_mlc.lo fnlz_mlc.c
darwin_stop_world.c: In function 'GC_push_all_stacks':
darwin_stop_world.c:422:39: warning: 'altstack_hi' may be used uninitialized [-Wmaybe-uninitialized]
422 | total_size += altstack_hi - altstack_lo;
| ~~~~~~~~~~~~^~~~~~~~~~~~~
darwin_stop_world.c:360:26: note: 'altstack_hi' was declared here
360 | ptr_t hi, altstack_lo, altstack_hi;
| ^~~~~~~~~~~
./../install-sh: line 521: syntax error near unexpected token `}'
./../install-sh: line 521: `est -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&'
make[2]: *** [libatomic_ops/src/.dirstamp] Error 2
make[2]: *** Waiting for unfinished jobs....
libtool: compile: /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -g -O2 -fno-strict-aliasing -Wno-frame-address -c fnlz_mlc.c -o fnlz_mlc.o
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98/gc'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98/gc'
make: Leaving directory `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98'
make: Entering directory `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98'
cd gc && ln -sf ../libatomic_ops . && \
./configure CC="/opt/local/bin/gcc-mp-14" CXX="/opt/local/bin/g++-mp-14" --disable-shared --disable-dependency-tracking
checking build system type... powerpc-apple-darwin10.8.0
checking host system type... powerpc-apple-darwin10.8.0
checking target system type... powerpc-apple-darwin10.8.0
checking GC version numbers... major=8 minor=2 micro=8
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./../install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether /usr/bin/make sets $(MAKE)... yes
checking whether /usr/bin/make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether /usr/bin/make supports the include directive... yes (GNU style)
checking for gcc... /opt/local/bin/gcc-mp-14
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /opt/local/bin/gcc-mp-14 accepts -g... yes
checking for /opt/local/bin/gcc-mp-14 option to enable C11 features... none needed
checking whether /opt/local/bin/gcc-mp-14 understands -c and -o together... yes
checking dependency style of /opt/local/bin/gcc-mp-14... none
checking whether the compiler supports GNU C++... yes
checking whether /opt/local/bin/g++-mp-14 accepts -g... yes
checking for /opt/local/bin/g++-mp-14 option to enable C++11 features... none needed
checking dependency style of /opt/local/bin/g++-mp-14... none
checking dependency style of /opt/local/bin/gcc-mp-14... none
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /opt/local/bin/gcc-mp-14... /opt/local/bin/ld
checking if the linker (/opt/local/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert powerpc-apple-darwin10.8.0 file names to powerpc-apple-darwin10.8.0 format... func_convert_file_noop
checking how to convert powerpc-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
checking for /opt/local/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm -B output from /opt/local/bin/gcc-mp-14 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/local/bin/gcc-mp-14 supports -fno-rtti -fno-exceptions... no
checking for /opt/local/bin/gcc-mp-14 option to produce PIC... -fno-common -DPIC
checking if /opt/local/bin/gcc-mp-14 PIC flag -fno-common -DPIC works... yes
checking if /opt/local/bin/gcc-mp-14 static flag -static works... no
checking if /opt/local/bin/gcc-mp-14 supports -c -o file.o... yes
checking if /opt/local/bin/gcc-mp-14 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/gcc-mp-14 linker (/opt/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-14 -E
checking for ld used by /opt/local/bin/g++-mp-14... /opt/local/bin/ld
checking if the linker (/opt/local/bin/ld) is GNU ld... no
checking whether the /opt/local/bin/g++-mp-14 linker (/opt/local/bin/ld) supports shared libraries... yes
checking for /opt/local/bin/g++-mp-14 option to produce PIC... -fno-common -DPIC
checking if /opt/local/bin/g++-mp-14 PIC flag -fno-common -DPIC works... yes
checking if /opt/local/bin/g++-mp-14 static flag -static works... no
checking if /opt/local/bin/g++-mp-14 supports -c -o file.o... yes
checking if /opt/local/bin/g++-mp-14 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/g++-mp-14 linker (/opt/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking for emscripten... no
checking for thread model used by GCC... posix
checking for inline... inline
configure: WARNING: "Explicit GC_INIT() calls may be required."
checking for pthread_self in -lpthread... yes
checking for clock_gettime without additional libraries... no
checking for clock_gettime in -lrt... no
checking whether compiler supports -Wextra... yes
checking whether compiler supports -Wpedantic... yes
checking for xlc... no
checking whether compiler supports -fno-strict-aliasing... yes
checking for getcontext... yes
checking for dl_iterate_phdr... no
checking for execinfo.h... yes
checking whether to build shared libraries... no
checking which machine-dependent code should be used...
checking whether AIX gcc optimization fix is necessary... no
checking whether -Wno-frame-address works... yes
checking for dladdr... yes
checking for sigsetjmp... yes
checking for pthread_setname_np... yes (w/o tid)
checking for sys/dg_sys_info.h... no
checking for compiler intrinsics support... no
checking for atomic_ops.h... no
checking which libatomic_ops to use... internal
checking for lock-free AO_or primitive... yes
checking for lock-free AO load/store, test-and-set primitives... yes
checking for lock-free compare-and-swap and fetch-and-add primitives... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bdw-gc.pc
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
=== configuring in libatomic_ops (/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98/gc/libatomic_ops)
configure: WARNING: no configuration information is in libatomic_ops
/usr/bin/make -C gc check
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98/gc'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98/gc'
./../install-sh: line 521: syntax error near unexpected token `}'
./../install-sh: line 521: `est -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&'
./../install-sh: line 521: syntax error near unexpected token `}'
./../install-sh: line 521: `est -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&'
./../install-sh: line 521: syntax error near unexpected token `}'
./../install-sh: line 521: `est -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&'
make[2]: *** [cord/.dirstamp] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libatomic_ops/src/.deps/.dirstamp] Error 2
make[2]: *** [libatomic_ops/src/.dirstamp] Error 2
./../install-sh: line 521: syntax error near unexpected token `}'
./../install-sh: line 521: `est -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&'
make[2]: *** [cord/.deps/.dirstamp] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_ppcports_graphics_asymptote/asymptote/work/asymptote-2.98/gc'
make[1]: *** [check-recursive] Error 1
comment:12 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
On my macOS 12 system, I got errors when building this port, but retrying with build.jobs=1 without cleaning allowed it to succeed, so maybe there is a parallel build problem.

It also misses a required dependency: