investigate labplot missing build-deps
Closed, ResolvedPublic

Description

They don't show up in the normal cmake output that we parse but there's a bunch of missing things here including cantor-dev which we don't compile
https://build.neon.kde.org/job/bionic_release-lts_extras_labplot_bin_amd64/10/consoleFull

sitter added a subscriber: sitter.Apr 24 2019, 12:56 PM

this turned out to be quite the rabbit hole...

the main cmakelists doesn't properly use find_package calls for some stuff, which makes it not show up in the summary. so the first stop I'd say is moving to proper packages, I've started with that but it's dragging on a bit.

cantor is a bit defective as well. if it is really meant for public consumption it should use ECM to generate cmake-config and pkg-config files and install those. Currently using linking cantor is meh because you need to write custom finding logic for no good reason.

also as far as labplot finders are concerned a lot of the stuff labplot currently finds (incorrectly) are used in other edu projects as well, so we could probably shove them into ECM at a later point to remove the use for having them duped across repos

sitter triaged this task as Low priority.Apr 24 2019, 12:56 PM

git master's cmakelists of labplot have been made standard conform and should now properly report all packages in the cmake feature summary. IOW: CI should now report when things are missing on unstable.

from a glance to actually fix labplot cantor-dev at the very least needs to make a return. this is a bit complicated though because cantorlibs seems to be changing ABI a lot and labplot is not an application, so ABI could break on application updates

jriddell moved this task from Ready To Do to Review on the Neon board.Apr 26 2019, 1:59 PM
jriddell closed this task as Resolved.Sep 12 2019, 9:52 AM
jriddell claimed this task.
alex-l added a subscriber: alex-l.Jan 5 2021, 3:40 PM

At the moment LabPlot doesn't even run on Neon (Cantor installed). Error:

labplot2: symbol lookup error: labplot2: undefined symbol: _ZN6Cantor18PanelPluginHandler7pluginsEv