Bug 1725791

Summary: pcp fails to build with Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: setoolsAssignee: Chris PeBenito <cpebenito>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: brolley, caillon+fedoraproject, caolanm, cpebenito, dwalsh, fche, john.j5live, lberk, mgoodwin, mgrepl, nathans, plautrba, rhughes, rstrode, sandmann, vmojzis
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: 2019-07-31 19:16:12 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: 1686977    

Description Miro Hrončok 2019-07-01 13:07:54 UTC
pcp fails to build with Python 3.8.0b1:

Traceback (most recent call last):
  File "/usr/bin/seinfo", line 21, in <module>
    import setools
  File "/usr/lib64/python3.8/site-packages/setools/__init__.py", line 31, in <module>
    from . import policyrep
  File "/usr/lib64/python3.8/site-packages/setools/policyrep/__init__.py", line 26, in <module>
    from .bounds import BoundsRuletype
  File "/usr/lib64/python3.8/site-packages/setools/policyrep/bounds.py", line 22, in <module>
    from .qpol import qpol_typebounds_t
ModuleNotFoundError: No module named 'setools.policyrep.qpol'

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00952156-pcp/

For all our attempts to build pcp with Python 3.8, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/pcp/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Let us know here if you have any questions.

Comment 1 Miro Hrončok 2019-07-30 14:58:48 UTC
Could you please have a look?

Comment 2 Nathan Scott 2019-07-30 22:19:42 UTC
Ah, thanks for the reminder Miro.  This failure looks unrelated to PCP - we're running selinux tools during the configure.ac stage of PCP build, and the 'seinfo' command fails.  Reassigning to the selinux folk for a closer look.

Comment 3 Petr Lautrbach 2019-07-31 19:16:12 UTC

*** This bug has been marked as a duplicate of bug 1734789 ***