Bug#1114164: lemonldap-ng: FTBFS: dh_auto_test: error: make -j2 test returned exit code 2
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:19:03 BST 2025
Package: src:lemonldap-ng
Version: 2.21.2+ds-1
Severity: serious
Tags: ftbfs forky sid
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:lemonldap-ng, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Constants.pm
make[2]: Entering directory '/<<PKGBUILDDIR>>'
./scripts/jsongenerator.pl
Creating lemonldap-ng-manager/site/htdocs/static/js/conftree.js : done
Creating lemonldap-ng-manager/site/htdocs/static/struct.json : done
Creating lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/ReConstants.pm : done
Creating lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm : done
Creating lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Constants.pm : done
[... snipped ...]
copying images... [ 37%] applications/xwiki.png
copying images... [ 38%] applications/zimbra_logo.png
copying images... [ 39%] applications/http_logo.png
copying images... [ 39%] applications/logo-ansibletower.png
copying images... [ 40%] applications/saml-awx.png
copying images... [ 40%] applications/awx-metadata.png
copying images... [ 41%] applications/awx-attr.png
copying images... [ 42%] applications/awx-saml-login.png
copying images... [ 42%] applications/screenshot_dokuwiki_configuration.png
copying images... [ 43%] applications/gitea_oidc_config.png
copying images... [ 43%] documentation/googleapps-menu.png
copying images... [ 44%] documentation/googleapps-sso.png
copying images... [ 45%] documentation/googleapps-ssoconfig.png
copying images... [ 45%] applications/screenshot_grr_configuration.png
copying images... [ 46%] documentation/liferay_1.png
copying images... [ 47%] documentation/liferay_2.png
copying images... [ 47%] documentation/liferay_3.png
copying images... [ 48%] documentation/liferay_4.png
copying images... [ 48%] documentation/liferay_5.png
copying images... [ 49%] documentation/liferay_6.png
copying images... [ 50%] documentation/liferay_7.png
copying images... [ 50%] applications/screenshot_limesurvey_configuration.png
copying images... [ 51%] applications/nextcloud_saml_configuration.png
copying images... [ 52%] applications/nextcloud_service_metadata.png
copying images... [ 52%] applications/nextcloud_service_exportedattributes.png
copying images... [ 53%] applications/nextcloud_saml_activation.png
copying images... [ 53%] applications/nextcloud_certificate_keys.png
copying images... [ 54%] applications/my_domain_salesforce-resize-web.png
copying images... [ 55%] applications/saml_sso_settings-resize-web.png
copying images... [ 55%] applications/user_federation_id-resize-web.png
copying images... [ 56%] applications/SharePoint-assign-AuthProvider.png
copying images... [ 57%] applications/simplesamlphp_sp_metadata.png
copying images... [ 57%] applications/simplesamlphp_sp_attributes.png
copying images... [ 58%] applications/simplesamlphp_sp_signature.png
copying images... [ 58%] applications/simplesamlphp_sp_authentication.png
copying images... [ 59%] applications/simplesamlphp_idp_metadata.png
copying images... [ 60%] applications/simplesamlphp_idp_attributes.png
copying images... [ 60%] applications/simplesamlphp_idp_signature.png
copying images... [ 61%] documentation/manager-choice.png
copying images... [ 61%] documentation/lemonldap-ng-password-expiration-warning.png
copying images... [ 62%] documentation/lemonldap-ng-password-expired.png
copying images... [ 63%] applications/google_logo.png
copying images... [ 63%] applications/franceconnect_logo.png
copying images... [ 64%] applications/prosanteconnect_logo.png
copying images... [ 65%] documentation/remote-principle.png
copying images... [ 65%] documentation/remote-interoperability.png
copying images... [ 66%] documentation/manager-saml-metadata.png
copying images... [ 66%] documentation/manager-saml-attributes.png
copying images... [ 67%] mtls-choice.png
copying images... [ 68%] documentation/beta.png
copying images... [ 68%] documentation/reverseproxy.png
copying images... [ 69%] config-overview.png
copying images... [ 70%] documentation/new.png
copying images... [ 70%] documentation/lemonldap-ng-docker.png
copying images... [ 71%] icons/tutorials.png
copying images... [ 71%] icons/windowlist.png
copying images... [ 72%] icons/clean.png
copying images... [ 73%] icons/maybe.png
copying images... [ 73%] icons/bad.png
copying images... [ 74%] icons/terminal.png
copying images... [ 75%] icons/wizard.png
copying images... [ 75%] documentation/manager-exported-variables.png
copying images... [ 76%] documentation/manager-form-replay.png
copying images... [ 76%] documentation/manager-form-replay-vars.png
copying images... [ 77%] documentation/ha-apache.png
copying images... [ 78%] documentation/ha-sessions-configuration.png
copying images... [ 78%] documentation/configuration-ldap.png
copying images... [ 79%] documentation/manager-notification.png
copying images... [ 80%] documentation/portal-notification.png
copying images... [ 80%] documentation/oauth-retina-preview.jpg
copying images... [ 81%] documentation/oauth2_handler.png
copying images... [ 81%] applications/logo-agentconnect.svg
copying images... [ 82%] applications/agentconnect-login-form.png
copying images... [ 83%] documentation/manager-skin-background.png
copying images... [ 83%] documentation/manager-portal-menu-application.png
copying images... [ 84%] documentation/manager-portal-menu-icon.png
copying images... [ 84%] arch-sso.png
copying images... [ 85%] arch-handler.png
copying images... [ 86%] documentation/lemonldap-ng-architecture.png
copying images... [ 86%] documentation/lemonldapng-sso.png
copying images... [ 87%] logos/1renater.png
copying images... [ 88%] documentation/lasso.png
copying images... [ 88%] documentation/manager-saml-signature.png
copying images... [ 89%] documentation/deprecated.png
copying images... [ 89%] documentation/manager-rule.png
copying images... [ 90%] documentation/server_to_server.png
copying images... [ 91%] documentation/devops.png
copying images... [ 91%] logos/logo_llng_600px.png
copying images... [ 92%] icons/lists.png
copying images... [ 93%] icons/colors.png
copying images... [ 93%] icons/gpg.png
copying images... [ 94%] icons/personal.png
copying images... [ 94%] icons/neotux.png
copying images... [ 95%] icons/utilities.png
copying images... [ 96%] icons/kmultiple.png
copying images... [ 96%] icons/access.png
copying images... [ 97%] icons/jabber_protocol.png
copying images... [ 98%] icons/xeyes.png
copying images... [ 98%] icons/kthememgr.png
copying images... [ 99%] icons/warehause.png
copying images... [ 99%] websocket.png
copying images... [100%] websocket-sso.png
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.
The HTML pages are in doc/pages/documentation/current.
#
# For the record, to render doc build reproducible, Debian package
# includes this:
#
# # Extract JSON from doc index
# cat doc/pages/documentation/current/searchindex.js | perl -pe 's/^.*?(\{.*\}).*?$/$1/' >debian/index.json
# # Sort JSON, including arrays
# jq --compact-output 'walk(if type == "array" then sort else if type == "object" then to_entries | sort_by(.key) | from_entries else . end end)' > debian/searchindex.js <debian/index.json
# # Insert new JSON in doc index
# perl -000 -i -pe 'BEGIN{open F,"debian/searchindex.js";$j=<F>;chomp $j;close F}s/\{.*\}/$j/' doc/pages/documentation/current/searchindex.js
Building succeed. Now run :
- 'make test' to verify your installation
- 'make install PROD=yes' to install all
MAKE INSTALL OPTIONS:
- PROD=yes : use js/css minified files
- USEDEBIANLIBS=yes : use some Debian shared js/css files
- USEEXTERNALLIBS=yes : use external links for some js/css files
Other targets :
* Partial build :
- portal, manager, handler
Other targets launched by "make install" :
* Perl libraries install :
- install_libs (all Perl libraries)
- install_portal_libs
- install_manager_libs
- install_handler_libs
* Binaries install :
- install_bin (/usr/local/lemonldap-ng/bin)
* FastCGI (or uWSGI) server install (required for Nginx)
- install_fastcgi_server (/usr/local/lemonldap-ng/sbin)
- install_uwsgi_server (/usr/local/lemonldap-ng/uwsgi)
* Web sites install :
- install_site (all sites including install_doc_site)
- install_portal_site (/usr/local/lemonldap-ng/htdocs/portal)
- install_manager_site (/usr/local/lemonldap-ng/htdocs/manager)
- install_handler_site (/usr/local/lemonldap-ng/handler)
* Documentation install :
- install_doc_site (/usr/local/lemonldap-ng/htdocs/doc)
- install_examples_site (/usr/local/lemonldap-ng/examples)
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# Extract JOSN from doc index
cat doc/pages/documentation/current/searchindex.js | perl -pe 's/^.*?(\{.*\}).*?$/$1/' >debian/index.json
# Sort JSON, including arrays
jq --compact-output 'walk(if type == "array" then sort else if type == "object" then to_entries | sort_by(.key) | from_entries else . end end)' > debian/searchindex.js <debian/index.json
# Insert new JSON in doc index
perl -000 -i -pe 'BEGIN{open F,"debian/searchindex.js";$j=<F>;chomp $j;close F}s/\{.*\}/$j/' doc/pages/documentation/current/searchindex.js
pod2man -s 8 -name llng-fastcgi-server fastcgi-server/sbin/llng-fastcgi-server >llng-fastcgi-server.8p
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
make -j2 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>/lemonldap-ng-common'
perl -i -pe 's/^(use constant DEFAULTCONFFILE\s*=>).*$/$1 "\/etc\/lemonldap\-ng\/lemonldap\-ng\.ini";/' blib/lib/Lemonldap/NG/Common/Conf/Constants.pm
perl -i -pe 's/^(\s*dirName\s+)=>.*/$1 => "\/usr\/local\/lemonldap\-ng\/data\/conf",/' blib/lib/Lemonldap/NG/Common/Conf/Constants.pm
Manifying 8 pod documents
Manifying 11 pod documents
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lemonldap-ng-common'
make[2]: Entering directory '/<<PKGBUILDDIR>>/lemonldap-ng-handler'
Running Sphinx v8.2.3
loading translations [en]... done
Manifying 6 pod documents
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lemonldap-ng-handler'
make[2]: Entering directory '/<<PKGBUILDDIR>>/lemonldap-ng-common'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
loading pickled environment... t/01-Common-Conf.t ............ ok
The configuration has changed (1 option: 'html_css_files')
done
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
reading sources...
looking for now-outdated files... none found
no targets are out of date.
preparing documents... t/02-Common-Conf-File.t ....... ok
failed
Versions
========
* Platform: linux; (Linux-6.12.41+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version: 3.13.7 (CPython)
* Sphinx version: 8.2.3
* Docutils version: 0.21.2
* Jinja2 version: 3.1.6
* Pygments version: 2.18.0
Last Messages
=============
building [html]: targets for 0 source files that are out of date
updating environment:
0 added, 0 changed, 0 removed
reading sources...
looking for now-outdated files...
none found
no targets are out of date.
preparing documents...
failed
Loaded Extensions
=================
* sphinx.ext.mathjax (8.2.3)
* alabaster (0.7.16)
Traceback
=========
File "/usr/lib/python3/dist-packages/sphinx/search/__init__.py", line 347, in load
self._all_titles[index2fn[doc]].append((title, titleid))
~~~~~~~~^^^^^
TypeError: list indices must be integers or slices, not NoneType
The full traceback has been saved in:
t/02-Common-Conf-Overlay.t .... ok
/tmp/sphinx-err-vdronpsu.log
To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
"sqlite_unicode" attribute will be deprecated. Use "sqlite_string_mode" instead. at /usr/share/perl/5.40/Test/More.pm line 320.
t/03-Common-Conf-CDBI.t ....... ok
make[1]: *** [Makefile:1262: documentation] Error 2
make[1]: *** Waiting for unfinished jobs....
t/02-Common-Conf-ServerEnv.t .. ok
Name "Lemonldap::NG::Common::Conf::msg" used only once: possible typo at t/05-Common-Conf-LDAP.t line 33.
"sqlite_unicode" attribute will be deprecated. Use "sqlite_string_mode" instead. at /usr/share/perl/5.40/Test/More.pm line 320.
t/03-Common-Conf-RDBI.t ....... ok
t/05-Common-Conf-LDAP.t ....... ok
t/10-PSGI-Request.t ........... ok
t/10-PSGI.t ................... ok
t/11-Logger.t ................. ok
t/11-Logger-Log4Perl.t ........ ok
t/11-TestLogger.t ............. ok
t/11-LokiLogger.t ............. ok
t/30-Common-Safelib.t ......... ok
t/36-Common-Regexp.t .......... ok
t/35-Common-Crypto.t .......... ok
t/37-Common-TOTP.t ............ ok
t/40-Common-Session.t ......... ok
t/41-Common-EmailAddress.t .... ok
t/45-importMetadata.t ......... ok
t/45-importMetadata-config.t .. ok
t/50-Combination-Parser.t ..... ok
t/60-Hashed-Session.t ......... ok
Local data corrupted, ignore cached session
Unable to use cache: mkdir /tmp/EX1FTG9bMo/cache/llng: Permission denied at /usr/share/perl5/Cache/FileBackend.pm line 222.
t/60-Session-Cache.t .......... ok
# 2
t/60-Session-Cli.t ............ ok
t/60-U2F-Migrate.t ............ ok
t/70-User-Agent.t ............. ok
t/99-pod.t .................... ok
t/71-Util-Crypto.t ............ ok
All tests successful.
Files=29, Tests=381, 2 wallclock secs ( 0.08 usr 0.03 sys + 2.09 cusr 0.49 csys = 2.69 CPU)
Result: PASS
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lemonldap-ng-common'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test returned exit code 2
make: *** [debian/rules:16: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the pkg-perl-maintainers
mailing list