Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#53866 closed defect (invalid)

xorg-libX11 1.6.4_0 fails on 10.8.5 with libc++

Reported by: 1-61803 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens)
Port: xorg-libX11

Description (last modified by michaelld (Michael Dickens))

xorg-libX11 1.6.4_0 fails to configure on 10.8.5, when set to build from source with libc++.

:info:configure checking for cpp... /usr/bin/cpp
:info:configure checking if /usr/bin/cpp requires -undef... xcrun: Error: could not stat active 
Xcode path '/Users/test/Desktop/Xcode.app/Contents/Developer'. (Permission denied)
:info:configure xcrun: Error: could not stat active Xcode path '/Users/test/Desktop/Xcode.
app/Contents/Developer'. (Permission denied)
:info:configure xcrun: Error: could not stat active Xcode path '/Users/test/Desktop/Xcode.
app/Contents/Developer'. (Permission denied)
:info:configure configure: error: /usr/bin/cpp defines unix with or without -undef.  I don't know 
what to do.

It does build on the same system though, a 10.8 vanilla vm, when set to build from source with libstdc++, only adjustment being changing the path with xcode-select.

There's a similar ticket under 10.12, closed as worksforme #52335. I attached the logs.

Attachments (2)

main.log (93.3 KB) - added by 1-61803 7 years ago.
config.log (51.7 KB) - added by 1-61803 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by 1-61803

Attachment: main.log added

Changed 7 years ago by 1-61803

Attachment: config.log added

comment:1 Changed 7 years ago by kencu (Ken)

What is Xcode doing on your desktop? This looks like a permissions thing, rather than a libc++ thing....try using an Xcode in an accessible place rather than in your personal home folder.

comment:2 Changed 7 years ago by michaelld (Michael Dickens)

Description: modified (diff)
Summary: xorg-libX11 fails on 10.8 with libc++xorg-libX11 1.6.4_0 fails on 10.8.5 with libc++

comment:3 Changed 7 years ago by michaelld (Michael Dickens)

I have a customer with roughly this same issue, except using an actual (clean) Mac OS X 10.8.5 install on a laptop. The actual error is:

:info:configure checking for cpp... /usr/bin/cpp
:info:configure checking if /usr/bin/cpp requires -undef... no
:info:configure checking if /usr/bin/cpp requires -traditional... configure: error: /usr/bin/cpp does not preserve whitespace with or without -traditional.  I don't know what to do.

Similar, but different.

comment:4 Changed 7 years ago by michaelld (Michael Dickens)

Cc: michaelld added

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

Resolution: invalid
Status: newclosed

Replying to kencu:

What is Xcode doing on your desktop? This looks like a permissions thing, rather than a libc++ thing....try using an Xcode in an accessible place rather than in your personal home folder.

Yes. Put Xcode in your Applications folder.

comment:6 Changed 7 years ago by 1-61803

Darn, that was it (I used a different snapshot in this vm). Thanks.

Note: See TracTickets for help on using tickets.