[csw-maintainers] Problems with chkpkg
Juergen Arndt
ja at opencsw.org
Mon Aug 29 20:19:10 CEST 2011
Hi all,
I have some problems with chkpkg, which I cannot solve:
I tuned my gar recipe for nagios that way, that I can build my package without errors with "gmake platforms". When uploading the package with csw-upload-pkg I get the following messages:
#> csw-upload-pkg /home/ja/staging/build-29.Aug.2011/nagios-3.2.3\,REV\=2011.08.29-SunOS5.9-*Processing 2 file(s). Please wait.
Uploading '/home/ja/staging/build-29.Aug.2011/nagios-3.2.3,REV=2011.08.29-SunOS5.9-i386-CSW.pkg.gz'
Uploading '/home/ja/staging/build-29.Aug.2011/nagios-3.2.3,REV=2011.08.29-SunOS5.9-sparc-CSW.pkg.gz'
Checking 1 package(s) against catalog unstable sparc SunOS5.9
Checking 1 package(s) against catalog unstable i386 SunOS5.9
Checking 1 package(s) against catalog unstable sparc SunOS5.10
Checking 1 package(s) against catalog unstable i386 SunOS5.10
Checks failed for catalogs:
- sparc SunOS5.9
nagios-3.2.3,REV=2011.08.29-SunOS5.9-sparc-CSW.pkg.gz
To see errors, run:
/opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.9 --architecture sparc 814c15621d0815e4c127e9330362ae22
- i386 SunOS5.9
nagios-3.2.3,REV=2011.08.29-SunOS5.9-i386-CSW.pkg.gz
To see errors, run:
/opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.9 --architecture i386 4dd45d37e1a11088bf9aeccda8efa6d0
- sparc SunOS5.10
nagios-3.2.3,REV=2011.08.29-SunOS5.9-sparc-CSW.pkg.gz
To see errors, run:
/opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 --architecture sparc 814c15621d0815e4c127e9330362ae22
- i386 SunOS5.10
nagios-3.2.3,REV=2011.08.29-SunOS5.9-i386-CSW.pkg.gz
To see errors, run:
/opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 --architecture i386 4dd45d37e1a11088bf9aeccda8efa6d0
Packages have not been submitted to the unstable catalog.
ja at login:/home/ja/mgar/pkg/nagios/trunk:> /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.9 --architecture sparc 814c15621d0815e4c127e9330362ae22
INFO:root:Unwrapping candies...
100% |#############################################################################################################################|
INFO:root:Tasting candies one by one...
100% |#############################################################################################################################|
INFO:root:Tasting them all at once...
INFO:root:Stuffing the candies under the pillow...
100% |#############################################################################################################################|
CSWnagios:
....
* Dependency issues of CSWnagios:
* CSWlibiconv2 is needed by CSWnagios, because:
* - opt/csw/nagios/sbin/histogram.cgi needs the libiconv.so.2 soname
* - opt/csw/nagios/sbin/statusmap.cgi needs the libiconv.so.2 soname
* - opt/csw/nagios/sbin/trends.cgi needs the libiconv.so.2 soname
* RUNTIME_DEP_PKGS_CSWnagios += CSWlibiconv2
* CSWlibpng12-0 is needed by CSWnagios, because:
* - opt/csw/nagios/sbin/histogram.cgi needs the libpng12.so.0 soname
* - opt/csw/nagios/sbin/statusmap.cgi needs the libpng12.so.0 soname
* - opt/csw/nagios/sbin/trends.cgi needs the libpng12.so.0 soname
* RUNTIME_DEP_PKGS_CSWnagios += CSWlibpng12-0
* CSWlibz1 is needed by CSWnagios, because:
* - opt/csw/nagios/sbin/trends.cgi needs the libz.so.1 soname
* - opt/csw/nagios/sbin/statusmap.cgi needs the libz.so.1 soname
* - opt/csw/nagios/sbin/histogram.cgi needs the libz.so.1 soname
* RUNTIME_DEP_PKGS_CSWnagios += CSWlibz1
* If you don't know of any reasons to include these dependencies, you might
remove them:
* ? CSWap2modphp5
* ? CSWbdb
* ? CSWgd
* ? CSWggettextrt
* ? CSWglib2
* ? CSWiconv
* ? CSWlibtoolrt
* ? CSWnagiosp
* ? CSWosslrt
* ? CSWpng
* ? CSWzlib
# Checkpkg suggests adding the following lines to the GAR recipe:
# This is a summary; see above for details.
RUNTIME_DEP_PKGS_CSWnagios += CSWlibiconv2
RUNTIME_DEP_PKGS_CSWnagios += CSWlibpng12-0
RUNTIME_DEP_PKGS_CSWnagios += CSWlibz1
If any of the reported errors were false positives, you can override them
pasting the lines below to the GAR recipe.
CHECKPKG_OVERRIDES_CSWnagios += surplus-dependency|CSWpng
CHECKPKG_OVERRIDES_CSWnagios += surplus-dependency|CSWzlib
CHECKPKG_OVERRIDES_CSWnagios += surplus-dependency|CSWiconv
CHECKPKG_OVERRIDES_CSWnagios += missing-dependency|CSWlibpng12-0
CHECKPKG_OVERRIDES_CSWnagios += missing-dependency|CSWlibz1
CHECKPKG_OVERRIDES_CSWnagios += missing-dependency|CSWlibiconv2
Well, are there packages named CSWlibiconv2, CSWlibpng12-0 and CSWlibz1? I cannot find them. I thougt, I would be fine with CSWiconv, CSWpng and CSWzlib.
Second question: If I define these overrides, I cannot build the packages anymore, because chkpkg throws an error because the overrides don't match any error.
What can I do to solve this?
Regards,
Juergen
--
Juergen Arndt
More information about the maintainers
mailing list