[MacPorts] #26797: curl: curl-config differs

MacPorts noreply at macports.org
Thu Feb 3 20:13:11 PST 2011


#26797: curl: curl-config differs
--------------------------------------+-------------------------------------
  Reporter:  keith.crist@…            |       Owner:  ryandesign@…           
      Type:  defect                   |      Status:  reopened               
  Priority:  Normal                   |   Milestone:                         
 Component:  ports                    |     Version:  1.9.1                  
Resolution:                           |    Keywords:                         
      Port:  curl                     |  
--------------------------------------+-------------------------------------
Changes (by christian.groon@…):

  * status:  closed => reopened
  * resolution:  duplicate =>


Comment:

 After looking over the comments above, I'm still confused as to how to fix
 the curl-config differs error. Previous ports were building universal as
 below;

 --->  Fetching curl-ca-bundle
 --->  Attempting to fetch curl-7.21.2.tar.bz2 from
 http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/curl
 --->  Attempting to fetch certdata-1.70.txt from
 http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/curl
 --->  Verifying checksum(s) for curl-ca-bundle
 --->  Extracting curl-ca-bundle
 --->  Applying patches to curl-ca-bundle
 --->  Configuring curl-ca-bundle
 --->  Building curl-ca-bundle
 --->  Staging curl-ca-bundle into destroot
 --->  Installing curl-ca-bundle @7.21.2_4
 --->  Activating curl-ca-bundle @7.21.2_4
 --->  Cleaning curl-ca-bundle
 --->  Fetching libidn
 --->  Attempting to fetch libidn-1.19.tar.gz from
 http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/libidn
 --->  Verifying checksum(s) for libidn
 --->  Extracting libidn
 --->  Configuring libidn
 --->  Building libidn
 --->  Staging libidn into destroot
 --->  Installing libidn @1.19_0+universal
 --->  Activating libidn @1.19_0+universal
 --->  Cleaning libidn
 --->  Fetching curl
 --->  Verifying checksum(s) for curl
 --->  Extracting curl
 --->  Applying patches to curl
 --->  Configuring curl
 --->  Building curl
 --->  Staging curl into destroot
 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

 But then clearly the curl port had the powerpc/intel difference. I then
 tried to clean the curl port and build just for intel (with and without
 the "+universal" but got exactly the same error.

 christian-groons-macbook:~ LeGrand$ sudo port clean curl
 Password:
 --->  Cleaning curl
 christian-groons-macbook:~ LeGrand$ sudo port install curl +universal
 --->  Computing dependencies for curl
 --->  Fetching curl
 --->  Verifying checksum(s) for curl
 --->  Extracting curl
 --->  Applying patches to curl
 --->  Configuring curl
 --->  Building curl
 --->  Staging curl into destroot
 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
 Log for curl is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/main.log


 So how can this difference be resolved? I'm running Mac OS X 10.5.8
 (9L30).


 Replying to [comment:7 ryandesign@…]:
 > Replying to [comment:6 keith.crist@…]:
 > > universal i386 ppc must be the default.
 >
 > i386 ppc is the default for universal builds on Leopard and earlier.
 >
 > It is not the default to build universal; you have to request it by
 typing "+universal" on the command line or putting it in variants.conf.
 >
 > > 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 [[br]]
 > > Log for curl is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/main.log
 >
 > If you're building universal for i386 ppc then this is #24001.

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


More information about the macports-tickets mailing list