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
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!
The fix has been released as part of 6.0.8.
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?
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.
FEDORA-2022-fc8c504abe has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fc8c504abe
FEDORA-2022-f231ce034c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f231ce034c
FEDORA-2022-54e7ae3712 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-54e7ae3712
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.
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.
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.
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.
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.
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.