[Debian-med-packaging] Bug#837490: libpapyrus3-dev: Please build libPapyrus3.a with -fPIC

Steve M. Robbins steve at sumost.ca
Sun Oct 23 17:40:08 UTC 2016


On Mon, Sep 12, 2016 at 01:18:32AM +0200, Balint Reczey wrote:

> During a rebuild of all packages in sid, gdcm
> failed to build on amd64 with patched GCC and dpkg. The root
> cause seems to be that libPapyrus3.a is shipped as a non-PIC library.

That cannot be the root cause.  Debian Policy [1] is to build static
libs without -fPIC

     10.2 Libraries

     [...]  As to the static libraries, the common case is not to have
     relocatable code, since there is no benefit, unless in specific
     cases; therefore the static version must not be compiled with the
     -fPIC flag. Any exception to this rule should be discussed on the
     mailing list debian-devel at lists.debian.org, and the reasons for
     compiling with the -fPIC flag must be recorded in the file
     README.Debian.


[1] https://www.debian.org/doc/debian-policy/ch-files.html#s-libraries

-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20161023/8d6b96c9/attachment.sig>


More information about the Debian-med-packaging mailing list