[MacPorts] #41469: safestr @1.0.3 depends on xxl but also conflicts with it
MacPorts
noreply at macports.org
Wed Nov 20 07:06:44 PST 2013
#41469: safestr @1.0.3 depends on xxl but also conflicts with it
--------------------------+--------------------------------
Reporter: egall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: safestr xxl |
--------------------------+--------------------------------
Comment (by egall@…):
Turns out this is an error with the configure script. Relevant part of the
config.log:
{{{
configure:18686: checking for xxl_release_asset in -lxxl
configure:18717: ccache /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch
x86_64 -arch i386 -I/opt/local/include -I/opt/local/include
-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386
-L/opt/local/lib conftest.c -lxxl >&5
ld: warning: in /opt/local/lib/libxxl.dylib, file was built for
unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
"_xxl_release_asset", referenced from:
_main in ccmKaPxx.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
}}}
I do have xxl installed universal though:
{{{
Local-Admins-MacBook-Pro:~ root# port -d installed xxl
The following ports are currently installed:
xxl @1.0.1_0+universal (active) platform='darwin 10' archs='i386 x86_64'
}}}
and it is providing the library in question:
{{{
Local-Admins-MacBook-Pro:~ root# port provides /opt/local/lib/libxxl.dylib
/opt/local/lib/libxxl.dylib is provided by: xxl
}}}
Apparently the library is only x86_64 though?
{{{
Local-Admins-MacBook-Pro:~ root# file /opt/local/lib/libxxl.dylib
/opt/local/lib/libxxl.dylib: Mach-O 64-bit dynamically linked shared
library x86_64
Local-Admins-MacBook-Pro:~ root# lipo -info /opt/local/lib/libxxl.dylib
Non-fat file: /opt/local/lib/libxxl.dylib is architecture: x86_64
}}}
Not sure how that happened, seeing as I installed it with `+universal`...
Also btw, even though the library is the wrong architecture, it does
actually contain the symbol checked for:
{{{
Local-Admins-MacBook-Pro:~ root# nm -m /opt/local/lib/libxxl.dylib | grep
xxl_release_asset
00000000000007d0 (__TEXT,__text) external _xxl_release_asset
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41469#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list