[MacPorts] #71454: build error, MacOS 15.1.1

MacPorts noreply at macports.org
Tue Dec 3 22:13:37 UTC 2024


#71454: build error, MacOS 15.1.1
------------------------+--------------------
  Reporter:  jptrainor  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  lrzsz      |
------------------------+--------------------

Comment (by jptrainor):

 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);}

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


More information about the macports-tickets mailing list