[Multiarch-devel] trying multi-arch build for libbotan1.10

Markus Wanner markus at bluegap.ch
Wed Mar 6 19:41:33 UTC 2013


Ondřej,

I hope you don't mind, since you didn't ask for help: I've reviewed
packaging for libbotan1.10 and tried to enable Multi-Arch builds for it.
I partly did this as an exercise in packaging. I'm not a DM/DD (yet).

The first patch (01-misc.diff) contains some corrections and a possible
simplification. Please review.

The second patch (02-multi-arch-ify.diff) is a first attempt at enabling
Multi-Arch builds for libbotan1.10. It seems successful for the library
itself (I'm able to install and run monotone:i386 with it) but I'm
having trouble with the -dev package, as it ships an additional binary:
/usr/bin/botan-config-1.10. In addition to that, the -dev package
installs different headers depending on architecture (and configuration).

I can imagine some kind of wrapper around botan-config-1.10, but how
about the header files? Can these be unified based on macro checks
(possibly with the help of upstream)? Does this mean libbotan cannot
currently be Multi-Arch-ified?

Are there any examples of other libraries with similar issues?

Regards

Markus Wanner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-misc.diff
Type: text/x-patch
Size: 2305 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/multiarch-devel/attachments/20130306/7c817c17/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-multi-arch-ify.diff
Type: text/x-patch
Size: 4259 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/multiarch-devel/attachments/20130306/7c817c17/attachment-0001.bin>


More information about the Multiarch-devel mailing list