Bug 2128661 - Build of kicad is failing with upcoming SWIG 4.1.0
Summary: Build of kicad is failing with upcoming SWIG 4.1.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kicad
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steven A. Falco
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-21 10:56 UTC by Jitka Plesnikova
Modified: 2022-11-10 22:28 UTC (History)
5 users (show)

Fixed In Version: kicad-6.0.8-4.fc36 kicad-6.0.8-4.fc35 kicad-6.0.9-1.fc37
Clone Of:
Environment:
Last Closed: 2022-10-21 16:13:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab kicad/code kicad issues 12414 0 None closed Build of kicad is failing with upcoming release of SWIG 4.1.0 2022-09-21 10:56:20 UTC

Description Jitka Plesnikova 2022-09-21 10:56:20 UTC
I am testing rebuild of SWIG dependencies against upcoming version 4.1.0 in Fedora rawhide/38.

The build of kicad-6.0.7 is failing with this version:

cd /builddir/build/BUILD/kicad-6.0.7/pcbnew && /usr/bin/python3 /builddir/build/BUILD/kicad-6.0.7/scripting/build_tools/fix_swig_imports.py /builddir/build/BUILD/kicad-6.0.7/redhat-linux-build/pcbnew/pcbnew.py
Error: the swig import helper was not fixed, check /builddir/build/BUILD/kicad-6.0.7/redhat-linux-build/pcbnew/pcbnew.py
       and fix this script: fix_swig_imports.py
gmake[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build.make:122: pcbnew/pcbnew_wrap.cxx] Error 2
gmake[2]: *** Deleting file 'pcbnew/pcbnew_wrap.cxx'
gmake[2]: Leaving directory '/builddir/build/BUILD/kicad-6.0.7/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:2877: pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

I reported it to upstream and they have already fixed it. 
https://gitlab.com/kicad/code/kicad/-/issues/12414

Comment 1 Steven A. Falco 2022-09-21 12:48:41 UTC
We will be making a build of 6.0.8, probably in about a week.  I can see that the fix has been applied, so we should be good to go.

Thanks for the report and for contacting upstream!

Comment 2 Steven A. Falco 2022-10-14 21:41:15 UTC
The fix has been released as part of 6.0.8.

Comment 3 Jitka Plesnikova 2022-10-20 06:19:51 UTC
The fix mention in the description is not part of 6.0.8 (milestone for the fix is 7.0). 

Rebuild of kicad is failing with upcoming swig 4.1.0:
https://copr.fedorainfracloud.org/coprs/jplesnik/swig-rebuild/build/4956715/

Could you please backport the fix to Fedora?

Comment 4 Steven A. Falco 2022-10-20 19:22:41 UTC
This has now been fixed in the upstream 6.0 branch.

I've added it as a patch in 6.0.8-4.

I tested it locally via mock (including your swig-4.1.0-1.fc38.x86_64.rpm) and it looks good.

Please confirm at your convenience.

Comment 5 Fedora Update System 2022-10-21 12:38:40 UTC
FEDORA-2022-fc8c504abe has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fc8c504abe

Comment 6 Fedora Update System 2022-10-21 12:39:14 UTC
FEDORA-2022-f231ce034c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f231ce034c

Comment 7 Fedora Update System 2022-10-21 12:39:41 UTC
FEDORA-2022-54e7ae3712 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-54e7ae3712

Comment 8 Fedora Update System 2022-10-22 13:11:55 UTC
FEDORA-2022-54e7ae3712 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-54e7ae3712`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-54e7ae3712

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

Comment 9 Fedora Update System 2022-10-22 14:33:51 UTC
FEDORA-2022-f231ce034c has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f231ce034c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f231ce034c

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

Comment 10 Fedora Update System 2022-10-22 14:55:29 UTC
FEDORA-2022-fc8c504abe 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 --refresh --advisory=FEDORA-2022-fc8c504abe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-fc8c504abe

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

Comment 11 Fedora Update System 2022-10-29 19:32:22 UTC
FEDORA-2022-f231ce034c has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2022-10-29 19:41:43 UTC
FEDORA-2022-fc8c504abe has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2022-11-10 22:28:02 UTC
FEDORA-2022-5d8d131a29 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


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