Package Details: akvcam-dkms 1.2.6-1

Git Clone URL: https://aur.archlinux.org/akvcam-dkms.git (read-only, click to copy)
Package Base: akvcam-dkms
Description: Virtual camera for Linux
Upstream URL: https://github.com/webcamoid/akvcam
Licenses: GPL2
Submitter: hipersayan_x
Maintainer: hipersayan_x
Last Packager: hipersayan_x
Votes: 9
Popularity: 0.000000
First Submitted: 2019-01-22 13:43 (UTC)
Last Updated: 2024-03-25 20:28 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

And1G commented on 2024-01-21 14:03 (UTC) (edited on 2024-01-21 14:03 (UTC) by And1G)

Has anyone had success compiling this under kernel 6.7.0-arch3-1? Is that an issue from the Arch kernel or does this look like a general incompatibility with 6.7.0?

DKMS make.log for akvcam-1.2.4 for kernel 6.7.0-arch3-1 (x86_64)
So 21. Jan 15:00:30 CET 2024
make -C /usr/lib/modules/6.7.0-arch3-1/build M=/var/lib/dkms/akvcam/1.2.4/build  modules
make[1]: Entering directory '/usr/lib/modules/6.7.0-arch3-1/build'
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/module.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/attributes.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/buffers.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/controls.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/device.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/driver.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/file_read.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/format.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/frame.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/frame_filter.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/ioctl.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/list.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/log.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/map.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/rbuffer.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/settings.o
  CC [M]  /var/lib/dkms/akvcam/1.2.4/build/utils.o
/var/lib/dkms/akvcam/1.2.4/build/device.c: In function ‘akvcam_device_new’:
/var/lib/dkms/akvcam/1.2.4/build/device.c:133:14: error: ‘V4L2_DEVICE_NAME_SIZE’ undeclared (first use in this function)
  133 |              V4L2_DEVICE_NAME_SIZE,
      |              ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/akvcam/1.2.4/build/device.c:133:14: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/akvcam/1.2.4/build/device.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/lib/modules/6.7.0-arch3-1/build/Makefile:1911: /var/lib/dkms/akvcam/1.2.4/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.7.0-arch3-1/build'
make: *** [Makefile:44: all] Error 2

souravdas142 commented on 2022-08-25 14:31 (UTC)

Hi hipersayan_x,

please modify the PKGBUILD with the below patch

0001-PKGBUILD-modify-in-favour-of-patch-file.patch

From 7bdbe17fa3ac3535ea350f0a6d84c208cc325d43 Mon Sep 17 00:00:00 2001
From: souravdas142 <souravdas142@gmail.com>
Date: Thu, 25 Aug 2022 19:56:49 +0530
Subject: [PATCH] PKGBUILD: modify in favour of patch file

---
 PKGBUILD | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 582acea..48b8c4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,8 +12,10 @@ depends=('dkms')
 makedepends=('git')
 conflicts=("${_pkgbase}-dkms")
 provides=("${_pkgbase}-dkms")
-source=("git+https://github.com/webcamoid/akvcam.git")
-md5sums=('SKIP')
+source=("git+https://github.com/webcamoid/akvcam.git"
+        '0001-dkms.conf-Remove-deprecated-entry-REMAKE_INITRD.patch')
+sha256sums=('SKIP'
+        'a01584db442070ff718decea2cc5c6744818d70dfae7eac6373dbca3535f3f6a')

 pkgver() {
     cd "$srcdir/${_pkgbase}"
@@ -24,6 +26,15 @@ pkgver() {
     )
 }

+prepare() {
+
+    cd "$srcdir/${_pkgbase}"
+
+   # patching the akvcam/src/dkms.conf file
+   patch -Np1 -i ../0001-dkms.conf-Remove-deprecated-entry-REMAKE_INITRD.patch
+
+}
+
 package() {
     cd "${srcdir}/${_pkgbase}/src"

-- 
2.37.2

For this the patch will be 0001-dkms.conf-Remove-deprecated-entry-REMAKE_INITRD.patch

From ce4a008c452d0645f2cf5aa82865d50486404b09 Mon Sep 17 00:00:00 2001
From: souravdas142 <souravdas142@gmail.com>
Date: Thu, 25 Aug 2022 18:50:16 +0530
Subject: [PATCH] dkms.conf: Remove deprecated entry REMAKE_INITRD

---
 src/dkms.conf | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/dkms.conf b/src/dkms.conf
index da15c97..e2f0598 100644
--- a/src/dkms.conf
+++ b/src/dkms.conf
@@ -7,5 +7,4 @@ CLEAN="make clean"
 BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
 DEST_MODULE_LOCATION[0]="/extra"

-REMAKE_INITRD="no"
 AUTOINSTALL="yes"
-- 
2.37.2

daniel_shub commented on 2020-09-21 19:25 (UTC)

@andrfgs I got it to build in a clean chroot by adding linux-headers to the depends array as I am not running the LTS kernel. Looking at https://wiki.archlinux.org/index.php/DKMS_package_guidelines it does not seem like the header file should be a required dependency.

andrfgs commented on 2020-09-08 22:51 (UTC)

The package is broken, even with linux-lts-headers installed:

make -C /usr/lib/modules/5.8.6-arch1-1/build M=/home/user/.cache/yay/akvcam-dkms/src/akvcam-1.1.0/src  modules
make[1]: *** /usr/lib/modules/5.8.6-arch1-1/build: File or folder doesn't exist.  Stop.
make: *** [Makefile:42: all] Error 2

skjnldsv commented on 2020-08-31 12:59 (UTC)

Works with linux-lts-headers now! Thanks!

hipersayan_x commented on 2020-08-31 12:57 (UTC)

I've removed the linux-headers dependency because linux-headers-lts does not provides it. It may work now.

skjnldsv commented on 2020-08-31 10:24 (UTC) (edited on 2020-08-31 10:24 (UTC) by skjnldsv)

Please add linux-lts as a dependency :)

Wennadocta commented on 2020-06-24 10:22 (UTC)

This doesn't compile

DKMS make.log for akvcam-1.0.4 for kernel 5.7.5-arch1-1 (x86_64)
Wed 24 Jun 2020 01:16:31 PM MSK
make -C /usr/lib/modules/5.7.5-arch1-1/build M=/var/lib/dkms/akvcam/1.0.4/build  modules
make[1]: Entering directory '/usr/lib/modules/5.7.5-arch1-1/build'
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/module.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/attributes.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/buffer.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/buffers.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/controls.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/device.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/driver.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/events.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/file_read.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/format.o
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/frame.o
/var/lib/dkms/akvcam/1.0.4/build/device.c: In function ‘akvcam_device_new’:
/var/lib/dkms/akvcam/1.0.4/build/device.c:119:28: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function); did you mean ‘VFL_TYPE_SUBDEV’?
  119 |     self->vdev->vfl_type = VFL_TYPE_GRABBER;
      |                            ^~~~~~~~~~~~~~~~
      |                            VFL_TYPE_SUBDEV
/var/lib/dkms/akvcam/1.0.4/build/device.c:119:28: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/akvcam/1.0.4/build/device.c: In function ‘akvcam_device_register’:
/var/lib/dkms/akvcam/1.0.4/build/device.c:185:52: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function); did you mean ‘VFL_TYPE_SUBDEV’?
  185 |         result = video_register_device(self->vdev, VFL_TYPE_GRABBER, -1);
      |                                                    ^~~~~~~~~~~~~~~~
      |                                                    VFL_TYPE_SUBDEV
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/akvcam/1.0.4/build/device.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/akvcam/1.0.4/build/global_deleter.o
make[1]: *** [Makefile:1732: /var/lib/dkms/akvcam/1.0.4/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.7.5-arch1-1/build'
make: *** [Makefile:42: all] Error 2

anoa commented on 2020-04-23 11:02 (UTC)

For anyone having trouble compiling on 5.7 kernels, this patch fixes it:

https://github.com/webcamoid/akvcam/issues/22