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 1696302

Summary: python-wxpython4: FTBFS in Fedora rawhide with python-sip-4.19.15
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: python-wxpython4Assignee: Scott Talbert <swt>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, sanjay.ankur, stevenfalco, swt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://apps.fedoraproject.org/koschei/package/python-wxpython4
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-11 17:02:30 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, 1696765, 1697411    

Description Jitka Plesnikova 2019-04-04 13:28:16 UTC
Description of problem:
Package python-wxpython4 fails to build from source in Fedora rawhide with python-sip-4.19.15. 

It is necessary to rebuild it with python-sip-4.19.15, if we want to install it in Fedora rawhide.
However, the rebuild failed with error:

Running command: sip
/usr/bin/sip -w -o -g -I /builddir/build/BUILD/python-wxpython4-4.0.4/python2/src -I /builddir/build/BUILD/python-wxpython4-4.0.4/python2/sip/gen -c /tmp/tmpi8b71d -b sip/cpp/_core.sbf -X pycode_core:wx/core.py sip/gen/_core.sip
BUILDSTDERR: sip: /builddir/build/BUILD/python-wxpython4-4.0.4/python2/src/wacky_ints.sip:20: Invalid type for %MappedType
Command '/usr/bin/sip -w -o -g -I /builddir/build/BUILD/python-wxpython4-4.0.4/python2/src -I /builddir/build/BUILD/python-wxpython4-4.0.4/python2/sip/gen -c /tmp/tmpi8b71d -b sip/cpp/_core.sbf -X pycode_core:wx/core.py sip/gen/_core.sip' failed with exit code 1.
Finished command: sip (0.14s)

Dependency changes from the latest successful build can be found here:
https://apps.fedoraproject.org/koschei/build/6234534

Version-Release number of selected component (if applicable):
4.0.4-2.fc30

Steps to Reproduce:
koji build --scratch f31 python-wxpython4-4.0.4-2.fc30.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/python-wxpython4

Comment 1 Scott Talbert 2019-04-04 14:54:35 UTC
I have patches ready for building with SIP 4.19.14.  Unfortunately, SIP 4.19.15 causes additional problems that I need to investigate.

Comment 2 Miro Hrončok 2019-04-10 07:10:28 UTC
This blocks the bootstrapping of Python 3.8 on a way to matplotlib.

Comment 3 Ankur Sinha (FranciscoD) 2019-04-10 15:45:13 UTC
Also blocks a python-fslpy update. Just marking it for tracking purposes, it isn't urgent :)

Comment 4 Scott Talbert 2019-04-10 15:54:58 UTC
Current status is that the last issues have been fixed in SIP upstream, but a new release hasn't been cut.  The maintainer plans to cut in new release in the next couple of days.

@Miro, how urgent is this?  If you are totally blocked, I can grab the upstream commits and submit a PR to sip before the new release is cut.

Comment 5 Miro Hrončok 2019-04-10 16:01:06 UTC
Not urgent to do this in master branch until cca **2019-05-26 Python 3.8.0 beta 1**

https://fedoraproject.org/wiki/Changes/Python3.8#Important_dates_and_plan



Having such sip available at least for my Copr would unblock me, however there are bigger fish currently and I am not yet totally blocked. A new release in the next couple of days is fine.

I'll let you know if I'm totally blocked before that. Thanks for the kind offer.