Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892669 - sci-electronics/kicad-6.0.6 with >=dev-lang/swig-4.1.0: Error: the swig import helper was not fixed, check /var/tmp/portage/sci-electronics/kicad-6.0.6/work/kicad-6.0.6_build/pcbnew/pcbnew.py and fix this script: fix_swig_imports.py
Summary: sci-electronics/kicad-6.0.6 with >=dev-lang/swig-4.1.0: Error: the swig impor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL: https://gitlab.com/kicad/code/kicad/-...
Whiteboard:
Keywords: PullRequest
: 893518 (view as bug list)
Depends on: 892692
Blocks:
  Show dependency tree
 
Reported: 2023-01-30 19:38 UTC by LABBE Corentin
Modified: 2023-02-17 05:13 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LABBE Corentin 2023-01-30 19:38:25 UTC
When building kicad 6.0.6, build fail with:
Error: the swig import helper was not fixed, check /var/tmp/portage/sci-electronics/kicad-6.0.6/work/kicad-6.0.6_build/pcbnew/pcbnew.py
       and fix this script: fix_swig_imports.py

This issue is known and fixed in 6.0.9
See https://gitlab.com/kicad/code/kicad/-/issues/12414
And kicad-6.0.9 is emerged without problem.

Reproducible: Always
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2023-01-31 07:15:52 UTC
I have seen this as well.
Comment 2 Alex Orange 2023-02-03 17:48:49 UTC
I ran into the same and here's some info from upstream

Bug report: https://gitlab.com/kicad/code/kicad/-/issues/12414

Commit fixing: https://gitlab.com/kicad/code/kicad/-/commit/397a93029e6ef497ed2ed168d2dab3f7bff65c4c

If I'm parsing them correctly <kicad-6.0.9 doesn't work with >=swig-4. Also again if I'm parsing correctly >=kicad-6.0.9 doesn't work with <swig-4. Not sure on the second one though and not exactly sure of the version on the first one (I know it's either >= 4.0 or >=4.1).

TL;DR: You can fix this problem by going to KiCAD 6.0.9.
Comment 3 Zoltan Puskas 2023-02-07 08:51:03 UTC
The breakage happens with swig-4.1 as far as I can tell. Anyhow, stabilizing 6.0.9 will be the best course of action.
Comment 4 Zoltan Puskas 2023-02-08 04:32:00 UTC
*** Bug 893518 has been marked as a duplicate of this bug. ***
Comment 5 Zoltan Puskas 2023-02-08 20:09:42 UTC
Stabilization has been approved. Once 6.0.9 lands in stable land, I will drop 6.0.6 as well as 6.0.7 from the portage tree.
Comment 6 Larry the Git Cow gentoo-dev 2023-02-17 05:13:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de2968883bcb4c12497b8fa4eb9c06108d4c704

commit 2de2968883bcb4c12497b8fa4eb9c06108d4c704
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2023-02-13 04:48:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-17 05:09:34 +0000

    sci-electronics/kicad: drop 6.0.6
    
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://bugs.gentoo.org/892669
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/kicad/Manifest           |   1 -
 sci-electronics/kicad/kicad-6.0.6.ebuild | 174 -------------------------------
 2 files changed, 175 deletions(-)