LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2021, 01:16 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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
----------------------------
 
Old 04-04-2021, 02:47 AM   #2
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,222

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Probably need these two patchs:

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

https://github.com/qtwebkit/qtwebkit...78360c01.patch
 
Old 04-04-2021, 05:20 AM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
same errors with the 2 patch.
 
Old 04-04-2021, 05:24 AM   #4
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,222

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
yes, same here also, maybe it's due to glib2 or gstreamer.
 
Old 04-04-2021, 06:40 AM   #5
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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?
 
Old 04-04-2021, 08:01 AM   #6
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
downgrading to glib2-2.66.8 solves the problem.
 
Old 04-04-2021, 08:56 AM   #7
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,222

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Quote:
Originally Posted by nobodino View Post
downgrading to glib2-2.66.8 solves the problem.
yes, it seem 2.68.0 is bogus

pending 2.68.1.
 
Old 04-04-2021, 01:23 PM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
https://github.com/qtwebkit/qtwebkit/issues/1057
 
Old 04-05-2021, 01:03 AM   #9
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Following the advice of Ponce, I made that patch which solves the problem for qt5-webkit and glib2-2.68.0.
Attached Files
File Type: txt qtwebkit-glib2.patch.txt (537 Bytes, 111 views)

Last edited by nobodino; 04-05-2021 at 01:04 AM.
 
Old 04-05-2021, 11:46 PM   #10
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
problem solved in -current.
 
1 members found this post helpful.
Old 04-06-2021, 08:58 PM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,663

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
The package in -current hasn't been rebuilt with this patch i assume?
 
Old 04-06-2021, 10:35 PM   #12
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qt5-webkit, ktown and slackpkg+ lioh Slackware 12 02-18-2020 12:04 PM
[SOLVED] i915 regression in -current NicePics13 Slackware 12 09-13-2015 05:36 PM
[SOLVED] SBo-Webkit does not compile on current; inkscape need gcc-4.8 patched source brobr Slackware 4 04-03-2013 08:38 AM
xorg regression in -current mina86 Slackware 5 03-06-2013 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration