[MacPorts] #24059: curl +universal ppc/i386 fails on PowerPC

MacPorts noreply at macports.org
Tue Apr 13 12:19:27 PDT 2010


#24059: curl +universal ppc/i386 fails on PowerPC
---------------------------------+------------------------------------------
 Reporter:  keybounce@…          |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  1.8.2                  
 Keywords:                       |        Port:  curl                   
---------------------------------+------------------------------------------

Comment(by keybounce@…):

 Actually, that doesn't suffice.

 Error: Target org.macports.destroot returned: /opt/local/bin/curl-config
 differs in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work
 /destroot-powerpc and
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work
 /destroot-intel and cannot be merged


 How different are these two files?

 {{{
 Kleiman-ibook:work michael$ diff destroot-intel/opt/local/bin/curl-config
 destroot-powerpc/opt/local/bin/curl-config
 140c140
 <         echo ${CURLLIBDIR}-lcurl -L/opt/local/lib  -L/opt/local/lib
 -lidn -lssl -lcrypto -lz
 ---
 >         echo ${CURLLIBDIR}-lcurl -L/opt/local/lib  -L/opt/local/lib
 -L/opt/local/lib -lidn -lssl -lcrypto -lssl -lcrypto -lz -lz
 142c142
 <         echo ${CURLLIBDIR}-lcurl -L/opt/local/lib  -L/opt/local/lib
 ---
 >         echo ${CURLLIBDIR}-lcurl -L/opt/local/lib  -L/opt/local/lib
 -L/opt/local/lib
 147c147
 <       echo ${exec_prefix}/lib/libcurl.a -L/opt/local/lib
 -L/opt/local/lib -lidn -lssl -lcrypto -lz
 ---
 >       echo ${exec_prefix}/lib/libcurl.a -L/opt/local/lib
 -L/opt/local/lib -L/opt/local/lib -lidn -lssl -lcrypto -lssl -lcrypto -lz
 -lz
 151c151
 <       echo " '--prefix=/opt/local' '--enable-ipv6' '--without-gnutls'
 '--without-gssapi' '--without-libssh2' '--without-spnego' '--disable-ares'
 '--disable-ldap' '--disable-ldaps' '--with-libidn' '--with-
 zlib=/opt/local' '--disable-dependency-tracking' '--with-ssl' '--with-ca-
 bundle=/opt/local/share/curl/curl-ca-bundle.crt' '--host=i386-apple-
 darwin9.8.0' 'host_alias=i386-apple-darwin9.8.0' 'CC=/usr/bin/gcc-4.0'
 'CFLAGS=-O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include'"
 ---
 >       echo " '--prefix=/opt/local' '--enable-ipv6' '--without-gnutls'
 '--without-gssapi' '--without-libssh2' '--without-spnego' '--disable-ares'
 '--disable-ldap' '--disable-ldaps' '--with-libidn' '--with-
 zlib=/opt/local' '--disable-dependency-tracking' '--with-ssl' '--with-ca-
 bundle=/opt/local/share/curl/curl-ca-bundle.crt' 'CC=/usr/bin/gcc-4.0'
 'CFLAGS=-O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include'"
 }}}

 Duplicates of "  -L/opt/local/lib" in one, --host and host_alias in the
 other.

 Given that the host flags will change for cross compilation, how can this
 possibly be resolved? The config files have to be different.

-- 
Ticket URL: <http://trac.macports.org/ticket/24059#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list