#1114090 debian-policy: FTBFS: Fontconfig error: No writable cache directories

Package:
src:dia
Source:
src:dia
Submitter:
Santiago Vila
Date:
2025-09-07 14:15:04 UTC
Severity:
normal
Tags:
#1114090#5
Date:
2025-09-05 18:16:30 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:debian-policy, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc
   dh_auto_clean
	make -j2 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f README.html autopkgtest.html README.txt autopkgtest.txt menu-policy.html.tar.gz perl-policy.html.tar.gz menu-policy-1.html perl-policy-1.html menu-policy.txt perl-policy.txt menu-policy.validate perl-policy.validate copyright-format-1.0.html debconf_specification.html copyright-format-1.0.txt debconf_specification.txt copyright-format-1.0.validate debconf_specification.validate policy/images/debian-policy-install-conffiles.png policy/images/debian-policy-install.png policy/images/debian-policy-purge.png policy/images/debian-policy-remove-purge.png policy/images/debian-policy-remove.png policy/images/debian-policy-upgrade.png locales/*/LC_MESSAGES/*.mo policy/conf.py policy/definition.txt version.md version.xml
rm -rf menu-policy.html perl-policy.html policy/_build fhs
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary --with sphinxdoc
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f version.xml
rm -f version.md
echo '<?xml version="1.0" encoding="utf-8"?>' > version.xml
echo					 > version.md
echo '<!ENTITY version "4.7.2.0">'	     >> version.xml
echo '---'				 >> version.md
echo '<!ENTITY date    "2025-02-27">'	     >> version.xml
echo 'Debian Policy 4.7.2.0, 2025-02-27' >> version.md
dia -e policy/images/debian-policy-install-conffiles.png policy/images/debian-policy-install-conffiles.dia
dia -e policy/images/debian-policy-install.png policy/images/debian-policy-install.dia
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
could not import gtkcons.py [No module named 'gi']
could not import gtkcons.py [No module named 'gi']
** Message: 17:01:36.839: NEW Layer 0x564d759f31f0 (nil) (0)
** Message: 17:01:36.839: NEW Layer 0x5651e856c220 (nil) (0)
policy/images/debian-policy-install.dia:1: policy/images/debian-policy-install-conffiles.dia:1: parser parser error : error : Start tag expected, '<' not found
Start tag expected, '<' not found

^

^

** (dia:70): CRITICAL **: 17:01:36.839: dia error: need valid input file policy/images/debian-policy-install-conffiles.dia


** (dia:71): CRITICAL **: 17:01:36.839: dia error: need valid input file policy/images/debian-policy-install.dia

make[1]: *** [Makefile:259: policy/images/debian-policy-install-conffiles.png] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:259: policy/images/debian-policy-install.png] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1114090#28
Date:
2025-09-07 13:53:23 UTC
From:
To:
[ Fontconfig error: No writable cache directories is no problem, appears here in other packages' tests too without any issues ]

Hi,

Am 05.09.25 um 20:16 schrieb Santiago Vila:

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107821 (and dia even itself having it: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114450, which you even reported yourself...)


Regards,


Rene

#1114090#33
Date:
2025-09-07 14:07:10 UTC
From:
To:
The bug was not initially reported against dia, it was reassigned
later, there is an explanation here if you are curious:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114450#15

Can you help me by telling me the bugs that you know that should be
also reassigned to dia? (or just doing the reassign yourself).

Thanks.

#1114090#38
Date:
2025-09-07 14:13:07 UTC
From:
To:
reassign 1114090 dia
found 1114090 0.98+git20250126-2
affects 1114090 src:debian-policy
thanks

(I'm skipping the forcemerge because in case it's wrong it's a very
big mess to untangle).

Ok, I hope that the above commands should put things where they belong.

(Please let me know if they don't).

Thanks a lot.