[MacPorts] #71085: port -dv selfupdate fails for Macports 2.10.2, Sonoma 14.7, xcode 16
MacPorts
noreply at macports.org
Thu Oct 10 18:43:22 UTC 2024
#71085: port -dv selfupdate fails for Macports 2.10.2, Sonoma 14.7, xcode 16
-----------------------+--------------------
Reporter: kcap-tha | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.10.1
Resolution: | Keywords:
Port: |
-----------------------+--------------------
Changes (by ryandesign):
* keywords: selfupdate failure =>
Old description:
> A port selfupdate is failing when trying to move from Macports 2.10.1 to
> 2.10.2
> MacOS Sonoma: 14.7
> CPU: 8-Core Intel Core i9
> XCode: 16
>
> I have tried various things to resolve my issue.
> I can't even run a sudo port clean --all , or even clean a single port.
> I started with the base MacPorts 2.10.1 for Sonoma 14.7. I migrated from
> a previous MacPorts version that was on a previous Sonoma minor version.
> I have tried the hot list item :
> https://trac.macports.org/wiki/ProblemHotlist#clts16
> with no help.
>
> Lines near the error where the selfupdate dies.
> {{{
> In file included from
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/exception_types.h:192:
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach_debug/ipc_info.h:99:2:
> error: unknown type name 'mach_port_urefs_t'
> 99 | mach_port_urefs_t iin_urefs; /* user-references */
> | ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach_debug/ipc_info.h:110:2:
> error: unknown type name 'mach_port_name_t'; did you mean 'mach_port_t'?
> 110 | mach_port_name_t iitn_lchild; /* name of left child */
> | ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_mach_port_t.h:50:30:
> note: 'mach_port_t' declared here
> 50 | typedef __darwin_mach_port_t mach_port_t;
> | ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> /usr/bin/cc -c -I"."
> -I/opt/local/var/macports/sources/selfupdate/base/vendor/tcl/unix
> -I/opt/local/var/macports/sources/selfupdate/base/vendor/tcl/generic
> -I/opt/local/var/macports/sources/selfupdate/base/vendor/tcl/libtommath
> -O2 -pipe -Wall -Wpointer-arith -fno-common -DBUILD_tcl
> -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\"
> -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\"
> -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
> -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1
> -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
> -DHAVE_HIDDEN=1 -DMAC_OSX_TCL=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_VFORK=1
> -DHAVE_POSIX_SPAWNP=1 -DHAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1
> -DHAVE_POSIX_SPAWNATTR_SETFLAGS=1 -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1
> -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4
> -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1
> -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1
> -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1
> -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1
> -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1
> -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1
> -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1
> -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1
> -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1
> -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1
> -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1
> -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1
> -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1
> -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DTCL_DEFAULT_ENCODING=\"utf-8\"
> -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1
> -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1
> -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
> -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 -DMP_FIXED_CUTOFFS -DMP_NO_STDINT
> /opt/local/var/macports/sources/selfupdate/base/vendor/tcl/generic/tclOOInfo.c
> 20 errors generated.
> make[2]: *** [tclUnixTime.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> cp src/usr.bin/signify/signify.1 .
> install -d /opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
> destroot/opt/local/libexec/macports/bin
> /opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
> destroot/opt/local/libexec/macports/share/man/man1
> install -S -m 755 signify
> /opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
> destroot/opt/local/libexec/macports/bin
> install -S -m 644 signify.1
> /opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
> destroot/opt/local/libexec/macports/share/man/man1
> make[1]: *** [all-tcl] Error 2
> make: *** [all] Error 1
> Command failed: CC=/usr/bin/cc
> SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk ./configure
> --prefix=/opt/local --with-install-user=root --with-install-group=wheel
> --with-directory-mode=0755 --enable-readline &&
> SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk make -j16
> SELFUPDATING=1 && make install SELFUPDATING=1
> Exit code: 2
> 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
> }}}
>
> I thought it might be an issue with:
> /opt/local/etc/macports/macports.conf
> but I have the universal_archs and build_arch lines commented out as
> described here:
> https://trac.macports.org/wiki/Migration
>
> Thanks for any insight here.
New description:
A port selfupdate is failing when trying to move from Macports 2.10.1 to
2.10.2 \\
MacOS Sonoma: 14.7 \\
CPU: 8-Core Intel Core i9 \\
XCode: 16
I have tried various things to resolve my issue. \\
I can't even run a `sudo port clean --all`, or even clean a single port.
\\
I started with the base MacPorts 2.10.1 for Sonoma 14.7. I migrated from a
previous MacPorts version that was on a previous Sonoma minor version. \\
I have tried the hot list item: ProblemHotlist#clts16
with no help.
Lines near the error where the selfupdate dies.
{{{
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/exception_types.h:192:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach_debug/ipc_info.h:99:2:
error: unknown type name 'mach_port_urefs_t'
99 | mach_port_urefs_t iin_urefs; /* user-references */
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach_debug/ipc_info.h:110:2:
error: unknown type name 'mach_port_name_t'; did you mean 'mach_port_t'?
110 | mach_port_name_t iitn_lchild; /* name of left child */
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_mach_port_t.h:50:30:
note: 'mach_port_t' declared here
50 | typedef __darwin_mach_port_t mach_port_t;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
/usr/bin/cc -c -I"."
-I/opt/local/var/macports/sources/selfupdate/base/vendor/tcl/unix
-I/opt/local/var/macports/sources/selfupdate/base/vendor/tcl/generic
-I/opt/local/var/macports/sources/selfupdate/base/vendor/tcl/libtommath
-O2 -pipe -Wall -Wpointer-arith -fno-common -DBUILD_tcl
-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\"
-DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1
-DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DH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KCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1
-DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1
-DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1
-DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1
-D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1
-DMP_FIXED_CUTOFFS -DMP_NO_STDINT
/opt/local/var/macports/sources/selfupdate/base/vendor/tcl/generic/tclOOInfo.c
20 errors generated.
make[2]: *** [tclUnixTime.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cp src/usr.bin/signify/signify.1 .
install -d /opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
destroot/opt/local/libexec/macports/bin
/opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
destroot/opt/local/libexec/macports/share/man/man1
install -S -m 755 signify
/opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
destroot/opt/local/libexec/macports/bin
install -S -m 644 signify.1
/opt/local/var/macports/sources/selfupdate/base/vendor/vendor-
destroot/opt/local/libexec/macports/share/man/man1
make[1]: *** [all-tcl] Error 2
make: *** [all] Error 1
Command failed: CC=/usr/bin/cc
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk ./configure
--prefix=/opt/local --with-install-user=root --with-install-group=wheel
--with-directory-mode=0755 --enable-readline &&
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk make -j16
SELFUPDATING=1 && make install SELFUPDATING=1
Exit code: 2
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
}}}
I thought it might be an issue with: \\
/opt/local/etc/macports/macports.conf \\
but I have the `universal_archs` and `build_arch` lines commented out as
described here: \\
wiki:Migration
Thanks for any insight here.
--
--
Ticket URL: <https://trac.macports.org/ticket/71085#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list