<div class="gmail_quote">2012/5/24 Maciej (Matchek) Bliziński <span dir="ltr"><<a href="mailto:maciej@opencsw.org" target="_blank">maciej@opencsw.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One question ‒ how can you check any 5.11 package at all, since checkpkg doesn't support checking packages against SunOS5.11 catalogs? </blockquote></div><br><div>Maybe I should clarify what I mean: the package database on the buildfarm does not have the system files imported. Here's what happens when you try to test the package, the error message says it all:</div>
<div><br></div><div><div>$ bin/checkpkg --arch sparc --os-release SunOS5.11 --catalog-release unstable /home/yann/build/libssl_dev-1.0.1c\,</div><div>REV\=2012.05.24-SunOS5.11-sparc-UNCOMMITTED.pkg.gz</div><div>INFO:root:Juicing the srv4 package stream files...</div>
<div>100% |#####################################################################################################################################################################|</div><div>Traceback (most recent call last):</div>
<div> File "bin/checkpkg", line 197, in <module></div><div> main()</div><div> File "bin/checkpkg", line 148, in main</div><div> dm.VerifyContents(sqo_osrel, sqo_arch)</div><div> File "/home/maciej/src/opencsw-git/gar/v2/lib/python/database.py", line 139, in VerifyContents</div>
<div> sqo_osrel.short_name, <a href="http://sqo_arch.name">sqo_arch.name</a>))</div><div>database.DatabaseError: Checkpkg can't find system files for SunOS5.11 sparc in the cache database. These are files such as /usr/lib/libc.so.1. Private DB setup: you can only check packages built for the same Solaris version you're running on this machine. For instance, you can't check a SunOS5.9 package on SunOS5.10. Shared DB setup (e.g. OpenCSW maintainers): If you have one home directory on multiple hosts, make sure you run checkpkg on the host you intended to. To fix, go to a sparc SunOS5.11 host and execute: pkgdb system-files-to-file; pkgdb import-system-file install-contents-SunOS5.11-sparc.pickle; See <a href="http://wiki.opencsw.org/checkpkg">http://wiki.opencsw.org/checkpkg</a> for more information.</div>
</div><div><br></div><div>I'll see if I can prepare the package database to support Solaris 11 checks.</div>