Opened 4 weeks ago
Last modified 3 weeks ago
#70733 new defect
gdb upgrade fails to build after selfupdate
Reported by: | TheLastLovemark | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ||
Port: | gdb |
Description
port upgrade gdb
fails to build on macOS 10.13.6 after performing port -fv selfupdate
The active installed version is gdb @13.2_0+multiarch+python311
The log file is attached.
Attachments (2)
Change History (10)
Changed 4 weeks ago by TheLastLovemark
Attachment: | gdb_upgrade-main.log added |
---|
comment:1 Changed 4 weeks ago by jmroot (Joshua Root)
comment:2 follow-up: 3 Changed 4 weeks ago by TheLastLovemark
Not 100% sure how that happened, but I have a hunch.
Do you know what specifically uses that version of clang
?
I do remember installing an additional CLT SDK, per the solution to an old ticket from years ago. Could that be the culprit behind the mystery clang version??
Please see #59938
comment:3 Changed 4 weeks ago by jmroot (Joshua Root)
Replying to TheLastLovemark:
Do you know what specifically uses that version of
clang
?
Probably everything that doesn't set use_xcode yes
, since it says it's installed in /Library/Developer/CommandLineTools/usr/bin
and that will be what gets run by /usr/bin/clang
when DEVELOPER_DIR='/Library/Developer/CommandLineTools'
. You might try reinstalling the CLTs?
comment:4 Changed 4 weeks ago by TheLastLovemark
pkgutil --pkg-info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo} 2>/dev/null | sed -n 's/^version: //p'
reveals
10.1.0.0.1.1539992718
before the reinstall.
I have reinstalled the CLTs as instructed.
10.1.0.0.1.1539992718
after the reinstall.
Should I retry to install gdb now?
Changed 4 weeks ago by TheLastLovemark
Attachment: | gdb_upgrade-after_CLT_reinstall-main.log added |
---|
comment:5 Changed 4 weeks ago by TheLastLovemark
Failed again.
Log file is attached as gdb_upgrade-after_CLT_reinstall-main.log
.
comment:6 Changed 4 weeks ago by jmroot (Joshua Root)
It seems that that is just the clang version that the CLTs for Xcode 10.1 install, which doesn't match the version in Xcode itself for some reason.
Xcode 9.4.1 installs clang-902.0.39.2 and Xcode 10.0 has clang-1000.11.45.2. You seem to have something in between with clang-1000.10.44.4, despite the detected versions being
Xcode 10.1, CLT 10.1.0.0.1.1539992718
as per the log.