Package: dia
Version: 0.97.3+git20160930-8
Severity: wishlist
Tags: upstream patch
debian/control contains this:
Build-Conflicts: autoconf2.13,
dia-shapes
The "dia-shapes" build conflict is almost certainly there because
when running:
dpkg-buildpackage # or whatever
-> dh
-> [...]
-> dh_auto_test
-> make check-local
this will finally do
cd tests
make test
which will fail, because the following test:
$ cat tests/Makefile.am
test: $(TEST_PROGS)
[...]
./objects ../objects//
will *not* access dia ressources from within the source directory, but
instead will use the system's ressources: more precisely, it will use
shapes from /usr/share/dia/shapes which will include shapes from
dia-shapes in case that package is installed. And - unfortunately - the
shapes from dia-shapes will make the tests fail.
That's why almost certainly one of the previous Dia maintainers added a
build-conflict against dia-shapes to debian/control.
Now the proper fix (IMHO) is to make sure that:
cd tests
make test
will *not* access dia's resources in the system, but only dia's
resources within the source directory. This is what these two patches
here achieve:
https://gitlab.gnome.org/GNOME/dia/issues/6
I think it is *not* urgent for Debian to include that fix, since simply
deinstalling dia-shapes works around the problem. However for anybody that
is using Dia, is working with dia-shapes and also wants to help
fixing/developping Dia, this is quite painful.
Thanks a lot,
*t
-- System Information:
Debian Release: 9.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8), LANGUAGE=de_CH:de
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dia depends on:
ii dia-common 0.97.3+git20160930-8
ii libart-2.0-2 2.3.21-2
ii libatk1.0-0 2.22.0-1
ii libc6 2.24-11+deb9u3
ii libcairo2 1.14.8-1
ii libfontconfig1 2.11.0-6.7+b1
ii libfreetype6 2.6.3-3.2
ii libgdk-pixbuf2.0-0 2.36.5-2+deb9u2
ii libglib2.0-0 2.50.3-2
ii libgtk2.0-0 2.24.31-2
ii libpango-1.0-0 1.40.5-1
ii libpangocairo-1.0-0 1.40.5-1
ii libpangoft2-1.0-0 1.40.5-1
ii libpng16-16 1.6.28-1
ii libpython2.7 2.7.13-2+deb9u2
ii libxml2 2.9.4+dfsg1-2.2+deb9u2
ii libxslt1.1 1.1.29-2.1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages dia recommends:
ii dia-shapes 0.6.0-3
ii gsfonts-x11 0.24
dia suggests no packages.
-- no debconf information