problem to install apr-util in OSX 10.8?

Ryan Schmidt ryandesign at macports.org
Wed Feb 22 09:05:20 PST 2012


On Feb 22, 2012, at 10:08, Giovanni Lovato wrote:

> Jeremy Lavergne wrote:
> 
>>> Log for apr-util is at: /opt/local/var/macports/logs/.../apr-util/main.log
>> 
>> We cannot help you without this log file.
> 
> I have the same issue with OS X 10.8, XCode 4.4, fresh MP trunk install:

Most of us do not have the pre-releases of OS X 10.8 or Xcode 4.4, and you may be prohibited from discussing it publicly due to your non-disclosure agreement.

> building apr-util fails on
> 
> :info:build /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=link
> /usr/bin/clang -pipe -O2 -arch x86_64   -L/opt/local/lib -arch x86_64
> -L/opt/local/lib/db46 -L/opt/local/lib -release 1 -module -rpath
> /opt/local/lib/apr-util-1 -o dbd/apr_dbd_sqlite3.la dbd/apr_dbd_sqlite3.lo
> -L/opt/local/lib  -lsqlite3
> :info:build clang: error: unable to execute command: Segmentation fault: 11
> :info:build clang: error: linker command failed due to signal 2 (use -v to
> see invocation)
> 
> Here's the full log: http://pastebin.com/0fMbwTSP 

The full error message reads:

:info:build clang: error: unable to execute command: Segmentation fault: 11
:info:build clang: error: linker command failed due to signal 2 (use -v to see invocation)
:info:build clang: note: diagnostic msg: Please submit a bug report to http://developer.apple.com/bugreporter/ and include command line arguments and all diagnostic information.
:info:build clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options.

So please do that.



More information about the macports-users mailing list