From patchwork Sat Mar 8 16:50:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 39926 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 4932327BBEC; Sat, 8 Mar 2025 16:52:40 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 B3DA127BBE2 for ; Sat, 8 Mar 2025 16:52:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tqxPE-0001uL-M8; Sat, 08 Mar 2025 11:52:09 -0500 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 1tqxPA-0001rt-8e for guix-patches@gnu.org; Sat, 08 Mar 2025 11:52:04 -0500 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 1tqxP9-0000ch-Vg for guix-patches@gnu.org; Sat, 08 Mar 2025 11:52:04 -0500 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=9q9qgbST6mhEPzK1jcAt/ouOMxF/an56VAN6vfX+KU4=; b=R7PAg7l2BBPfAkmj+4I+CcjzOCAfmi3RKm4otWMpzZSyDf7vY2j/HoK7CTAddTYHa24mE9kf59H9Fwo9vbiP6uFzV7uOX/FG8Ziui3+O36KaKb2WRNa/2CMTmJ+b5frQTaiDgrA1XNaF1SmvfXOdXfGPzmzFVdDFTyo6mqA9BpMknrunPYtKYfw6XlVueT0djlQPGGLFDDEurqcFBx6sUWAOSSD9b9fQrCZ5wKPVKCwcUo0jOHMApAa4n2x3K10oRwW11WhsV9HxPnZYqbb1Pb5G6/Y9K2NTflvRogHkqP/+YjnNtYdGewFIQW+Zn4+ITFm7jU8QHx7UHc6vdPC+vA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tqxP9-0002yW-QL; Sat, 08 Mar 2025 11:52:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76872] [PATCH rust-team 5/9] gnu: rust-elf-0.7: New variable Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Sat, 08 Mar 2025 16:52: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 , divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net X-Debbugs-Original-Xcc: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net Received: via spool by 76872-submit@debbugs.gnu.org id=B76872.174145271611369 (code B ref 76872); Sat, 08 Mar 2025 16:52:03 +0000 Received: (at 76872) by debbugs.gnu.org; 8 Mar 2025 16:51:56 +0000 Received: from localhost ([127.0.0.1]:56404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqxP2-0002xJ-BC for submit@debbugs.gnu.org; Sat, 08 Mar 2025 11:51:56 -0500 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]:53425) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tqxOz-0002wx-A7 for 76872@debbugs.gnu.org; Sat, 08 Mar 2025 11:51:54 -0500 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6e86b92d3b0so22084866d6.2 for <76872@debbugs.gnu.org>; Sat, 08 Mar 2025 08:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1741452707; x=1742057507; 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=9q9qgbST6mhEPzK1jcAt/ouOMxF/an56VAN6vfX+KU4=; b=alfj8COf9UrJxPaPzc2q3SoR4mUzQFMpm7IcDeZbVJxOfit9Vrm8R1H/MLHppo2QH3 98+wUWv6Bu1Sn4VXzh/nnLIffxfz+HjA3Ouw34+6xd79K7Z1IHifSzlhyTYM17wTYjtn 1N4sjHvkUcsIM4mHMr+dsF5fiKeDjKPfdJEA4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741452707; x=1742057507; 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=9q9qgbST6mhEPzK1jcAt/ouOMxF/an56VAN6vfX+KU4=; b=TapA1yG+FlOzyLTvUYxb0SGHaSWuacwI5a0meOmDNyXCLstMz86TmkMs6QIYii05J+ ljY4U1Ceap73HBA3EMVKeljKKYMWdaUnUbX5pRnEir8dIYLybjIuQ2Cp4B0OxN3icVf3 GDuQUzaMd+tz9i6/imlRp+t+96se+AiKo16e/wvPtMHeZi9JJa3gQEgG7aQT+jxrFTku qLFesQIIrGh1/opRsSMddfh6hCErRTwxk0dIoIQ1Tgms3IOS32AZDBTV0H/Y6F2Xz39d SFImWROAfPOGtYGKDd5xl2cu5/VERhh0dXSAGx5H+6cu0JiNe4NZLhFyAdb8PEKY8dzd qASw== X-Gm-Message-State: AOJu0YwxDYoUkZ4viOv7bHqi76TaC1gtiQVxAJRj4+8kvgxFCEMEZ6PI ce8ItZt+No+45dcNTxpob6f4+e3DL1cILH9Fuw9N3zXqQDQUgO5Mu+FZGfSk+m/tCuBXMFRngC9 HeZS6A9bBjsnHJl+LDvJSwS/FhE0WLXmaSi4r894eaf9tcndGuPvz+PlAF1yuy+ZEfl/Kt5ols0 V+DKjGugFmblo5xQgSpUDfuaytr0p6vuaSrcVNY10= X-Gm-Gg: ASbGncumalDWo/RpTgwOaXvFgDh2xVY57CPrnTK/gPKwIJ98La78odBCLJ2R2E6U/RO F9JAyL+SQqM+H7sGveI++avGKKdYInsLfFTYT+67PhZjAYhluITPM1qLD9on9CzOTvWKPUTlqfL RRRkkfY9PpBQPVeTPBBPeGlBZIeLm4VVA6TF+4tK3Lj67aguFqsWBXhFMo+w9LTuDCj/UEYvMIZ iVMJrSn7ESdBlwdevdw/Q0oobB+U7Xb5ho4YU9yzrtAuqpLcC0zr0P06R46btuPOxJqNlqCG12c Sgnl9NyO3pFfVKu/zi5PvfiVK8xBiTRtDhYn+Z/mh3+5tbA2gUo/WOkUOGk6fOb+Lz++oCmCvZ7 J9KWqcxZjsBa1XtYaYtJ4nhrZ6hTL1mLFeoTcH/R1VbAnVw== X-Google-Smtp-Source: AGHT+IHy5T1VVhKljt/RNrlN+aRAkQfmbBDQUV3q8gOnZL52P6GoA4wrk6F668FNCuU6Xk8tRvnFSA== X-Received: by 2002:ad4:5767:0:b0:6e8:ef80:bcbc with SMTP id 6a1803df08f44-6e90060452bmr74011586d6.5.1741452707307; Sat, 08 Mar 2025 08:51:47 -0800 (PST) Received: from mobile-dev.fios-router.home (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e8f7090904sm32854306d6.28.2025.03.08.08.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Mar 2025 08:51:46 -0800 (PST) Date: Sat, 8 Mar 2025 11:50:50 -0500 Message-ID: <20250308165105.2398551-5-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250308165105.2398551-1-aaron.covrig.us@ieee.org> References: <20250308165105.2398551-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 efc5d2a4d6..eb019434f3 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")