Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944032 - sci-electronics/kicad-8.0.3-r1: error: invalid conversion from ‘git_commit* const*’ to ‘const git_commit**’
Summary: sci-electronics/kicad-8.0.3-r1: error: invalid conversion from ‘git_commit* c...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords:
Depends on: 944504
Blocks:
  Show dependency tree
 
Reported: 2024-11-19 18:18 UTC by lekto
Modified: 2024-11-23 08:48 UTC (History)
4 users (show)

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


Attachments
build.log from kicad-8.0.3-r1 build with gcc:14 (build.log-gcc14.bz2,104.42 KB, application/x-bzip2)
2024-11-19 18:20 UTC, lekto
Details
build.log from kicad-8.0.3-r1 build with gcc:13 (build.log-gcc13.bz2,14.36 KB, application/x-bzip2)
2024-11-19 18:21 UTC, lekto
Details
emerge --info (emerge.info,7.57 KB, text/plain)
2024-11-19 18:21 UTC, lekto
Details
Failed sub-commands. (20241122.KICAD.8.0.3.GCC13.00.txt,9.63 KB, text/plain)
2024-11-22 18:54 UTC, zhaleks
Details
Failed sub-commands. (20241122.KICAD.8.0.6.GCC14.00.txt,13.19 KB, text/plain)
2024-11-22 18:54 UTC, zhaleks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2024-11-19 18:18:23 UTC
Hi, I'm getting an error while building kicad, I tried versions 8.0.4, 8.0.5 with same result, but I was able to build 8.0.6. This is new a new Gentoo installation and the whole system is build with gcc:14. I tried to build kicad-8.0.4 with gcc:13 and it also failed, but with a different error.
Comment 1 lekto 2024-11-19 18:20:27 UTC
Created attachment 910277 [details]
build.log from kicad-8.0.3-r1 build with gcc:14
Comment 2 lekto 2024-11-19 18:21:03 UTC
Created attachment 910278 [details]
build.log from kicad-8.0.3-r1 build with gcc:13
Comment 3 lekto 2024-11-19 18:21:38 UTC
Created attachment 910279 [details]
emerge --info
Comment 4 lekto 2024-11-21 09:22:45 UTC
Looks like it is related to version of libgit2 and it was fixed in kicad-8.0.6.
https://gitlab.com/kicad/code/kicad/-/issues/19157
Comment 5 zhaleks 2024-11-22 18:53:52 UTC
Hello.
Can't build too.
Failed sub-commands:
20241122.KICAD.8.0.3.GCC13.00.txt
20241122.KICAD.8.0.6.GCC14.00.txt
Comment 6 zhaleks 2024-11-22 18:54:31 UTC
Created attachment 911603 [details]
Failed sub-commands.
Comment 7 zhaleks 2024-11-22 18:54:58 UTC
Created attachment 911604 [details]
Failed sub-commands.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-22 19:03:31 UTC
(In reply to zhaleks from comment #7)
> Created attachment 911604 [details]
> Failed sub-commands.

That looks like your memory is failing.
Comment 9 zhaleks 2024-11-22 19:20:49 UTC
(In reply to Sam James from comment #8)
> (In reply to zhaleks from comment #7)
> > Created attachment 911604 [details]
> > Failed sub-commands.
> 
> That looks like your memory is failing.

May be you're right, but this computer already re-compiled the world with GCC14 and now compiles Chromium. If it's failed, then I'll definitely will check the memory. At this moment it can't build KiCAD only.
Thanks for your attention.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-22 19:24:42 UTC
The ICE in that output is in GCC's garbage collection. Unfortunately, that generally means hardware issues rather than a GCC bug.

No problem, fingers crossed you can get it sorted.
Comment 11 zhaleks 2024-11-23 07:56:56 UTC
Hello.
8.0.6 has been successfully compiled with GCC14.
Might be a temporary issue before, sorry, 8.0.3 still fails.

>>> Completed installing sci-electronics/kicad-8.0.6 into /var/tmp/portage/sci-electronics/kicad-8.0
.6/image                                                                                            
                                                                                                    
 * Final size of build directory: 1062504 KiB (  1.0 GiB)                                           
 * Final size of installed tree:   197272 KiB (192.6 MiB)                                           
                                                                                                    
 * Verifying compiled files for python3.12                                                          
                                                                                                    
 * QA Notice: Package triggers severe warnings which indicate that it                               
 *            may exhibit random runtime failures.                                                  
 * /var/tmp/portage/sci-electronics/kicad-8.0.6/work/kicad-8.0.6/eeschema/sim/kibis/kibis.cpp:66:76:
 warning: ‘*this.KIBIS::m_reporter’ is used uninitialized [-Wuninitialized]                         
                                                                                                    
 * Please do not file a Gentoo bug and instead report the above QA                                  
 * issues directly to the upstream developers of this software.                                     
 * Homepage: https://www.kicad.org                                                                  
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.co
mmand.line -R .note.gnu.gold-version                                                                
   /usr/lib64/libkicad_3dsg.so.2.0.0                                                                
   /usr/bin/_kipython.kiface                                                                        
   /usr/lib64/libkigal.so.8.0.6                                                                     
   /usr/lib64/libkicommon.so.8.0.6                                                                  
   /usr/bin/eeschema                                                                                
   /usr/bin/_eeschema.kiface                                                                        
   /usr/bin/gerbview                                                                                
   /usr/bin/_gerbview.kiface                                                                        
   /usr/bin/pcbnew                                                                                  
   /usr/bin/_pcbnew.kiface                                                                          
   /usr/bin/pl_editor                                                                               
   /usr/bin/_pl_editor.kiface                                                                       
   /usr/bin/bitmap2component                                                                        
   /usr/bin/pcb_calculator                                                                          
   /usr/bin/_pcb_calculator.kiface                                                                  
   /usr/lib64/kicad/plugins/3d/libs3d_plugin_idf.so                                                 
   /usr/lib64/kicad/plugins/3d/libs3d_plugin_vrml.so                                                
   /usr/lib64/kicad/plugins/3d/libs3d_plugin_oce.so                                                 
   /usr/bin/_cvpcb.kiface                                                                           
   /usr/bin/kicad                                                                                   
   /usr/bin/kicad-cli                                                                               
   /usr/bin/idfcyl                                                                                  
   /usr/bin/idfrect                                                                                 
   /usr/bin/idf2vrml                                                                                
   /usr/bin/dxf2idf                                                                                 
>>> Done.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-23 08:48:42 UTC
Thanks. Yeah, that's expected, 8.0.6 fixes that problem (see bug 944504).