[MacPorts] #69173: port fails to upgrade to 2.9.0

MacPorts noreply at macports.org
Wed Jan 24 14:52:05 UTC 2024


#69173: port fails to upgrade to 2.9.0
------------------------+-----------------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.0
 Keywords:              |       Port:  Macports itself
------------------------+-----------------------------
 MacOS Sonoma 14.3, Xcode-15.2, working MacPorts installation under 2.8.1.

 As usually, {{{port}}} gets weird ideas about SDK:
 {{{
 $ sudo port -v selfupdate
 --->  Updating MacPorts base sources using rsync

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done
 ./

 sent 66 bytes  received 98 bytes  109.33 bytes/sec
 total size is 114413568  speedup is 697643.71
 MacPorts base version 2.8.1 installed,
 MacPorts base version 2.9.0 downloaded.
 --->  Updating the ports tree
 Synchronizing local ports tree from
 rsync://rsync.macports.org/macports/release/tarballs/ports.tar

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done
 ./

 sent 68 bytes  received 99 bytes  111.33 bytes/sec
 total size is 125065216  speedup is 748893.51

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done
 ./

 sent 68 bytes  received 99 bytes  111.33 bytes/sec
 total size is 23532157  speedup is 140911.12
 --->  MacPorts base is outdated, installing new version 2.9.0
 Installing new MacPorts release in /opt/local as root:admin; permissions
 0755

 checking build system type... x86_64-apple-darwin23.3.0
 checking host system type... x86_64-apple-darwin23.3.0
 checking target system type... x86_64-apple-darwin23.3.0
 checking MacPorts version... 2.9.0
 checking for sw_vers... /usr/bin/sw_vers
 checking for defaults... /usr/bin/defaults
 checking for xcode-select... /usr/bin/xcode-select
 checking macOS version... 14.3
 checking Xcode location... /Applications/Xcode.app/Contents/Developer
 checking Xcode version... 15.2
 checking whether the C compiler works... no
 configure: error: in
 `/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 Command failed: CC=/usr/bin/cc
 SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk ./configure
 --prefix=/opt/local --with-install-user=root --with-install-group=admin
 --with-directory-mode=0755 --enable-readline &&
 SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk make -j20
 SELFUPDATING=1 && make install SELFUPDATING=1
 Exit code: 77
 Error: Error installing new MacPorts base: command execution failed
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new
 MacPorts base: command execution failed
 $ ll /Library/Developer/CommandLineTools/SDKs/
 total 0
 drwxr-xr-x  4 root  admin  128 Jan 22 16:26 ./
 drwxr-xr-x  4 root  admin  128 Jan 28  2023 ../
 drwxr-xr-x  3 root  admin   96 Jan 28  2023 MacOSX.sdk/
 lrwxr-xr-x  1 root  admin   10 Jan 22 16:26 MacOSX14.sdk@ -> MacOSX.sdk
 }}}

 I don't need to state that C compiler works:
 {{{
 $ pwd
 /Users/ur20980/src
 $ cat t1b.c
 #include <stdio.h>

 int main(void) {
   printf("Hello\n");
   return 0;
 }
 $ cc -o t1b t1b.c
 $ ./t1b
 Hello
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69173>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list