Opened 3 years ago

Closed 3 years ago

#64263 closed defect (invalid)

curl fails to install for ppc+ppc64

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: PowerPC, Leopard, ppc64 Cc:
Port: curl

Description

xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-powerpc//opt
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-powerpc//opt/local
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-powerpc//opt/local/bin
Command failed: /usr/bin/cmp -s "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc64//opt/local/bin/curl" && /bin/cp -v "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-powerpc//opt/local/bin"
Exit code: 1
Command failed: /usr/bin/cmp -s "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl-config" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc64//opt/local/bin/curl-config" && /bin/cp -v "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl-config" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-powerpc//opt/local/bin"
Exit code: 1
/usr/bin/lipo: can't figure out the architecture type of: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl-config
Command failed: /usr/bin/lipo -create "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl-config" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc64//opt/local/bin/curl-config" -output "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-powerpc//opt/local/bin/curl-config"
Exit code: 1
/usr/bin/libtool: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl-config is not an object file (not allowed in a library)
/usr/bin/libtool: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc64//opt/local/bin/curl-config is not an object file (not allowed in a library)
Command failed: /usr/bin/libtool "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin/curl-config" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc64//opt/local/bin/curl-config" -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-powerpc//opt/local/bin/curl-config"
Exit code: 1
--->  Patching 1-curl-config: s:-arch +[0-9a-zA-Z_]+::g
--->  Patching 2-curl-config: s:-arch +[0-9a-zA-Z_]+::g
--->  Patching 1-curl-config: s:-m32::g
--->  Patching 2-curl-config: s:-m32::g
--->  Patching 1-curl-config: s:-m64::g
--->  Patching 2-curl-config: s:-m64::g
Command failed: /usr/bin/cmp -s "/tmp/muniversal.XCYoF3rn/1-curl-config" "/tmp/muniversal.XCYoF3rn/2-curl-config"
Exit code: 1
Error: Failed to destroot curl: curl-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc64//opt/local/bin and cannot be merged
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port curl failed

Change History (3)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newassigned

Could you attach the two curl-config files so that we can see how they differ?

comment:2 in reply to:  1 Changed 3 years ago by barracuda156

Replying to ryandesign:

Could you attach the two curl-config files so that we can see how they differ?

Thank you for reply. Consider issue resolved:

The following ports are currently installed:
  curl @7.80.0_0+ssl requested_variants='-universal' platform='darwin 9' archs='ppc' date='2021-12-22T09:17:24+0800'
  curl @7.80.0_0+ssl+universal (active) requested_variants='+universal' platform='darwin 9' archs='ppc ppc64' date='2021-12-24T19:23:27+0800'

The earlier issue was probably due to python.

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.