Building Safe-Hole
WARNING: Can't figure out install path for types: arch lib
On Tue, Jul 21, 2020 at 11:54:50AM +0200, Stefan Hornburg (Racke) wrote:
I'm trying to update a really old Debian package (safe-hole-perl) because of bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965811.
It uses Module::Build and is a XS module.
Error message on build:
dh binary
dh_testroot
dh_prep
dh_auto_install
perl Build install --destdir /var/tmp/debaux-racke/safe-hole-perl/safe-hole-perl-0.14/debian/libsafe-hole-perl
--create_packlist 0
Building Safe-Hole
WARNING: Can't figure out install path for types: arch lib
Files will not be installed.
Installing
/var/tmp/debaux-racke/safe-hole-perl/safe-hole-perl-0.14/debian/libsafe-hole-perl/home/racke/perl5/perlbrew/perls/perl-5.30.0/man/man3/Safe::Hole.3
At a guess, the problem is related to the fact your perl is a perlbrew
one (see the install path above).
Does it work if you arrange for the perl in your path to be /usr/bin/perl?
This smells like a bug in debhelper to me - perl policy says that perl
should be /usr/bin/perl in shebangs, and I think the same should apply
here. I'm amazed this hasn't bit us before, if I'm right (it's been like
this since at least 2009, and probably forever).
https://salsa.debian.org/debian/debhelper/-/blob/master/lib/Debian/Debhelper/Buildsystem/perl_build.pm#L44
Dominic
I'm trying to update a really old Debian package (safe-hole-perl) because of bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965811.
It uses Module::Build and is a XS module.
Error message on build:
dh binary
dh_testroot
dh_prep
dh_auto_install
perl Build install --destdir /var/tmp/debaux-racke/safe-hole-perl/safe-hole-perl-0.14/debian/libsafe-hole-perl
--create_packlist 0
Building Safe-Hole
WARNING: Can't figure out install path for types: arch lib
Files will not be installed.
Installing /var/tmp/debaux-racke/safe-hole-perl/safe-hole-perl-0.14/debian/libsafe-hole-perl/home/racke/perl5/perlbrew/perls/perl-5.30.0/man/man3/Safe::Hole.3
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 294 |
Nodes: | 16 (2 / 14) |
Uptime: | 246:01:22 |
Calls: | 6,626 |
Calls today: | 2 |
Files: | 12,175 |
Messages: | 5,320,576 |