Bug 2220061

Summary: F39FailsToInstall: python3-paperwork
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: paperworkAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dreua, python-packagers-sig, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: paperwork-2.1.2-5.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-07 08:22:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2220394, 2223524    
Bug Blocks: 2135404, 2168845    

Description Fedora Fails To Install 2023-07-05 19:06:23 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (paperwork) Fails To Install in Fedora 39:

can't install python3-paperwork:
  - nothing provides python3.11dist(distro) needed by python3-paperwork-2.1.2-2.fc38.noarch
  - nothing provides python3.11dist(pycountry) needed by python3-paperwork-2.1.2-2.fc38.noarch
  - nothing provides python3.11dist(openpaperwork-core) needed by python3-paperwork-2.1.2-2.fc38.noarch
  - nothing provides python3.11dist(python-levenshtein) needed by python3-paperwork-2.1.2-2.fc38.noarch
  - nothing provides python3.11dist(openpaperwork-gtk) needed by python3-paperwork-2.1.2-2.fc38.noarch
  - nothing provides python(abi) = 3.11 needed by python3-paperwork-2.1.2-2.fc38.noarch
  - nothing provides python3.11dist(pyocr) >= 0.3 needed by python3-paperwork-2.1.2-2.fc38.noarch
  - nothing provides python3.11dist(pyxdg) >= 0.25 needed by python3-paperwork-2.1.2-2.fc38.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install python3-paperwork


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2023-07-13 11:47:37 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug.

Comment 2 Elliott Sales de Andrade 2023-07-18 06:15:42 UTC
python-Levenshtein is actually broke, though it rebuilt:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/builddir/build/BUILDROOT/paperwork-2.1.2-2.fc39.noarch/usr/lib/python3.12/site-packages/paperwork_gtk/main.py", line 221, in <module>
    main()
  File "/builddir/build/BUILDROOT/paperwork-2.1.2-2.fc39.noarch/usr/lib/python3.12/site-packages/paperwork_gtk/main.py", line 216, in main
    main_main(sys.argv[1:])
  File "/builddir/build/BUILDROOT/paperwork-2.1.2-2.fc39.noarch/usr/lib/python3.12/site-packages/paperwork_gtk/main.py", line 187, in main_main
    core.call_all("config_load_plugins", "paperwork-gtk", DEFAULT_GUI_PLUGINS)
  File "/usr/lib/python3.12/site-packages/openpaperwork_core/__init__.py", line 407, in call_all
    callback(*args, **kwargs)
  File "/usr/lib/python3.12/site-packages/openpaperwork_core/config/__init__.py", line 99, in config_load_plugins
    self.core.call_all(
  File "/usr/lib/python3.12/site-packages/openpaperwork_core/__init__.py", line 407, in call_all
    callback(*args, **kwargs)
  File "/usr/lib/python3.12/site-packages/openpaperwork_core/config/backend/configparser.py", line 269, in config_backend_load_plugins
    self.core.load(module)
  File "/usr/lib/python3.12/site-packages/openpaperwork_core/__init__.py", line 166, in load
    module = importlib.import_module(module_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1293, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1266, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1237, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 841, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 400, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/paperwork_backend/docscan/autoselect_scanner.py", line 10, in <module>
    import Levenshtein
  File "/usr/lib64/python3.12/site-packages/Levenshtein/__init__.py", line 1, in <module>
    from Levenshtein import _levenshtein
ImportError: /usr/lib64/python3.12/site-packages/Levenshtein/_levenshtein.cpython-312-powerpc64le-linux-gnu.so: undefined symbol: PyUnicode_AS_UNICODE