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 01-15-2024, 03:17 PM   #5716
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
virtualbox-kernel does not build


I am trying to install virtualbox 6.1.44 against the December 21, 2023 current snapshot. I'm starting with virtualbox-kernel. It is crashing while building the vboxdrv module. The specific error is
Code:
  CC [M]  /tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/rtStrFormatKernelAddress-r0drv-linux.o
/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeLockUser’:
/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1228:18: error: too many arguments to function ‘get_user_pages’
 1228 |             rc = get_user_pages(R3Ptr,                  /* Where from. */
      |                  ^~~~~~~~~~~~~~
In file included from /tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/the-linux-kernel.h:102,
                 from /tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
./include/linux/mm.h:2452:6: note: declared here
 2452 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1261:33: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 1261 |                                 papVMAs                 /* vmas */
      |                                 ^~~~~~~
      |                                 |
      |                                 struct vm_area_struct **
  CC [M]  /tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/semevent-r0drv-linux.o
./include/linux/mm.h:2422:33: note: expected ‘int *’ but argument is of type ‘struct vm_area_struct **’
 2422 |                            int *locked);
      |                            ~~~~~^~~~~~
/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1245:18: error: too many arguments to function ‘get_user_pages_remote’
 1245 |             rc = get_user_pages_remote(
      |                  ^~~~~~~~~~~~~~~~~~~~~
./include/linux/mm.h:2419:6: note: declared here
 2419 | long get_user_pages_remote(struct mm_struct *mm,
      |      ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:243: /tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o: warning: objtool: VBoxHost_RTR0MemKernelCopyTo+0x13: redundant CLD
/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o: warning: objtool: VBoxHost_RTR0MemKernelCopyFrom+0x13: redundant CLD
make[3]: *** [/usr/src/linux-6.6.8/Makefile:1913: /tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv] Error 2
make[2]: *** [Makefile:234: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-6.6.8'
make[1]: *** [/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv/Makefile-footer.gmk:117: vboxdrv] Error 2
make[1]: Leaving directory '/tmp/SBo/virtualbox-kernel-6.1.44/vboxdrv'
make: *** [Makefile:60: vboxdrv] Error 2
I saw posts about other problems building this version, but they did not appear to be related to virtualbox-kernel. Any help is appreciated.
 
Old 01-15-2024, 05:50 PM   #5717
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 80

Rep: Reputation: Disabled
I use the version 6.1.32 since some years ago, when the kernel has been updated to version 6.6.6, the build of virtualbox-kernel failed. I don't remember the building error reported, but I was able to solve with a patch and a sed command. Now virtualbox 6.1.32 works fine. I don't know how 6.1.44 is different, but I want to keep version 6.1.32 because it supports the software virtualization (I need it for a Slackware 32 bit as host).

I you are interested and no strong changes has 6.1.44 against 6.1.32, you could downgrade to version 6.1.32. It works fine, for me. You can download the tarball of the slackbuild from here: https://www.giand.it/perm/virtualbox-6.1.32.tar.gz

You could try also to apply my patch and the sed command, but I don't know if the failure is given by the same context. Try...
Code:
sed -i ./vboxdrv/r0drv/linux/memobj-r0drv-linux.c -e "s/pte_offset_map/pte_offset_kernel/g"

patch -p1 < $CWD/linux-6.6.patch
the patch:
Code:
--- ./vboxdrv/r0drv/linux/memobj-r0drv-linux.c
+++ ./vboxdrv/r0drv/linux/memobj-r0drv-linux.c
@@ -1236,6 +1236,9 @@
                                 fWrite,                 /* force write access. */
 # endif
-                                &pMemLnx->apPages[0],   /* Page array. */
-                                papVMAs);               /* vmas */
+                                &pMemLnx->apPages[0]    /* Page array. */
+# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
+                                , papVMAs               /* vmas */
+# endif
+                                );
         /*
          * Actually this should not happen at the moment as call this function
@@ -1258,6 +1258,8 @@
                                 fWrite,                 /* force write access. */
 # endif
-                                &pMemLnx->apPages[0],   /* Page array. */
-                                papVMAs                 /* vmas */
+                                &pMemLnx->apPages[0]    /* Page array. */
+# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
+                                , papVMAs               /* vmas */
+# endif
 # if GET_USER_PAGES_API >= KERNEL_VERSION(4, 10, 0)
                                 , NULL                  /* locked */
@@ -1301,7 +1301,13 @@
             while (rc-- > 0)
             {
                 flush_dcache_page(pMemLnx->apPages[rc]);
+# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
+#  if RTLNX_VER_MIN(6,3,0)
+                vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED);
+#  else
                 papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED;
+#  endif
+# endif
             }
 
             LNX_MM_UP_READ(pTask->mm);
@@ -1771,7 +1771,10 @@
                     /* Thes flags help making 100% sure some bad stuff wont happen (swap, core, ++).
                      * See remap_pfn_range() in mm/memory.c */
-#if    RTLNX_VER_MIN(3,7,0)
+
+#if    RTLNX_VER_MIN(6,3,0)
+                    vm_flags_set(vma, VM_DONTEXPAND | VM_DONTDUMP);
+#elif  RTLNX_VER_MIN(3,7,0)
                     vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
 #else
                     vma->vm_flags |= VM_RESERVED;
 #endif

--- ./vboxnetflt/linux/VBoxNetFlt-linux.c
+++ ./vboxnetflt/linux/VBoxNetFlt-linux.c
@@ -38,4 +38,7 @@
 # include <linux/nsproxy.h>
 #endif
+#if RTLNX_VER_MIN(6,4,10) || RTLNX_RHEL_MAJ_PREREQ(9,4)
+# include <net/gso.h>
+#endif
 #include <linux/netdevice.h>
 #if RTLNX_VER_MAX(2,6,29) || RTLNX_VER_MIN(5,11,0)
If it does not solve, I suggest the downgrade to version 6.1.32
 
Old 01-17-2024, 08:27 PM   #5718
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,357

Rep: Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962
Hi , only informmational.

In some moment we loose python3-kiwisolver , required by matplotlib to build.

Thanks for the great work mantaining this.
 
Old 01-22-2024, 04:18 PM   #5719
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
ccextractor fails to build 2024 redux

About three years ago I posted a plea for help because ccextractor failed to build. The solution came in the form of a patch to the downloaded tarball and a minor change in the SlackBuilds package. Now I'm trying to build ccextractor-0.94 and it is failing at
Code:
/tmp/SBo/ccextractor-0.94/src/lib_ccx/ffmpeg_intgr.c:109:56: error: ‘AVStream’ has no member named ‘codec’
  109 |         ctx->dec_ctx = ctx->ifmt->streams[stream_index]->codec;
Is there a patch that I need to apply to fix this? I see a patch for leptonica in the build directory, but it should have already been applied. Any other suggestions on how to fix this?
 
Old 01-22-2024, 04:56 PM   #5720
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,735

Rep: Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400
Quote:
Originally Posted by Dan Suson View Post
About three years ago I posted a plea for help because ccextractor failed to build. The solution came in the form of a patch to the downloaded tarball and a minor change in the SlackBuilds package. Now I'm trying to build ccextractor-0.94 and it is failing at
Code:
/tmp/SBo/ccextractor-0.94/src/lib_ccx/ffmpeg_intgr.c:109:56: error: ‘AVStream’ has no member named ‘codec’
  109 |         ctx->dec_ctx = ctx->ifmt->streams[stream_index]->codec;
Is there a patch that I need to apply to fix this? I see a patch for leptonica in the build directory, but it should have already been applied. Any other suggestions on how to fix this?
I maintain this package. ccextractor-0.94 is not compatible with ffmpeg5. Support has been merged with this patch, however it is not as simple as just applying that patch to 0.94. For now you can get it to compile if you edit the SlackBuild and disable hardsubs and ffmpeg support.

Last edited by Daedra; 01-22-2024 at 05:01 PM.
 
Old 01-23-2024, 09:49 PM   #5721
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
This worked, thanks!

Quote:
Originally Posted by gian_d View Post
I use the version 6.1.32 since some years ago, when the kernel has been updated to version 6.6.6, the build of virtualbox-kernel failed. I don't remember the building error reported, but I was able to solve with a patch and a sed command. Now virtualbox 6.1.32 works fine. I don't know how 6.1.44 is different, but I want to keep version 6.1.32 because it supports the software virtualization (I need it for a Slackware 32 bit as host).

I you are interested and no strong changes has 6.1.44 against 6.1.32, you could downgrade to version 6.1.32. It works fine, for me. You can download the tarball of the slackbuild from here: https://www.giand.it/perm/virtualbox-6.1.32.tar.gz

You could try also to apply my patch and the sed command, but I don't know if the failure is given by the same context. Try...
Code:
sed -i ./vboxdrv/r0drv/linux/memobj-r0drv-linux.c -e "s/pte_offset_map/pte_offset_kernel/g"

patch -p1 < $CWD/linux-6.6.patch
the patch:
Code:
--- ./vboxdrv/r0drv/linux/memobj-r0drv-linux.c
+++ ./vboxdrv/r0drv/linux/memobj-r0drv-linux.c
@@ -1236,6 +1236,9 @@
                                 fWrite,                 /* force write access. */
 # endif
-                                &pMemLnx->apPages[0],   /* Page array. */
-                                papVMAs);               /* vmas */
+                                &pMemLnx->apPages[0]    /* Page array. */
+# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
+                                , papVMAs               /* vmas */
+# endif
+                                );
         /*
          * Actually this should not happen at the moment as call this function
@@ -1258,6 +1258,8 @@
                                 fWrite,                 /* force write access. */
 # endif
-                                &pMemLnx->apPages[0],   /* Page array. */
-                                papVMAs                 /* vmas */
+                                &pMemLnx->apPages[0]    /* Page array. */
+# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
+                                , papVMAs               /* vmas */
+# endif
 # if GET_USER_PAGES_API >= KERNEL_VERSION(4, 10, 0)
                                 , NULL                  /* locked */
@@ -1301,7 +1301,13 @@
             while (rc-- > 0)
             {
                 flush_dcache_page(pMemLnx->apPages[rc]);
+# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0)
+#  if RTLNX_VER_MIN(6,3,0)
+                vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED);
+#  else
                 papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED;
+#  endif
+# endif
             }
 
             LNX_MM_UP_READ(pTask->mm);
@@ -1771,7 +1771,10 @@
                     /* Thes flags help making 100% sure some bad stuff wont happen (swap, core, ++).
                      * See remap_pfn_range() in mm/memory.c */
-#if    RTLNX_VER_MIN(3,7,0)
+
+#if    RTLNX_VER_MIN(6,3,0)
+                    vm_flags_set(vma, VM_DONTEXPAND | VM_DONTDUMP);
+#elif  RTLNX_VER_MIN(3,7,0)
                     vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
 #else
                     vma->vm_flags |= VM_RESERVED;
 #endif

--- ./vboxnetflt/linux/VBoxNetFlt-linux.c
+++ ./vboxnetflt/linux/VBoxNetFlt-linux.c
@@ -38,4 +38,7 @@
 # include <linux/nsproxy.h>
 #endif
+#if RTLNX_VER_MIN(6,4,10) || RTLNX_RHEL_MAJ_PREREQ(9,4)
+# include <net/gso.h>
+#endif
 #include <linux/netdevice.h>
 #if RTLNX_VER_MAX(2,6,29) || RTLNX_VER_MIN(5,11,0)
If it does not solve, I suggest the downgrade to version 6.1.32
 
Old 01-23-2024, 10:27 PM   #5722
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
Virtualbox-kernel builds, now need virtualbox

Thanks to gian_d for the help with virtualbox-kernel. I was able to get the patch to work just fine. Unfortunately, when I went to build virtualbox itself (version 6.1.44), that failed at the xml interface. I saw a number of previous posts about this, but didn't see anything about a fix. Has the virtualbox script/build been fixed or is the only current solution downgrading the virtualbox version?
 
Old 01-23-2024, 11:24 PM   #5723
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,735

Rep: Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400
Quote:
Originally Posted by Dan Suson View Post
Thanks to gian_d for the help with virtualbox-kernel. I was able to get the patch to work just fine. Unfortunately, when I went to build virtualbox itself (version 6.1.44), that failed at the xml interface. I saw a number of previous posts about this, but didn't see anything about a fix. Has the virtualbox script/build been fixed or is the only current solution downgrading the virtualbox version?
See this post. The maintainer of the VirtualBox SlackBuild is ppr:kut. He is aware of situation and a new SlackBuild should be coming soon. In the thread there is the xml patch you need. I also have a Virtualbox 7.0.x SlackBuild available on my github page. It is just a modified version of ppr:kut's SlackBuild, however in order for it to compile you need three dependencies, gsoap, acpica, and openjdk from Alien Bob's repository located here.

https://github.com/mdinslage/Custom_...tualbox-7.0.12

Last edited by Daedra; 01-23-2024 at 11:48 PM.
 
1 members found this post helpful.
Old 01-25-2024, 03:47 AM   #5724
Bad Blue Bull
Member
 
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85

Rep: Reputation: Disabled
python3-PyQtWebEngine fails to build due to "configure.py: error: '/usr/bin/sip3' is not an executable", tried "ln -s /usr/bin/python3-sip /usr/bin/sip3" but it leads to syntax error.
 
Old 01-25-2024, 04:40 AM   #5725
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,468

Rep: Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227Reputation: 4227
Quote:
Originally Posted by Bad Blue Bull View Post
python3-PyQtWebEngine fails to build due to "configure.py: error: '/usr/bin/sip3' is not an executable", tried "ln -s /usr/bin/python3-sip /usr/bin/sip3" but it leads to syntax error.
It needs some changes as we moved from classic python builds to python-wheel
Code:
Thu Aug 10 20:23:33 UTC 2023
Thanks to Heinz Wiesinger for these added python packages to implement
PEP 427 and PEP 517! Python modules are phasing out setup.py in favor of
building wheels, and then using python-installer to install them. These
are the bits needed to make that happen.
Try that:
Code:
--- python3-PyQtWebEngine.SlackBuild    2024-01-25 11:36:10.599735885 +0100
+++ python3-PyQtWebEngine.SlackBuild.1  2024-01-25 11:36:35.598421609 +0100
@@ -85,14 +85,13 @@
 export CFLAGS="$SLKCFLAGS"
 export CXXFLAGS="$SLKCFLAGS"
 
-python3 configure.py \
-  --verbose \
-  -q /usr/bin/qmake-qt5 \
-  --sip=/usr/bin/sip3 \
-  --sip-incdir=$(pkg-config --cflags-only-I python3 | sed 's/^-I//')
-
+sip-build \
+    --no-make \
+    --api-dir /usr/share/qt5/qsci/api/python
+cd build
 make
-make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG
+make INSTALL_ROOT="$PKG" install
+cd ..
 
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

Last edited by marav; 01-25-2024 at 04:45 AM.
 
Old 01-25-2024, 01:28 PM   #5726
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by Daedra View Post
See this post. .. I also have a Virtualbox 7.0.x SlackBuild available on my github page. It is just a modified version of ppr:kut's SlackBuild, however in order for it to compile you need three dependencies, gsoap, acpica, and openjdk ..

https://github.com/mdinslage/Custom_...tualbox-7.0.12
Thanks for this, tried it but compilation stalls on:
Code:
Checking for 32-bit support: 
  Cannot compile 32-bit applications (missing headers and/or libraries)!
Config log says:
Quote:
***** Checking 32-bit support *****
compiling the following source file:
#include <stdint.h>
int main(void)
{
return 0;
}
using the following command line:
gcc -m32 -O -Wall -o /tmp/VirtualBox-7.0.12/.tmp_out /tmp/VirtualBox-7.0.12/.tmp_src.c
In file included from /usr/include/features.h:527,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdint.h:26,
from /usr/lib64/gcc/x86_64-slackware-linux/13.2.0/include/stdint.h:9,
from /tmp/VirtualBox-7.0.12/.tmp_src.c:1:
/usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file or directory
7 | # include <gnu/stubs-32.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
I thought virtualbox no longer cares for 32bit? Anyway this is on slackware64-current without 32bit-compat libraries; with `/usr/include/gnu/stubs-64.h`

Any ideas how to get around this?
 
Old 01-25-2024, 01:40 PM   #5727
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,735

Rep: Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400
Quote:
Originally Posted by brobr View Post
Thanks for this, tried it but compilation stalls on:
Code:
Checking for 32-bit support: 
  Cannot compile 32-bit applications (missing headers and/or libraries)!
Config log says:


I thought virtualbox no longer cares for 32bit? Anyway this is on slackware64-current without 32bit-compat libraries; with `/usr/include/gnu/stubs-64.h`

Any ideas how to get around this?
Yeah, you will have to install Alien Bob's Multilib in order to compile it. I probably should of made a README, but this is just a stop gap SlackBuild until ppr:kut updates his.
 
Old 01-25-2024, 03:20 PM   #5728
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
Quote:
Originally Posted by Daedra View Post
I maintain this package. ccextractor-0.94 is not compatible with ffmpeg5. Support has been merged with this patch, however it is not as simple as just applying that patch to 0.94. For now you can get it to compile if you edit the SlackBuild and disable hardsubs and ffmpeg support.
I just want to confirm that I'm understanding this correctly. I want to apply the patches at the given URL to the five files listed there, and then also disabble hardubs and ffmpeg support in ccextractor.Slackbuild, correct?
 
Old 01-25-2024, 03:43 PM   #5729
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,735

Rep: Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400
Quote:
Originally Posted by Dan Suson View Post
I just want to confirm that I'm understanding this correctly. I want to apply the patches at the given URL to the five files listed there, and then also disabble hardubs and ffmpeg support in ccextractor.Slackbuild, correct?
Short version. no the patches in that link will not cleanly apply to 0.94. Just disable hardsubs and ffmpeg support should be enough to successfully compile 0.94 in -current.
 
Old 01-25-2024, 04:01 PM   #5730
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,144

Original Poster
Rep: Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212
Quote:
Originally Posted by Daedra View Post
I maintain this package. ccextractor-0.94 is not compatible with ffmpeg5. Support has been merged with this patch, however it is not as simple as just applying that patch to 0.94. For now you can get it to compile if you edit the SlackBuild and disable hardsubs and ffmpeg support.
Quote:
Originally Posted by marav View Post
It needs some changes as we moved from classic python builds to python-wheel
Code:
Thu Aug 10 20:23:33 UTC 2023
Thanks to Heinz Wiesinger for these added python packages to implement
PEP 427 and PEP 517! Python modules are phasing out setup.py in favor of
building wheels, and then using python-installer to install them. These
are the bits needed to make that happen.
Try that:
Code:
--- python3-PyQtWebEngine.SlackBuild    2024-01-25 11:36:10.599735885 +0100
+++ python3-PyQtWebEngine.SlackBuild.1  2024-01-25 11:36:35.598421609 +0100
@@ -85,14 +85,13 @@
 export CFLAGS="$SLKCFLAGS"
 export CXXFLAGS="$SLKCFLAGS"
 
-python3 configure.py \
-  --verbose \
-  -q /usr/bin/qmake-qt5 \
-  --sip=/usr/bin/sip3 \
-  --sip-incdir=$(pkg-config --cflags-only-I python3 | sed 's/^-I//')
-
+sip-build \
+    --no-make \
+    --api-dir /usr/share/qt5/qsci/api/python
+cd build
 make
-make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG
+make INSTALL_ROOT="$PKG" install
+cd ..
 
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
Thanks to both of you, pushed the two fixes!
 
  


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 04:03 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