#1107821 dia: silent breakage with libxml 2.14.x from experimental

Package:
src:dia
Source:
src:dia
Submitter:
Graham Inggs
Date:
2025-09-07 14:15:04 UTC
Severity:
normal
Tags:
#1107821#5
Date:
2025-06-15 09:20:13 UTC
From:
To:
Hi Maintainer

It seems that dia's upstream tests are not run during the build [1],
and dia has no autopkgtests.

   dh_auto_test -a
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb
LC_ALL=C.UTF-8 MESON_TESTTHREADS=6 meson test --verbose
ninja: Entering directory
`/build/reproducible-path/dia-0.98+git20250126/obj-x86_64-linux-gnu'
ninja: no work to do.

When dia is rebuilt against libxml 2.14.x from experimental, it causes
at least ns3 and xnee to FTBFS, with the following error:

parser error : Start tag expected, '<' not found

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=dia

#1107821#12
Date:
2025-06-18 20:59:07 UTC
From:
To:
I have reported this issue upstream.

Also I created a merge request to enable the build tests for Debian:
https://salsa.debian.org/debian/dia/-/merge_requests/6

and upstream:
https://gitlab.gnome.org/GNOME/dia/-/merge_requests/139

Thank you,
Jeremy Bícha

#1107821#25
Date:
2025-09-02 12:57:34 UTC
From:
To:
a new upstream snapshot fixes the ftbfs.

example packaging at
https://launchpad.net/ubuntu/+source/dia/0.98+git20250902-0ubuntu1

#1107821#32
Date:
2025-09-05 19:30:07 UTC
From:
To:
Hi,

The actual reason is that the gzip'ing of the dia files
got lost in the Gtk3 rewrite.

I don't think it has anything to do with libxml

Greetings

Here's a 18 years .dia file as reference:
https://github.com/a-detiste/cruft/blob/master/design.dia

#1107821#37
Date:
2025-09-06 09:30:20 UTC
From:
To:
Hi Alexandre

That might be a completely different issue.

In Ubuntu, we rebuilt dia 0.98+git20250126-2 against libxml2.9-dev
[1], and n3 and xnee were able to build again.

Regards
Graham


[1] https://launchpad.net/ubuntu/+source/dia/0.98+git20250126-2ubuntu1