GNU bug report logs - #73673
[PATCH] gnu: rust-libudev-sys-0.1: add missing native dependencies

Previous Next

Package: guix-patches;

Reported by: bigbookofbug <at> proton.me

Date: Mon, 7 Oct 2024 04:38:01 UTC

Severity: normal

Tags: patch

Done: Steve George <steve <at> futurile.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: bigbookofbug <at> proton.me
To: 73673 <at> debbugs.gnu.org
Cc: emma thompson <bigbookofbug <at> proton.me>
Subject: [bug#73673] [PATCH] gnu: rust-libudev-sys-0.1: add missing native dependencies
Date: Mon, 07 Oct 2024 04:37:06 +0000
From: emma thompson <bigbookofbug <at> proton.me>

i noticed while trying to use libudev-sys that the build was failing. the backtrace noted that both pkg-config and libudev were missing. as noted upstream as well (https://github.com/dcuddeback/libudev-sys), udev is required in the build environment.
---
 gnu/packages/crates-io.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c08ccd29fd..e5a92a6d57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44,6 +44,7 @@
 ;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
 ;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us <at> ieee.org>
 ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
+;;; Copyright © 2024 emma thompson <bigbookofbug <at> proton.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -39773,6 +39774,7 @@ (define-public rust-libudev-sys-0.1
     (arguments
      `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
                        ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (native-inputs (list pkg-config eudev))
     (home-page "https://github.com/dcuddeback/libudev-sys")
     (synopsis "FFI bindings to libudev")
     (description "This package provides FFI bindings to libudev.")

base-commit: b007cbbfb76aa6e072f1223699e910c45da7e732
-- 
2.46.0






This bug report was last modified 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.