Package Details: lattice-radiant

Git Clone URL: (read-only, click to copy)
Package Base: lattice-radiant
Description: Lattice Radiant design software
Upstream URL:
Licenses: custom
Submitter: poilojointur
Maintainer: poilojointur
Last Packager: poilojointur
Votes: 0
Popularity: 0.000000
First Submitted: 2021-12-12 04:37 (UTC)
Last Updated: 2021-12-12 04:51 (UTC)

Latest Comments

OpusOne commented on 2023-08-01 21:19 (UTC)

Hi, I tried writing a PKGBUILD for the latest Radiant 2023. based on this one. Installation goes fine but there are some dependency issues. The Radiant app runs properly until we open an existing project.

This is due to a dependency problem with libstdc++ which ships with the radiant executable. The MESA drivers (using amdgpu here) fail to load due to the inconsistency betwween the local version of libstdc++ shipped with radiant and the system-wide version. So anything in the app requiring libGL fails to work.

The following errors appear in the console:

libGL error: MESA-LOADER: failed to open radeonsi: /usr/local/radiant/2023. version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/ (search paths /usr/lib/dri, suffix _dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open swrast: /usr/local/radiant/2023. versionGLIBCXX_3.4.29' not found (required by /usr/lib/dri/ (search paths /usr/lib/dri, suffix _dri) libGL error: failed to load driver: swrast

When opening a project, it crashes with a coredump:

[23:16:19.657 <fatal>] unknown:0 - Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) Abandon (core dumped)

Which just shows it fails to create the OpenGL context and the app crashes instead of handling it gracefully.

I have tried removing the local libstdc++ to force radiant to use the system one. The above messages disappear but the app crashes at a later stage when opening a project, probably due to the incompatibility with the system libstdc++ and the one that the app was linked against.

So this is kind of a catch-22 situation that I don't know how to solve. If anyone has any idea. If the maintainer is still around, happy to discuss it with them!