Bug#632325: libextutils-f77-perl: runtime() returns interesting path

gregor herrmann gregoa at debian.org
Fri Jul 1 13:06:57 UTC 2011


Package: libextutils-f77-perl
Version: 1.17-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I tried to rebuild libpgplot-perl without the chrpath invocation
that's currently used to get rid if the RPATH issue, because I
thought this is another instance of #631096, which is fixed in perl
5.12.4.

But lintian still says:

E: libpgplot-perl: binary-or-shlib-defines-rpath usr/lib/perl5/auto/PGPLOT/PGPLOT.so /usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1

and the build log shows:

ExtUtils::F77: Version 1.17
Loaded ExtUtils::F77 version 1.17
Found compiler gfortran
ExtUtils::F77: Using system=Linux compiler=GNU
Runtime: -L/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1 -L/usr/lib -lgfortran -lm
ExtUtils::F77: Validating -L/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1 -L/usr/lib -lgfortran -lm   [ok]
ExtUtils::F77: Compiler: gfortran
ExtUtils::F77: Cflags:  
[..]
LD_RUN_PATH="/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1" cc  -shared -O2 -g -L/usr/local/lib -fstack-protector PGPLOT.o  -o blib/arch/auto/PGPLOT/PGPLOT.so   \
       -L/usr/lib -L/usr/local/lib -lcpgplot -lpgplot -lX11 -lpng -L/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1 -L/usr/lib -lgfortran -lm      \

ExtUtils::F77 gets the runtime value by running:

$ gfortran -print-file-name=libgfortran.a
/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.6.1/libgfortran.a
      
(and stripping off the library name at the end.)

This does not seem right ...


Cheers,
gregor

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-rc5-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJODcZvAAoJELs6aAGGSaoGhIoP/iv1VCQPi1X5W5P9XJrXtvzb
CmvuqkFPQCRFM3iUGNE7OUmuhDcfL+XlYdu1S0rPiTPQU47ONO/PlXWOy37vQ0Ms
oaAcPuT3hON4nIf3ZTysCalD1YzVHjqz0rZB7Mr+u/DyVT1x2HVWReydVqTSnAff
vv5ncJ7Dm3W7T+I4iB9TDJcZoCUjNpB+JlBt50DpBHXifPTUwoxsJdFiUzv1I+li
PKHQ9w3zKS/9ysSSlx3nkrc/8T2irGQEDaX5cirQsn7+BQdhrEn0pVmvOWqqGQBk
eQF7viC9C3TFWRwGk8iy87OI+3ZmgJbSHNsryXljFIVNojtoO0dL3I84FCZZy2KO
KXD8fBgnXsI6LYS3igXbcbfqwaxrr4HymtE3Q0UnPQNfvB8RtyffYVtOfyqcu2Td
sS+tu8VfCjKox9YSjsWcpV4/g0uUuaX2GLfDBCCrGm0KfuwU79qozH1BFXN4cYh+
Kppc4f6autwD3llRU2rMZpwQjKdqT+tBGmcIDe6j5YTH6Kt+A2CQ3g76topJSwI9
ZeHtDqJZCFvo9AlpBGn7j2eOpCBKUosRxDi3SCExWMqAtCJD8tLSMLKKNhWhnRys
9QXld11ooh3d77NsYBWx0F2ldj4h4kUUVCgKTgy3ow2n5zQC3B0Vfq0fTsdzWO6U
B4X86e4VbjeroTvjth+3
=Tehd
-----END PGP SIGNATURE-----





More information about the pkg-perl-maintainers mailing list