A NOTE has been added to this issue. ====================================================================== https://www.opencsw.org/mantis/view.php?id=4791 ====================================================================== Reported By: skayser Assigned To: ====================================================================== Project: cswutils Issue ID: 4791 Category: regular use Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-06-22 00:53 CEST Last Modified: 2011-06-22 11:43 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@asd5inbld002:/buildr/mgar/pkg/zbx-agent/trunk> ====================================================================== ---------------------------------------------------------------------- (0009132) igalic (reporter) - 2011-06-22 11:43 https://www.opencsw.org/mantis/view.php?id=4791#c9132 ---------------------------------------------------------------------- Trying to repro, this is how far I get: igalic@asd5inbld002:/buildr/mgar/gar/v2> bin/pkgdb system-files-to-file 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 "bin/pkgdb", line 685, in <module> main() File "bin/pkgdb", line 413, in main dm.AutoManage() File "/buildr/mgar/gar/v2/lib/python/database.py", line 65, in AutoManage self._CheckAndMaybeFixFreshness(auto_fix=auto_manage) File "/buildr/mgar/gar/v2/lib/python/database.py", line 105, in _CheckAndMaybeFixFreshness ldm.RefreshDatabase() File "/buildr/mgar/gar/v2/lib/python/database.py", line 317, in RefreshDatabase data = spi.Index(show_progress=True) File "/buildr/mgar/gar/v2/lib/python/system_pkgmap.py", line 269, in Index contents_stream, pkginfo_stream, self.osrel, self.arch, show_progress) File "/buildr/mgar/gar/v2/lib/python/system_pkgmap.py", line 259, in GetDataStructure "contents": self._ParseInstallContents(contents_stream, show_progress), File "/buildr/mgar/gar/v2/lib/python/system_pkgmap.py", line 220, in _ParseInstallContents d = self._ParsePkgmapLine(line) File "/buildr/mgar/gar/v2/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' igalic@asd5inbld002:/buildr/mgar/gar/v2> _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
