Bug#936004: gedit-plugins: FTBFS with gedit 3.33
Steve Langasek
steve.langasek at canonical.com
Wed Aug 28 22:22:29 BST 2019
Package: gedit-plugins
Version: 3.32.0-1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu eoan ubuntu-patch
gedit 3.33.90 in experimental has moved libgedit off of the linker path and
now ships it in /usr/lib/$arch/gedit/ as a private library. As a result,
gedit-plugins fails to build because dh_shlibdeps fails to find it.
To fix this, dh_shlibdeps needs to be told to look in the private directory
for dependencies, as in the attached patch.
I have confirmed in Ubuntu that the gedit-plugins-draw-spaces package built
this way successfully loads in gedit, with libgedit in the private directory.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
diff -Nru gedit-plugins-3.32.0/debian/rules gedit-plugins-3.32.0/debian/rules
--- gedit-plugins-3.32.0/debian/rules 2019-03-10 18:13:09.000000000 -0700
+++ gedit-plugins-3.32.0/debian/rules 2019-08-28 14:12:10.000000000 -0700
@@ -2,12 +2,16 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export PYTHON = /usr/bin/python3
%:
dh $@ --with gnome,python3
+override_dh_shlibdeps:
+ LD_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/gedit dh_shlibdeps
+
override_dh_autoreconf:
NOCONFIGURE=true dh_autoreconf ./autogen.sh
More information about the pkg-gnome-maintainers
mailing list