You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since #4242 PKG_CONFIG_PATH is no longer provided for kde-neon, this means that project using pkg-config to get their dependencies won't be able to get them from the kde-neon-sdk image. While kf5 libraries don't supply .pc files, kde-neon is the recommended way to build qt5 application which provides such files.
#4242 only work around the issue as most kde application uses CMake. the root cause is that the installation prefix is incorrect in the provided .pc
for instance
head -n 1 /snap/kf5-5-108-qt-5-15-10-core22-sdk/current/usr/lib/x86_64-linux-gnu/pkgconfig/Qt5Core.pc
prefix=/build/snapcraft-kf5-5-108-qt-5-15-10-core22-sdk-eb909be8ec5bfbbae4a03c09e3a7bdd2/stage/usr
note that the gnome plugin (gnome-42-2204-sdk) doesn't have this issue:
head -n 1 /snap/gnome-42-2204-sdk/current/usr/lib/x86_64-linux-gnu/pkgconfig/gtk4.pc
prefix=/snap/gnome-42-2204-sdk/current/usr
To Reproduce
run snapcraft build with the supplied snapcraft.yaml
Environment
the issue has been experience in destructive-mode as qt5 packages may not be installed on the host, but the sample snapcraft.yaml demonstrate the issue in other (LXD) environment.
Bug Description
since #4242 PKG_CONFIG_PATH is no longer provided for kde-neon, this means that project using pkg-config to get their dependencies won't be able to get them from the kde-neon-sdk image. While kf5 libraries don't supply .pc files, kde-neon is the recommended way to build qt5 application which provides such files.
#4242 only work around the issue as most kde application uses CMake. the root cause is that the installation prefix is incorrect in the provided .pc
for instance
note that the gnome plugin (gnome-42-2204-sdk) doesn't have this issue:
To Reproduce
run
snapcraft build
with the supplied snapcraft.yamlEnvironment
the issue has been experience in
destructive-mode
as qt5 packages may not be installed on the host, but the samplesnapcraft.yaml
demonstrate the issue in other (LXD) environment.Snapcraft: 8.0.2
system host: Ubuntu 22.04.3 LTS
snapcraft.yaml
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: