LinuxQuestions.org
Visit Jeremy's Blog.
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-24-2021, 06:06 PM   #3766
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199

Quote:
Originally Posted by ponce View Post
there's a patch in AUR for the newer glib2

https://aur.archlinux.org/cgit/aur.g...ch?h=webkitgtk

but yes, we are inclined to remove webkitgtk{,3} and whatever still depends on it from SBo.
Thanks much for the patch. It worked, but gnucash-legacy (version 2.6.21) no longer starts, with a message 'ERROR: Unbound variable: eval-when' when I start it in a terminal window. Given its age, I believe it is time to remove gnucash-legacy and gnucash-legacy-docs from SBo. Thanks again for your help.
 
Old 04-26-2021, 08:11 AM   #3767
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
davfs2 seems to not like the newer version of neon in -current

Code:
checking linking against neon... yes
configure: incompatible neon library version 0.31.2: wanted 0.27 28 29 30
configure: error: could not find neon
system/davfs2: davfs2.SlackBuild failed (status 1)
would this be something that has to go back to the package maintainer to build a new version of davfs2?
 
Old 04-26-2021, 08:25 AM   #3768
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by enine View Post
davfs2 seems to not like the newer version of neon in -current

Code:
checking linking against neon... yes
configure: incompatible neon library version 0.31.2: wanted 0.27 28 29 30
configure: error: could not find neon
system/davfs2: davfs2.SlackBuild failed (status 1)
would this be something that has to go back to the package maintainer to build a new version of davfs2?
Or the simple patch here :
http://savannah.nongnu.org/bugs/down...?file_id=48737
 
Old 04-26-2021, 08:33 AM   #3769
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by enine View Post
davfs2 seems to not like the newer version of neon in -current

Code:
checking linking against neon... yes
configure: incompatible neon library version 0.31.2: wanted 0.27 28 29 30
configure: error: could not find neon
system/davfs2: davfs2.SlackBuild failed (status 1)
just version-bump davfs2 to version 1.6.0.

Quote:
would this be something that has to go back to the package maintainer to build a new version of davfs2?
if we are during the normal lifetime of stable and current the maintainer is not supposed to use current so we usually avoid them the burden to maintain script for the development version of Slackware and I collect patches in the unofficial for of the SBo repository.
in this specific moment, as submission are closed and we are working on the master branch on SBo to make all the script we can compatible with current (to be ready whenever 15.0 will be released), this kind of fix to let stuff build on current are still ok if reported here.
in any case, if the maintainer wish to handle things differently and/or has a better fix, I have no problem in pushing his stuff instead of the fixes I found.
 
Old 04-26-2021, 08:38 AM   #3770
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by BrunoLafleur View Post
I have put my last versions of qt4 and qtwebkit4 here :
https://github.com/BrunoLafleur/pbsl.../kde4/other/qt
https://github.com/BrunoLafleur/pbsl...other/qtwebkit

I have compiled them on the latest Slackware current. My KDE4 port is compiling with them.
I have split the original qt package which included qtwebkit (which depends on qt).
qtwebkit can now compile without being removed. qtwebkit is also necessary for a lot of kde4 packages.

I have keep the original name of qt because new packages for qt5 have the 5 in their name and I don't like renaming packages. But if there is some preferences for a renaming I will do it.
Hi BrunoLafleur,

I had a look at this an adapted the script so they could be pushed on SBo: I was able to build qt with those but unfortunately qtwebkit won't build...

I'll put the amended scripts here for you to test

http://ponce.cc/slackware/testing/qt4-bruno/
 
Old 04-26-2021, 09:35 AM   #3771
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
unfortunately qtwebkit won't build...
Probably on or more dependency I have but I don't know which one from my deps and other packages. Have you some messages from a compilation ?

I will look your modified versions as soon as I can connect with it.
 
Old 04-26-2021, 09:55 AM   #3772
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by BrunoLafleur View Post
Probably on or more dependency I have but I don't know which one from my deps and other packages. Have you some messages from a compilation ?

I will look your modified versions as soon as I can connect with it.
Code:
/tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:105:13: warning: Deprecated pre-processor symbol, replace with
  105 |     sink->priv = G_TYPE_INSTANCE_GET_PRIVATE(sink, WEBKIT_TYPE_VIDEO_SINK, WebKitVideoSinkPrivate);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:29,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:30:
/usr/include/glib-2.0/glib/gmacros.h:247:24: error: expected unqualified-id before ‘typename’
  247 | #define glib_typeof(t) typename std::remove_reference<decltype (t)>::type
      |                        ^~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:524:34: note: in expansion of macro ‘glib_typeof’
  524 | #define g_object_ref_sink(Obj) ((glib_typeof (Obj)) (g_object_ref_sink) (Obj))
      |                                  ^~~~~~~~~~~
/tmp/SBo/qtwebkit-2.3.4/Source/WTF/wtf/gobject/GRefPtr.h:33:21: note: in expansion of macro ‘g_object_ref_sink’
   33 | extern "C" gpointer g_object_ref_sink(gpointer);
      |                     ^~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:247:24: error: expected ‘)’ before ‘typename’
  247 | #define glib_typeof(t) typename std::remove_reference<decltype (t)>::type
      |                        ^~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:524:34: note: in expansion of macro ‘glib_typeof’
  524 | #define g_object_ref_sink(Obj) ((glib_typeof (Obj)) (g_object_ref_sink) (Obj))
      |                                  ^~~~~~~~~~~
/tmp/SBo/qtwebkit-2.3.4/Source/WTF/wtf/gobject/GRefPtr.h:33:21: note: in expansion of macro ‘g_object_ref_sink’
   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 /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:29,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:30:
/usr/include/glib-2.0/gobject/gobject.h:524:33: note: to match this ‘(’
  524 | #define g_object_ref_sink(Obj) ((glib_typeof (Obj)) (g_object_ref_sink) (Obj))
      |                                 ^
/tmp/SBo/qtwebkit-2.3.4/Source/WTF/wtf/gobject/GRefPtr.h:33:21: note: in expansion of macro ‘g_object_ref_sink’
   33 | extern "C" gpointer g_object_ref_sink(gpointer);
      |                     ^~~~~~~~~~~~~~~~~
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:29,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:30:
/usr/include/glib-2.0/glib/gmacros.h:247:24: error: expected ‘)’ before ‘typename’
  247 | #define glib_typeof(t) typename std::remove_reference<decltype (t)>::type
      |                        ^~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:524:34: note: in expansion of macro ‘glib_typeof’
  524 | #define g_object_ref_sink(Obj) ((glib_typeof (Obj)) (g_object_ref_sink) (Obj))
      |                                  ^~~~~~~~~~~
/tmp/SBo/qtwebkit-2.3.4/Source/WTF/wtf/gobject/GRefPtr.h:33:21: note: in expansion of macro ‘g_object_ref_sink’
   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 /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:29,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:30:
/usr/include/glib-2.0/gobject/gobject.h:524:32: note: to match this ‘(’
  524 | #define g_object_ref_sink(Obj) ((glib_typeof (Obj)) (g_object_ref_sink) (Obj))
      |                                ^
/tmp/SBo/qtwebkit-2.3.4/Source/WTF/wtf/gobject/GRefPtr.h:33:21: note: in expansion of macro ‘g_object_ref_sink’
   33 | extern "C" gpointer g_object_ref_sink(gpointer);
      |                     ^~~~~~~~~~~~~~~~~
/tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp: In function ‘void webkit_video_sink_class_init(WebKitVideoSinkClass*)’:
/tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:390:67: warning: ‘void g_type_class_add_private(gpointer, gsize)’ is deprecated [-Wdeprecated-declarations]
  390 |     g_type_class_add_private(klass, sizeof(WebKitVideoSinkPrivate));
      |                                                                   ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:29,
                 from /tmp/SBo/qtwebkit-2.3.4/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:30:
/usr/include/glib-2.0/gobject/gtype.h:1307:10: note: declared here
 1307 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile.WebCore.Target:930510: obj/release/VideoSinkGStreamer.o] Error 1
make[3]: Leaving directory '/tmp/SBo/qtwebkit-2.3.4/WebKitBuild/Release/Source/WebCore'
make[2]: *** [Makefile.WebCore:72: sub-Target-pri-make_default-ordered] Error 2
make[2]: Leaving directory '/tmp/SBo/qtwebkit-2.3.4/WebKitBuild/Release/Source/WebCore'
make[1]: *** [Makefile:153: sub-Source-WebCore-WebCore-pro-make_default-ordered] Error 2
make[1]: Leaving directory '/tmp/SBo/qtwebkit-2.3.4/WebKitBuild/Release'
make: *** [Makefile:408: incremental] Error 2
I'm afraid it might depend on the glib2-2.68.x update in current
 
Old 04-26-2021, 12:18 PM   #3773
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
It is only because of some flags for compile which are defined here in my SlackBuild :

Quote:
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686 -std=gnu++98 -fpermissive -fno-delete-null-pointer-checks"
LIBDIRSUFFIX=""
WEBKITFLAGS="--no-force-sse2"
elif [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -std=gnu++98 -fpermissive -fno-delete-null-pointer-checks"
LIBDIRSUFFIX=""
WEBKITFLAGS="--no-force-sse2"
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2 -std=gnu++98 -fpermissive -fno-delete-null-pointer-checks"
LIBDIRSUFFIX=""
WEBKITFLAGS="--no-force-sse2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -std=gnu++98 -fpermissive -fno-delete-null-pointer-checks"
LIBDIRSUFFIX="64"
WEBKITFLAGS=""
elif [ "$ARCH" = "armv7hl" ]; then
# To prevent "qatomic_armv6.h error: output number 2 not directly addressable"
# More permanent solution is to patch gcc:
# http://bazaar.launchpad.net/~linaro-...evision/106731
SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -fno-strict-volatile-bitfields -std=gnu++98 -fpermissive -fno-delete-null-pointer-checks"
LIBDIRSUFFIX=""
WEBKITFLAGS="--no-force-sse2"
else
SLKCFLAGS="-O2 -std=gnu++98 -fpermissive -fno-delete-null-pointer-checks"
LIBDIRSUFFIX=""
WEBKITFLAGS="--no-force-sse2"
fi
With those flags qtwebkit compile well with the latest glib2 from Slackware current.
 
Old 04-26-2021, 12:58 PM   #3774
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
you're right, my bad: when I was amending the SlackBuild I copied the SLACKFLAGS block from one SlackBuild to the other.
I fixed the SlackBuild with the flags you suggest and uploaded it in the same directory

http://ponce.cc/slackware/testing/qt4-bruno/

but having installed the resulting qt and qtwebkit on my test virtual machine I noted a thing that should be somehow handled: the qt package install an /usr/bin/qmake symlink and an /usr/lib64/qt/bin/qmake that override in $PATH the /usr/lib64/qt5/bin/qmake needed by apps using qt5.
is it possible to rename those two to qmake-qt4 and use them in the build scripts so that it won't overlap with qt5 in Slackware current?
 
Old 04-26-2021, 03:08 PM   #3775
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 399

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by ponce View Post
you're right, my bad: when I was amending the SlackBuild I copied the SLACKFLAGS block from one SlackBuild to the other.
I fixed the SlackBuild with the flags you suggest and uploaded it in the same directory

http://ponce.cc/slackware/testing/qt4-bruno/

but having installed the resulting qt and qtwebkit on my test virtual machine I noted a thing that should be somehow handled: the qt package install an /usr/bin/qmake symlink and an /usr/lib64/qt/bin/qmake that override in $PATH the /usr/lib64/qt5/bin/qmake needed by apps using qt5.
is it possible to rename those two to qmake-qt4 and use them in the build scripts so that it won't overlap with qt5 in Slackware current?
Yes I think I can do that. But I need to test for dependencies in compilation dependencies. Anyway it is useful to do that.
 
Old 04-27-2021, 04:29 AM   #3776
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by ponce View Post
please report this to the maintainer (he pushed the updates a few days ago).
Ben has sorted this, using version 6.2.0 now:
https://git.slackbuilds.org/slackbui...ent.SlackBuild

Last edited by brobr; 04-27-2021 at 04:55 AM.
 
Old 04-27-2021, 09:51 AM   #3777
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Hi, Ponce. fcitx-mozc failed to build in -current because pkg-config was looking for qt4-related packages. Applying the attached patch to the SlackBuild in your repo resulted in a successful build by disabling qt. Everything still looks normal on Plasma.
Attached Files
File Type: txt fcitx-mozc.patch.txt (1.2 KB, 7 views)
 
Old 04-27-2021, 10:31 AM   #3778
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by pghvlaans View Post
Hi, Ponce. fcitx-mozc failed to build in -current because pkg-config was looking for qt4-related packages. Applying the attached patch to the SlackBuild in your repo resulted in a successful build by disabling qt. Everything still looks normal on Plasma.
hi pghvlaans, I tried building with qt disabled and yes, it actually went fine, but I saw that newer versions could also support qt5: as you seem to use this, if you are interested, can you please get in touch with the maintainer asking for an update?

can you please also send me via pm a name and an email address to add them to the git commit?
 
Old 04-27-2021, 10:56 AM   #3779
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
I don't think I've made enough posts to send private messages. "pghvlaans" is also my github name, and it's how I show up on my own SlackBuilds in any case.

OK, I'll try sending him an email about a version update tomorrow.
 
Old 04-28-2021, 04:06 AM   #3780
J_W
Member
 
Registered: Apr 2004
Location: Yamagata, JAPAN
Distribution: Slackware64-current
Posts: 189

Rep: Reputation: 123Reputation: 123
Hello,

On last December, I created fcitx-mozc-2.26.4220.102.1 for my personal use purpose.
Because I wanted to use fcitx-mocz with Japanese new era(REIWA) support.
The version 2.26.4220.102.1 has already been applied Japanese new era patch.
Created package is working fine now on my personal slackware64-current environment.

Quote:
Originally Posted by ponce View Post
hi pghvlaans, I tried building with qt disabled and yes, it actually went fine, but I saw that newer versions could also support qt5: as you seem to use this, if you are interested, can you please get in touch with the maintainer asking for an update?

can you please also send me via pm a name and an email address to add them to the git commit?
Since I am not familiar with script writing, my script is ugly (not smart). The script gets required sources one by one with wget command.
Anyway, I confirmed the script works on slackware64-current (gcc-10.3.0, glibc-2.33, python-3.9.4).

Please review my poor script and correct it if necessary.
My SlackBuild is here :
https://drive.google.com/file/d/1nxP...ew?usp=sharing

Thank you for your support.

J_W
 
1 members found this post helpful.
  


Reply

Tags
current, sbo, sbopkg, slackrepo



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
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

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

All times are GMT -5. The time now is 01:12 PM.

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