Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#71454 closed defect (duplicate)

lrzsz build error, MacOS 15.1.1

Reported by: jptrainor (Jim Trainor) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: lrzsz

Description (last modified by jmroot (Joshua Root))

lrzsz fails the configure step on MacOs 15.1.1, Xcode 16.1

configure: error: installation or configuration problem: C compiler cannot create executables.

log fragments:

version:1
:debug:main Starting logging for lrzsz @0.12.20_4
:debug:sysinfo macOS 15.1.1 (darwin/24.1.0) arch i386
:debug:sysinfo MacPorts 2.10.5
:debug:sysinfo Xcode 16.1, CLT 16.1.0.0.1.1729049160
:debug:sysinfo SDK 15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
:debug:main Fetching lrzsz-0.12.20_4.darwin_24.x86_64.tbz2 archive size

:info:configure checking whether the C compiler (/usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 -L/Volumes/ExtStorage/local/lib
-Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64) works... no
:info:configure configure: error: installation or configuration problem: C compiler cannot create executables.
:info:configure Command failed:  cd
"/Volumes/ExtStorage/local/var/macports/build/_Volumes_ExtStorage_local_var_macports_sources_rsync.macports.org_macports_release\
_tarballs_ports_comms_lrzsz/lrzsz/work/lrzsz-0.12.20" && ./configure --prefix=/Volumes/ExtStorage/local
--program-transform-name=s/l// --mandir=/Volumes/ExtStorage/local/share/man --disable-nls
:info:configure Exit code: 1
:error:configure Failed to configure lrzsz: consult

Change History (4)

comment:1 Changed 18 months ago by jptrainor (Jim Trainor)

Here is the error from the config.log:

configure:1000: checking whether the C compiler (/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 -L/Volumes/ExtStorage/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64) works
configure:1014: /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 -I/Volumes/ExtStorage/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -L/Volumes/ExtStorage/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 conftest.c  1>&5
+ eval '${CC-cc}' -o conftest '$CFLAGS' '$CPPFLAGS' '$LDFLAGS' 'conftest.$ac_ext' '$LIBS' '1>&5'
++ /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 -I/Volumes/ExtStorage/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -L/Volumes/ExtStorage/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 conftest.c
configure:1011:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 1011 | main(){return(0);}
      | ^
      | int
1 error generated.
configure: failed program was:
#line 1010 "configure"
#include "confdefs.h"
main(){return(0);}
Last edited 18 months ago by jmroot (Joshua Root) (previous) (diff)

comment:2 Changed 18 months ago by reneeotten (Renee Otten)

Resolution: duplicate
Status: newclosed

comment:3 Changed 18 months ago by jmroot (Joshua Root)

Description: modified (diff)
Summary: build error, MacOS 15.1.1lrzsz build error, MacOS 15.1.1

comment:4 Changed 18 months ago by jmroot (Joshua Root)

Specifically a duplicate of #70755.

Note: See TracTickets for help on using tickets.