Stuck with bug 989: libkolabxml

Paul Klos <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab,gmane.comp.kde.kolab.devel
Message-ID <1644176.rZHlCxeL7F@apollo>
Hi all,

This weekend I thought I would be able to iron out some lintian warnings in libkolabxml. According to the bug report for 989 these warnings were still there:

W: libkolabxml source: missing-license-paragraph-in-dep5-copyright public-domain (paragraph at line 49)
W: php-kolabformat: hardening-no-fortify-functions usr/lib/php5/20100525/kolabformat.so
W: libkolabxml0: hardening-no-fortify-functions usr/lib/libkolabxml.so.0.8.1

However, in a fresh environment (I only did git clone and git-buildpackage) I got these errors and warnings:
E: libkolabxml changes: changed-by-address-malformed Michael Kiefer <[email protected]> <[email protected]>
W: libkolabxml source: changelog-should-mention-nmu
W: libkolabxml source: missing-license-paragraph-in-dep5-copyright public-domain (paragraph at line 49)
W: php-kolabformat: hardening-no-fortify-functions usr/lib/php5/20100525/kolabformat.so
E: php-kolabformat: missing-dependency-on-phpapi
W: libkolabxml0: hardening-no-fortify-functions usr/lib/libkolabxml.so.0.8.1

I can get rid of all these errors/warnings except the "hardening-no-fortify-functions" warnings. I don't know what to do about those.

But the issue I'm really stuck with is the missing-dependency-on-phpapi error. I had a look here: http://lintian.debian.org/tags/missing-dependency-on-phpapi.html.

The explanation says "PHP extensions must depend on phpapi-$(php-configN --phpapi), without adding an alternative package with the OR operator". A change was made earlier to make libkolabxml depend on "phpapi-20100525 | phpapi-20100525+lfs". This is exlpicitly disallowed and lintian checks for it, resulting in the error above.

Now, it's clear that libkolabxml cannot depend on either phpapi-20100525 or phpapi-20100525+lfs. So what's the solution here? Either we have to choose one PHP API, or we have to deliver libkolabxml in two flavours, with different dependencies. The first is easy, I already did that in my packaging environment. The second shouldn't be too hard, but I haven't tried it. Anyway, I don't know enough about libkolabxml, PHP and this lfs to make this call.

Any guidance appreciated :-).

Cheers,

Paul

_______________________________________________
Kolab-devel mailing list
[email protected]
https://www.intevation.de/mailman/listinfo/kolab-devel
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEABECAAYFAlB66rIACgkQOLABYiifh6vpqQCfd2jJ840prg5oGs2kK7nivuUG
4GUAnRekXZhpMmkueYzzhVB5lcT6BvYG
=xZ+m
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.