Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 896332

Summary: sci-electronics/kicad-7.0.0-r1: "KICAD_USE_EGL can only be used when wxWidgets is compiled with the EGL canvas"
Product: Gentoo Linux Reporter: benoit.dufour
Component: Current packagesAssignee: Zoltan Puskas <zoltan>
Status: RESOLVED INVALID    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge build logs for kicad.

Description benoit.dufour 2023-02-24 18:28:36 UTC
On my system sci-electronics/kicad-7.0.0-r1 refuses to emerge while sci-electronics/kicad-7.0.0 did emerge correctly.

See this line in the attached bug report.
kiglew.h:47:14: error: #error "KICAD_USE_EGL can only be used when wxWidgets is compiled with the EGL canvas"


Reproducible: Always

Steps to Reproduce:
1. emerge --ask sci-electronics/kicad
Actual Results:  
kicad-7.0.0-r1 fails to build.

Expected Results:  
kicad-7.0.0-r1 builds correctly like kicad-7.0.0.
Comment 1 benoit.dufour 2023-02-24 18:29:46 UTC
Created attachment 854418 [details]
emerge build logs for kicad.
Comment 2 benoit.dufour 2023-02-26 20:20:36 UTC
I finally solved the issue.
It was caused by the fact I was using wxGTK-3.2.2.1-r300::stefantalpalaru instead of wxGTK-3.2.2.1::gentoo.
I first tried to enable the 'egl' USE flag of wxGTK-3.2.2.1-r300::stefantalpalaru but it didn't solve the issue, so I finally masked this package and unmasked wxGTK-3.2.2.1::gentoo.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-26 20:41:47 UTC
Thanks for the update!