Bug#752473: gdal: hardcodes /usr/lib/perl5
gregor herrmann
gregoa at debian.org
Tue Jul 8 18:09:38 UTC 2014
COntrol: tag -1 + patch
On Mon, 23 Jun 2014 23:46:17 +0300, Niko Tyni wrote:
> This package fails to build with perl_5.20.0-1 from experimental:
>
> # moves perl stuff the right dirs
> install -o root -g root -d /«BUILDDIR»/gdal-1.10.1+dfsg/debian/tmp/usr/lib/perl5/auto
> mv /«BUILDDIR»/gdal-1.10.1+dfsg/debian/tmp"/usr/lib/x86_64-linux-gnu/perl5/5.20/x86_64-linux-gnu-thread-multi"/auto/* /«BUILDDIR»/gdal-1.10.1+dfsg/debian/tmp/usr/lib/perl5/auto/.
> mv: cannot stat '/«BUILDDIR»/gdal-1.10.1+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/perl5/5.20/x86_64-linux-gnu-thread-multi/auto/*': No such file or directory
> make[1]: *** [override_dh_auto_install] Error 1
> debian/rules:141: recipe for target 'override_dh_auto_install' failed
> make[1]: Leaving directory '/«BUILDDIR»/gdal-1.10.1+dfsg'
> make: *** [binary-arch] Error 2
>
> It looks like swig/perl/Makefile is passing INSTALL_BASE=/usr
> to Makefile.PL, forcing installation under /usr/lib/perl5 (see
> ExtUtils::MakeMaker(3perl).) Possibly this should be changed to
> INSTALLDIRS=vendor.
>
> One solution for debian/libgdal-perl.install might be an executable
> debhelper install file (available with debhelper compat level 9)
> expanding $Config{vendorarch}. See #751924 for an example of this.
Implemented with a patch (for INSTALLDIRS=vendor) and an executable
.install file for $Config{vendorarch}.
See attached debdiff.
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Dire Straits: Skateaway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 752473.diff
Type: text/x-diff
Size: 4528 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20140708/1e07bd3c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 928 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20140708/1e07bd3c/attachment.sig>
More information about the Pkg-grass-devel
mailing list