Package Details: akvcam-dkms 1.1.0-3

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: 2
Popularity: 0.26
First Submitted: 2019-01-22 13:43
Last Updated: 2020-09-22 22:42

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

daniel_shub commented on 2020-09-21 19:25

@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

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

Works with linux-lts-headers now! Thanks!

hipersayan_x commented on 2020-08-31 12:57

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

Please add linux-lts as a dependency :)

Wennadocta commented on 2020-06-24 10:22

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

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

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

cmsigler commented on 2020-04-07 17:21

Hi,

A patch has been created by an OpenSUSE user. See here:

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

I hacked/ported the patch to work under pacman. The ported patch is here:

https://pastebin.com/2G82WdB8

A patched PKGBUILD is here:

https://pastebin.com/p078b0eJ

Now it builds and (seems to) install/modprobe without a problem. HTH! And thanks for this AUR package.

P.S.: Chapeau @jpenguin :)

Clemmitt Sigler

jpenguin commented on 2020-04-07 17:18

Same issue as @cmsigler, reported to git hub. Patch someone wrote https://pastebin.com/NF5tfZFN

Patch already upstream (GIT)

cmsigler commented on 2020-04-06 20:58

Hi,

I was able to install akvcam-dkms 1.0.3-1 under kernel 5.5.13-arch2-1. However, both akvcam-dkms and akvcam-dkms-git fail to build under 5.6.2.arch1-2. Error output:

/home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.c: In function ‘akvcam_buffers_dequeue’: /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.c:488:30: error: passing argument 1 of ‘akvcam_get_timestamp’ from incompatible pointer type [-Werror=incompatible-pointer-types] 488 | akvcam_get_timestamp(&v4l2_buff->timestamp); | ^~~~~~~~~~~~~~~~~~~~~ | | | struct __kernel_v4l2_timeval * In file included from /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.h:28, from /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.c:28: /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/utils.h:101:43: note: expected ‘struct timeval ’ but argument is of type ‘struct __kernel_v4l2_timeval ’ 101 | void akvcam_get_timestamp(struct timeval tv); | ~~~~~~~~~~~~~~~~^~ /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.c: In function ‘akvcam_buffers_write_frame’: /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.c:729:34: error: passing argument 1 of ‘akvcam_get_timestamp’ from incompatible pointer type [-Werror=incompatible-pointer-types] 729 | akvcam_get_timestamp(&v4l2_buff->timestamp); | ^~~~~~~~~~~~~~~~~~~~~ | | | struct __kernel_v4l2_timeval * In file included from /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.h:28, from /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.c:28: /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/utils.h:101:43: note: expected ‘struct timeval ’ but argument is of type ‘struct __kernel_v4l2_timeval ’ 101 | void akvcam_get_timestamp(struct timeval tv); | ~~~~~~~~~~~~~~~~^~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:268: /home/blah/.cache/yay/akvcam-dkms-git/src/akvcam/src/buffers.o] Error 1

Something changed in the kernel code related to struct timeval? I haven't tried to figure out the details of what's gone wrong.

HTH!

Update: I reverted to the 5.5.13-arch2-1 kernel and was able to install akvcam-dkms. Then I upgraded linux and linux-headers to 5.6.2-arch1-1. The DKMS build failed. Strangely, webcamoid (my target program) worked fine without the new module building. I dunno why.

Clemmitt Sigler