Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912460 - sci-electronics/kicad-7.0.6-r2: compiler issues with GL
Summary: sci-electronics/kicad-7.0.6-r2: compiler issues with GL
Status: RESOLVED DUPLICATE of bug 911120
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 16:11 UTC by onkobu
Modified: 2023-08-21 07:39 UTC (History)
2 users (show)

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


Attachments
Build Log (build.log.gz,33.24 KB, application/gzip)
2023-08-18 16:14 UTC, onkobu
Details
emerge --info (emerge-info.txt.gz,3.45 KB, application/gzip)
2023-08-19 08:36 UTC, onkobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onkobu 2023-08-18 16:11:45 UTC
When compiling the ebuild fails:

/var/tmp/portage/sci-electronics/kicad-7.0.6-r2/work/kicad-7.0.6/common/./gal/opengl/antialiasing.h:133:9: error: ‘GLint’ does not name a type
  133 |         GLint pass_2_metrics;
      |         ^~~~~


Reproducible: Always

Actual Results:  
Compiler errors

Expected Results:  
No compiler errors
Comment 1 onkobu 2023-08-18 16:14:07 UTC
Created attachment 868179 [details]
Build Log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-18 21:37:45 UTC
Please include emerge --info.
Comment 3 onkobu 2023-08-19 08:36:18 UTC
Created attachment 868203 [details]
emerge --info
Comment 4 Egor 2023-08-21 07:13:42 UTC
I have the same bug
Comment 5 Zoltan Puskas 2023-08-21 07:39:52 UTC
I think this is related to the issue in https://bugs.gentoo.org/911120. 

The key error message is: "error: #error "KICAD_USE_EGL must be defined since wxWidgets has been compiled with the EGL canvas"

What is the version of x11-libs/wxGTK on your system? I assume you are using a stable version, that was still built with EGL, but you've pulled in the testing version of KiCad, which was tested against the testing versin of wxGTK which is GLX based.

I'll merge this bug into the previous one, and will reopen that one to keep all the discussions in one place.

*** This bug has been marked as a duplicate of bug 911120 ***