I see this difference in the build.log

f31 [1]:
Checking for pkg-config opengl ... no
Checking for opengl ... yes
adding -lGL to LIBS_X11
adding -lGLU to LIBS_X11

Checking for pkg-config opengl ... adding -lOpenGL to LIBS_X11

the part in the code is:


# need -lm for ceil/floor in HUD OSD
enabled xrender && add_flags "LIBS_X11" "-lm"
# need -ldl and -lpthread with opengl
enabled opengl && add_flags "LIBS_X11" $LIBS_DLFCN $LIBS_PTHREAD
# need -ldl for dlopen() in vdr plugin
enabled vdr && add_flags "LIBS_VDR" $LIBS_DLFCN

what is the easiest way to set the "LIBS_X11" for f32 and where should it be set?

[1] http://koji.rpmfusion.org/kojifiles/packages/vdr-xineliboutput/2.1.0/16.20191117git32a5ffc.fc31/data/logs/x86_64/build.log
[2] http://koji.rpmfusion.org/kojifiles/work/tasks/4826/374826/build.log

> Gesendet: Sonntag, 15. Dezember 2019 um 11:09 Uhr
> Von: "Leigh Scott" <leigh123linux@gmail.com>
> An: "Martin Gansser" <linux4martin@web.de>
> Betreff: xine_sxfe_frontend.c:1865: undefined reference to `glXQueryVersion'
> mesa and libglvnd changes are the reason why it fails in f32, you will
> need to fix the broken opengl tests in your code.
> On 15/12/2019 09:49, Martin Gansser wrote:
>>> Gesendet: Sonntag, 15. Dezember 2019 um 08:59 Uhr
>>> Von: "Nicolas Chauvet" <kwizart@gmail.com>
>>> An: "RPM Fusion developers discussion list" <rpmfusion-developers@lists.rpmfusion.org>
>>> Betreff: Re: xine_sxfe_frontend.c:1865: undefined reference to `glXQueryVersion'
>>> Le dim. 15 déc. 2019 à 08:39, Martin Gansser <mgansser@online.de> a écrit :
>>>> Hi,
>>>> when running a koji build for rawhide
>>>> koji-rpmfusion build --scratch rawhide-free ../SRPMS/vdr-xineliboutput-2.1.0-16.20191117git32a5ffc.fc31.src.rpm
>>>> it get this errors [1]:
>>>> /usr/bin/ld: xine_sxfe_frontend.o: in function `opengl_init':
>>>> /builddir/build/BUILD/vdr-xineliboutput/xine_sxfe_frontend.c:1865: undefined reference to `glXQueryVersion'
>>> You are probably missing a -lGL link flag.
>> but this only happens on f32
>> Regards
>> Martin