LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   regression on -current with qt5-webkit (https://www.linuxquestions.org/questions/slackware-14/regression-on-current-with-qt5-webkit-4175693106/)

nobodino 04-04-2021 01:16 AM

regression on -current with qt5-webkit
 
qt5-webkit doesn't build anymore on -current, see the errors bellow:
-----------------------
/tmp/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/glib/GRefPtr.h:33:21: error: expected ')' before 'typename'
33 | extern "C" gpointer g_object_ref_sink(gpointer);
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:6,
from /usr/include/gstreamer-1.0/gst/gst.h:31,
from /tmp/qtwebkit-5.212.0-alpha4/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h:21,
from /tmp/qtwebkit-5.212.0-alpha4/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp:23:
/tmp/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/glib/GRefPtr.h:33:21: note: to match this '('
33 | extern "C" gpointer g_object_ref_sink(gpointer);
| ^~~~~~~~~~~~~~~~~
/tmp/qtwebkit-5.212.0-alpha4/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp: In function 'GstClockTime WebCore::toGstClockTime(float)':
/tmp/qtwebkit-5.212.0-alpha4/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp:183:14: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
183 | GTimeVal timeValue;
| ^~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/gstreamer-1.0/gst/gst.h:27,
from /tmp/qtwebkit-5.212.0-alpha4/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h:21,
from /tmp/qtwebkit-5.212.0-alpha4/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp:23:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^~~~~~~~
make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:28984: Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/GStreamerUtilities.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1509: Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
----------------------------

gmgf 04-04-2021 02:47 AM

Probably need these two patchs:

https://github.com/archlinux/svntogi...nk/icu68.patch

https://github.com/qtwebkit/qtwebkit...78360c01.patch

nobodino 04-04-2021 05:20 AM

same errors with the 2 patch.

gmgf 04-04-2021 05:24 AM

yes, same here also, maybe it's due to glib2 or gstreamer.

nobodino 04-04-2021 06:40 AM

the problem occured between the 18th march and the 3rd april.
- gstreamer changed on 16th march
- glib2 changed on 31th march form glib2-2.66.8 to glib2-2.68.0

so the winner may be glib2-2.68.0?

nobodino 04-04-2021 08:01 AM

downgrading to glib2-2.66.8 solves the problem.

gmgf 04-04-2021 08:56 AM

Quote:

Originally Posted by nobodino (Post 6237107)
downgrading to glib2-2.66.8 solves the problem.

yes, it seem 2.68.0 is bogus ;)

pending 2.68.1.

ponce 04-04-2021 01:23 PM

https://github.com/qtwebkit/qtwebkit/issues/1057

nobodino 04-05-2021 01:03 AM

1 Attachment(s)
Following the advice of Ponce, I made that patch which solves the problem for qt5-webkit and glib2-2.68.0.

nobodino 04-05-2021 11:46 PM

problem solved in -current.

willysr 04-06-2021 08:58 PM

The package in -current hasn't been rebuilt with this patch i assume?

nobodino 04-06-2021 10:35 PM

This is fixed in the source tree only, look at the FTBFS.log :
http://ftp.slackware.com/pub/slackwa...rce/l/FTBFSlog


All times are GMT -5. The time now is 05:43 AM.