Opened 5 years ago

Closed 5 years ago

#59193 closed defect (fixed)

serf @1.3.9_2: trace mode: xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun

Reported by: Ionic (Mihai Moldovan) Owned by: Mihai Moldovan <ionic@…>
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: tracemode Cc:
Port: serf1

Description

:info:build scons: Building targets ...
:info:build MACOSX_DEPLOYMENT_TARGET=10.9 /usr/bin/clang -o context.o -c -Os -arch x86_64 -arch i386 -O2 -I/opt/local/include -DNDEBUG -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -I. -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include context.c
:info:build MACOSX_DEPLOYMENT_TARGET=10.9 /usr/bin/clang -o incoming.o -c -Os -arch x86_64 -arch i386 -O2 -I/opt/local/include -DNDEBUG -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -I. -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include incoming.c
:info:build xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun
:info:build scons: *** [context.o] Error 1
:info:build xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun
:info:build scons: *** [incoming.o] Error 1
:info:build scons: building terminated because of errors.

Yet another incarnation of #58770 with scons.

Interestingly, I found https://github.com/mongodb/mongo/commit/e40ab076f9858ed7555dc2e97f660edcbc3b9322 which may mean we might be able to patch the application to actually pass DEVELOPER_DIR down correctly.

Attachments (1)

serf1.main.log (32.2 KB) - added by Ionic (Mihai Moldovan) 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by Ionic (Mihai Moldovan)

Attachment: serf1.main.log added

comment:1 Changed 5 years ago by Mihai Moldovan <ionic@…>

Owner: set to Mihai Moldovan <ionic@…>
Resolution: fixed
Status: newclosed

In 5f1b645884ded2f063cade2baf624a5d6048669c/macports-ports (master):

www/serf1: fix builds in trace mode.

Add a patch for passing down the DEVELOPER_DIR environment variable if
declared at scons execution time.

Fixes: #59193

Note: See TracTickets for help on using tickets.