https://bugs.winehq.org/show_bug.cgi?id=54841
Bug ID: 54841 Summary: wine-staging 8.6 fails to build with gstreamer enabled Product: Wine-staging Version: 8.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: timo.gurr@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 74344 --> https://bugs.winehq.org/attachment.cgi?id=74344 wine-8.6_build.log
Without staging and gstreamer enabled wine 8.6 builds fine but when enabling the staging patches it fails to build with:
x86_64-pc-linux-gnu-cc -m64 -c -o dlls/winegstreamer/wg_parser.o dlls/winegstreamer/wg_parser.c -Idlls/winegstreamer -Iinclude -D__WINESRC__ \ -DWINE_UNIX_LIB -I/usr/x86_64-pc-linux-gnu/include/gstreamer-1.0 \ -I/usr/x86_64-pc-linux-gnu/include/glib-2.0 -I/usr/x86_64-pc-linux-gnu/lib/glib-2.0/include \ -I/usr/x86_64-pc-linux-gnu/include/orc-0.4 -pthread -Wall -pipe -fcf-protection=none \ -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \ -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -fPIC \ -fasynchronous-unwind-tables -march=native -O2 -pipe -march=native -O2 -pipe In file included from /usr/x86_64-pc-linux-gnu/include/glib-2.0/gobject/gobject.h:26, from /usr/x86_64-pc-linux-gnu/include/glib-2.0/gobject/gbinding.h:31, from /usr/x86_64-pc-linux-gnu/include/glib-2.0/glib-object.h:24, from /usr/x86_64-pc-linux-gnu/include/gstreamer-1.0/gst/gstenumtypes.h:6, from /usr/x86_64-pc-linux-gnu/include/gstreamer-1.0/gst/gst.h:31, from dlls/winegstreamer/wg_parser.c:33: dlls/winegstreamer/wg_parser.c: In function 'pad_added_cb': dlls/winegstreamer/wg_parser.c:816:42: error: 'vconv' undeclared (first use in this function) 816 | gst_util_set_object_arg(G_OBJECT(vconv), "n-threads", "0"); | ^~~~~ /usr/x86_64-pc-linux-gnu/include/glib-2.0/gobject/gtype.h:2523:57: note: in definition of macro '_G_TYPE_CIC' 2523 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/x86_64-pc-linux-gnu/include/glib-2.0/gobject/gobject.h:54:38: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 54 | #define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dlls/winegstreamer/wg_parser.c:816:33: note: in expansion of macro 'G_OBJECT' 816 | gst_util_set_object_arg(G_OBJECT(vconv), "n-threads", "0"); | ^~~~~~~~ dlls/winegstreamer/wg_parser.c:816:42: note: each undeclared identifier is reported only once for each function it appears in 816 | gst_util_set_object_arg(G_OBJECT(vconv), "n-threads", "0"); | ^~~~~ /usr/x86_64-pc-linux-gnu/include/glib-2.0/gobject/gtype.h:2523:57: note: in definition of macro '_G_TYPE_CIC' 2523 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/x86_64-pc-linux-gnu/include/glib-2.0/gobject/gobject.h:54:38: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 54 | #define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dlls/winegstreamer/wg_parser.c:816:33: note: in expansion of macro 'G_OBJECT' 816 | gst_util_set_object_arg(G_OBJECT(vconv), "n-threads", "0"); | ^~~~~~~~ dlls/winegstreamer/wg_parser.c: In function 'src_activate_mode_cb': dlls/winegstreamer/wg_parser.c:1057:23: warning: unused variable 'parser' [-Wunused-variable] 1057 | struct wg_parser *parser = gst_pad_get_element_private(pad); | ^~~~~~
Error: * In program cave perform install --hooks --managed-output --output-exclusivity with-others =app-emulation/wine-8.6:0::virtualization --destination installed --replacing =app-emulation/wine-8.6:0::installed --x-of-y 1 of 1: * When installing 'app-emulation/wine-8.6:0::virtualization' replacing { 'app-emulation/wine-8.6:0::installed' }: * When running an ebuild command on 'app-emulation/wine-8.6:0::virtualization': * Install failed for 'app-emulation/wine-8.6:0::virtualization' (paludis::ActionFailedError)
make: *** [Makefile:131857: dlls/winegstreamer/wg_parser.o] Error 1
This is with gstreamer 1.22.2. Complete build log attached.