[bug-notifications] [pkgutil 0003688]: pkgutil fails to build package stream: No such file or directory at ./pkgutil line 995

Mantis Bug Tracker noreply at opencsw.org
Wed May 27 10:09:24 CEST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3688 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3688
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-05-27 09:18 CEST
Last Modified:              2009-05-27 10:09 CEST
====================================================================== 
Summary:                    pkgutil fails to build package stream: No such file
or directory at ./pkgutil line 995
Description: 
pkgutil (pkgtrans) seems to bail out, when the package stream is sent to a
file and this file doesn't yet exist. When then running pkgutil again, it
bails out trying to transform packages (i guess that's because the previous
run failed and didn't do cleanups).

$ pkgutil -y -W tmp/ -T sparc:5.10 -s -o ion.pkg ion
....
Transforming CSWcommon...
Transforming CSWlibtoolrt...
Transforming CSWlibtool...
Transforming CSWlua...
Transforming CSWion...
Transforming packages into stream...
Could not transform packages into stream: No such file or directory at
/opt/csw/bin/pkgutil line 994.

$ pkgutil -y -W tmp/ -T sparc:5.10 -s -o ion.pkg ion
Parsing catalog, may take a while...
New packages: CSWcommon-1.4.6,REV=2008.04.28
CSWlibtoolrt-2.2.6,REV=2009.03.23_rev=a
CSWlibtool-2.2.6,REV=2009.03.23_rev=a CSWlua-5.1.4,REV=2009.03.30
CSWion-3,REV=2005.04.06.01
Total size: 1.5 MB
A local copy of CSWcommon-1.4.6,REV=2008.04.28 exists and is of matching
size.
A local copy of CSWlibtoolrt-2.2.6,REV=2009.03.23_rev=a exists and is of
matching size.
A local copy of CSWlibtool-2.2.6,REV=2009.03.23_rev=a exists and is of
matching size.
A local copy of CSWlua-5.1.4,REV=2009.03.30 exists and is of matching
size.
A local copy of CSWion-3,REV=2005.04.06.01 exists and is of matching
size.
Transforming CSWcommon...
Could not transform common-1.4.6,REV=2008.04.28-SunOS5.8-i386-CSW.pkg.gz:
No such file or directory at /opt/csw/bin/pkgutil line 988.

$ ls tmp/packages/
CSWcommon     common-1.4.6,REV=2008.04.28-SunOS5.8-i386-CSW.pkg.gz
CSWion        ion-3,REV=2005.04.06.01-SunOS5.8-i386-CSW.pkg.gz
CSWlibtool    libtool-2.2.6,REV=2009.03.23_rev=a-SunOS5.8-i386-CSW.pkg.gz
CSWlibtoolrt 
libtool_rt-2.2.6,REV=2009.03.23_rev=a-SunOS5.8-i386-CSW.pkg.gz
CSWlua        lua-5.1.4,REV=2009.03.30-SunOS5.8-i386-CSW.pkg.gz


Touching the output file beforehand works.

$ rm -rf tmp/packages/*
$ touch tmp/packages/ion.pkg
$ pkgutil -y -W tmp/ -T sparc:5.10 -s -o ion.pkg ion
Transforming CSWcommon...
Transforming CSWlibtoolrt...
Transforming CSWlibtool...
Transforming CSWlua...
Transforming CSWion...
Transforming packages into stream...

Install commands in dependency safe order:

pkgadd -d ion.pkg CSWcommon
pkgadd -d ion.pkg CSWlibtoolrt
pkgadd -d ion.pkg CSWlibtool
pkgadd -d ion.pkg CSWlua
pkgadd -d ion.pkg CSWion

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-27 09:18 skayser        New Issue                                    
2009-05-27 10:09 bonivart       Status                   new => assigned     
2009-05-27 10:09 bonivart       Assigned To               => bonivart        
======================================================================




More information about the bug-notifications mailing list