Source: openlp
Version: 2.9.4-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> QT_QPA_PLATFORM=offscreen dh_auto_test
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build; 
> python3.10 -m pytest -k-test_load_settings_position_invalid
> /usr/lib/python3/dist-packages/_pytest/mark/__init__.py:264: 
> PytestDeprecationWarning: The `-k '-expr'` syntax to -k is deprecated.
> Use `-k 'not expr'` instead.
>   deselect_by_keyword(items, config)
> 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> PyQt5 5.15.6 -- Qt runtime 5.15.2 -- Qt compiled 5.15.2
> rootdir: /<<PKGBUILDDIR>>
> plugins: qt-4.0.2
> collected 1937 items / 1 deselected / 2 skipped / 1934 selected
> 
> tests/openlp_core/test_app.py .............                              [  
> 0%]
> tests/openlp_core/test_server.py .....                                   [  
> 0%]
> tests/openlp_core/test_state.py ...............                          [  
> 1%]
> tests/openlp_core/test_threading.py .........                            [  
> 2%]
> tests/openlp_core/test_version.py ...........                            [  
> 2%]
> tests/openlp_core/api/test_deploy.py .......                             [  
> 3%]
> tests/openlp_core/api/test_main.py .                                     [  
> 3%]
> tests/openlp_core/api/test_tab.py .....                                  [  
> 3%]
> tests/openlp_core/api/test_websockets.py ......                          [  
> 3%]
> tests/openlp_core/api/test_zeroconf.py ....                              [  
> 3%]
> tests/openlp_core/api/endpoint/test_controller.py ....                   [  
> 4%]
> tests/openlp_core/api/http_server/test_http.py ..                        [  
> 4%]
> tests/openlp_core/api/http_server/test_init.py .......                   [  
> 4%]
> tests/openlp_core/api/v2/test_controller.py ............................ [  
> 6%]
> ....                                                                     [  
> 6%]
> tests/openlp_core/api/v2/test_core.py ..............                     [  
> 6%]
> tests/openlp_core/api/v2/test_plugins.py ......                          [  
> 7%]
> tests/openlp_core/api/v2/test_service.py ........                        [  
> 7%]
> tests/openlp_core/common/test_actions.py ..........                      [  
> 8%]
> tests/openlp_core/common/test_applocation.py ......F..                   [  
> 8%]
> tests/openlp_core/common/test_db.py ..                                   [  
> 8%]
> tests/openlp_core/common/test_httputils.py ..................            [  
> 9%]
> tests/openlp_core/common/test_i18n.py ............                       [ 
> 10%]
> tests/openlp_core/common/test_init.py .................................. [ 
> 12%]
> ......................                                                   [ 
> 13%]
> tests/openlp_core/common/test_json.py ..................                 [ 
> 14%]
> tests/openlp_core/common/test_mixins.py ....                             [ 
> 14%]
> tests/openlp_core/common/test_network_interfaces.py ......               [ 
> 14%]
> tests/openlp_core/common/test_path.py ...............                    [ 
> 15%]
> tests/openlp_core/common/test_registry.py ......                         [ 
> 15%]
> tests/openlp_core/common/test_settings.py ..................             [ 
> 16%]
> tests/openlp_core/common/test_utils.py .......                           [ 
> 17%]
> tests/openlp_core/display/test_render.py ..........                      [ 
> 17%]
> tests/openlp_core/display/test_screens.py ..................             [ 
> 18%]
> tests/openlp_core/display/test_window.py ............................    [ 
> 19%]
> tests/openlp_core/lib/test_db.py ......                                  [ 
> 20%]
> tests/openlp_core/lib/test_exceptions.py .                               [ 
> 20%]
> tests/openlp_core/lib/test_formattingtags.py ..                          [ 
> 20%]
> tests/openlp_core/lib/test_lib.py ...................................... [ 
> 22%]
> ...........                                                              [ 
> 22%]
> tests/openlp_core/lib/test_mediamanageritem.py ......                    [ 
> 23%]
> tests/openlp_core/lib/test_pluginmanager.py ........................s    [ 
> 24%]
> tests/openlp_core/lib/test_serviceitem.py ...........................    [ 
> 25%]
> tests/openlp_core/lib/test_theme.py ................                     [ 
> 26%]
> tests/openlp_core/lib/test_ui.py .................                       [ 
> 27%]
> tests/openlp_core/pages/test_alignment.py ..........................     [ 
> 28%]
> tests/openlp_core/pages/test_areaposition.py .....................       [ 
> 30%]
> tests/openlp_core/pages/test_background.py ........................      [ 
> 31%]
> tests/openlp_core/pages/test_fontselection.py .......................... [ 
> 32%]
> ................                                                         [ 
> 33%]
> tests/openlp_core/pages/test_gridlayoutpage.py ....                      [ 
> 33%]
> tests/openlp_core/projectors/test_projector_bugfixes_01.py .....         [ 
> 33%]
> tests/openlp_core/projectors/test_projector_command_routing.py ........  [ 
> 34%]
> tests/openlp_core/projectors/test_projector_commands_01.py ............. [ 
> 35%]
> .........                                                                [ 
> 35%]
> tests/openlp_core/projectors/test_projector_commands_02.py ............. [ 
> 36%]
> ........                                                                 [ 
> 36%]
> tests/openlp_core/projectors/test_projector_commands_03.py ........      [ 
> 36%]
> tests/openlp_core/projectors/test_projector_constants.py ...             [ 
> 37%]
> tests/openlp_core/projectors/test_projector_db.py ...................... [ 
> 38%]
> ......                                                                   [ 
> 38%]
> tests/openlp_core/projectors/test_projector_editform.py ..               [ 
> 38%]
> tests/openlp_core/projectors/test_projector_pjlink_base_01.py .......... [ 
> 39%]
> ...........                                                              [ 
> 39%]
> tests/openlp_core/projectors/test_projector_pjlink_base_02.py .......... [ 
> 40%]
> ......                                                                   [ 
> 40%]
> tests/openlp_core/projectors/test_projector_pjlink_base_03.py .          [ 
> 40%]
> tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py ...    [ 
> 40%]
> tests/openlp_core/projectors/test_projector_pjlink_udp.py .........      [ 
> 41%]
> tests/openlp_core/projectors/test_projector_sourceform.py ...            [ 
> 41%]
> tests/openlp_core/projectors/test_projectormanager.py ..                 [ 
> 41%]
> tests/openlp_core/ui/test_aboutform.py ...                               [ 
> 41%]
> tests/openlp_core/ui/test_advancedtab.py .                               [ 
> 41%]
> tests/openlp_core/ui/test_confirmationform.py ...                        [ 
> 41%]
> tests/openlp_core/ui/test_exceptionform.py ..                            [ 
> 41%]
> tests/openlp_core/ui/test_filerenamedialog.py ...                        [ 
> 42%]
> tests/openlp_core/ui/test_first_time.py .                                [ 
> 42%]
> tests/openlp_core/ui/test_firsttimeform.py ......................        [ 
> 43%]
> tests/openlp_core/ui/test_formattingtagscontroller.py ....               [ 
> 43%]
> tests/openlp_core/ui/test_formattingtagsform.py ..                       [ 
> 43%]
> tests/openlp_core/ui/test_generaltab.py ....                             [ 
> 43%]
> tests/openlp_core/ui/test_icons.py .                                     [ 
> 43%]
> tests/openlp_core/ui/test_init.py ..                                     [ 
> 44%]
> tests/openlp_core/ui/test_mainwindow.py ....................             [ 
> 45%]
> tests/openlp_core/ui/test_serviceitemeditform.py ...............         [ 
> 45%]
> tests/openlp_core/ui/test_servicemanager.py ............................ [ 
> 47%]
> ...................................                                      [ 
> 49%]
> tests/openlp_core/ui/test_servicenotedialog.py .                         [ 
> 49%]
> tests/openlp_core/ui/test_servicetab.py .                                [ 
> 49%]
> tests/openlp_core/ui/test_settings_form.py ....                          [ 
> 49%]
> tests/openlp_core/ui/test_settingsform.py .......                        [ 
> 49%]
> tests/openlp_core/ui/test_shortcutlistdialog.py ..                       [ 
> 49%]
> tests/openlp_core/ui/test_shortcutlistform.py ..........                 [ 
> 50%]
> tests/openlp_core/ui/test_slidecontroller.py ........................... [ 
> 51%]
> ...................................                                      [ 
> 53%]
> tests/openlp_core/ui/test_splashscreen.py .                              [ 
> 53%]
> tests/openlp_core/ui/test_starttimedialog.py ..                          [ 
> 53%]
> tests/openlp_core/ui/test_style.py .....................                 [ 
> 54%]
> tests/openlp_core/ui/test_themeform.py .................                 [ 
> 55%]
> tests/openlp_core/ui/test_thememanager.py .....................          [ 
> 56%]
> tests/openlp_core/ui/test_themeprogressform.py ......                    [ 
> 57%]
> tests/openlp_core/ui/test_themetab.py ..                                 [ 
> 57%]
> tests/openlp_core/ui/media/test_media.py ...                             [ 
> 57%]
> tests/openlp_core/ui/media/test_mediacontroller.py ..................... [ 
> 58%]
> ..                                                                       [ 
> 58%]
> tests/openlp_core/ui/media/test_remote.py ..........                     [ 
> 59%]
> tests/openlp_core/ui/media/test_vlcplayer.py ........................... [ 
> 60%]
> .....                                                                    [ 
> 60%]
> tests/openlp_core/widgets/test_buttons.py .......                        [ 
> 61%]
> tests/openlp_core/widgets/test_dialogs.py .............                  [ 
> 61%]
> tests/openlp_core/widgets/test_edits.py .....................            [ 
> 62%]
> tests/openlp_core/widgets/test_views.py ..........................       [ 
> 64%]
> tests/openlp_core/widgets/test_widgets.py ...........................    [ 
> 65%]
> tests/openlp_plugins/alerts/test_manager.py ...                          [ 
> 65%]
> tests/openlp_plugins/alerts/test_plugin.py ..                            [ 
> 65%]
> tests/openlp_plugins/alerts/forms/test_alertform.py .                    [ 
> 65%]
> tests/openlp_plugins/bibles/test_bibleimport.py ........................ [ 
> 67%]
> ......                                                                   [ 
> 67%]
> tests/openlp_plugins/bibles/test_bibleserver.py sss                      [ 
> 67%]
> tests/openlp_plugins/bibles/test_biblestab.py ..                         [ 
> 67%]
> tests/openlp_plugins/bibles/test_csvimport.py ...............            [ 
> 68%]
> tests/openlp_plugins/bibles/test_lib.py ........                         [ 
> 68%]
> tests/openlp_plugins/bibles/test_lib_http.py sssssssssss                 [ 
> 69%]
> tests/openlp_plugins/bibles/test_lib_manager.py ....                     [ 
> 69%]
> tests/openlp_plugins/bibles/test_lib_parse_reference.py ............     [ 
> 70%]
> tests/openlp_plugins/bibles/test_manager.py .                            [ 
> 70%]
> tests/openlp_plugins/bibles/test_mediaitem.py .......................... [ 
> 71%]
> ........................................................                 [ 
> 74%]
> tests/openlp_plugins/bibles/test_opensongimport.py ....................  [ 
> 75%]
> tests/openlp_plugins/bibles/test_osisimport.py .....................     [ 
> 76%]
> tests/openlp_plugins/bibles/test_plugin.py .                             [ 
> 76%]
> tests/openlp_plugins/bibles/test_swordimport.py ..                       [ 
> 76%]
> tests/openlp_plugins/bibles/test_upgrade.py .....                        [ 
> 77%]
> tests/openlp_plugins/bibles/test_versereferencelist.py .....             [ 
> 77%]
> tests/openlp_plugins/bibles/test_wordprojectimport.py .......            [ 
> 77%]
> tests/openlp_plugins/bibles/test_zefaniaimport.py ...                    [ 
> 77%]
> tests/openlp_plugins/bibles/forms/test_bibleimportform.py sss            [ 
> 77%]
> tests/openlp_plugins/bibles/forms/test_editbibleform.py .                [ 
> 78%]
> tests/openlp_plugins/custom/test_mediaitem.py ...                        [ 
> 78%]
> tests/openlp_plugins/custom/test_plugin.py .                             [ 
> 78%]
> tests/openlp_plugins/custom/forms/test_customform.py .......             [ 
> 78%]
> tests/openlp_plugins/custom/forms/test_customslideform.py ..             [ 
> 78%]
> tests/openlp_plugins/images/test_imagetab.py ...                         [ 
> 78%]
> tests/openlp_plugins/images/test_mediaitem.py ...............            [ 
> 79%]
> tests/openlp_plugins/images/test_plugin.py .                             [ 
> 79%]
> tests/openlp_plugins/images/test_upgrade.py .                            [ 
> 79%]
> tests/openlp_plugins/images/forms/test_choosegroupform.py ....           [ 
> 79%]
> tests/openlp_plugins/media/test_mediaitem.py .......                     [ 
> 80%]
> tests/openlp_plugins/media/test_mediaplugin.py ..                        [ 
> 80%]
> tests/openlp_plugins/media/test_plugin.py .                              [ 
> 80%]
> tests/openlp_plugins/media/forms/test_mediaclipselectorform.py ....      [ 
> 80%]
> tests/openlp_plugins/media/forms/test_streamselectorform.py ........     [ 
> 81%]
> tests/openlp_plugins/planningcenter/test_planningcenterplugin.py ....... [ 
> 81%]
>                                                                          [ 
> 81%]
> tests/openlp_plugins/planningcenter/forms/test_selectplanform.py ....s.. [ 
> 81%]
> .....                                                                    [ 
> 82%]
> tests/openlp_plugins/planningcenter/lib/test_planningcenter_api.py ..... [ 
> 82%]
> .                                                                        [ 
> 82%]
> tests/openlp_plugins/planningcenter/lib/test_planningcentertab.py ....   [ 
> 82%]
> tests/openlp_plugins/planningcenter/lib/test_songimport.py ......        [ 
> 82%]
> tests/openlp_plugins/presentations/test_impresscontroller.py ..........  [ 
> 83%]
> tests/openlp_plugins/presentations/test_mediaitem.py ......              [ 
> 83%]
> tests/openlp_plugins/presentations/test_messagelistener.py ....          [ 
> 83%]
> tests/openlp_plugins/presentations/test_pdfcontroller.py ..              [ 
> 84%]
> tests/openlp_plugins/presentations/test_plugin.py .                      [ 
> 84%]
> tests/openlp_plugins/presentations/test_powerpointcontroller.py ........ [ 
> 84%]
> .                                                                        [ 
> 84%]
> tests/openlp_plugins/presentations/test_presentationcontroller.py ...... [ 
> 84%]
> ......                                                                   [ 
> 85%]
> tests/openlp_plugins/presentations/test_presentationtab.py ..            [ 
> 85%]
> tests/openlp_plugins/presentations/lib/test_serializers.py sss           [ 
> 85%]
> tests/openlp_plugins/songs/test_chordproimport.py .                      [ 
> 85%]
> tests/openlp_plugins/songs/test_db.py ...........                        [ 
> 86%]
> tests/openlp_plugins/songs/test_easyslidesimport.py .                    [ 
> 86%]
> tests/openlp_plugins/songs/test_editsongform.py ...                      [ 
> 86%]
> tests/openlp_plugins/songs/test_editverseform.py ....                    [ 
> 86%]
> tests/openlp_plugins/songs/test_ewimport.py ...............              [ 
> 87%]
> tests/openlp_plugins/songs/test_foilpresenterimport.py .....             [ 
> 87%]
> tests/openlp_plugins/songs/test_lib.py ................................. [ 
> 89%]
> ..                                                                       [ 
> 89%]
> tests/openlp_plugins/songs/test_liveworshipimport.py ..                  [ 
> 89%]
> tests/openlp_plugins/songs/test_lyriximport.py .                         [ 
> 89%]
> tests/openlp_plugins/songs/test_mediaitem.py .................           [ 
> 90%]
> tests/openlp_plugins/songs/test_mediashout.py .......                    [ 
> 90%]
> tests/openlp_plugins/songs/test_openlpimporter.py ..                     [ 
> 90%]
> tests/openlp_plugins/songs/test_openlyricsexport.py ...                  [ 
> 90%]
> tests/openlp_plugins/songs/test_openlyricsimport.py .......              [ 
> 91%]
> tests/openlp_plugins/songs/test_openoffice.py ..                         [ 
> 91%]
> tests/openlp_plugins/songs/test_opensongimport.py ....                   [ 
> 91%]
> tests/openlp_plugins/songs/test_opsproimport.py .....                    [ 
> 91%]
> tests/openlp_plugins/songs/test_plugin.py .                              [ 
> 91%]
> tests/openlp_plugins/songs/test_powerpraiseimport.py .                   [ 
> 91%]
> tests/openlp_plugins/songs/test_presentationmanagerimport.py .           [ 
> 92%]
> tests/openlp_plugins/songs/test_propresenterimport.py ...                [ 
> 92%]
> tests/openlp_plugins/songs/test_reporting.py ...                         [ 
> 92%]
> tests/openlp_plugins/songs/test_singingthefaithimport.py .               [ 
> 92%]
> tests/openlp_plugins/songs/test_songbeamerimport.py .......              [ 
> 92%]
> tests/openlp_plugins/songs/test_songformat.py .....                      [ 
> 93%]
> tests/openlp_plugins/songs/test_songproimport.py .                       [ 
> 93%]
> tests/openlp_plugins/songs/test_songselect.py .......................... [ 
> 94%]
> ..................                                                       [ 
> 95%]
> tests/openlp_plugins/songs/test_songshowplusimport.py .....s             [ 
> 95%]
> tests/openlp_plugins/songs/test_songstab.py ...............              [ 
> 96%]
> tests/openlp_plugins/songs/test_sundayplusimport.py .                    [ 
> 96%]
> tests/openlp_plugins/songs/test_videopsalm.py .                          [ 
> 96%]
> tests/openlp_plugins/songs/test_wordsofworshipimport.py .....            [ 
> 96%]
> tests/openlp_plugins/songs/test_worshipassistantimport.py .              [ 
> 96%]
> tests/openlp_plugins/songs/test_worshipcenterproimport.py ...            [ 
> 97%]
> tests/openlp_plugins/songs/test_zionworximport.py ..                     [ 
> 97%]
> tests/openlp_plugins/songs/forms/test_authorsform.py .................   [ 
> 97%]
> tests/openlp_plugins/songs/forms/test_editsongform.py .......            [ 
> 98%]
> tests/openlp_plugins/songs/forms/test_editverseform.py .....             [ 
> 98%]
> tests/openlp_plugins/songs/forms/test_songmaintenanceform.py ........... [ 
> 99%]
> .......                                                                  [ 
> 99%]
> tests/openlp_plugins/songs/forms/test_topicsform.py ...                  [ 
> 99%]
> tests/openlp_plugins/songusage/test_songusage.py ....                    [ 
> 99%]
> tests/openlp_plugins/songusage/forms/test_songusagedeleteform.py .       [ 
> 99%]
> tests/openlp_plugins/songusage/forms/test_songusagedetailform.py .       
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ______________________ test_get_directory_for_plugins_dir 
> ______________________
> 
> mocked_sys = <MagicMock name='sys' id='139684805854256'>
> mocked_split = <MagicMock name='split' id='139684805485632'>
> mocked_abspath = <MagicMock name='abspath' id='139684805866064'>
> mocked_get_frozen_path = <MagicMock name='get_frozen_path' 
> id='139684805707232'>
> 
>     @patch('openlp.core.common.applocation.get_frozen_path')
>     @patch('openlp.core.common.applocation.os.path.abspath')
>     @patch('openlp.core.common.applocation.os.path.split')
>     @patch('openlp.core.common.applocation.sys')
>     def test_get_directory_for_plugins_dir(mocked_sys, mocked_split, 
> mocked_abspath, mocked_get_frozen_path):
>         """
>         Test the AppLocation.get_directory() method for AppLocation.PluginsDir
>         """
>         # GIVEN: _get_frozen_path, abspath, split and sys are mocked out
>         mocked_abspath.return_value = os.path.join('plugins', 'dir')
>         mocked_split.return_value = ['openlp']
>         mocked_get_frozen_path.return_value = Path('dir')
>         mocked_sys.frozen = 1
>         mocked_sys.argv = ['openlp']
>     
>         # WHEN: We call AppLocation.get_directory
>         directory = AppLocation.get_directory(AppLocation.PluginsDir)
>     
>         # THEN: The correct directory should be returned
> >       assert directory == Path.cwd() / Path('dir', 'plugins'), 'Directory 
> > should be "dir/plugins"'
> E       AssertionError: Directory should be "dir/plugins"
> E       assert PosixPath('plugins/dir') == 
> (PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build') / 
> PosixPath('dir/plugins'))
> E        +  where 
> PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build') = <bound 
> method Path.cwd of <class 'pathlib.Path'>>()
> E        +    where <bound method Path.cwd of <class 'pathlib.Path'>> = 
> Path.cwd
> E        +  and   PosixPath('dir/plugins') = Path('dir', 'plugins')
> 
> tests/openlp_core/common/test_applocation.py:163: AssertionError
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_core/api/test_tab.py: 95 
> warnings
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_core/ui/test_icons.py: 1 
> warning
>   /usr/lib/python3/dist-packages/qtawesome/iconic_font.py:325: 
> DeprecationWarning: The FontAwesome 4.7 ('fa' prefix) icon set will be 
> removed in a future release in favor of FontAwesome 6. We recommend you to 
> move to FontAwesome 5 ('fa5*' prefix) to prevent any issues in the future
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_core/lib/test_pluginmanager.py::test_bootstrap_initialise
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build/openlp/core/lib/db.py:359:
>  SAWarning: relationship 'Book.songs' will copy column song_books.id to 
> column songs_songbooks.songbook_id, which conflicts with relationship(s): 
> 'SongBookEntry.songbook' (copies song_books.id to 
> songs_songbooks.songbook_id). If this is not the intention, consider if these 
> relationships should be linked with back_populates, or if viewonly=True 
> should be applied to one or more if they are read-only. For the less common 
> case that foreign key constraints are partially overlapping, the 
> orm.foreign() annotation can be used to isolate the columns that should be 
> written towards.   To silence this warning, add the parameter 
> 'overlaps="songbook"' to the 'Book.songs' relationship. (Background on this 
> error at: https://sqlalche.me/e/14/qzyx)
>     version_meta = session.query(Metadata).get('version')
> 
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_core/lib/test_pluginmanager.py::test_bootstrap_initialise
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build/openlp/core/lib/db.py:359:
>  SAWarning: relationship 'SongBookEntry.song' will copy column songs.id to 
> column songs_songbooks.song_id, which conflicts with relationship(s): 
> 'Book.songs' (copies songs.id to songs_songbooks.song_id). If this is not the 
> intention, consider if these relationships should be linked with 
> back_populates, or if viewonly=True should be applied to one or more if they 
> are read-only. For the less common case that foreign key constraints are 
> partially overlapping, the orm.foreign() annotation can be used to isolate 
> the columns that should be written towards.   To silence this warning, add 
> the parameter 'overlaps="songs"' to the 'SongBookEntry.song' relationship. 
> (Background on this error at: https://sqlalche.me/e/14/qzyx)
>     version_meta = session.query(Metadata).get('version')
> 
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_core/lib/test_pluginmanager.py::test_bootstrap_initialise
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build/openlp/core/lib/db.py:359:
>  SAWarning: relationship 'Song.songbook_entries' will copy column songs.id to 
> column songs_songbooks.song_id, which conflicts with relationship(s): 
> 'Book.songs' (copies songs.id to songs_songbooks.song_id). If this is not the 
> intention, consider if these relationships should be linked with 
> back_populates, or if viewonly=True should be applied to one or more if they 
> are read-only. For the less common case that foreign key constraints are 
> partially overlapping, the orm.foreign() annotation can be used to isolate 
> the columns that should be written towards.   To silence this warning, add 
> the parameter 'overlaps="songs"' to the 'Song.songbook_entries' relationship. 
> (Background on this error at: https://sqlalche.me/e/14/qzyx)
>     version_meta = session.query(Metadata).get('version')
> 
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/alerts/test_plugin.py::test_plugin_state
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build/openlp/plugins/alerts/remote.py:58:
>  UserWarning: The name 'v2-alert-plugin' is already registered for this 
> blueprint. Use 'name=' to provide a unique name. This will become an error in 
> Flask 2.1.
>     app.register_blueprint(v2_views, url_prefix='/api/v2/plugins/alerts')
> 
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/alerts/test_plugin.py::test_plugin_state
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build/openlp/plugins/alerts/remote.py:59:
>  UserWarning: The name 'v1-alert-plugin' is already registered for this 
> blueprint. Use 'name=' to provide a unique name. This will become an error in 
> Flask 2.1.
>     app.register_blueprint(v1_views, url_prefix='/api/alert')
> 
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/presentations/test_pdfcontroller.py::test_loading_pdf_using_pymupdf
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/presentations/test_pdfcontroller.py::test_loading_pdf_using_pymupdf
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/presentations/test_pdfcontroller.py::test_loading_pdf_using_pymupdf
>   /usr/lib/python3/dist-packages/fitz/__init__.py:170: FitzDeprecation: 
> 'getPixmap' removed from class 'Page' after v1.19.0 - use 'get_pixmap'.
>     warnings.warn(msg, category=FitzDeprecation)
> 
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/presentations/test_pdfcontroller.py::test_loading_pdf_using_pymupdf
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/presentations/test_pdfcontroller.py::test_loading_pdf_using_pymupdf
> .pybuild/cpython3_3.10_openlp/build/tests/openlp_plugins/presentations/test_pdfcontroller.py::test_loading_pdf_using_pymupdf
>   /usr/lib/python3/dist-packages/fitz/__init__.py:170: FitzDeprecation: 
> 'writeImage' removed from class 'Pixmap' after v1.19.0 - use 'save'.
>     warnings.warn(msg, category=FitzDeprecation)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> tests/openlp_core/common/test_applocation.py::test_get_directory_for_plugins_dir
> === 1 failed, 1912 passed, 25 skipped, 1 deselected, 107 warnings in 24.89s 
> ====
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_openlp/build; python3.10 -m pytest 
> -k-test_load_settings_position_invalid
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/openlp_2.9.4-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lu...@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 marking 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.

Reply via email to