Opened 2 years ago

Closed 2 years ago

#66279 closed defect (duplicate)

use_dmg is broken: /usr/bin/cpio: illegal option -- 0

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: base Version: 2.8.0
Keywords: Cc:
Port:

Description

Example on Leopard with isightcapture port:

--->  Extracting isightcapture1_1.dmg
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_isightcapture/isightcapture/work" && /usr/bin/hdiutil attach '/opt/local/var/macports/distfiles/isightcapture/isightcapture1_1.dmg' -private -readonly -nobrowse -mountpoint "/tmp/mports.PaqImzOx" && cd "/tmp/mports.PaqImzOx" && /usr/bin/find . -depth -perm -+r -print0 | /usr/bin/cpio -0 -p -d -m -u "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_isightcapture/isightcapture/work/isightcapture1_1"; status=$?; cd / && /usr/bin/hdiutil detach "/tmp/mports.PaqImzOx" && /bin/rmdir "/tmp/mports.PaqImzOx"; exit $status 
Checksumming Driver Descriptor Map (DDM : 0)…
     Driver Descriptor Map (DDM : 0): verified   CRC32 $62EDA6C3
Checksumming Apple (Apple_partition_map : 1)…
     Apple (Apple_partition_map : 1): verified   CRC32 $EFEB8454
Checksumming disk image (Apple_HFS : 2)…
          disk image (Apple_HFS : 2): verified   CRC32 $C249B311
Checksumming  (Apple_Free : 3)…
                    (Apple_Free : 3): verified   CRC32 $00000000
verified   CRC32 $629E8E69
/dev/disk3          	Apple_partition_scheme         	
/dev/disk3s1        	Apple_partition_map            	
/dev/disk3s2        	Apple_HFS                      	/tmp/mports.PaqImzOx
/usr/bin/cpio: illegal option -- 0
usage: cpio -o [-aABcLvVzZ] [-C bytes] [-H format] [-O archive]
               [-F archive] < name-list [> archive]
       cpio -i [-bBcdfmnrsStuvVzZ6] [-C bytes] [-E file] [-H format]
               [-I archive] [-F archive] [pattern...] [< archive]
       cpio -p [-adlLmuvV] destination-directory < name-list
"disk3" unmounted.
"disk3" ejected.

Identical error on 10.6 PPC.

Change History (3)

comment:1 Changed 2 years ago by barracuda156

Owner: set to jmroot
Status: newassigned

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Owner: jmroot deleted

comment:3 Changed 2 years ago by jmroot (Joshua Root)

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