[MacPorts] #20323: serf 0.3.0 : build error
MacPorts
noreply at macports.org
Wed Jul 15 12:48:12 PDT 2009
#20323: serf 0.3.0 : build error
-------------------------------------+--------------------------------------
Reporter: contact@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.7.1
Keywords: serf apr | Port: serf
-------------------------------------+--------------------------------------
{{{
$ sudo port install serf
---> Building serf
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_serf/work/serf-0.3.0"
&& make all " returned error 2
Command output: /opt/local/share/apr-0/build/libtool --silent --mode=link
/usr/bin/gcc-4.0 -L/opt/local/lib -L/opt/local/lib/db44 -static -o
test/serf_get libserf-0.la test/serf_get.lo /opt/local/lib/libaprutil-1.la
-ldb-4.4 -lsqlite3 -lexpat -liconv /opt/local/lib/libapr-0.la -lresolv
-lpthread -lz -lssl -lcrypto
make: /opt/local/share/apr-0/build/libtool: Command not found
make: *** [test/serf_get] Error 127
Error: Status 1 encountered during processing.
}}}
So I install apr0 : sudo port install apr0
No problem for installing apr0.
Then I retry to install serf-0.3.0
{{{
sudo port install serf
---> Building serf
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_serf/work/serf-0.3.0"
&& make all " returned error 2
Command output: /opt/local/share/apr-0/build/libtool --silent --mode=link
/usr/bin/gcc-4.0 -L/opt/local/lib -L/opt/local/lib/db44 -static -o
test/serf_get libserf-0.la test/serf_get.lo /opt/local/lib/libaprutil-1.la
-ldb-4.4 -lsqlite3 -lexpat -liconv /opt/local/lib/libapr-0.la -lresolv
-lpthread -lz -lssl -lcrypto
ld: duplicate symbol _apr_atomic_init in
/opt/local/lib/libapr-0.a(apr_atomic.o) and
/opt/local/lib/libapr-1.a(ia32.o)
collect2: ld returned 1 exit status
make: *** [test/serf_get] Error 1
Error: Status 1 encountered during processing.
}}}
I don't know if the bug is in apr itself... (apr-config ?)
I mark this ticket as priority "High" because a lot of ports depends on it
(git-core +svn in my case).
--
Ticket URL: <http://trac.macports.org/ticket/20323>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list