Bug 2006529

Summary: FTI on s390x due to unported dependency
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: sympyAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cbm, loganjerry, orion, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-29 23:04:24 UTC Type: Bug
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:    
Bug Blocks: 1887228    

Description Ben Beasley 2021-09-21 19:34:04 UTC
Description of problem:

The python3-sympy package depends on python3dist(pyglet), which is

> ExcludeArch:    s390x

(https://bugzilla.redhat.com/show_bug.cgi?id=2006515).

Therefore, python3-sympy fails to install on s390x.

Version-Release number of selected component (if applicable): 1.8-3


How reproducible:


Steps to Reproduce:
1. sudo dnf install qemu-user-static
2. mock -r fedora-rawhide-s390x -i python3-sympy

Actual results:

> Error: 
>  Problem: conflicting requests
>   - nothing provides python3dist(pyglet) needed by python3-sympy-1.8-3.fc35~bootstrap.noarch


Expected results:

Package installs successfully.

Additional info:

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_noarch_with_unported_dependencies

It seems like there are three options:

  1. Remove the pyglet dependency on s390x, and disable corresponding tests
     and functionality. Give up noarch in sympy, since this means the package
     is different for different architectures. I haven’t looked into whether
     this is practical in this particular case.
  2. Keep sympy noarch, but add “ExcludeArch:    s390x” to keep it from building
     on s390x or being added to s390x repos. Link this bug in a comment above
     the ExcludeArch and block
     https://bugzilla.redhat.com/show_bug.cgi?id=F-ExcludeArch-s390x
     from this bug.
  3. Fix the bug in pyglet, or convince the python-pyglet package maintainers
     to ship a package with broken sound on s390x rather than using ExcludeArch.

I discovered the problem while studying architecture-specific issues in
python-trimesh, which depends on both sympy and pyglet.

Comment 1 Jerry James 2021-09-21 21:51:07 UTC
Uh oh.  I think I will attempt #3 first, as that is the cleanest solution.  Thanks for clueing me in.

Comment 2 Ben Beasley 2021-09-25 13:31:20 UTC
Thanks for working on this. I’m happy to see an upstream fix in progress!

Comment 4 Fedora Update System 2021-10-12 17:03:21 UTC
FEDORA-2021-8e0dc324b8 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e0dc324b8

Comment 5 Fedora Update System 2021-10-13 18:52:15 UTC
FEDORA-2021-8e0dc324b8 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8e0dc324b8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e0dc324b8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-10-29 23:04:24 UTC
FEDORA-2021-8e0dc324b8 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.