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.000001
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

« First ‹ Previous 1 2

cmsigler commented on 2020-04-07 17:21 (UTC) (edited on 2020-04-07 19:40 (UTC) by cmsigler)

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 (UTC) (edited on 2020-04-07 17:37 (UTC) by jpenguin)

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 (UTC) (edited on 2020-04-06 21:49 (UTC) by cmsigler)

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 (UTC)

@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 (UTC)

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