Opened 13 years ago

Closed 9 years ago

#33414 closed defect (worksforme)

images_to_archives failed during selfupdate

Reported by: johnrosshunt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.4
Keywords: Cc:
Port:

Description

port selfupdate fails when upgrading from 2.0.3 to 2.0.4 on OS X Lion 10.7.3/Xcode 4.3. Details are in attached file.

Attachments (1)

debug.log (48.0 KB) - added by johnrosshunt@… 13 years ago.
selfupdate log

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by johnrosshunt@…

Attachment: debug.log added

selfupdate log

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

Summary: port selfupdate fails on OS X Lion 10.7.3/Xcode 4.3images_to_archives failed during selfupdate

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

The relevant lines in the log are:

/usr/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl"
This could take a while...
Processing 1 of 462: zlib-1.2.6_0.darwin_11.x86_64.tbz2
sh: line 0: cd: /opt/local/var/macports/software/zlib/zlib-1.2.6_0.darwin_11.x86_64.tbz2: No such file or directory

And the question then is: does that file actually exist? If not, are there any similar files there?

comment:3 Changed 13 years ago by johnrosshunt@…

Indeed it does:

macmini ~ $ ls -las /opt/local/var/macports/software/zlib/zlib-1.2.6_0.darwin_11.x86_64.tbz2
328 -rw-r--r--  1 macports  staff  166610 Feb 17 19:01 /opt/local/var/macports/software/zlib/zlib-1.2.6_0.darwin_11.x86_64.tbz2
macmini ~ $ 

comment:4 Changed 13 years ago by jmroot (Joshua Root)

What do you get from port location zlib? The command that's failing is inside if {$location == "" || ![file isfile $location]} {, and location is "" only if $installtype != "image".

comment:5 in reply to:  4 Changed 13 years ago by johnrosshunt@…

Replying to jmr@…:

What do you get from port location zlib? The command that's failing is inside if {$location == "" || ![file isfile $location]} {, and location is "" only if $installtype != "image".

/opt/local/var/macports/software/zlib/zlib-1.2.6_0.darwin_11.x86_64.tbz2

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Can't really do much here without being able to reproduce the failure, unfortunately.

comment:7 Changed 9 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

This happens when archives in /opt/local/var/macports/software are deleted without uninstalling ports. I don't think is an issue any more, since the ticket is three years old by now.

Note: See TracTickets for help on using tickets.