[MacPorts] #13890: curlhandle 1.9_0 won't build because libcurl.a
is a fat file
MacPorts
trac at macosforge.org
Thu Jan 10 06:22:39 PST 2008
#13890: curlhandle 1.9_0 won't build because libcurl.a is a fat file
-------------------------------------+--------------------------------------
Reporter: ryandesign at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: |
-------------------------------------+--------------------------------------
{{{
$ sudo port install curlhandle
---> Fetching curlhandle
---> Verifying checksum(s) for curlhandle
---> Extracting curlhandle
---> Configuring curlhandle
---> Building curlhandle
Error: Target org.macports.build returned: shell command "cd
"/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9"
&& xcodebuild -project CURLHandleSource/CURLHandle.pbproj -alltargets
-configuration Deployment build OBJROOT=build/ SYMROOT=build/ " returned
error 1
Command output: exit ${_result}
=== Script ===
#!/bin/sh
# Sequence courtesy of Kevin Enderby. Changes common symbol into a
definition.
# The result is in
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/curl
and you could move it back into /usr/local/lib; we
# just leave it here and statically link to it.
mkdir
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/curl
cd
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/curl
ar x /opt/local/lib/libcurl.a
ld -r -d hostip.o
mv a.out hostip.o
libtool -o libcurl.a *.o
--- Output ---
ar: /opt/local/lib/libcurl.a is a fat file (use libtool(1) or lipo(1) and
ar(1) on it)
ar: /opt/local/lib/libcurl.a: Inappropriate file type or format
ld: can't open: hostip.o (No such file or directory, errno = 2)
ld: no object files loaded
mv: rename a.out to hostip.o: No such file or directory
libtool: can't open file: *.o (No such file or directory)
=== Exit code: 1 ===
SymLink
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/CURLHandleSource/build/Deployment/CURLHandle.framework/Versions/Current
A
/bin/ln -sf A
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/CURLHandleSource/build/Deployment/CURLHandle.framework/Versions/Current
Mkdir
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/CURLHandleSource/build/Deployment/CURLHandle.framework/Versions/A/Headers
/bin/mkdir -p
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/CURLHandleSource/build/Deployment/CURLHandle.framework/Versions/A/Headers
SymLink
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/CURLHandleSource/build/Deployment/CURLHandle.framework/Headers
Versions/Current/Headers
/bin/ln -sf Versions/Current/Headers
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/work/CURLHandle_1.9/CURLHandleSource/build/Deployment/CURLHandle.framework/Headers
** BUILD FAILED **
Error: Status 1 encountered during processing.
$
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13890>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list