Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1710754

Summary: libmodulemd FTBFS with Python 3.8
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: libmodulemdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, nphilipp, sgallagh
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-05-22 23:09:59 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: 1709787    
Bug Blocks: 1686977    
Attachments:
Description Flags
Full build log from COPR
none
root.log from COPR none

Description Lumír Balhar 2019-05-16 09:14:16 UTC
Created attachment 1569450 [details]
Full build log from COPR

libmodulemd-2.3.1-1.fc31 fails to build from source in Fedora rawhide with Python 3.8.

The failure occurs in the %files section for python3-libmodulemd:
Processing files: python3-libmodulemd-2.3.1-1.fc31.x86_64
RPM build errors:
BUILDSTDERR: error: Directory not found: /builddir/build/BUILDROOT/libmodulemd-2.3.1-1.fc31.x86_64/usr/lib64/python3.8/site-packages/gi/overrides
BUILDSTDERR:     Directory not found: /builddir/build/BUILDROOT/libmodulemd-2.3.1-1.fc31.x86_64/usr/lib64/python3.8/site-packages/gi/overrides
Child return code was: 1

Comment 1 Lumír Balhar 2019-05-16 09:45:29 UTC
Created attachment 1569455 [details]
root.log from COPR

Comment 2 Stephen Gallagher 2019-05-16 12:30:04 UTC
The problem here is that pygobject3 is broken:

```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.8/site-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: cannot import name '_gi' from 'gi' (/usr/lib64/python3.8/site-packages/gi/__init__.py)
```

That needs to be resolved and then libmodulemd should build fine.

Comment 3 Miro Hrončok 2019-05-22 23:09:59 UTC
I'll take care of all the dependent packages. Closing as duplicate.

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