Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942058 - sci-electronics/kicad-8.0.5 fails to compile: project_tree_pane.cpp:2253:31: error: invalid conversion from git_commit const to const git_commit [-fpermissive]
Summary: sci-electronics/kicad-8.0.5 fails to compile: project_tree_pane.cpp:2253:31: ...
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:
Whiteboard:
Keywords: PATCH
Depends on: 942744
Blocks:
  Show dependency tree
 
Reported: 2024-10-24 08:18 UTC by Agostino Sarubbo
Modified: 2024-11-07 12:04 UTC (History)
5 users (show)

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


Attachments
build.log.xz (build.log.xz,112.78 KB, application/x-xz)
2024-10-24 08:18 UTC, Agostino Sarubbo
Details
patch for libgit2-1.8.4 (libgit2_1.8.4.patch,1.27 KB, patch)
2024-11-04 21:14 UTC, ZappeL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-24 08:18:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-electronics/kicad-8.0.5 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-24 08:18:42 UTC
Created attachment 906630 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-24 08:18:43 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: kicad/CMakeFiles/kicad.dir/project_tree_pane.cpp.o 
/var/tmp/portage/sci-electronics/kicad-8.0.5/work/kicad-8.0.5/kicad/project_tree_pane.cpp:2253:31: error: invalid conversion from ‘git_commit* const*’ to ‘const git_commit**’ [-fpermissive]
Comment 3 ZappeL 2024-11-04 21:14:03 UTC
Created attachment 907896 [details, diff]
patch for libgit2-1.8.4

I came across the same issue today.. Maybe the attached patch is helpful.

It's based on: https://gitlab.com/kicad/code/kicad/-/blob/master/kicad/project_tree_pane.cpp?ref_type=heads#L2313 
(by switching back to the old behaviour for 1.8.4+ as well)
Comment 4 Larry the Git Cow gentoo-dev 2024-11-07 11:59:41 UTC
The bug has been referenced in the following commit(s):

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

commit bbc310b46f0ae3f80bdb9c548af1269ce8a29cc7
Author:     Quincy Fleming <quincyf467@protonmail.com>
AuthorDate: 2024-11-07 10:05:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 11:58:36 +0000

    sci-electronics/kicad-meta: add 8.0.6
    
    Bug: https://bugs.gentoo.org/942058
    Bug: https://bugs.gentoo.org/940042
    Closes: https://bugs.gentoo.org/942744
    Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/39223
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/kicad-meta/kicad-meta-8.0.6.ebuild | 27 ++++++++++++++++++++++
 sci-electronics/kicad-meta/metadata.xml            |  2 +-
 2 files changed, 28 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b223cf327b8f084335d05c8c1e2ea6dd95bf14

commit 39b223cf327b8f084335d05c8c1e2ea6dd95bf14
Author:     Quincy Fleming <quincyf467@protonmail.com>
AuthorDate: 2024-11-07 10:02:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 11:58:35 +0000

    app-doc/kicad-doc: add 8.0.6
    
    Bug: https://bugs.gentoo.org/942744
    Bug: https://bugs.gentoo.org/942058
    Bug: https://bugs.gentoo.org/940042
    Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-doc/kicad-doc/Manifest               |  1 +
 app-doc/kicad-doc/kicad-doc-8.0.6.ebuild | 59 ++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3441b4aabc4b0468b13faede12eab4b87fe2ce9b

commit 3441b4aabc4b0468b13faede12eab4b87fe2ce9b
Author:     Quincy Fleming <quincyf467@protonmail.com>
AuthorDate: 2024-11-07 09:59:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 11:58:35 +0000

    sci-electronics/kicad-templates: add 8.0.6
    
    Bug: https://bugs.gentoo.org/942744
    Bug: https://bugs.gentoo.org/942058
    Bug: https://bugs.gentoo.org/940042
    Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/kicad-templates/Manifest           |  1 +
 .../kicad-templates/kicad-templates-8.0.6.ebuild   | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606bc3c43d671c33b6bb9002095e895749822190

commit 606bc3c43d671c33b6bb9002095e895749822190
Author:     Quincy Fleming <quincyf467@protonmail.com>
AuthorDate: 2024-11-07 09:58:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 11:58:34 +0000

    sci-electronics/kicad-symbols: add 8.0.6
    
    Bug: https://bugs.gentoo.org/942744
    Bug: https://bugs.gentoo.org/942058
    Bug: https://bugs.gentoo.org/940042
    Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/kicad-symbols/Manifest             |  1 +
 .../kicad-symbols/kicad-symbols-8.0.6.ebuild       | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5a9db148c98dd0d01c9e3b87119bb4110c7d61

commit 5f5a9db148c98dd0d01c9e3b87119bb4110c7d61
Author:     Quincy Fleming <quincyf467@protonmail.com>
AuthorDate: 2024-11-07 09:57:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 11:58:34 +0000

    sci-electronics/kicad-packages3d: add 8.0.6
    
    Bug: https://bugs.gentoo.org/942744
    Bug: https://bugs.gentoo.org/942058
    Bug: https://bugs.gentoo.org/940042
    Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/kicad-packages3d/Manifest          |  1 +
 .../kicad-packages3d/kicad-packages3d-8.0.6.ebuild | 31 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fe6a04014464ec261b25412070b6df6563dfffb

commit 3fe6a04014464ec261b25412070b6df6563dfffb
Author:     Quincy Fleming <quincyf467@protonmail.com>
AuthorDate: 2024-11-07 09:54:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 11:58:33 +0000

    sci-electronics/kicad-footprints: add 8.0.6
    
    Bug: https://bugs.gentoo.org/942744
    Bug: https://bugs.gentoo.org/942058
    Bug: https://bugs.gentoo.org/940042
    Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/kicad-footprints/Manifest          |  1 +
 .../kicad-footprints/kicad-footprints-8.0.6.ebuild | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f53a2e6ec046ee8bbe27bac90f5efc68860147

commit 08f53a2e6ec046ee8bbe27bac90f5efc68860147
Author:     Quincy Fleming <quincyf467@protonmail.com>
AuthorDate: 2024-11-07 09:38:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-07 11:58:33 +0000

    sci-electronics/kicad: add 8.0.6
    
    Bug: https://bugs.gentoo.org/942744
    Bug: https://bugs.gentoo.org/940042
    Bug: https://bugs.gentoo.org/942058
    Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/kicad/Manifest           |   1 +
 sci-electronics/kicad/kicad-8.0.6.ebuild | 184 +++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)