Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1977888 Details for
Bug 2225805
flatpak-module-tools: FTBFS in Fedora rawhide/f39
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Fedora Release Engineering
on 2023-07-25 17:38:55 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-25 17:38:55 UTC
Size:
32.00 KB
patch
obsolete
>atpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/rewrite.py to rewrite.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/utils.py to utils.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/tests/test_flatpak_builder.py to test_flatpak_builder.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/tests/test_tree_processor.py to test_tree_processor.cpython-312.pyc >writing byte-compilation script '/tmp/tmpcw496xeo.py' >/usr/bin/python3 /tmp/tmpcw496xeo.py >/usr/lib/python3.12/site-packages/flatpak_module_tools/installer.py:118: SyntaxWarning: invalid escape sequence '\s' >removing /tmp/tmpcw496xeo.py >running install_egg_info >running egg_info >writing flatpak_module_tools.egg-info/PKG-INFO >writing dependency_links to flatpak_module_tools.egg-info/dependency_links.txt >writing entry points to flatpak_module_tools.egg-info/entry_points.txt >writing top-level names to flatpak_module_tools.egg-info/top_level.txt >reading manifest file 'flatpak_module_tools.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >writing manifest file 'flatpak_module_tools.egg-info/SOURCES.txt' >Copying flatpak_module_tools.egg-info to /builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools-0.13-py3.12.egg-info >running install_scripts >Installing flatpak-module script to /builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/bin >+ rm -rfv /builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/bin/__pycache__ >+ /usr/bin/find-debuginfo -j3 --strict-build-id -m -i --build-id-seed 0.13-9.fc39 --unique-debug-suffix -0.13-9.fc39.noarch --unique-debug-src-base flatpak-module-tools-0.13-9.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/flatpak-module-tools-0.13 >find-debuginfo: starting >Extracting debug info from 0 files >Creating .debug symlinks for symlinks to ELF files >find: 'debug': No such file or directory >find-debuginfo: done >+ /usr/lib/rpm/check-buildroot >+ /usr/lib/rpm/redhat/brp-ldconfig >+ /usr/lib/rpm/brp-compress >+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip >+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip >+ /usr/lib/rpm/check-rpaths >+ /usr/lib/rpm/redhat/brp-mangle-shebangs >+ /usr/lib/rpm/brp-remove-la-files >+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j3 >Bytecompiling .py files below /builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12 using python3.12 >/usr/lib/python3.12/site-packages/flatpak_module_tools/installer.py:118: SyntaxWarning: invalid escape sequence '\s' >/usr/lib/python3.12/site-packages/flatpak_module_tools/installer.py:118: SyntaxWarning: invalid escape sequence '\s' >+ /usr/lib/rpm/redhat/brp-python-hardlink >Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.k3Yhnc >+ umask 022 >+ cd /builddir/build/BUILD >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' >+ export CFLAGS >+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' >+ export CXXFLAGS >+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' >+ export FFLAGS >+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' >+ export FCFLAGS >+ VALAFLAGS=-g >+ export VALAFLAGS >+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' >+ export RUSTFLAGS >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ export LDFLAGS >+ LT_SYS_LIBRARY_PATH=/usr/lib: >+ export LT_SYS_LIBRARY_PATH >+ CC=gcc >+ export CC >+ CXX=g++ >+ export CXX >+ cd flatpak-module-tools-0.13 >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ PATH=/builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin >+ PYTHONPATH=/builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages:/builddir/build/BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages >+ PYTHONDONTWRITEBYTECODE=1 >+ PYTEST_XDIST_AUTO_NUM_WORKERS=3 >+ /usr/bin/pytest >============================= test session starts ============================== >platform linux -- Python 3.12.0b4, pytest-7.3.2, pluggy-1.0.0 >rootdir: /builddir/build/BUILD/flatpak-module-tools-0.13 >collected 24 items >tests/test_flatpak_builder.py .... [ 16%] >tests/test_tree_processor.py ......FFFFFFF.FFF... [100%] >=================================== FAILURES =================================== >_________________________ test_renames[eog-None-None] __________________________ >app_tree = <test_tree_processor.AppTree object at 0xf59deed0> >rename_appdata_file = None, rename_desktop_file = None, rename_icon = 'eog' > @pytest.mark.parametrize('rename_appdata_file', (None, 'eog.appdata.xml', 'eog.metainfo.xml')) > @pytest.mark.parametrize('rename_desktop_file', (None, 'eog.desktop')) > @pytest.mark.parametrize('rename_icon', (None, 'eog')) > def test_renames(app_tree, > rename_appdata_file, > rename_desktop_file, > rename_icon): > app_tree.create(rename_appdata_file, > rename_desktop_file, > rename_icon) > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'rename-appdata-file': rename_appdata_file, > 'rename-desktop-file': rename_desktop_file, > 'rename-icon': rename_icon, > }) >> processor.process() >tests/test_tree_processor.py:158: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59de8b8> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >____________________ test_renames[eog-None-eog.appdata.xml] ____________________ >app_tree = <test_tree_processor.AppTree object at 0xf59deee8> >rename_appdata_file = 'eog.appdata.xml', rename_desktop_file = None >rename_icon = 'eog' > @pytest.mark.parametrize('rename_appdata_file', (None, 'eog.appdata.xml', 'eog.metainfo.xml')) > @pytest.mark.parametrize('rename_desktop_file', (None, 'eog.desktop')) > @pytest.mark.parametrize('rename_icon', (None, 'eog')) > def test_renames(app_tree, > rename_appdata_file, > rename_desktop_file, > rename_icon): > app_tree.create(rename_appdata_file, > rename_desktop_file, > rename_icon) > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'rename-appdata-file': rename_appdata_file, > 'rename-desktop-file': rename_desktop_file, > 'rename-icon': rename_icon, > }) >> processor.process() >tests/test_tree_processor.py:158: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59deb28> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >___________________ test_renames[eog-None-eog.metainfo.xml] ____________________ >app_tree = <test_tree_processor.AppTree object at 0xf59deba0> >rename_appdata_file = 'eog.metainfo.xml', rename_desktop_file = None >rename_icon = 'eog' > @pytest.mark.parametrize('rename_appdata_file', (None, 'eog.appdata.xml', 'eog.metainfo.xml')) > @pytest.mark.parametrize('rename_desktop_file', (None, 'eog.desktop')) > @pytest.mark.parametrize('rename_icon', (None, 'eog')) > def test_renames(app_tree, > rename_appdata_file, > rename_desktop_file, > rename_icon): > app_tree.create(rename_appdata_file, > rename_desktop_file, > rename_icon) > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'rename-appdata-file': rename_appdata_file, > 'rename-desktop-file': rename_desktop_file, > 'rename-icon': rename_icon, > }) >> processor.process() >tests/test_tree_processor.py:158: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59de858> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >______________________ test_renames[eog-eog.desktop-None] ______________________ >app_tree = <test_tree_processor.AppTree object at 0xf59deac8> >rename_appdata_file = None, rename_desktop_file = 'eog.desktop' >rename_icon = 'eog' > @pytest.mark.parametrize('rename_appdata_file', (None, 'eog.appdata.xml', 'eog.metainfo.xml')) > @pytest.mark.parametrize('rename_desktop_file', (None, 'eog.desktop')) > @pytest.mark.parametrize('rename_icon', (None, 'eog')) > def test_renames(app_tree, > rename_appdata_file, > rename_desktop_file, > rename_icon): > app_tree.create(rename_appdata_file, > rename_desktop_file, > rename_icon) > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'rename-appdata-file': rename_appdata_file, > 'rename-desktop-file': rename_desktop_file, > 'rename-icon': rename_icon, > }) >> processor.process() >tests/test_tree_processor.py:158: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59de4f8> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >________________ test_renames[eog-eog.desktop-eog.appdata.xml] _________________ >app_tree = <test_tree_processor.AppTree object at 0xf59ca090> >rename_appdata_file = 'eog.appdata.xml', rename_desktop_file = 'eog.desktop' >rename_icon = 'eog' > @pytest.mark.parametrize('rename_appdata_file', (None, 'eog.appdata.xml', 'eog.metainfo.xml')) > @pytest.mark.parametrize('rename_desktop_file', (None, 'eog.desktop')) > @pytest.mark.parametrize('rename_icon', (None, 'eog')) > def test_renames(app_tree, > rename_appdata_file, > rename_desktop_file, > rename_icon): > app_tree.create(rename_appdata_file, > rename_desktop_file, > rename_icon) > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'rename-appdata-file': rename_appdata_file, > 'rename-desktop-file': rename_desktop_file, > 'rename-icon': rename_icon, > }) >> processor.process() >tests/test_tree_processor.py:158: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59cac18> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >________________ test_renames[eog-eog.desktop-eog.metainfo.xml] ________________ >app_tree = <test_tree_processor.AppTree object at 0xf59caf60> >rename_appdata_file = 'eog.metainfo.xml', rename_desktop_file = 'eog.desktop' >rename_icon = 'eog' > @pytest.mark.parametrize('rename_appdata_file', (None, 'eog.appdata.xml', 'eog.metainfo.xml')) > @pytest.mark.parametrize('rename_desktop_file', (None, 'eog.desktop')) > @pytest.mark.parametrize('rename_icon', (None, 'eog')) > def test_renames(app_tree, > rename_appdata_file, > rename_desktop_file, > rename_icon): > app_tree.create(rename_appdata_file, > rename_desktop_file, > rename_icon) > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'rename-appdata-file': rename_appdata_file, > 'rename-desktop-file': rename_desktop_file, > 'rename-icon': rename_icon, > }) >> processor.process() >tests/test_tree_processor.py:158: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59ca378> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >________________________________ test_copy_icon ________________________________ >app_tree = <test_tree_processor.AppTree object at 0xf59de5d0> > def test_copy_icon(app_tree): > app_tree.create(rename_icon='eog') > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'rename-icon': 'eog', > 'copy-icon': True > }) >> processor.process() >tests/test_tree_processor.py:176: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59de570> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >____________ test_desktop_file_name_prefix_suffix[None-Wonderful ] _____________ >app_tree = <test_tree_processor.AppTree object at 0xf59def30> >prefix = 'Wonderful ', suffix = None > @pytest.mark.parametrize('prefix', (None, 'Wonderful ')) > @pytest.mark.parametrize('suffix', (None, ' Nightly')) > def test_desktop_file_name_prefix_suffix(app_tree, prefix, suffix): > app_tree.create() > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'desktop-file-name-prefix': prefix, > 'desktop-file-name-suffix': suffix, > }) >> processor.process() >tests/test_tree_processor.py:192: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59deeb8> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >_____________ test_desktop_file_name_prefix_suffix[ Nightly-None] ______________ >app_tree = <test_tree_processor.AppTree object at 0xf59ca390>, prefix = None >suffix = ' Nightly' > @pytest.mark.parametrize('prefix', (None, 'Wonderful ')) > @pytest.mark.parametrize('suffix', (None, ' Nightly')) > def test_desktop_file_name_prefix_suffix(app_tree, prefix, suffix): > app_tree.create() > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'desktop-file-name-prefix': prefix, > 'desktop-file-name-suffix': suffix, > }) >> processor.process() >tests/test_tree_processor.py:192: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59ca150> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >__________ test_desktop_file_name_prefix_suffix[ Nightly-Wonderful ] ___________ >app_tree = <test_tree_processor.AppTree object at 0xf59ca2a0> >prefix = 'Wonderful ', suffix = ' Nightly' > @pytest.mark.parametrize('prefix', (None, 'Wonderful ')) > @pytest.mark.parametrize('suffix', (None, ' Nightly')) > def test_desktop_file_name_prefix_suffix(app_tree, prefix, suffix): > app_tree.create() > > processor = FileTreeProcessor(app_tree.root, { > 'id': 'org.gnome.eog', > 'desktop-file-name-prefix': prefix, > 'desktop-file-name-suffix': suffix, > }) >> processor.process() >tests/test_tree_processor.py:192: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:331: in process > self._rewrite_desktop_file() >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <flatpak_module_tools.flatpak_builder.FileTreeProcessor object at 0xf59ca6d8> > def _rewrite_desktop_file(self): > if not (self.rename_icon or self.desktop_file_name_prefix or self.desktop_file_name_suffix): > return > > applications_dir = os.path.join(self.app_root, "share/applications") > desktop_basename = self.app_id + ".desktop" > desktop = os.path.join(applications_dir, desktop_basename) > > self.log.debug("Rewriting contents of %s", desktop_basename) > > cp = CP() > cp.optionxform = str > with open(desktop) as f: >> cp.readfp(f) >E AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'? >../../BUILDROOT/flatpak-module-tools-0.13-9.fc39.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools/flatpak_builder.py:290: AttributeError >=============================== warnings summary =============================== >../../../../usr/lib/python3.12/site-packages/gi/overrides/__init__.py:108 >../../../../usr/lib/python3.12/site-packages/gi/overrides/__init__.py:108 >../../../../usr/lib/python3.12/site-packages/gi/overrides/__init__.py:108 > /usr/lib/python3.12/site-packages/gi/overrides/__init__.py:108: DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead > override_loader = get_loader(override_package_name) >../../../../usr/lib/python3.12/pkgutil.py:291 >../../../../usr/lib/python3.12/pkgutil.py:291 >../../../../usr/lib/python3.12/pkgutil.py:291 > /usr/lib/python3.12/pkgutil.py:291: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead > return find_loader(fullname) >tests/test_flatpak_builder.py::test_source_info_bad_profile > /builddir/build/BUILD/flatpak-module-tools-0.13/tests/test_flatpak_builder.py:167: DeprecationWarning: Modulemd.ModuleStream.read_string is deprecated > testapp_mmd = Modulemd.ModuleStream.read_string(testapp_mmd, True) >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >FAILED tests/test_tree_processor.py::test_renames[eog-None-None] - AttributeE... >FAILED tests/test_tree_processor.py::test_renames[eog-None-eog.appdata.xml] >FAILED tests/test_tree_processor.py::test_renames[eog-None-eog.metainfo.xml] >FAILED tests/test_tree_processor.py::test_renames[eog-eog.desktop-None] - Att... >FAILED tests/test_tree_processor.py::test_renames[eog-eog.desktop-eog.appdata.xml] >FAILED tests/test_tree_processor.py::test_renames[eog-eog.desktop-eog.metainfo.xml] >FAILED tests/test_tree_processor.py::test_copy_icon - AttributeError: 'RawCon... >FAILED tests/test_tree_processor.py::test_desktop_file_name_prefix_suffix[None-Wonderful ] >FAILED tests/test_tree_processor.py::test_desktop_file_name_prefix_suffix[ Nightly-None] >FAILED tests/test_tree_processor.py::test_desktop_file_name_prefix_suffix[ Nightly-Wonderful ] >================== 10 failed, 14 passed, 7 warnings in 1.20s =================== >error: Bad exit status from /var/tmp/rpm-tmp.k3Yhnc (%check) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.k3Yhnc (%check) >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a9fecb0755e54d6b88b16146dbc177f5 -D /var/lib/mock/f39-build-44268953-5274729/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.y5116fg0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec\n', 1)] >Traceback (most recent call last): > File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace > result = func(*args, **kw) > ^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) >mockbuild.exception.Error: Command failed: > # /usr/bin/systemd-nspawn -q -M a9fecb0755e54d6b88b16146dbc177f5 -D /var/lib/mock/f39-build-44268953-5274729/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.y5116fg0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2225805
: 1977888 |
1977889
|
1977890