Bug#890277: gamin: circular build-dependency with glib2.0 on !linux-any
Samuel Thibault
samuel.thibault at ens-lyon.org
Mon Feb 12 21:19:30 UTC 2018
Package: gamin
Version: 0.1.10-5
Severity: normal
Tags: patch
Hello,
gamin build-depends on glib2.0. It happens that on linux-any the glib2.0
source package build-depends on libgamin-dev.
The simplest way to avoid this circular build-dependency is to add a
stage1 profile to the gamin package build, which disables the build of
the gamin server, as the attached patch implements.
Samuel
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.8+git20171101-486-dbg/Hurd-0.9
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages gamin depends on:
ii libc0.3 2.26-5
ii libgamin0 0.1.10-5
ii libglib2.0-0 2.54.2-5
gamin recommends no packages.
gamin suggests no packages.
-- no debconf information
--
Samuel Thibault <samuel.thibault at ens-lyon.org>
-------------- next part --------------
--- debian/control.in.orig 2018-02-12 21:18:25.000000000 +0000
+++ debian/control.in 2018-02-12 21:18:27.000000000 +0000
@@ -5,7 +5,7 @@
Uploaders: @GNOME_TEAM@
Build-Depends: cdbs (>= 0.4.73),
debhelper( >= 5.0.37.2),
- libglib2.0-dev,
+ libglib2.0-dev <!stage1>,
gnome-pkg-tools,
python-all-dev (>= 2.3.5-11),
dh-python,
--- debian/control.orig 2018-02-12 21:18:45.000000000 +0000
+++ debian/control 2018-02-12 21:17:31.000000000 +0000
@@ -9,7 +9,7 @@
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu at debian.org>, Martin Pitt <mpitt at debian.org>, Sebastian Dr?ge <slomo at debian.org>
Build-Depends: cdbs (>= 0.4.73),
debhelper( >= 5.0.37.2),
- libglib2.0-dev,
+ libglib2.0-dev <!stage1>,
gnome-pkg-tools,
python-all-dev (>= 2.3.5-11),
dh-python,
--- debian/rules.orig 2018-02-12 21:18:55.000000000 +0000
+++ debian/rules 2018-02-12 21:18:56.000000000 +0000
@@ -18,6 +18,10 @@
DEB_INSTALL_DOCS_ALL :=
DEB_INSTALL_DOCS_gamin := AUTHORS NEWS README TODO
+ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
+ DEB_CONFIGURE_EXTRA_FLAGS += --disable-server
+endif
+
binary-install/python-gamin::
# force executable bit on files looking like python scripts
egrep -rlZ '^#!(.*)python' debian/python-gamin/usr/lib/ | xargs -0 chmod a+x --
More information about the pkg-gnome-maintainers
mailing list