Bug 1708155 - kicad: FTBFS in Fedora rawhide with 4.0.0
Summary: kicad: FTBFS in Fedora rawhide with 4.0.0
Keywords:
Status: CLOSED RAWHIDE
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: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-09 09:04 UTC by Jitka Plesnikova
Modified: 2019-05-10 18:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-10 18:43:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1816286 0 None None None 2019-05-09 09:05:03 UTC

Description Jitka Plesnikova 2019-05-09 09:04:09 UTC
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

Comment 1 Steven A. Falco 2019-05-10 15:08:48 UTC
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.


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