subversion-perlbindings update failure

Daniel Ericsson deric at macports.org
Mon Mar 12 06:48:32 PDT 2012


On 12 mar 2012, at 13:59, Paulo Moura wrote:

> I'm running MacOS X 10.7.3 + Xcode 4.3. I applied the changes advised when upgrading to Xcode 4.3. In particular, xcode-select gives:
> 
> $ xcode-select -version
> xcode-select version 2307.
> $ which xcode-select
> /usr/bin/xcode-select
> $ xcode-select -print-path
> /Applications/Xcode.app/Contents/Developer
> 
> I upgraded other software successfully, including subversion 1.7.4. But trying to upgrade  subversion-perlbindings fails with the following information on the log file:
> 
> :info:build /Developer/usr/bin/clang -c  -I/opt/local/include/apr-1   -I/opt/local/include/apr-1 -I/opt/local/include  -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl  -I../../../../../subversion/include  -I../../../../../subversion  -I../../../../../subversion/bindings/swig -g -pipe -O2 -arch x86_64    -Werror=implicit-function-declaration -pipe -O2  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include    -DVERSION=\"\" -DXS_VERSION=\"\"  "-I/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE"  -I/opt/local/include   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp core.c
> :info:build /bin/sh: /Developer/usr/bin/clang: No such file or directory
> :info:build make[1]: *** [core.o] Error 127
> :info:build make[1]: Leaving directory 
> 
> Maybe some left over of previous Xcode versions? After installing Xcode 4.3 I simply deleted the old /Developer folder. Your help is appreciated.

I've seen this for ports that uses glibtool. It looked like glibtool had static paths to compilers, forcing an upgrade of libtool fixed this for me: `port -n upgrade --force libtool`. I didn't save any of the old output unfortunately.

Before you upgrade could you do a `port contents libtool | grep -v contains | xargs grep clang`. If upgrading libtool fixes the error could you post the output before and after the libtool upgrade?

thanks,
-- Daniel


More information about the macports-users mailing list