From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gCjlEjTTa2QZAAEASxT56A (envelope-from ) for ; Mon, 22 May 2023 22:40:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SMfTEjTTa2T9XwEA9RJhRA (envelope-from ) for ; Mon, 22 May 2023 22:40:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA3133B9A1 for ; Mon, 22 May 2023 22:40:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1CK8-0002lX-At; Mon, 22 May 2023 16:40:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1CK2-0002lO-9w for bug-guix@gnu.org; Mon, 22 May 2023 16:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1CK1-0007Qi-W5 for bug-guix@gnu.org; Mon, 22 May 2023 16:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1CK1-0008DA-QV for bug-guix@gnu.org; Mon, 22 May 2023 16:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63485: Broken build libfprint Resent-From: Alex Devaure Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 20:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63485 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alex Devaure Cc: 63485@debbugs.gnu.org Received: via spool by 63485-submit@debbugs.gnu.org id=B63485.168478794631491 (code B ref 63485); Mon, 22 May 2023 20:40:01 +0000 Received: (at 63485) by debbugs.gnu.org; 22 May 2023 20:39:06 +0000 Received: from localhost ([127.0.0.1]:36891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1CJ8-0008Bq-1j for submit@debbugs.gnu.org; Mon, 22 May 2023 16:39:06 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:61608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1CJ3-0008BH-6U for 63485@debbugs.gnu.org; Mon, 22 May 2023 16:39:05 -0400 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3f6042d60b5so16824755e9.2 for <63485@debbugs.gnu.org>; Mon, 22 May 2023 13:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684787935; x=1687379935; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=F7SRLymrpA/TevEsbEGXlTtvwq+J0TONY0xsmnk6IME=; b=gFt7PSI0xZ0FTiKSeL5Gc/fMr4Z9ieHl7sOVBF+SFoJInL9bLUXBUySg9SgailoPiU ifNZIDxbdmTdUvu6N8Rkeqfca57zlkWUqIRobx+KoNy7cHBXwGwuwjZTzLGzP9A6X6iE lAIWuHMI6KbiuNtA6EN4uI7rj1AcT7Hv4h5PsPQaIwI70I7lD6PcZdMZPx8Cf0cOxVq0 dDMnlqa4wNX7S5T2FymjvIuqI4QryYRmDygXHfzLwtad2pkf0Hk03neotoCcsyIaIsRH N1GugiIqLj80+33BEAg9IbZLwTaopmEqp6BXV0cfe148ht0PDCzfJi5fmZaMi5WF0MB3 dYrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684787935; x=1687379935; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=F7SRLymrpA/TevEsbEGXlTtvwq+J0TONY0xsmnk6IME=; b=hriZqPXN8txUxoyJ+Q+8vahfP3+pzax23MM1oNu4wxKJ9xLD+n7NUVuK4tYy0ZJotE qrTYXiaGSauePam6vYv/sVE4xwAxg0QNTL6UwGbUuoolcPhf1yN8dly3EeyBS1dTNqGn plO3oYrNXzIqxlc4L3RZrTnMqqtM16YfwsewHoYY/QrMmH+Tlzzzfu+jIlSCBbsZKHcI nYh8qW8zWqxjLLMAHVV/5/WREgHLtYhkbX85VmXx6Gq1Ok3j46uGN7YaHcVjL7jH5VNf xM64zIP1kmCQlk7VLd8iRJ1XvHKN3NggJdCqNtuDNuPv94erLSrv0PsrTwDCZzIJAVkL 8Eig== X-Gm-Message-State: AC+VfDzMXCc2BlYNlFAya3ijXfbSBTrhSJaD9JUGuT9HoxA/Q4H8P+MT w718SPmMhmbHVIP1xeyDXDrgaOHjNYQ= X-Google-Smtp-Source: ACHHUZ6Xvf3VDIlAC0P79ZUDE2oh5uMU3uZJWNEKnvSSW5m4AhWtLh6tQ/IvCU/wa9Y1iRfDB0tEfg== X-Received: by 2002:a1c:cc06:0:b0:3f1:969f:c9d0 with SMTP id h6-20020a1ccc06000000b003f1969fc9d0mr7865149wmb.4.1684787934961; Mon, 22 May 2023 13:38:54 -0700 (PDT) Received: from calvados ([2a02:c7c:e078:b700:89f0:1328:3f0e:388]) by smtp.gmail.com with ESMTPSA id k21-20020a7bc315000000b003f60a9ccd34sm46058wmj.37.2023.05.22.13.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 13:38:54 -0700 (PDT) References: <874jo49pzq.fsf@gmail.com> User-agent: mu4e 1.10.2; emacs 28.2 From: Alex Devaure Date: Mon, 22 May 2023 21:32:03 +0100 In-reply-to: <874jo49pzq.fsf@gmail.com> Message-ID: <87zg5w85kp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684788020; a=rsa-sha256; cv=none; b=WF57KZqO1QiPSCsznf2A15QxWap2pG+Knrg0N/faULELo1qRvm2QL6m1dL3Oq9rPYGpdoB T8MWpLBLiSMXMOtBIAFYCJjPCp0KmsM8F1MaMKeZM46M+/9uir0eJ/F74M37qBW0VUQw7d LPi5c9E0dSl+CslzBn/6CIFbkahLf/pg2Jh75Ui/MC8W0gM7oyVGT4F3HqFVFCj/o0iq0j RM9cZ/lu0y0f4BWag8tQspLErHLe0lwPY4zJ/oAiaLAW9b9JQQT29rNN43Rm3jDBe3248I CAeVyuBn+xqMSsrGx36N73tcO+q8E1ZDllJeEdPpZ64bCfDclKhyx4d49EgxrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=gFt7PSI0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684788020; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=F7SRLymrpA/TevEsbEGXlTtvwq+J0TONY0xsmnk6IME=; b=r+h5dQ58c8L5AhfdCJZH3pljpDdNm9WGBNg9oPQy8KXRemrmbvV05AMo+mKuOKtGr3aud3 DjCxDM7kc7iOlz0o9xWNmqTM8c7EbYGk/qbUKr9sEtOC+u/LUvztyywog3j5tl0DSkL2W7 rtBuzKGCjLy2/X7ug942Ja/n3znrjCvPNJkMf7d8ubPf4gwwK7gCPJtLRox4gYTRrHX6xm Fpd/WqFdquySIodXcU7LlPlYNeEZhR4ASQbI2PBNZnhZ4gBnJf3f83Lf9po+82vQUaw5sd WESKXTY66/WhUee9twlj4yx8FjDUC5bcFs60XlSKJEAggmY3sAflJeFEr8IAKw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=gFt7PSI0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.83 X-Spam-Score: 5.83 X-Migadu-Queue-Id: EA3133B9A1 X-TUID: DVVMIUwpZDRk --=-=-= Content-Type: text/plain Hi, Here is the patch to build libfprint. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-package-libfprint-fix-meson-configuration.patch >From 6366bd6755da6b151756a117d59da5f6cd735cf1 Mon Sep 17 00:00:00 2001 Message-Id: <6366bd6755da6b151756a117d59da5f6cd735cf1.1684787335.git.ajadevaure@gmail.com> From: Alex Devaure Date: Mon, 22 May 2023 21:25:29 +0100 Subject: [PATCH] gnu package libfprint: fix meson configuration --- gnu/packages/freedesktop.scm | 60 +++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 78b459443a..b4b26379cd 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2072,36 +2072,40 @@ (define-public libfprint (package (name "libfprint") (version "1.94.5") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.freedesktop.org/libfprint/libfprint") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1l1ak7y2kz0nrdkfj41n7h34dyykgzdg50y752ayk3ginp6szr7r")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/libfprint/libfprint") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l1ak7y2kz0nrdkfj41n7h34dyykgzdg50y752ayk3ginp6szr7r")))) (build-system meson-build-system) (arguments - (list #:configure-flags - #~(list (string-append "-Dudev_hwdb_dir=" #$output - "/lib/udev/hwdb.d") - (string-append "-Dudev_rules_dir=" #$output - "/lib/udev/rules.d")))) - (native-inputs - (list `(,glib "bin") ; for {glib-,}mkenums - gobject-introspection - gtk-doc/stable ; for 88 KiB of API documentation - pkg-config - ;; For tests - python-minimal)) - (inputs - (list gusb - libgudev - nss ; for the URU4x00 driver - ;; Replacing this with cairo works but just results in a reference - ;; (only) to pixman in the end. - pixman)) + (list #:configure-flags #~(list (string-append + "-Dc_link_args=-Wl,-rpath=" + (search-input-directory %build-inputs + "lib/nss")) + (string-append "-Dudev_hwdb_dir=" + #$output + "/lib/udev/hwdb.d") + (string-append "-Dudev_rules_dir=" + #$output + "/lib/udev/rules.d")))) + + (native-inputs (list `(,glib "bin") ;for {glib-,}mkenums + gobject-introspection + gtk-doc/stable ;for 88 KiB of API documentation + pkg-config + ;; For tests + python-minimal)) + (inputs (list gusb + libgudev + nss ;for the URU4x00 driver + ;; Replacing this with cairo works but just results in a reference + ;; (only) to pixman in the end. + pixman)) (home-page "https://fprint.freedesktop.org/") (synopsis "Library to access fingerprint readers") (description base-commit: 1638d1f0cecb52a7392d78534e9a0136878759e4 -- 2.40.1 --=-=-= Content-Type: text/plain Alex --=-=-=--