[csw-maintainers] apr, apr-util

Dagobert Michelsen dam at opencsw.org
Wed Jul 20 13:22:14 CEST 2011


Hi Rupert,

Am 20.07.2011 um 13:17 schrieb rupert THURNER:
> 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.

This is in fact a bug in checkpkg. As you notice '|' is the last character indicating there is
somewhere a trailing space. Maciej is aware of the issue but was unable to find the cause yet.
As a workaround you could do
  CHECKPKG_OVERRIDES_CSWapr += shared-lib-pkgname-mismatch


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list