Package: debhelper Version: 7.0.16 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
When using dh7 and the nice small debian/rules files for perl modules I saw several times that stuff gets installed into /usr/usr with dh_auto_install. Today I again stumbled over this phenomenon -- with libdata-serializer-perl, in the pkg-perl repo. After some investigation (and looking at other modules) it seems that the problem comes up with modules where Makefile(.PL) is just a wrapper for Module::Build; in the case of libdata-serializer-perl dh_auto_install calls make install DESTDIR=/tmp/buildd/libdata-serializer-perl-0.48/debian/libdata-serializer-perl PREFIX=/usr which is perfectly fine but the previously generated Makefile then calls /usr/bin/perl Build --makefile_env_macros 1 install which AFAICS adds the "PREFIX=/usr" to "perl Build" -- and so we end up with files in /tmp/buildd/libdata-serializer-perl-0.48/debian/libdata-serializer-perl/usr/usr/ I'm not sure if and what debhelper can do about it; one option might be to prefer Build(.PL) over Makefile(.PL) for dh_auto_{configure,build,install} (or at least _install); in general I prefer MakeMaker over Module::Build magic, but in this case it would solve the problem. But maybe someone else has some other ideas. Cheers, gregor - -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debhelper depends on: ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina ii dpkg-dev 1.14.19 package building tools for Debian ii file 4.25-1 Determines file type using "magic" ii html2text 1.3.2a-5 advanced HTML to text converter ii man-db 2.5.2-2 on-line manual pager ii perl 5.10.0-13 Larry Wall's Practical Extraction ii po-debconf 1.0.15 manage translated Debconf template debhelper recommends no packages. Versions of packages debhelper suggests: ii dh-make 0.46 tool that converts source archives - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkivYAoACgkQOzKYnQDzz+RCwQCfbOswQaOjM9uGbw2kax3jJRfF zBMAnieRUhopm0AGBnVRntjLrecfpuOv =Ay0b -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]