Port unarchiving not working

Juan Manuel Palacios jmpp at macports.org
Sat Apr 28 18:34:11 PDT 2007



	Hi Blair!

	Failure to pick up tbz2 archives for (re)installation is an overlook  
of mine, as I added support for said extension at archival time (base/ 
src/package1.0/portarchive.tcl) to the release_1_4 branch in r22584  
and back into trunk in r22585, but forgot to add it to for opening of  
those archives (base/src/package1.0/portunarchive.tcl).

	However, I see you corrected that recently in r24576, on 04/28/07  
10:06:30, which makes me wonder about Ryan's reference to a  
"corrected version of the base/src/package1.0/portunarchive.tcl file  
in trunk" (http://lists.macosforge.org/pipermail/macports-users/2007- 
April/002841.html) since that message was posted on "Thu Apr 26  
12:04:14 PDT 2007", per our archives. Anyone have an idea what  
"corrected version" of the file that post was referring to? I'm  
confused!

	Regards,...


-jmpp

PS: Yes, we should be cutting a 1.4.4 release, there are some bug  
fixes in trunk with respect to release_1_4 already.


On Apr 28, 2007, at 1:49 PM, Blair Zajac wrote:

> I'm trying to use the port unarchiving feature but it appears that  
> the unarchive.env is not being honored.
>
> Here's the file:
>
> $ ls /opt/local/var/db/dports/packages/darwin/i386/commons- 
> pool-1.3_1.i386.tbz2
> /opt/local/var/db/dports/packages/darwin/i386/commons- 
> pool-1.3_1.i386.tbz2
>
> $ port -d -v install commons-pool
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/java/commons-pool
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/java/commons-pool
> DEBUG: Requested variant darwin is not provided by port commons-pool.
> DEBUG: Requested variant i386 is not provided by port commons-pool.
> DEBUG: Requested variant macosx is not provided by port commons-pool.
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/lang/kaffe
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/lang/kaffe
> DEBUG: Searching for dependency: kaffe
> DEBUG: Didn't find receipt, going to depspec regex for: kaffe
> DEBUG: Found Dependency: path: /usr/bin filename: java regex: ^java$
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/java/junit
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/java/junit
> DEBUG: Searching for dependency: junit
> DEBUG: Found Dependency: receipt exists for junit
> DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/devel/apache-ant
> DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/devel/apache-ant
> DEBUG: Searching for dependency: apache-ant
> DEBUG: Found Dependency: receipt exists for apache-ant
> DEBUG: Executing com.apple.main (commons-pool)
> DEBUG: Found TBZ2 archive: /opt/local/var/db/dports/packages/darwin/ 
> i386/commons-pool-1.3_1.i386.tbz2
> --->  Unpacking tbz2 archive for commons-pool 1.3_1
> DEBUG: Executing com.apple.unarchive (commons-pool)
> DEBUG: Using /usr/bin/tar
> DEBUG: Using /opt/local/bin/bzip2
> --->  Extracting commons-pool-1.3_1.i386.tbz2
> DEBUG: Environment:
> DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_java_commons-pool/work/destroot" && /usr/bin/tar -xvpf -'
> DEBUG: Executing unarchive_finish
> Error: Target com.apple.unarchive returned: error copying "/opt/ 
> local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_java_commons-pool/work/destroot/+STATE": no such file or  
> directory
> Warning: the following items did not execute (for commons-pool):  
> com.apple.activate com.apple.unarchive com.apple.fetch  
> com.apple.extract com.apple.checksum com.apple.patch  
> com.apple.configure com.apple.build com.apple.destroot  
> com.apple.archive com.apple.install
> Error: Status 1 encountered during processing.
>
>
> But the command doesn't contain the "bzip -d -c"
>
> I'm not a TCL expert to see why unarchive.env is being set but not  
> ending up in the command.
>
> Any ideas?
>
> Regards,
> Blair
>
> -- 
> Blair Zajac, Ph.D.
> CTO, OrcaWare Technologies
> <blair at orcaware.com>
> Subversion training, consulting and support
> http://www.orcaware.com/svn/
>
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev




More information about the macports-dev mailing list