FS#77706 - [libepoxy] Missing dependency: libglvnd
Attached to Project:
Arch Linux
Opened by Balló György (City-busz) - Friday, 03 March 2023, 02:31 GMT
Last edited by Toolybird (Toolybird) - Friday, 26 May 2023, 23:24 GMT
Opened by Balló György (City-busz) - Friday, 03 March 2023, 02:31 GMT
Last edited by Toolybird (Toolybird) - Friday, 26 May 2023, 23:24 GMT
|
Details
libepoxy uses dlopen() to open the libraries (libGL.so.1,
libEGL.so.1) provided by libglvnd, so it's a runtime
dependency:
https://github.com/anholt/libepoxy/blob/8db879f810e2dbc63824c43c17eeea0d3dbca1a2/src/dispatch_common.c #L547-L559 Please add libglvnd to depends=() of libepoxy. |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 26 May 2023, 23:24 GMT
Reason for closing: Fixed
Additional comments about closing: libepoxy 1.5.10-2
Friday, 26 May 2023, 23:24 GMT
Reason for closing: Fixed
Additional comments about closing: libepoxy 1.5.10-2
But in this case, you can't use libepoxy without libglvnd, it's an essential dependency. It's also added as a requirement to the pkg-config file for the reason you don't need libglvnd during the build, but you definitely need it to run any dependent code:
https://github.com/anholt/libepoxy/blob/master/src/meson.build#L98-L107
And requirements specified in pkg-config files should be added as dependencies, as it was stated on arch-dev-public mailing list:
https://lists.archlinux.org/archives/list/arch-dev-public%40lists.archlinux.org/thread/A2MV7T3NDHVHWX6WHIHH2DKH4YSWSIIX/
[1] https://gitlab.archlinux.org/pacman/namcap/-/issues/29#note_89781