Package: src:vflib3
Version: 3.6.14.dfsg-3+nmu2
Severity: normal
Tags: patch
Dear Maintainer,
While trying to build the package on ppc64el, it fails with this message:
make[2]: Entering directory '/«PKGBUILDDIR»/t1lib'
mkdir /«PKGBUILDDIR»/debian/tmp/usr/share/VFlib/3.6.14/t1lib
make[2]: Leaving directory '/«PKGBUILDDIR»/t1lib'
make[2]: Entering directory '/«PKGBUILDDIR»/ascii-jtex'
Installing ADJ files for Japanese TeX...
mkdir /«PKGBUILDDIR»/debian/tmp/usr/share/VFlib/3.6.14/ascii-jtex
make[2]: Leaving directory '/«PKGBUILDDIR»/ascii-jtex'
Installing vflibcaps...
make[1]: Leaving directory '/«PKGBUILDDIR»'
# Remove RPATH from the generated library. (lintian)
chrpath -d debian/tmp/usr/lib/libVFlib3.so.5.4.6
open: No such file or directory
elf_open: Invalid argument
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit
status 2
The attached patch fixes this issue. It updates few debian files and ltconfig
(the same fix has been applied in Ubuntu on this file).
Thanks for considering the patch.
Erwan Prioul.
diff -Naur a/debian/compat b/debian/compat
--- a/debian/compat 2016-12-05 16:20:40.701369448 +0100
+++ b/debian/compat 2016-12-05 16:22:35.953673637 +0100
@@ -1 +1 @@
-5
+9
diff -Naur a/debian/control b/debian/control
--- a/debian/control 2016-12-05 16:20:40.677369384 +0100
+++ b/debian/control 2016-12-05 16:22:22.401637846 +0100
@@ -8,7 +8,7 @@
Package: vflib3-dev
Section: libdevel
Architecture: any
-Depends: vflib3 (= ${Source-Version}), libfreetype6-dev, libkpathsea-dev, libc6-dev
+Depends: vflib3 (= ${source:Version}), libfreetype6-dev, libkpathsea-dev, libc6-dev
Description: Development files for VFlib3
VFlib3 is a font rasterizer library for multi-lingual information
processing. Using VFlib3, you can obtain bitmap data of characters(glyphs)
diff -Naur a/ltconfig b/ltconfig
--- a/ltconfig 2016-12-05 16:20:41.077370439 +0100
+++ b/ltconfig 2016-12-05 16:21:42.481532448 +0100
@@ -2006,11 +2006,7 @@
if test -f /lib/ld.so.1; then
dynamic_linker='GNU ld.so'
else
- # Only the GNU ld.so supports shared libraries on MkLinux.
- case "$host_cpu" in
- powerpc*) dynamic_linker=no ;;
- *) dynamic_linker='Linux ld.so' ;;
- esac
+ dynamic_linker='Linux ld.so'
fi
;;