[MacPorts] #74171: tcl9 @9.0.4 cannot find its own library during the build
MacPorts
noreply at macports.org
Wed Jul 1 07:50:22 UTC 2026
#74171: tcl9 @9.0.4 cannot find its own library during the build
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: | Port: tcl9
--------------------------+--------------------
Now upstream has broken this:
{{{
:info:build checking for tclsh...
/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix/tclsh
:info:build configure: creating ./config.status
:info:build config.status: creating Makefile
:info:build config.status: creating pkgIndex.tcl
:info:build configure: WARNING: unrecognized options: --with-tclinclude,
--enable-corefoundation, --enable-man-symlinks, --with-system-libtommath,
--enable-shared
:info:build Configuring package 'thread3.0.6'
:info:build configure: WARNING: unrecognized options: --enable-
corefoundation, --enable-man-symlinks, --with-system-libtommath
:info:build checking TEA configuration... ok (TEA 3.13)
:info:build configure: configuring thread 3.0.6
:info:build checking system version... Darwin-10.8.0
:info:build checking for Tcl configuration... found
/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix/tclConfig.sh
:info:build checking for gcc... /opt/local/bin/gcc-mp-16
:info:build checking whether the C compiler works... yes
:info:build checking for C compiler default output file name... a.out
:info:build checking for suffix of executables...
:info:build checking whether we are cross compiling... no
:info:build checking for suffix of object files... o
:info:build checking whether the compiler supports GNU C... yes
:info:build checking whether /opt/local/bin/gcc-mp-16 accepts -g... yes
:info:build checking for /opt/local/bin/gcc-mp-16 option to enable C23
features... none needed
:info:build checking for existence of
/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix/tclConfig.sh...
loading
:info:build checking platform... unix
:info:build configure: --exec-prefix defaulting to TCL_EXEC_PREFIX
/opt/local
:info:build checking for gcc... (cached) /opt/local/bin/gcc-mp-16
:info:build checking whether the compiler supports GNU C... (cached) yes
:info:build checking whether /opt/local/bin/gcc-mp-16 accepts -g...
(cached) yes
:info:build checking for /opt/local/bin/gcc-mp-16 option to enable C23
features... (cached) none needed
:info:build checking how to run the C preprocessor... /opt/local/bin/gcc-
mp-16 -E
:info:build checking whether make sets $(MAKE)... yes
:info:build checking for ranlib... ranlib
:info:build checking for stdio.h... yes
:info:build checking for stdlib.h... yes
:info:build checking for string.h... yes
:info:build checking for inttypes.h... yes
:info:build checking for stdint.h... yes
:info:build checking for strings.h... yes
:info:build checking for sys/stat.h... yes
:info:build checking for sys/types.h... yes
:info:build checking for unistd.h... yes
:info:build checking if the compiler understands -pipe... yes
:info:build checking whether byte ordering is bigendian... yes
:info:build checking for NaviServer/AOLserver configuration... none found
:info:build checking for Tcl public headers...
/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/generic
:info:build checking for pthread_mutex_init in -lpthread... yes
:info:build checking for building with threads... yes (default)
:info:build checking how to build libraries... shared
:info:build checking for ranlib... (cached) ranlib
:info:build checking if 64bit support is requested... no
:info:build checking if 64bit Sparc VIS support is requested... no
:info:build checking if compiler supports visibility "hidden"... yes
:info:build checking if rpath support is requested... yes
:info:build checking system version... (cached) Darwin-10.8.0
:info:build checking for ar... ar
:info:build checking if ld accepts -search_paths_first flag... yes
:info:build checking for cast to union support... yes
:info:build checking for stdbool.h... yes
:info:build checking for required early compiler flags... none
:info:build checking for 64-bit integer type... (cached) long long
:info:build checking for 64-bit time_t... no
:info:build checking if _TIME_BITS=64 enables 64-bit time_t... no
:info:build checking for struct dirent64... no
:info:build checking for DIR64... no
:info:build checking for struct stat64... yes
:info:build checking for open64... no
:info:build checking for lseek64... no
:info:build checking for off64_t... no
:info:build checking for build with symbols... no
:info:build checking for egrep -e... /usr/bin/grep -E
:info:build checking for tclsh...
/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix/tclsh
:info:build checking for building with zipfs... no
:info:build checking for tclsh9.0... no
:info:build checking for tclsh90... no
:info:build checking for tclsh... /usr/bin/tclsh
:info:build checking /usr/bin/tclsh is Tcl 9... no
:info:build checking
/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix/tclsh for
Tcl 9... dyld: Library not loaded: /opt/local/lib/tcl9/libtcl9.0.dylib
:info:build Referenced from:
/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix/tclsh
:info:build Reason: image not found
:info:build no
:info:build configure: error: cannot find a usable native Tcl 9 tclsh.
Either set TCLSH_NATIVE or use configure with --disable-zipfs
:info:build make: *** [configure-packages] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix'
:info:build Command failed: cd
"/opt/local/var/macports/build/tcl9-ead21d0a/work/tcl9.0.4/unix" &&
/usr/bin/make -j2 -w all
:info:build Exit code: 2
}}}
Of course the library does not exist in the prefix, it is in the build
directory.
--
Ticket URL: <https://trac.macports.org/ticket/74171>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list