Package Details: akvcam-dkms 1.1.0-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: GPLv2
Conflicts: akvcam-dkms
Provides: akvcam-dkms
Submitter: hipersayan_x
Maintainer: hipersayan_x
Last Packager: hipersayan_x
Votes: 1
Popularity: 0.000053
First Submitted: 2019-01-22 13:43
Last Updated: 2020-06-26 15:44

Latest Comments

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

hipersayan_x commented on 2020-03-25 19:58

@whnr That error is pretty common if you updated the kernel just before compiling the driver, you must restart Arch and try again. Also, try akvcam-dkms-git there are some bugs fixed in the master.

whnr commented on 2020-03-24 18:50

Hi! I get a build error

make -C /usr/lib/modules/5.5.9-arch1-2/build M=/home/florian/.cache/pikaur/build/akvcam-dkms/src/akvcam-1.0.2/src modules make[1]: /usr/lib/modules/5.5.9-arch1-2/build: File or Directory not found. Terminating. make: [Makefile:42: all] Fehler 2

(Original message was German, I translated the German words. might seem different from normal make messages) make -C /usr/lib/modules/5.5.9-arch1-2/build M=/home/florian/.cache/pikaur/build/akvcam-dkms/src/akvcam-1.0.2/src modules make[1]: /usr/lib/modules/5.5.9-arch1-2/build: Datei oder Verzeichnis nicht gefunden. Schluss. make: [Makefile:42: all] Fehler 2