[MacPorts] #72024: asymptote @2.96 fails to build: ModuleNotFoundError: No module named 'PyQt5'

MacPorts noreply at macports.org
Mon Feb 10 08:42:43 UTC 2025


#72024: asymptote @2.96 fails to build: ModuleNotFoundError: No module named
'PyQt5'
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  asymptote     |
---------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:10 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72024#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list