From patchwork Wed Mar 19 23:41:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 40457 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8C8AA27BBEA; Wed, 19 Mar 2025 23:45:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0B08127BBE2 for ; Wed, 19 Mar 2025 23:45:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tv35C-0003Vj-D1; Wed, 19 Mar 2025 19:44:22 -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 1tv34u-0003Tq-4K for guix-patches@gnu.org; Wed, 19 Mar 2025 19:44:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tv34t-0007Hl-R5 for guix-patches@gnu.org; Wed, 19 Mar 2025 19:44:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=qZz741LVZ6W2hO9vp8yf8Y03aPWCbWDJcuJCoCnjw3k=; b=Ye0vHJJJHnKjMkn6/ZRNQCV5KENuqSd4wuNAOzFXUgyY523ljWuZBi80viTN7UAXySaCiCAbyEj0baEngnLAM3vUc4auQHyVQ1BtIaXyUkdkzKPUAfvapPNLSEovSrtPFlSn3lXxui8PTyEGVMnic4pgS+S8Jc33/XXSrnn9VcLDTPXECOxBugS04mUUHnhGzyXXPyBX7LWdzKSQA50LqdFmJZ4b1HrjsB07L2jghsL/WkTVsdE9HRz6D674Ye/P4r8fOnza9KdpHYYYBEpCzDfaaLHass9G60ZRE7YK/h92EjSQwF7hPpsuLMNKgJe32kBWkyLenw+NwShhjuBzfw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tv34t-0006ZW-N3 for guix-patches@gnu.org; Wed, 19 Mar 2025 19:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76872] [PATCH rust-team v3 05/10] gnu: rust-elf-0.7: New variable Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 23:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76872@debbugs.gnu.org Cc: Aaron Covrig Received: via spool by 76872-submit@debbugs.gnu.org id=B76872.174242779925106 (code B ref 76872); Wed, 19 Mar 2025 23:44:03 +0000 Received: (at 76872) by debbugs.gnu.org; 19 Mar 2025 23:43:19 +0000 Received: from localhost ([127.0.0.1]:54028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tv34A-0006Wp-GQ for submit@debbugs.gnu.org; Wed, 19 Mar 2025 19:43:19 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:53546) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tv33z-0006VD-65 for 76872@debbugs.gnu.org; Wed, 19 Mar 2025 19:43:07 -0400 Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-7c5a88b34a6so25037285a.3 for <76872@debbugs.gnu.org>; Wed, 19 Mar 2025 16:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1742427781; x=1743032581; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qZz741LVZ6W2hO9vp8yf8Y03aPWCbWDJcuJCoCnjw3k=; b=bcDmowJtrG4x0yQZmiMEmaG0fMOz85IAjx0cESwo1p/enB5SwVDK1XJhjoMtxOc+a1 ItrXMa1eHmOTZZ56k2tuHO1dE6yWeL6i3kBzLi4BpUDDRXzOGMIHa+Z2cx+FA0wf3TVc lhkFzuuKAH3uI/rW1Xlu8wEhuav5xLeiAq3o0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742427781; x=1743032581; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qZz741LVZ6W2hO9vp8yf8Y03aPWCbWDJcuJCoCnjw3k=; b=gzkXz+5qUhK23fhsAjZOeuLMwGuPvEXHDrCSJVlJox3yBekcgEDgEIswOo91QPjSSd PRzuo1AFzIZTPkos2hXFJAIqlznPD+DCXdDtRjnuvheZPT4YIjz6A4ohoGcrRbyTnYli uih2PlR7R/TbQ4HEIIgtqpbFy9stlcYepsJQQa+WLOTd+szlEZ2qfv8+Sh7I4Syb7jhC 9YSIBew3OzzkeV71bSJWmABb47jITmsaX7f9v9XgeFNkexVBiNbH6v0JeVHy/kFu+90B H9QieAGt7SLBw0nsP2VFokUb/UE6Sjt8Z2TwKEIjCHiB1fDcUAPiBfTOp7vef5D+/Azv rLCw== X-Gm-Message-State: AOJu0YytINNrnUl+Hj4WiNqSqEhWShufEWVx+AoaMNoTfqx6tq9pfFjS 329UeCU9vQINnG1ZkBtZY5zUxt8iPLBO4CNe/H7EPtkFIvXeukriO+p9onZDVX9POBvkZ7H6meY VjNddGNzeSKr/q5j2aKGOTsuhvpXk5aovnpO7Yp7QbLVhtDfwuQzGt8p5pXOxRpIk9qRUBZG/NA TVl7BJxou/GOIun08y0CIdSJjxvYbGQwMiFruRAhM= X-Gm-Gg: ASbGncuckcHjLUU1Ud7E09nMxxOBq/CvyCMW7DI0KqdbjUJ2z2y6QsMEBi90SSgr0R7 58KcrsMJM/AgXtJpt8SIXSuD49ney5eZcYjslsfd/cdAhsdQzmo9YLARlmpj0cc6UIkxdrkKRF/ mdnTrGdjh2L5MXrT93CKavFuqL7W6jijMADzr4H16HhGwAAeO3LlX+T7D26i3u0XbCB4JHTFEy3 Qc+sAsn3Lerts04CNUJxhEDuULWWyY+1sw5TAjcDTypm2b6yn6i4Zjruk11fIbXjBx9co/wonf4 CjUwaNbKsmETAZZAIK83NqtrddiM/kizpwzeOupJVmGJYs0qHS+LCCc= X-Google-Smtp-Source: AGHT+IGhb/oUYJHvJmsMN72Ih+QyseqziQPr36bHi+IKBBYbJBMoGJF/Q2ZjEkRFe6veIX8xzJqwWg== X-Received: by 2002:a05:620a:198b:b0:7c5:50dd:5071 with SMTP id af79cd13be357-7c5a8391431mr537016685a.22.1742427781122; Wed, 19 Mar 2025 16:43:01 -0700 (PDT) Received: from mobile-dev.lan ([73.172.106.204]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7c573d89b16sm916446685a.92.2025.03.19.16.43.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 16:43:00 -0700 (PDT) Date: Wed, 19 Mar 2025 19:41:32 -0400 Message-ID: <20250319234237.1906210-6-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250319234237.1906210-1-aaron.covrig.us@ieee.org> References: <20250319234237.1906210-1-aaron.covrig.us@ieee.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-elf-0.7): New variable --- gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c45418c159..83bfa38a45 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22706,10 +22706,10 @@ (define-public rust-elain-0.3 (description "Set a type's minimum alignment with const generics.") (license (list license:expat license:asl2.0)))) -(define-public rust-elf-0.0.10 +(define-public rust-elf-0.7 (package (name "rust-elf") - (version "0.0.10") + (version "0.7.4") (source (origin (method url-fetch) @@ -22718,16 +22718,43 @@ (define-public rust-elf-0.0.10 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1xcpf7jdmrl7rdmd6009grahvgp3k695h5x4cadrpr70vcaxwha8")))) + "0yyij25ps8mln1s1xzwggjr88gb2b35c8jf8az25dmfvfaar0ia4")))) + (arguments `(#:cargo-test-flags '("--" + ;; Missing test files + "--skip=elf_bytes::arch_tests" + "--skip=elf_bytes::interface_tests" + "--skip=elf_stream::arch_tests" + "--skip=elf_stream::interface_tests" + "--skip=src/elf_bytes.rs - elf_bytes::ElfBytes (line 33)" + "--skip=src/elf_bytes.rs - elf_bytes::ElfBytes<'data,E>::section_header_by_name (line 304)" + "--skip=src/elf_bytes.rs - elf_bytes::ElfBytes<'data,E>::section_headers_with_strtab (line 219)" + "--skip=src/elf_stream.rs - elf_stream::ElfStream::section_header_by_name (line 212)" + "--skip=src/lib.rs - (line 83)" + "--skip=src/note.rs - note (line 4)"))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-0.5)))) (home-page "https://github.com/cole14/rust-elf/") (synopsis "Library for parsing ELF files") (description "This package provides a pure-Rust library for parsing ELF files.") (license (list license:expat license:asl2.0)))) +(define-public rust-elf-0.0.10 + (package + (inherit rust-elf-0.7) + (name "rust-elf") + (version "0.0.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "elf" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xcpf7jdmrl7rdmd6009grahvgp3k695h5x4cadrpr70vcaxwha8")))) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-0.5)))))) + (define-public rust-emacs-0.19 (package (name "rust-emacs")