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 - libmodulemd FTBFS with Python 3.8
Summary: libmodulemd FTBFS with Python 3.8
Keywords:
Status: CLOSED DUPLICATE of bug 1709787
Alias: None
Product: Fedora
Classification: Fedora
Component: libmodulemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1709787
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-16 09:14 UTC by Lumír Balhar
Modified: 2019-05-22 23:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-22 23:09:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full build log from COPR (21.36 KB, application/gzip)
2019-05-16 09:14 UTC, Lumír Balhar
no flags Details
root.log from COPR (8.96 KB, application/gzip)
2019-05-16 09:45 UTC, Lumír Balhar
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.