[MacPorts] #28781: ufraw 0.17 failed to build
MacPorts
noreply at macports.org
Mon Mar 14 11:56:15 PDT 2011
#28781: ufraw 0.17 failed to build
----------------------------------+-----------------------------------------
Reporter: lifechoose@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: exiv2 | Port: ufraw 0.17
----------------------------------+-----------------------------------------
Comment(by lifechoose@…):
I'm on Mac OS X 10.5.8, 32bit
when trying to build gimp I got the following error:
{{{
sudo port install gimp
Password:
---> Computing dependencies for gimp
---> Dependencies to be installed: ufraw xsane sane-backends libusb-
compat libusb
---> Building ufraw
Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install ufraw
Log for ufraw is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ufraw/main.log
Error: The following dependencies were not installed: ufraw xsane sane-
backends libusb-compat libusb
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
The end of log file
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ufraw/main.log
contains following errors:
{{{
:info:build ld warning: std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char const*)has different visibility
(hidden) in /opt/local/lib/libexiv2.a(datasets.o) and (default) in
libufraw.a(ufobject.o)
:info:build ld warning: std::basic_string<char, std::char_traits<char>,
std::allocator<char> > Exiv2::toBasicString<char, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)has different
visibility (hidden) in /opt/local/lib/libexiv2.a(preview.o) and (default)
in libufraw.a(ufraw_exiv2.o)
:info:build ld warning: std::_List_base<Exiv2::Exifdatum,
std::allocator<Exiv2::Exifdatum> >::_M_clear()has different visibility
(hidden) in /opt/local/lib/libexiv2.a(preview.o) and (default) in
libufraw.a(ufraw_exiv2.o)
:info:build ld warning: std::basic_string<char, std::char_traits<char>,
std::allocator<char> > std::operator+<char, std::char_traits<char>,
std::allocator<char> >(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, char const*)has different visibility
(hidden) in /opt/local/lib/libexiv2.a(preview.o) and (default) in
libufraw.a(ufobject.o)
:info:build Undefined symbols:
:info:build "_XML_SetCdataSectionHandler", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_XML_Parse", referenced from:
:info:build ExpatAdapter::ParseBuffer(void const*, unsigned long,
bool)in libexiv2.a(ExpatAdapter.o)
:info:build "_XML_SetCharacterDataHandler", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_XML_ParserCreateNS", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_XML_SetCommentHandler", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_XML_SetUserData", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_XML_SetElementHandler", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_XML_SetNamespaceDeclHandler", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_XML_ParserFree", referenced from:
:info:build ExpatAdapter::~ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build ExpatAdapter::~ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_libiconv", referenced from:
:info:build Exiv2::Internal::printUcs2(std::basic_ostream<char,
std::char_traits<char> >&, Exiv2::Value const&, Exiv2::ExifData const*)in
libexiv2.a(tags.o)
:info:build Exiv2::convertStringCharset(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, char const*, char
const*)in libexiv2.a(convert.o)
:info:build "_XML_SetProcessingInstructionHandler", referenced from:
:info:build ExpatAdapter::ExpatAdapter()in
libexiv2.a(ExpatAdapter.o)
:info:build "_libiconv_close", referenced from:
:info:build Exiv2::Internal::printUcs2(std::basic_ostream<char,
std::char_traits<char> >&, Exiv2::Value const&, Exiv2::ExifData const*)in
libexiv2.a(tags.o)
:info:build Exiv2::convertStringCharset(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, char const*, char
const*)in libexiv2.a(convert.o)
:info:build "_libiconv_open", referenced from:
:info:build Exiv2::Internal::printUcs2(std::basic_ostream<char,
std::char_traits<char> >&, Exiv2::Value const&, Exiv2::ExifData const*)in
libexiv2.a(tags.o)
:info:build Exiv2::convertStringCharset(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, char const*, char
const*)in libexiv2.a(convert.o)
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [ufraw-batch] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ufraw/work/ufraw-0.17"
&& /usr/bin/make all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
}}}
Which seems to indicate outdated expat, libiconv and maybe libxml2(those
_XML_xxx symbols), I think I have them all up-to-date.
{{{
port -v installed expat libiconv libxml2 exiv2 ufraw
The following ports are currently installed:
exiv2 @0.21_0 (active) platform='darwin 9' archs='i386'
expat @2.0.1_0
expat @2.0.1_1 (active) platform='darwin 9' archs='i386'
libiconv @1.13_0
libiconv @1.13.1_0 (active)
libxml2 @2.7.3_0
libxml2 @2.7.8_0 (active) platform='darwin 9' archs='i386'
}}}
Also I did
{{{
sudo port clean --all exiv2
sudo port uninstall exiv2
sudo port install exiv2
}}}
exiv2 installed no problem.
The following are outdated ports after performing 'sudo port selfupdate':
{{{
apache2 2.2.11_0 < 2.2.17_1
apr 1.3.5_0 < 1.4.2_1
apr-util 1.3.7_0 < 1.3.10_0
bison 2.4.1_0 < 2.4.3_0
boost-jam 3.1.17_0 < 3.1.18_0
cmake 2.8.1_2 < 2.8.4_0
emacs 23.1_0 < 23.2_5
emacs-app 23.1_0 < 23.2_2
g95 0.91_1 < 0.92_1
gawk 3.1.6_0 < 3.1.8_1
gcc43 4.3.3_0 < 4.3.5_2
git-core 1.7.3.4_0 < 1.7.4.1_1
glpk 4.37_0 < 4.41_0
gnuplot 4.4.2_1 < 4.4.3_0
guile 1.8.7_0 < 1.8.7_1
hdf5-18 1.8.3_0 < 1.8.6_2
libdc1394 2.1.0_0 < 2.1.3_0
liboil 0.3.16_1 < 0.3.17_0
libsdl-framework 1.2.13_1 < 20110119_0
MacVim 7.2.snapshot51_0 < 7.3.snapshot57_0
mono 2.4.2.2_0 < 2.6.7_0
mysql5 5.1.53_0 < 5.1.56_0
mysql5-server 5.1.42_0 < 5.1.56_0
octave 3.2.0_0 < 3.2.4_2
p5-error 0.17016_0 < 0.17016_1
php5 5.3.0_1 < 5.3.5_0
qhull 2003.1_0 < 2010.1_2
R 2.9.1_0 < 2.12.2_0
rsync 3.0.7_0 < 3.0.7_1
ruby 1.8.7-p174_0 < 1.8.7-p334_0
spatialindex 1.3.2_0 < 1.6.1_0
swig 1.3.39_1 < 2.0.2_0
tk 8.5.6_1 < 8.5.9_0
valgrind 3.5.0_0 < 3.6.1_0
xine-lib 1.1.16.1_1 < 1.1.19_0
xorg-libXScrnSaver 1.1.3_0 < 1.2.1_0
xorg-libXv 1.0.5_0 < 1.0.6_0
xorg-libXvMC 1.0.5_0 < 1.0.6_0
xorg-scrnsaverproto 1.1.0_0 < 1.2.1_0
xorg-videoproto 2.3.0_0 < 2.3.1_0
}}}
#23675 and #18209 seem related but with apparently different errors.
--
Ticket URL: <https://trac.macports.org/ticket/28781#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list