Skip to content

No system libs in the debugger shell when a recipes with use_system_libs failed

To reproduce:

Build a recipe that uses system libs (like gst-plugins-good-1.0) and enter the shell when failed at the build step.

./cerbero-uninstalled buildone gst-plugins-good-1.0
...
Recipe 'gst-plugins-good-1.0' failed at the build step 'configure'
...
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort

$ set | grep PKG_CONFIG_PATH
PKG_CONFIG_PATH=/src/gitlab.freedesktop.org/gstreamer/cerbero/build/dist/linux_x86_64/share/pkgconfig

Expected result:

$ set | grep PKG_CONFIG_PATH
PKG_CONFIG_PATH=/src/src/gitlab.freedesktop.org/gstreamer/cerbero/build/dist/linux_x86_64/lib/pkgconfig:/src/src/gitlab.freedesktop.org/gstreamer/cerbero/build/dist/linux_x86_64/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig

Merge request reports