Bug#770376: Allow rpaths in /usr/lib/ghc/
On 2014-11-21 19:04, Bastien ROUCARIES wrote:
> control: tags -1 + moreinfo
Hi Bastien,
Perhaps it is just me, but I am missing a reason of why this one is
tagged moreinfo.
~Niels
(Original mail quoted below):
> On Thu, Nov 20, 2014 at 9:03 PM, Joachim Breitner <nomeata@debian.org> wrote:
>> Package: lintian
>> Version: 2.5.30+deb8u2
>> Severity: important
>>
> Hi,
>
> I just tried to upload a Haskell package built with ghc-7.8, but it was
> rejected:
>
> libghc-mtl-dev: lintian output: 'binary-or-shlib-defines-rpath usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.8.3/mtl-2.1.3.1/libHSmtl-2.1.3.1-ghc7.8.3.so /usr/lib/ghc/ghc-prim-0.3.1.0', automatically rejected package.
> libghc-mtl-dev: If you have a good reason, you may override this lintian tag.
> libghc-mtl-dev: lintian output: 'binary-or-shlib-defines-rpath usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.8.3/mtl-2.1.3.1/libHSmtl-2.1.3.1-ghc7.8.3.so /usr/lib/ghc/integer-gmp-0.5.1.0', automatically rejected package.
> libghc-mtl-dev: If you have a good reason, you may override this lintian tag.
> libghc-mtl-dev: lintian output: 'binary-or-shlib-defines-rpath usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.8.3/mtl-2.1.3.1/libHSmtl-2.1.3.1-ghc7.8.3.so /usr/lib/ghc/transformers-0.3.0.0', automatically rejected package.
> libghc-mtl-dev: If you have a good reason, you may override this lintian tag.
> libghc-mtl-dev: lintian output: 'binary-or-shlib-defines-rpath usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.8.3/mtl-2.1.3.1/libHSmtl-2.1.3.1-ghc7.8.3.so /usr/lib/ghc/base-4.7.0.1', automatically rejected package.
> libghc-mtl-dev: If you have a good reason, you may override this lintian tag.
> libghc-mtl-dev: lintian output: 'binary-or-shlib-defines-rpath usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.8.3/mtl-2.1.3.1/libHSmtl-2.1.3.1-ghc7.8.3.so /usr/lib/ghc/rts-1.0', automatically rejected package.
> libghc-mtl-dev: If you have a good reason, you may override this lintian tag.
>
> GHC-7.8 (in experimental) started to also create shared libraries, but
> these live in private paths, so it uses rpath allow the linker to find
> them. It seems to me that this is a valid use of rpath
>
>> 1. Could you explain how can I detect ghc package ?
>> 2. Could you pin point to some documentation about this shared library stuff ?
>> 3. Could you explain why rpath and improve wiki
>> (https://wiki.debian.org/RpathIssue) particularly with the issue here
>> does not apply in your case.
>
>> Bastien
>
>
> I could start to create override files and add them to ~700 packages,
> but it seems to make more sense to make lintian aware of this use, and
> do not report this error for rpaths pointing to something in /usr/lib/ghc/.
>
> I mark this as important as it prevents us from uploading further
> Haskell packages to experimental (at least without temporary
> work-arounds).
>
> Thanks,
> Joachim
>
> [...]
>
>>
>
>
Reply to: