#1149417 elogind: FTBFS: lxml.etree.XMLSyntaxError: Entity 'entities' not defined, line 5, column 11

#1149417#5
Date:
2026-09-29 22:19:20 UTC
From:
To:
Dear maintainer:

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

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

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

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 cannot 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:elogind, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
  File "src/lxml/parser.pxi", line 1231, in lxml.etree._BaseParser._parseDocFromFile
  File "src/lxml/parser.pxi", line 647, in lxml.etree._ParserContext._handleParseResultDoc
  File "src/lxml/parser.pxi", line 765, in lxml.etree._handleParseResult
  File "src/lxml/parser.pxi", line 689, in lxml.etree._raiseParseError
  File "../man/elogind.syntax.xml", line 5
lxml.etree.XMLSyntaxError: Entity 'entities' not defined, line 5, column 11

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tools/make-directive-index.py", line 174, in <module>
    _xml = make_page(_template_path, _xml_files)
  File "/<<PKGBUILDDIR>>/tools/make-directive-index.py", line 166, in make_page
    raise ValueError("failed to process " + page) from e
ValueError: failed to process ../man/elogind.syntax.xml
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd build && LC_ALL=C.UTF-8 ninja -j1 -v returned exit code 1
make: *** [debian/rules:51: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149417#10
Date:
2026-09-30 10:34:34 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
elogind, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149417@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Hindley <leepen@debian.org> (supplier of updated elogind package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 30 Sep 2026 11:00:01 +0100
Source: elogind
Architecture: source
Version: 255.17-1debian8
Distribution: unstable
Urgency: medium
Maintainer: Debian Ecosystem Init Diversity Team <debian-init-diversity@chiark.greenend.org.uk>
Changed-By: Mark Hindley <leepen@debian.org>
Closes: 1149417
Changes:
 elogind (255.17-1debian8) unstable; urgency=medium
 .
   * Add patch to fix FTBFS with recent python3-lxml. (Closes: #1149417)
Checksums-Sha1:
 208c867886ea0aafa8701a39279a0101f4ee052d 2503 elogind_255.17-1debian8.dsc
 b21edb16f2e8ddb58bdbc38fda636aa5d2334d5a 15188 elogind_255.17-1debian8.debian.tar.xz
 7f688e6420f8851b869800646e5edd4a6a23a0f0 8317 elogind_255.17-1debian8_amd64.buildinfo
Checksums-Sha256:
 1817fae9936c54fa59ccb06c58119e18916788f1bc479e7b28f13f73f5f5ca11 2503 elogind_255.17-1debian8.dsc
 9bb9883ad9fc49821ec8bbbe47bb66152e46f2badd736a9539a0e796511eb2c3 15188 elogind_255.17-1debian8.debian.tar.xz
 0b68f49fcb77771667cc8edcf549337b3c21ca355ca5e28783b1adf158ff5dd1 8317 elogind_255.17-1debian8_amd64.buildinfo
Files:
 8e0ec6c00b17a3441be4f131506e5b03 2503 admin optional elogind_255.17-1debian8.dsc
 a4892f39ee3ad831cd4924483b106eee 15188 admin optional elogind_255.17-1debian8.debian.tar.xz
 195541b8ceebcce028d389718f236945 8317 admin optional elogind_255.17-1debian8_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmq832MACgkQ0opFvzKH
1kmH1g//TPSk6sxDAxRZpe3VUHaZYan8570deoGKotEycQQkSmmjbMHABbIdaW+y
WPKPERl3VCQxG+TNnAXZylX12bVWXpfTA7f4dbLh3+mrjRJ3z+5faZfFUNjSmPop
WP6MO0K6x+wYVSDhLtkEef4M6lEJUJ8dFxS15avGmQTzVZE405wv5hGrs1gcYj9N
lf301pMrrVMK8rHGAGsFjSKxhnAjgAUhe5jMvz9Z1uOpwBPII16ZtDlYs7OqbiDu
VlqeG0Ct8zGTl/ahwbPn4i00cnJDCoz4altBMrPfKcYF/PW5TfV/olnHwMGzlLkz
ScGtt6QUsYfhggdX4pf1mFERhb7xiMD3mTmrmtbS+I1SPz3PRHWTbbgqs+xmHU+y
EsvtHNibUZW+dSNt7INq/g+KJdaIQi963K0pwxA2+XIMRUJps0coZvG53NxOZjz4
aqeDXffCS9y+AJ4CEUVEDwyyePxPUGHrrZk5wtsXVo/wFICJzh9ABtu1pNVpcGQ+
93gQuXbYGHdj7x3j3qHJVk8cZ/oBUIyixuj2bOJwIbbwCLOYhKntw+14Y3KvYkgh
rGkMlH2OYsXc/fGQw3LMGWBToG2w/+Q+9ZkJuPQMAjKm7Vpwjnv0tnyRWWPQEL+k
EsMKFzKFbyximV/szIM51QQMbnUoVeXdyPXslke86oTqR46tmjU=
=oLUs
-----END PGP SIGNATURE-----