Package: debhelper
Version: 5.0.12
Severity: minor

Hello,

I'm working on unofficial packages of Geant 4, and in the process I've found
a bug in a special case of dh_link.

I have a file debian/geant4-common.links with the following contents:

usr/share/geant4/config usr/lib/geant4/config
usr/lib/geant4          usr/lib/geant4/Linux-g++

(Basically, upstream's build system creates a directory
.../geant4/Linux-g++ in which all the libraries are placed.  For Debian,
there's no sense in having the architecture in the path, so I put them
into /usr/lib/geant4, but some upstream tools may try to look in
.../geant4/Linux-g++ nonetheless.  Thus "Linux-g++" needs to be a
symlink to the directory that contains it.  I'm aware that this is ugly
and non-optimal.)

The result of running dh_link is the following in the .deb:

lrwxrwxrwx root/root         0 2006-01-07 02:11:48 ./usr/lib/geant4/Linux-g++ 
-> ../geant4

This results in a Lintian error "lengthy-symlink".  The link produced by
dh_link should instead be "./usr/lib/geant4/Linux-g++ -> ."

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debhelper depends on:
ii  binutils             2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii  coreutils [fileutils 5.93-5              The GNU core utilities
ii  debconf-utils        1.4.67              debconf utilities
ii  dpkg-dev             1.13.11             package building tools for Debian
ii  file                 4.15-2              Determines file type using "magic"
ii  html2text            1.3.2a-3            An advanced HTML to text converter
ii  perl                 5.8.7-10            Larry Wall's Practical Extraction 
ii  po-debconf           0.9.2               manage translated Debconf template

debhelper recommends no packages.

-- no debconf information

regards,

-- 
Kevin B. McCarty <[EMAIL PROTECTED]>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to