[MacPorts] #71722: libt3config @1.0.0+universal: sequoia 15.2: reporting error in configure: libtool not working for C.
MacPorts
noreply at macports.org
Thu Jan 2 07:31:21 UTC 2025
#71722: libt3config @1.0.0+universal: sequoia 15.2: reporting error in configure:
libtool not working for C.
--------------------+-------------------------
Reporter: drblez | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: libt3config
--------------------+-------------------------
{{{
---> Verifying checksums for libt3config
---> Checksumming libt3config-1.0.0.tar.bz2
---> Extracting libt3config
---> Extracting libt3config-1.0.0.tar.bz2
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libt3config/libt3config/work"
&& /usr/bin/bzip2 -dc
'/opt/local/var/macports/distfiles/libt3config/libt3config-1.0.0.tar.bz2'
| /usr/bin/tar -xf -
---> Configuring libt3config
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libt3config/libt3config/work/libt3config-1.0.0"
&& ./configure --prefix=/opt/local --without-gettext
Checking for working make (make)... yes
Checking for working C compiler (/usr/bin/clang)... yes
Checking for working libtool C compile... no
libtool not working for C. See config.log for errors.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libt3config/libt3config/work/libt3config-1.0.0"
&& ./configure --prefix=/opt/local --without-gettext
Exit code: 1
}}}
---
{{{
Using settings:
LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
-arch arm64
CC=/usr/bin/clang
CFLAGS=-pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
LIBTOOL=/opt/local/bin/glibtool
----------------------------------
Checking for working make (make)...
Running: make -f .Makefile '.config_base'
touch .config_base
yes
----------------------------------
Checking for working C compiler (/usr/bin/clang)...
Running: make -f .Makefile 'CFLAGS=-pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
arm64' '.config'
/usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-c -o .config.o .config.c
/usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
-arch arm64 -o .config .config.o
yes
----------------------------------
Checking for working libtool C compile...
Running: make -f .Makefile '.configlt.la'
/opt/local/bin/glibtool --mode=compile --tag=CC /usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-c -o .configlt.lo .configlt.c -shared
glibtool: compile: /usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-c .configlt.c -fno-common -DPIC -o .libs/.configlt.o
/opt/local/bin/glibtool --mode=link --tag=CC /usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
-arch arm64 -o libconfiglt.la .configlt.lo -rpath /usr/lib -shared
glibtool: link: /usr/bin/clang -dynamiclib -Wl,-undefined
-Wl,dynamic_lookup -Wl,-no_fixup_chains -o .libs/libconfiglt.0.dylib
.libs/.configlt.o -L/opt/local/lib -Os -arch arm64
-Wl,-headerpad_max_install_names -Wl,-syslibroot
-Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-install_name /usr/lib/libconfiglt.0.dylib -compatibility_version 1
-current_version 1.0
ld: Shared cache eligible dylibs cannot use '-undefined dynamic_lookup'.
Remove '-undefined dynamic_lookup' or opt out of the shared cache using
the build setting 'LD_SHARED_CACHE_ELIGIBLE=NO' (or linker flag
'-not_for_dyld_shared_cache')
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [libconfiglt.la] Error 1
no
Source of the failed compile:
1 int main(int argc, char *argv[]) {
2 return 0;
3 }
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71722>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list