Bug#770376: Allow rpaths in /usr/lib/ghc/
control: tags -1 + moreinfo
On Thu, Nov 20, 2014 at 9:03 PM, Joachim Breitner <nomeata@debian.org> wrote:
> Package: lintian
> Version: 2.5.30+deb8u2
> Severity: important
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
>
> - -- System Information:
> Debian Release: jessie/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (101, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> armhf
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages lintian depends on:
> ii binutils 2.24.90.20141111-2
> ii bzip2 1.0.6-7+b1
> ii diffstat 1.58-1
> ii file 1:5.20-2
> ii gettext 0.19.3-1
> ii hardening-includes 2.7
> ii intltool-debian 0.35.0+20060710.1
> ii libapt-pkg-perl 0.1.29+b2
> ii libarchive-zip-perl 1.39-1
> ii libclass-accessor-perl 0.34-1
> ii libclone-perl 0.37-1+b1
> ii libdpkg-perl 1.17.21
> ii libemail-valid-perl 1.195-1
> ii libfile-basedir-perl 0.03-1
> ii libipc-run-perl 0.92-1
> ii liblist-moreutils-perl 0.33-2+b1
> ii libparse-debianchangelog-perl 1.2.0-1.1
> ii libtext-levenshtein-perl 0.11-1
> ii libtimedate-perl 2.3000-2
> ii liburi-perl 1.64-1
> ii man-db 2.7.0.2-3
> ii patchutils 0.3.3-1
> ii perl [libdigest-sha-perl] 5.20.1-3
> ii t1utils 1.38-1
>
> Versions of packages lintian recommends:
> ii libautodie-perl 2.25-1
> ii libperlio-gzip-perl 0.18-3+b1
> ii perl 5.20.1-3
> ii perl-modules [libautodie-perl] 5.20.1-3
>
> Versions of packages lintian suggests:
> pn binutils-multiarch <none>
> ii dpkg-dev 1.17.21
> ii libhtml-parser-perl 3.71-1+b3
> ii libtext-template-perl 1.46-1
> ii libyaml-perl 1.13-1
> ii xz-utils 5.1.1alpha+20120614-2+b1
>
> - -- no debconf information
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlRuSP4ACgkQ9ijrk0dDIGz51wCgkQZOTfg3npjwFZfLAX0FNmP1
> MCwAoJ4kDPK+Zj79/MUB67yDnar6vxSo
> =D5ct
> -----END PGP SIGNATURE-----
>
Reply to: