package mechanisms broken?

Joe Auty <[email protected]>
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Hello,

I'm trying to create OS X installers out of DP ports. This problem  
appears to be happening with all of my ports, and since there is no  
documentation on the packaging features, I have no way of  
troubleshooting these problems. I'm assuming phpmyadmin for this  
example, as you can see:


% sudo port dmg phpmyadmin
Error: Status 1 encountered during processing.
[besson3c:packages/darwin/powerpc] joe% sudo port -d dmg phpmyadmin
DEBUG: Found port in file:///opt/local_test/www/phpmyadmin
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/phpmyadmin
DEBUG: Changing to port directory: /opt/local_test/www/phpmyadmin
DEBUG: Requested variant powerpc is not provided by port phpmyadmin.
DEBUG: Requested variant darwin is not provided by port phpmyadmin.
DEBUG: Requested variant macosx is not provided by port phpmyadmin.
Warning: the following items did not execute (for phpmyadmin):  
com.apple.dmg
Error: Status 1 encountered during processing.


% sudo port -d mpkg phpmyadmin
DEBUG: Found port in file:///opt/local_test/www/phpmyadmin
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/phpmyadmin
DEBUG: Changing to port directory: /opt/local_test/www/phpmyadmin
DEBUG: Requested variant powerpc is not provided by port phpmyadmin.
DEBUG: Requested variant darwin is not provided by port phpmyadmin.
DEBUG: Requested variant macosx is not provided by port phpmyadmin.
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/databases/mysql5DEBUG:  
Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/databases/mysql5
DEBUG: Searching for dependency: mysql5
DEBUG: Found Dependency: receipt exists for mysql5
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/php5
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/php5
DEBUG: Searching for dependency: php5
DEBUG: Found Dependency: receipt exists for php5
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/apache2
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/apache2
DEBUG: Searching for dependency: apache2
DEBUG: Found Dependency: receipt exists for apache2
Warning: the following items did not execute (for phpmyadmin):  
com.apple.mpkg
Error: Status 1 encountered during processing.



% sudo port -d pkg phpmyadmin
DEBUG: Found port in file:///opt/local_test/www/phpmyadmin
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/phpmyadmin
DEBUG: Changing to port directory: /opt/local_test/www/phpmyadmin
DEBUG: Requested variant powerpc is not provided by port phpmyadmin.
DEBUG: Requested variant darwin is not provided by port phpmyadmin.
DEBUG: Requested variant macosx is not provided by port phpmyadmin.
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/databases/mysql5DEBUG:  
Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/databases/mysql5
DEBUG: Searching for dependency: mysql5
DEBUG: Found Dependency: receipt exists for mysql5
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/php5
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/php5
DEBUG: Searching for dependency: php5
DEBUG: Found Dependency: receipt exists for php5
DEBUG: Found port in file:///opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/apache2
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ 
rsync.rsync.darwinports.org_dpupdate_dports/www/apache2
DEBUG: Searching for dependency: apache2
DEBUG: Found Dependency: receipt exists for apache2
DEBUG: Skipping completed com.apple.main (phpmyadmin)
DEBUG: Skipping completed com.apple.unarchive (phpmyadmin)
DEBUG: Skipping completed com.apple.fetch (phpmyadmin)
DEBUG: Skipping completed com.apple.checksum (phpmyadmin)
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
DEBUG: Skipping completed com.apple.extract (phpmyadmin)
DEBUG: Skipping completed com.apple.patch (phpmyadmin)
DEBUG: Skipping completed com.apple.configure (phpmyadmin)
DEBUG: Skipping completed com.apple.build (phpmyadmin)
DEBUG: Skipping completed com.apple.destroot (phpmyadmin)
DEBUG: Executing com.apple.pkg (phpmyadmin)
--->  Creating pkg for phpmyadmin-2.8.0.3
--->  Package for phpmyadmin-2.8.0.3 is up-to-date


okay, this last command worked fine, although it would have been nice  
if it told me where I can go to retrieve this package (figured this  
out myself though).


Also, what is the difference between the dmg command and the pkg/mpkg  
command? dmg tosses the installer onto a disk image? Will it create a  
disk image of all the dependencies of the port too (e.g. mpkg + disk  
image)? Is there anyway to invoke packaging of multiple ports in a  
single command?


Am I missing something here, or are these commands temporarily  
broken? Running the latest version of DP...






-----------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.