[csw-maintainers] apr, apr-util

rupert THURNER rupert.thurner at gmail.com
Wed Jul 20 13:17:38 CEST 2011


On Wed, Jul 20, 2011 at 12:49, Dagobert Michelsen <dam at opencsw.org> wrote:
> Hi Rupert,
>
> Am 19.07.2011 um 23:28 schrieb rupert THURNER:
>> i tried to change apr, and apr-util as well ... but i seem to have the
>> same problem with obsoleting again. what did i do wrong, here the
>> apr-util example:
>>
>> http://sourceforge.net/apps/trac/gar/changeset/15126/csw/mgar/pkg/apr-util/trunk/Makefile
>
> You are trying to obsolete CSWlibaprutil which does not exist. Additionally, the
> private shared libraries in lib/apr-util-1 are needed for libaprutil-1.so.0. For the
> devel package I would recommend naming it after the library package as there is no
> longer a base apr-util where it would be devel for. This has all been fixed in
>  http://sourceforge.net/apps/trac/gar/changeset/15147
> and the packages have been released to unstable/:
>
> apr_util_stub-1.3.12,REV=2011.07.20-SunOS5.9-all-CSW.pkg.gz
> libaprutil1_0-1.3.12,REV=2011.07.20-SunOS5.9-i386-CSW.pkg.gz
> libaprutil1_0-1.3.12,REV=2011.07.20-SunOS5.9-sparc-CSW.pkg.gz
> libaprutil_dev-1.3.12,REV=2011.07.20-SunOS5.9-i386-CSW.pkg.gz
> libaprutil_dev-1.3.12,REV=2011.07.20-SunOS5.9-sparc-CSW.pkg.gz

thanks a lot dago! as apr was always fine and no need to change
anything which was fine, i thought it might be appropriate to just
ignore the error messages of checkpkg ... but it does not let. despite
   CHECKPKG_OVERRIDES_CSWapr +=
shared-lib-pkgname-mismatch|sonames=libapr-1.so.0|pkgname=CSWapr|expected=CSWlibapr10,CSWlibapr1-0|
in the recipe checkpkg wants it again, resp complains.

# Checkpkg suggests adding the following lines to the GAR recipe:
# This is a summary; see above for details.
# (If CSWapr-dev doesn't exist yet)
PACKAGES += CSWapr-dev
PKGFILES_CSWapr-dev += /opt/csw/lib/libapr-1.so
CATALOGNAME_CSWapr-dev = apr_dev
# (If CSWapr-dev doesn't exist yet)
PACKAGES += CSWapr-dev
PKGFILES_CSWapr-dev += /opt/csw/lib/sparcv9/libapr-1.so
CATALOGNAME_CSWapr-dev = apr_dev
If any of the reported errors were false positives, you can override them
pasting the lines below to the GAR recipe.
CHECKPKG_OVERRIDES_CSWapr +=
shared-lib-pkgname-mismatch|sonames=libapr-1.so.0|pkgname=CSWapr|expected=CSWlibapr10,CSWlibapr1-0|
Please note that checkpkg isn't suggesting you should simply add these overrides
do the Makefile.  It only informs what the overrides could look like.  You need
to understand what are the reported issues about and use your best judgement to
decide whether to fix the underlying problems or override them. For more
information, scroll up and read the detailed messages.
WARNING: Some overrides did not match any errors. They can be removed, as they
don't take any effect anyway.  If you're getting errors at the same time, maybe
you didn't specify the overrides correctly.
* Unused Override: CSWapr: shared-lib-pkgname-mismatch
sonames=libapr-1.so.0 pkgname=CSWapr expected=CSWlibapr10,CSWlibapr1-0
gmake: *** [pkgcheck] Error 2


More information about the maintainers mailing list