Opened 11 years ago

Closed 7 years ago

#42150 closed defect (worksforme)

Aqua applications not compiling on Mavericks / Xcode 5.0.2 (ibtool error)

Reported by: Greisby (Greisberger Christophe) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: ryandesign (Ryan Carsten Schmidt)
Port: CronniX iTerm2 ManOpen Platypus PRICE-aqua Smultron SSHKeychain

Description

I wanted to install the CronniX port, and I had the later described error. I tried to install some other aqua applications. Some work (for example TeXShop3), other not. And I had always the same error type: error in the ibtool command.

:info:build     /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --stri
p /HDD/opt/local/var/macports/build/_HDD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CronniX/CronniX/work/trunk/build/Deployment/CronniX.app/Contents/Resources/Welsh.lproj/MainMenu.nib --output-format human-readable-text /HDD/opt/local/var/macports/build/_HDD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CronniX/CronniX/work/trunk/Welsh.lproj/MainMenu.nib
:info:build /* com.apple.ibtool.errors */
:info:build /HDD/opt/local/var/macports/build/_HDD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CronniX/CronniX/work/trunk/Welsh.lproj/MainMenu.nib: error: ibtool could not strip "MainMenu.nib" because it could not write to the path "/HDD/opt/local/var/macports/build/_HDD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_CronniX/CronniX/work/trunk/build/Deployment/CronniX.app/Contents/Resources/Welsh.lproj/MainMenu.nib".

I have no idea why this command fails. Executing the command in a Terminal works.

Attached, the full log for CronniX.

Attachments (1)

CronniX_build.log (78.5 KB) - added by Greisby (Greisberger Christophe) 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by Greisby (Greisberger Christophe)

Attachment: CronniX_build.log added

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

Cc: ryandesign@… added

CronniX builds fine for me on Mavericks. Have you installed the Xcode command line tools by running xcode-select --install? If not, do that.

comment:2 in reply to:  1 Changed 11 years ago by Greisby (Greisberger Christophe)

Replying to ryandesign@…:

CronniX builds fine for me on Mavericks. Have you installed the Xcode command line tools by running xcode-select --install? If not, do that.

Yes i did. I installed lots of other ports, and they all installed fine, except these aqua ones.

Executing these failed ibtool commands with sudo on the command line also works. I have no idea why it fails in ports. Really strange.

comment:3 in reply to:  1 Changed 11 years ago by Greisby (Greisberger Christophe)

Replying to ryandesign@…:

CronniX builds fine for me on Mavericks. Have you installed the Xcode command line tools by running xcode-select --install? If not, do that.

Sorry, NO i didn't. I mixed with "xcodebuild -license"
But command line tools seems to be installed, and Xcode to be selected:

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
$ sudo xcode-select -p
/Applications/Xcode.app/Contents/Developer
$ which xcodebuild
/usr/bin/xcodebuild
$ xcodebuild -version
Xcode 5.0.2
Build version 5A3005

The command line tools are also selected int Xcode's preferences window.

I tried to execute this command anyway, but I get an error during the "Finding Software" progress:

Can't install the software because it is not currently available from the Software Update server.

Perhaps because they are already installed.
Anyway, I'll try this: http://apple.stackexchange.com/questions/110463/xcode-select-install-not-available-on-update-server to really make sure it's not half installed.

comment:4 Changed 11 years ago by Greisby (Greisberger Christophe)

Well, reinstalled the command line tools, and it still fails with the same errors.

comment:5 Changed 11 years ago by mf2k (Frank Schima)

Did you clean the ports again first?

comment:6 Changed 11 years ago by Greisby (Greisberger Christophe)

Yes, of course.

comment:7 Changed 7 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: newclosed

As this was not encountered again, it might have been a bug in Xcode or Command Line Tools.

Note: See TracTickets for help on using tickets.