Description of problem: Package kicad fails to build from source in Fedora rawhide with swig 4.0.0. cd /builddir/build/BUILD/kicad-5.1.2/pcbnew && /usr/bin/python3 /builddir/build/BUILD/kicad-5.1.2/scripting/build_tools/fix_swig_imports.py /builddir/build/BUILD/kicad-5.1.2/pcbnew/pcbnew.py Error: the swig import helper was not fixed, check /builddir/build/BUILD/kicad-5.1.2/pcbnew/pcbnew.py and fix this script: fix_swig_imports.py make[2]: Leaving directory '/builddir/build/BUILD/kicad-5.1.2' BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/pcbnew/../include/common.h:380: Warning 317: Specialization of non-template 'less'. BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/pcbnew/../include/eda_text.h:45: Warning 401: Nothing known about base class 'std::mutex'. Ignored. BUILDSTDERR: class_board.h:51: Warning 315: Nothing known about 'std::unique_ptr'. BUILDSTDERR: make[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build.make:111: pcbnew/pcbnew_wrap.cxx] Error 2 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:1561: pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... The issue was already reported to upstream. Version-Release number of selected component (if applicable): 5.1.2-1.fc31 Steps to Reproduce: koji build --scratch f31 kicad-5.1.2-1.fc31.src.rpm Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/kicad
A fix has been proposed here: https://lists.launchpad.net/kicad-developers/msg40590.html I've tested it locally, and it looks good. I've pushed the changes to pkgs.fedoraproject.org/rpms/kicad and I've started koji builds for f30 and rawhide: f30: https://koji.fedoraproject.org/koji/taskinfo?taskID=34767999 rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=34767997 They should complete in a few hours.
Builds completed. f30: https://koji.fedoraproject.org/koji/buildinfo?buildID=1266154 rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1266151