Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#22769 closed defect (fixed)

curl +universal fails during destroot

Reported by: bla@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: konistehrad@…
Port: curl

Description

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port curl.
DEBUG: Requested variant i386 is not provided by port curl.
DEBUG: Requested variant macosx is not provided by port curl.
DEBUG: Executing variant universal provides universal
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.3_3 exists in the ports tree
DEBUG: zlib 1.2.3_3  is the latest installed
DEBUG: zlib 1.2.3_3  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: No need to upgrade! zlib 1.2.3_3 >= zlib 1.2.3_3
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.23_1 exists in the ports tree
DEBUG: pkgconfig 0.23_1  is the latest installed
DEBUG: pkgconfig 0.23_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port pkgconfig.
DEBUG: Requested variant i386 is not provided by port pkgconfig.
DEBUG: Requested variant macosx is not provided by port pkgconfig.
DEBUG: No need to upgrade! pkgconfig 0.23_1 >= pkgconfig 0.23_1
--->  Computing dependencies for curl
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
DEBUG: Executing org.macports.main (curl)
DEBUG: Skipping completed org.macports.fetch (curl)
DEBUG: Skipping completed org.macports.checksum (curl)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (curl)
DEBUG: Skipping completed org.macports.patch (curl)
DEBUG: Skipping completed org.macports.configure (curl)
DEBUG: Skipping completed org.macports.build (curl)
--->  Staging curl into destroot
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
DEBUG: Executing org.macports.destroot (curl)
--->  Staging curl into destroot for architecture x86_64
Error: Target org.macports.destroot returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/destroot" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/destroot-x86_64/destroot": file already exists
DEBUG: Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/destroot" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/destroot-x86_64/destroot": file already exists
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for curl): org.macports.activate org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Attachments (2)

curl.txt (8.1 KB) - added by konistehrad@… 14 years ago.
curl.2.txt (229.8 KB) - added by konistehrad@… 14 years ago.
Full log. Original attachment was truncated.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal

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

Summary: install curl +universal failescurl +universal fails during destroot

curl is installed universal on my system, so I know it should work.

Please clean and try again:

sudo port clean curl
sudo port -d install curl +universal 2>&1 | tee ~/Desktop/curl.txt

If it fails again, please attach curl.txt from your desktop to this ticket.

Changed 14 years ago by konistehrad@…

Attachment: curl.txt added

comment:3 Changed 14 years ago by konistehrad@…

Attached is the requested failure log. This bug might have something to do with the fact that the merge step expects curl-config to be a binary, but it is actually a text script. Not familiar enough with the MacPorts build system to make a definitive judgment, however.

Changed 14 years ago by konistehrad@…

Attachment: curl.2.txt added

Full log. Original attachment was truncated.

comment:4 Changed 14 years ago by konistehrad@…

The problem in my case was attempting to build curl+universal without first install zlib+universal. Might be the same for the bug report filer.

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

Resolution: fixed
Status: newclosed

Thanks for finding that out. I added the archcheck portgroup to curl in r61559 so that it will now detect and report such problems.

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

Cc: konistehrad@… added
Note: See TracTickets for help on using tickets.