Opened 11 years ago

Closed 9 years ago

#41771 closed defect (worksforme)

The domain/default pair of (/Applications/Xcode.app/Contents/Developer/Applications/Xcode.app/Contents/Info, CFBundleShortVersionString) does not exist

Reported by: nivedita900@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

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

Hello, I am trying to install wine 1.2 on a Mac 10.8 (Mountain Lion) machine. The installation is failing trying to install zlib with the following error :

The domain/default pair of (/Applications/Xcode.app/Contents/Developer/Applications/Xcode.app/Contents/Info, CFBundleShortVersionString) does not exist

I read through the solutions mentioned in previous tickets regarding the /Developer in the macports.conf file. But in this case that doesn't seem to be the issue.

xcode-select --print-path
/Applications/Xcode.app/Contents/Developer

I have also commented out the developer_dir entry in the conf file. I am not sure why the installation is searching under a wrong path; /Applications/Xcode.app/Contents/Developer/Applications/Xcode.app/Contents/Info Could you please suggest what needs to be done? Also is it fine to install wine 1.2 on Mac 10.8? I am not sure if there will be any backward compatibility issues if I install wine-devel 1.7.7 which is why I am trying to install wine 1.2.

Thank you very much.

Attachments (1)

zlib.log (2.1 KB) - added by nivedita900@… 11 years ago.

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by nivedita900@…

Attachment: zlib.log added

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

Description: modified (diff)
Keywords: zlib CFBundleShortVersionString removed

What happens when you run:

which xcodebuild
xcodebuild -version

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

MacPorts currently provides wine 1.6.1, wine-devel 1.7.8, and wine-crossover 13.0.0 (which is based on wine 1.7.4). If you wanted to install earlier versions, you would have to follow the instructions in wiki:howto/InstallingOlderPort. But you won't succeed without some extra work. freetype was recently updated to 2.5.1, and lots of ports, including the wine ports, were not compatible with it; we have a local patch in the wine 1.6.1 port to fix this, but if you backdate the port to an earlier version that would remove the patch as well. So you'd either have to bring the patch back to wine 1.2, possibly rewriting it in the process, or also backdate freetype to an earlier version. And you may run into other issues as well; installing older versions of ports is not recommended and not supported. The wine developers in particular seem to be pretty good about releasing new versions that fix bugs and don't add too many new ones, so I would suggest using the current version of any of the wine ports.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Hm, I fail to see why that error message would be fatal... I used to see similar messages printed in my Console.app occasionally, unconnected from any MacPorts build failure...

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

As far as I can tell, the problem is occurring because the zlib port uses the xcodeversion portgroup; the xcodeversion portgroup accesses the xcodeversion variable, which causes MacPorts base to try to fill in the value of that variable by running xcodebuild -version, but for some reason on your system that's failing with that error message. So I want to verify, by having you run that command manually, that it also fails. Assuming it does, we need to figure out how to fix your xcodebuild program. You could try reinstalling the Xcode command line tools.

comment:6 Changed 11 years ago by nivedita900@…

The output of xcodebuild -version is Xcode 5.0.1 Build version 5A2053

As per your suggestion we have decided to go ahead and use the latest wine-devel version instead of trying to install wine 1.2 on Mac 10.8.

Thank you very much for helping with this!

comment:7 in reply to:  6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to nivedita900@…:

The output of xcodebuild -version is Xcode 5.0.1 Build version 5A2053

Ok, that's fine. Note that Xcode 5.0.2 is available, but 5.0.1 is fine.

As per your suggestion we have decided to go ahead and use the latest wine-devel version instead of trying to install wine 1.2 on Mac 10.8.

So wait... you were able to install the wine-devel port now? And its dependency zlib? What changed since the time you filed this ticket when it was failing?

comment:8 Changed 9 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

It's not clear that anything needs to happen here.

Note: See TracTickets for help on using tickets.