Package: src:python-openleadr-python Version: 0.5.34+dfsg.1-2 Severity: serious Tags: ftbfs forky sid
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/202512/ 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:python-openleadr-python, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild --with sphinxdoc dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openleadr-python/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.14' does not exist -- can't clean it I: pybuild base:317: python3.13 setup.py clean running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild [... snipped ...] [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'openleadr.templates.parts' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'openleadr.templates.parts' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'openleadr.templates.parts' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'openleadr.templates.parts' to be distributed and are already explicitly excluding 'openleadr.templates.parts' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/LICENSES.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_ISO_ISO3AlphaCurrencyCode_20100407.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_atom.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_ei_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_emix_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_gml_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_greenbutton.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_power_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_pyld_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_siscale_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_strm_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_xcal_20b.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_xml.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_xmldsig-properties-schema.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_xmldsig.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema copying openleadr/schema/oadr_xmldsig11.xsd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/schema creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCancelOpt.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCancelPartyRegistration.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCancelReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCanceledOpt.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCanceledPartyRegistration.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCanceledReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCreateOpt.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCreatePartyRegistration.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCreateReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCreatedEvent.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCreatedOpt.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCreatedPartyRegistration.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrCreatedReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrDistributeEvent.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrPayload.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrPoll.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrQueryRegistration.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrRegisterReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrRegisteredReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrRequestEvent.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrRequestReregistration.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrResponse.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrUpdateReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates copying openleadr/templates/oadrUpdatedReport.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/eiActivePeriod.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/eiEvent.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/eiEventDescriptor.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/eiEventSignal.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/eiEventTarget.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/eiTarget.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/emixInterface.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/eventSignalEmix.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/oadrReportDescription.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/oadrReportRequest.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts copying openleadr/templates/parts/reportDescriptionEmix.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build/openleadr/templates/parts debian/rules execute_after_dh_auto_build-indep make[1]: Entering directory '/<<PKGBUILDDIR>>' pandoc --standalone --from=markdown --to=man debian/openleadr-fingerprint.md --output=openleadr-fingerprint.1 PYTHONPATH=. python3 -m sphinx -N -bhtml \ docs/ build/html # HTML generator Running Sphinx v8.2.3 0.5.34 loading translations [en]... done making output directory... done Creating file /<<PKGBUILDDIR>>/docs/api/openleadr.rst. Creating file /<<PKGBUILDDIR>>/docs/api/modules.rst. building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 10 source files that are out of date updating environment: [new config] 11 added, 0 changed, 0 removed reading sources... [ 9%] api/modules reading sources... [ 18%] api/openleadr reading sources... [ 27%] client reading sources... [ 36%] features reading sources... [ 45%] index reading sources... [ 55%] logging reading sources... [ 64%] message_signing reading sources... [ 73%] reporting reading sources... [ 82%] representations reading sources... [ 91%] roadmap reading sources... [100%] server /<<PKGBUILDDIR>>/openleadr/server.py:docstring of openleadr.server.OpenADRServer.add_raw_event:4: ERROR: Unexpected indentation. [docutils] /<<PKGBUILDDIR>>/openleadr/server.py:docstring of openleadr.server.OpenADRServer.add_raw_event:5: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils] /<<PKGBUILDDIR>>/openleadr/__init__.py:docstring of openleadr.enable_default_logging:3: ERROR: Unexpected indentation. [docutils] /<<PKGBUILDDIR>>/docs/reporting.rst:293: ERROR: Unknown directive type "receiving_reports". .. receiving_reports:: [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:142: WARNING: Duplicate explicit target name: "oadrcanceledreport". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:388: WARNING: Duplicate explicit target name: "oadrcreatedevent". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:504: WARNING: Duplicate explicit target name: "oadrcreatedreport". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:1205: WARNING: Duplicate explicit target name: "oadrregisterreport". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:1473: WARNING: Duplicate explicit target name: "oadrresponse". [docutils] /<<PKGBUILDDIR>>/docs/roadmap.rst:332: WARNING: Bullet list ends without a blank line; unexpected unindent. [docutils] looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/basic.css Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/language_data.js Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/documentation_options.js Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 9%] api/modules writing output... [ 18%] api/openleadr writing output... [ 27%] client writing output... [ 36%] features writing output... [ 45%] index writing output... [ 55%] logging writing output... [ 64%] message_signing writing output... [ 73%] reporting writing output... [ 82%] representations writing output... [ 91%] roadmap writing output... [100%] server /<<PKGBUILDDIR>>/docs/reporting.rst:190: WARNING: undefined label: 'receiving_reports' [ref.ref] generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 11 warnings. The HTML pages are in build/html. PYTHONPATH=. python3 -m sphinx -N -bman \ docs/ build/man # Manpage generator Running Sphinx v8.2.3 0.5.34 loading translations [en]... done making output directory... done Creating file /<<PKGBUILDDIR>>/docs/api/openleadr.rst. Creating file /<<PKGBUILDDIR>>/docs/api/modules.rst. building [mo]: targets for 0 po files that are out of date writing output... building [man]: all manpages updating environment: [new config] 11 added, 0 changed, 0 removed reading sources... [ 9%] api/modules reading sources... [ 18%] api/openleadr reading sources... [ 27%] client reading sources... [ 36%] features reading sources... [ 45%] index reading sources... [ 55%] logging reading sources... [ 64%] message_signing reading sources... [ 73%] reporting reading sources... [ 82%] representations reading sources... [ 91%] roadmap reading sources... [100%] server /<<PKGBUILDDIR>>/openleadr/server.py:docstring of openleadr.server.OpenADRServer.add_raw_event:4: ERROR: Unexpected indentation. [docutils] /<<PKGBUILDDIR>>/openleadr/server.py:docstring of openleadr.server.OpenADRServer.add_raw_event:5: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils] /<<PKGBUILDDIR>>/openleadr/__init__.py:docstring of openleadr.enable_default_logging:3: ERROR: Unexpected indentation. [docutils] /<<PKGBUILDDIR>>/docs/reporting.rst:293: ERROR: Unknown directive type "receiving_reports". .. receiving_reports:: [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:142: WARNING: Duplicate explicit target name: "oadrcanceledreport". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:388: WARNING: Duplicate explicit target name: "oadrcreatedevent". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:504: WARNING: Duplicate explicit target name: "oadrcreatedreport". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:1205: WARNING: Duplicate explicit target name: "oadrregisterreport". [docutils] /<<PKGBUILDDIR>>/docs/representations.rst:1473: WARNING: Duplicate explicit target name: "oadrresponse". [docutils] /<<PKGBUILDDIR>>/docs/roadmap.rst:332: WARNING: Bullet list ends without a blank line; unexpected unindent. [docutils] looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying assets: done writing... openleadr.1 { features client server reporting logging message_signing roadmap api/modules api/openleadr representations } /<<PKGBUILDDIR>>/docs/reporting.rst:190: WARNING: undefined label: 'receiving_reports' [ref.ref] done build succeeded, 11 warnings. The manual pages are in build/man. make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules execute_before_dh_auto_test-indep make[1]: Entering directory '/<<PKGBUILDDIR>>' find /<<PKGBUILDDIR>>/.pybuild -name 'cpython*_openleadr-python' -exec cp -rf /<<PKGBUILDDIR>>/certificates {}/build/ \; make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -O--buildsystem=pybuild I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openleadr-python/build; python3.14 -m unittest discover -v test.test_reports (unittest.loader._FailedTest.test.test_reports) ... ERROR ====================================================================== ERROR: test.test_reports (unittest.loader._FailedTest.test.test_reports) ---------------------------------------------------------------------- ImportError: Failed to import test module: test.test_reports Traceback (most recent call last): File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.14/unittest/loader.py", line 367, in _get_module_from_name __import__(name) ~~~~~~~~~~^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openleadr-python/build/test/test_reports.py", line 13, in <module> loop = asyncio.get_event_loop() File "/usr/lib/python3.14/asyncio/events.py", line 715, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) RuntimeError: There is no current event loop in thread 'MainThread'. ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_openleadr-python/build; python3.14 -m unittest discover -v I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_openleadr-python/build; python3.13 -m unittest discover -v ---------------------------------------------------------------------- Ran 0 tests in 0.000s NO TESTS RAN dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

