[bug-notifications] [cswutils 0004791]: checkpkg: incompatible with 'p' files in /var/sadm/install/contents
Mantis Bug Tracker
noreply at opencsw.org
Fri Jun 24 11:56:28 CEST 2011
The following issue has been RESOLVED.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4791
======================================================================
Reported By: skayser
Assigned To: maciej
======================================================================
Project: cswutils
Issue ID: 4791
Category: regular use
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2011-06-22 00:53 CEST
Last Modified: 2011-06-24 11:56 CEST
======================================================================
Summary: checkpkg: incompatible with 'p' files in
/var/sadm/install/contents
Description:
Just reported on #opencsw by jMCg. Relevant gmake package excerpt:
## Validating control scripts.
## Packaging complete.
mkp: exec( pkgtrans -s /home/igalic/spool.5.10-i386
/tmp/zbx_agent-1.8.5,REV=2011.06.21-SunOS5.10-i386-UNCOMMITTED.pkg
CSWzbx-agent )
Transferring <CSWzbx-agent> package instance
mkp: exec( gzip -9 -f
/tmp/zbx_agent-1.8.5,REV=2011.06.21-SunOS5.10-i386-UNCOMMITTED.pkg )
mkp: exec( mv
/tmp/zbx_agent-1.8.5,REV=2011.06.21-SunOS5.10-i386-UNCOMMITTED.pkg.gz
/opt/install/unix/baw/csw )
mkp: exec( rm -rf /home/igalic/spool.5.10-i386/CSWzbx-agent )
WARNING:root:No configuration file found. Will attempt to create an sane
default configuration in '/home/igalic/.checkpkg/checkpkg_auto.ini'.
CRITICAL:root:Database schema version: 1, Application expects version: 7
WARNING:root:Old database schema detected.
WARNING:root:Dropping and creating all tables.
WARNING:root:Cache database is not up to date. Refreshing it.
WARNING:root:Refreshing the database. It may take a long time, please be
patient.
WARNING:root:If you need a way to make it faster, please see:
WARNING:root:http://wiki.opencsw.org/checkpkg#toc5
.Traceback (most recent call last):
File "gar//bin/checkpkg", line 179, in <module>
main()
File "gar//bin/checkpkg", line 88, in main
dm.AutoManage()
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/database.py", line
65, in AutoManage
self._CheckAndMaybeFixFreshness(auto_fix=auto_manage)
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/database.py", line
105, in _CheckAndMaybeFixFreshness
ldm.RefreshDatabase()
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/database.py", line
317, in RefreshDatabase
data = spi.Index(show_progress=True)
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/system_pkgmap.py",
line 269, in Index
contents_stream, pkginfo_stream, self.osrel, self.arch,
show_progress)
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/system_pkgmap.py",
line 259, in GetDataStructure
"contents": self._ParseInstallContents(contents_stream,
show_progress),
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/system_pkgmap.py",
line 220, in _ParseInstallContents
d = self._ParsePkgmapLine(line)
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/system_pkgmap.py",
line 184, in _ParsePkgmapLine
% (repr(file_type), repr(line)))
system_pkgmap.ParsingError: Wrong file type: 'p' in '/etc/scn/scn_aa_read
p none 0600 root sys SUNWscn-agentfacade-r\n'
gmake: *** [pkgcheck] Error 2
igalic at asd5inbld002:/buildr/mgar/pkg/zbx-agent/trunk>
======================================================================
----------------------------------------------------------------------
(0009135) maciej (developer) - 2011-06-24 11:56
https://www.opencsw.org/mantis/view.php?id=4791#c9135
----------------------------------------------------------------------
The patch is now in the repository:
http://sourceforge.net/apps/trac/gar/changeset/14874
Thanks!
More information about the bug-notifications
mailing list