#68352 closed defect (invalid)

cctools @949.0.1_3+llvm10: error: unknown type name 'i386_thread_state_t'

Reported by: shpokas Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: cctools

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:archivefetch --->  cctools-949.0.1_3+llvm10.darwin_23.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch cctools-949.0.1_3+llvm10.darwin_23.arm64.tbz2 from https://cph.dk.packages.macports.org/cctools
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

OS version - Sonoma 14.0
Architecture - arm64 (Apple Silicon)

Attachments (1)

main.log.bz2 (7.9 KB) - added by shpokas 14 months ago.
build log file

Download all attachments as: .zip

Change History (5)

Changed 14 months ago by shpokas

Attachment: main.log.bz2 added

build log file

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: missing file removed
Port: cctools added
Summary: Failed to build cctools - missing source archivecctools @949.0.1_3+llvm10: error: unknown type name 'i386_thread_state_t'

There is no missing source archive. There is a "missing" binary archive, but that's because we haven't started making them for Darwin 23 yet. Missing binary archives are not a problem; MacPorts builds from source on your system in that case.

The log shows the reason for the build failure is:

:info:build In file included from ../bytesex.c:209:
:info:build ../../include/stuff/bytesex.h:237:5: error: unknown type name 'i386_thread_state_t'
:info:build     i386_thread_state_t *cpu,
:info:build     ^
:info:build ../bytesex.c:1378:1: error: unknown type name 'i386_thread_state_t'
:info:build i386_thread_state_t *cpu,
:info:build ^
:info:build 2 errors generated.
:info:build make[2]: *** [bytesex.o] Error 1

comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

The log also says:

:debug:sysinfo Xcode none, CLT none

Either Xcode 15 or the Xcode 15 version of the command line tools are required to build things on macOS 14.

comment:3 Changed 14 months ago by shpokas

Indeed, thanks for correcting me. Te command "xcode-select --install" shows Command line tools as already installed, but command "pkgutil --pkg-info=com.apple.pkg.CLTools_Executables" cannot find them. I downloaded and reinstalled Command line tools, verified that above commands both work and then I could compile required software. So there is no issue with cctools package.

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.