Hi James,

It could be.

Should the person who made the changes to the way command.env works modify portunarchive to have it work again?

Thanks,
Blair

On Apr 28, 2007, at 10:58 AM, James Berry wrote:

Hi Blair,

unarchive.env (or any of the command.env) has to be only environment settings (FOO=bar FOOD=bad), whatever. This is a recent change.

Does that explain the problem you're seeing?

James

On Apr 28, 2007, at 10:49 AM, 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
<[EMAIL PROTECTED]>
Subversion training, consulting and support
http://www.orcaware.com/svn/


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to