Package Details: libfprint-cs9711-git 1.94.10+8.r1846.20260220.66b1ada0-2

Git Clone URL: https://aur.archlinux.org/libfprint-cs9711-git.git (read-only, click to copy)
Package Base: libfprint-cs9711-git
Description: libfprint with proprietary FPC match on host device CS9711Fingprint driver
Upstream URL: https://fprint.freedesktop.org/
Licenses: LGPL-2.1-or-later
Groups: fprint
Conflicts: libfprint
Provides: libfprint, libfprint-2.so, libfprint-cs9711
Replaces: libfprint-cs9711
Submitter: someone5678
Maintainer: someone5678
Last Packager: someone5678
Votes: 8
Popularity: 1.40
First Submitted: 2025-05-19 13:21 (UTC)
Last Updated: 2026-04-01 15:43 (UTC)

Required by (4)

Sources (13)

Pinned Comments

someone5678 commented on 2025-05-19 13:24 (UTC) (edited on 2026-01-22 14:33 (UTC) by someone5678)

Introduction

libfprint for cs9711 using https://github.com/ddlsmurf/libfprint-CS9711 patches
and https://github.com/archeYR/libfprint-CS9711 patches
on top of official upstream https://gitlab.freedesktop.org/libfprint/libfprint
with sigfm branch merge from https://gitlab.freedesktop.org/Tooniis/libfprint.git
PKGBUILD is based on https://gitlab.archlinux.org/archlinux/packaging/packages/libfprint
and https://aur.archlinux.org/packages/libfprint-cs9711 adapted for current usage.

Notice

Test is disabled as the build can't pass it and always failed. If anyone know how to correctly deal with it, please comment.

Latest Comments

1 2 3 Next › Last »

SolarEclipse4294 commented on 2026-05-11 19:25 (UTC) (edited on 2026-05-12 12:21 (UTC) by SolarEclipse4294)

This package is currently broken due to its patch-based build approach. The underlying issue is architectural: the PKGBUILD layers ddlsmurf's patches and archeYR's patches on top of stock upstream libfprint rather than using an integrated fork, making it inherently fragile against upstream changes.

I'd recommend switching to libfprint-cs9711-rebase-git instead. It clones archeYR's cs9711-rebase branch directly, where the CS9711 driver code lives as proper git commits that are regularly rebased onto new upstream libfprint releases — no fragile patch files, and enrolled fingerprints carry over on upgrade.

dreieck commented on 2026-04-25 13:38 (UTC)

New upstream for (patches for) this is https://github.com/archeYR/libfprint-CS9711

ohaiibuzzle commented on 2026-04-21 09:15 (UTC) (edited on 2026-04-21 09:17 (UTC) by ohaiibuzzle)

@lemagex I would probably not want to remove patch 4 tbh. Yeah it generates some patch warnings, but those aren't that important, but what it does is changes some communication behaviors to match Windows's, so it might not be the best idea to ignore it.

You can hang the hardware given the right circumstances if you don't give it the right sequence of commands, basically.

Patch 6 is fully replaced so it's safe to just be tossed.

lemagex commented on 2026-04-20 23:14 (UTC) (edited on 2026-04-20 23:19 (UTC) by lemagex)

If you want this to just install, I removed 004 and 006, and it was fine.

I changed

for patch in $srcdir/*.patch; do
    git apply $patch
  done

in pkgbuild and replaced with

  for patch in $srcdir/0000-*.patch $srcdir/0001-*.patch $srcdir/0002-*.patch $srcdir/0003-*.patch $srcdir/0005-*.patch; do
    if [ -f "$patch" ]; then
      git apply $patch || echo "Warning: $patch failed to apply"
    fi
  done

then removed the files

rm -f src/0004-Changes-derived-from-RE-Windows-driver.patch
rm -f src/0006-Fix-introspection-failures.patch

and

rm -rf src build pkg
makepkg -rsi --skipinteg

and it finally built and worked for me.

emryz commented on 2026-04-20 14:30 (UTC)

Hey @ohaiibuzzle, can confirm. Your modification works, thank you.

ohaiibuzzle commented on 2026-04-20 04:27 (UTC) (edited on 2026-04-20 06:17 (UTC) by ohaiibuzzle)

I checked the patches and it seems like the only one failing is 0006-Fix-introspection-failures.patch due to changed APIs in the upstream sigfm branch. If you exclude that patch out of the build it runs to completion. I've not yet verify if the device will then work as intended (but in theory it shouldn't change anything regarding image matching?)

Edit: so far so good. Appears that removing patch 0006 is all that is needed for the package to work again. Here's the modifications I made

[root@alarm ~]# fprintd-enroll alarm
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
...
Enroll result: enroll-completed
[root@alarm ~]# fprintd-verify alarm
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: right-index-finger
Verify started!
Verifying: right-index-finger
Verify result: verify-match (done)
[root@alarm ~]# fprintd-list alarm  
found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
Fingerprints for user alarm on Chipsailing CS9711Fingprint (press):
 - #0: right-index-finger

MintyLavender commented on 2026-04-10 21:47 (UTC) (edited on 2026-04-10 21:54 (UTC) by MintyLavender)

Encountering an error just like SolarEclipse4294.

warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
error: patch failed: libfprint/fp-image.c:526
error: libfprint/fp-image.c: patch does not apply
error: patch failed: libfprint/fp-image.h:58
error: libfprint/fp-image.h: patch does not apply
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: libfprint-cs9711-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
libfprint-cs9711-git - exit status 4

Edit: sorry. I don't know how to make this look pretty Edit2: nevermind, I got it

SolarEclipse4294 commented on 2026-04-10 16:27 (UTC) (edited on 2026-04-10 16:29 (UTC) by SolarEclipse4294)

I've read comments here about clearing the yay package cache, but that hasn't worked for me. I'm unable to build the updated package:

warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
error: patch failed: libfprint/fp-image.c:526
error: libfprint/fp-image.c: patch does not apply
error: patch failed: libfprint/fp-image.h:58
error: libfprint/fp-image.h: patch does not apply
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'libfprint-cs9711-git-1.94.10+8.r1846.20260220.66b1ada0-2': 
error: packages failed to build: libfprint-cs9711-git-1.94.10+8.r1846.20260220.66b1ada0-2

==> ERROR: An error has occurred during the update process
The update has been aborted

Full log: https://pastebin.com/xP7KRVuY

Hope a fix is on the way... thanks!

xaliazhar commented on 2026-04-08 09:35 (UTC) (edited on 2026-04-10 23:40 (UTC) by xaliazhar)

warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.
error: patch failed: libfprint/fp-image.c:526
error: libfprint/fp-image.c: patch does not apply
error: patch failed: libfprint/fp-image.h:58
error: libfprint/fp-image.h: patch does not apply
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'libfprint-cs9711-git-1.94.10+8.r1846.20260220.66b1ada0-2': 
error: packages failed to build: libfprint-cs9711-git-1.94.10+8.r1846.20260220.66b1ada0-2

failed to build.