Opened 8 years ago

Closed 7 years ago

#53864 closed defect (worksforme)

can't set "compiler.blacklist": couldn't determine build number of compiler "llvm-gcc-4.2"

Reported by: MooersLab (Blaine Mooers) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

I get the following error when upgrading Error: Unable to open port: can't set "compiler.blacklist": couldn't determine build number of compiler "llvm-gcc-4.2" . I have the compiler in question installed. I have a current version of Xcode with command line tools. I downloaded and replaced the command line tools, but got no change in behavior. I tried sudo port -d sync which reported DEBUG: Copying /Users/blaine-mooers/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences. I uninstalled gcc6. I then could not re-install gcc6. Instead, I got the first error message. Removal of gcc6 did not permit completion of the sudo port -d sync command. I uninstalled the inactive ports. I uninstalled the the leaves. I ran selfupdate and upgrade outdated again. I get the first error message again. I have attached the output of sudo port -d upgrade outdated.

Attachments (1)

stdout2.txt (119.6 KB) - added by MooersLab (Blaine Mooers) 8 years ago.
output of sudo port -d upgrade outdated

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by MooersLab (Blaine Mooers)

Attachment: stdout2.txt added

output of sudo port -d upgrade outdated

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Determining the build number of llvm-gcc-4.2 should only be relevant with versions of Xcode that include that compiler. You're on Yosemite, and none of the versions of Xcode that are compatible with Yosemite include that compiler, so this situation shouldn't arise.

Please verify that the file /usr/bin/llvm-gcc-4.2 and the directory /Developer do not exist on your system.

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

I'll close this since it seems to be a problem with the user's system, not a MacPorts bug.

Note: See TracTickets for help on using tickets.