[Debian-pan-maintainers] Bug#1058187: orange-widget-base: FTBFS: ModuleNotFoundError: No module named 'imp'
Lucas Nussbaum
lucas at debian.org
Tue Dec 12 08:02:00 GMT 2023
Source: orange-widget-base
Version: 4.21.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config
> Warning: 'keywords' should be a list, got type 'tuple'
> Warning: 'classifiers' should be a list, got type 'tuple'
> running config
> I: pybuild base:310: python3.11 setup.py config
> /<<PKGBUILDDIR>>/setup.py:121: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
> import imp
> Warning: 'keywords' should be a list, got type 'tuple'
> Warning: 'classifiers' should be a list, got type 'tuple'
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 178, in <module>
> setup_package()
> File "/<<PKGBUILDDIR>>/setup.py", line 152, in setup_package
> write_version_py()
> File "/<<PKGBUILDDIR>>/setup.py", line 121, in write_version_py
> import imp
> ModuleNotFoundError: No module named 'imp'
> E: pybuild pybuild:395: build: plugin distutils failed with: exit code=1: /usr/bin/python3.12 setup.py build
> I: pybuild base:310: /usr/bin/python3 setup.py build
> /<<PKGBUILDDIR>>/setup.py:121: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
> import imp
> Warning: 'keywords' should be a list, got type 'tuple'
> Warning: 'classifiers' should be a list, got type 'tuple'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget
> copying orangewidget/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget
> copying orangewidget/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget
> copying orangewidget/io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget
> copying orangewidget/widget.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget
> copying orangewidget/settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget
> copying orangewidget/gui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_setting_provider.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_settings_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_test_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_control_getter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_widget.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_context_handler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_gui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> copying orangewidget/tests/test_matplotlib_export.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/concurrent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/combobox.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/webview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/messages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/filedialogs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/itemdelegates.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/signals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/overlay.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/itemmodels.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/messagewidget.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/matplotlib_export.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/PDFExporter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/listview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/visual_settings_dlg.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/buttons.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/saveplot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/widgetpreview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/progressbar.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> copying orangewidget/utils/cache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report
> copying orangewidget/report/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report
> copying orangewidget/report/report.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report
> copying orangewidget/report/owreport.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/drophandler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/widgetsscheme.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/mainwindow.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/errorreporting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> copying orangewidget/workflow/discovery.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_overlay.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_save_plot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_buttons.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_widgetpreview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_signals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_listview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_itemmodels.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_visual_settings_dlg.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_webview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_itemdelegates.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_messagewidget.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_combobox.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_filedialogs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> copying orangewidget/utils/tests/test_concurrent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report/tests
> copying orangewidget/report/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report/tests
> copying orangewidget/report/tests/test_report.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow/tests
> copying orangewidget/workflow/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow/tests
> copying orangewidget/workflow/tests/test_drophandler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow/tests
> copying orangewidget/workflow/tests/test_widgetsscheme.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/workflow/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_clear.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_redo.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_send.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_undo.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_sort.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/error.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_enter.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Unknown.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_zoom_reset.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_zoom_selection.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_up3.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/downgreenarrow.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_zoom.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_arrow.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/information.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/upgreenarrow.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_down3.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/Dlg_pan_hand.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/warning.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/output-partial.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/input-partial.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/help.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/output-empty.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/chart.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/input-empty.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/visual-settings.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/report.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/reset.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/output.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/input.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> copying orangewidget/icons/hamburger.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/icons
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/_webview
> copying orangewidget/utils/_webview/init-webengine-webchannel.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/_webview
> copying orangewidget/utils/_webview/helpers.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/utils/_webview
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report/icons
> copying orangewidget/report/icons/scheme.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report/icons
> copying orangewidget/report/icons/delete.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report/icons
> copying orangewidget/report/index.html -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_orange-widget-base/build/orangewidget/report
> dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.11" returned exit code 13
> make: *** [debian/rules:5: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/orange-widget-base_4.21.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-pan-maintainers
mailing list