From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id gPyFKiAFX2aUPQAAA41jLg (envelope-from ) for ; Tue, 04 Jun 2024 14:14:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IFdTJiAFX2ayqgAA62LTzQ (envelope-from ) for ; Tue, 04 Jun 2024 14:14:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=alternativebit.fr header.s=gm1 header.b=JOAlQGvm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717503264; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ThoZnYE+mjeNmPKKu+fidvMEGd4WSpQqFca/uYIIooA=; b=XHgRuuRAVWKXjAzH0fM54FnyZPgmRf/WqB6CZmpXAV4KRHA00YR2ocP+2ruljgK8Dhj+pW y1ntc4tIWAz9JIxpqMJLwqRRaJTSaf/BgWTyQTb3lbtDiwWW0LCydjp2T+n/aSEfKU49oh nAYjXmVx8RvPQ1pqPmhW9PPF5RfFm/UfY6gFgRnah7DJSiS1tecrUo9hpsuvyAQhRGKYml Dds2DVAs7DffsNXuTpUag9521vaeoNw4Rc5R58+Abt+T/beT2zTvrmY0DBsPv1WqG4jH+h IxXj+5tAZEDpfMjY2c9EFpJoGOf2oFEwHpMyHU9FtAUjQK4jKfVmtfWBwoqNCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=alternativebit.fr header.s=gm1 header.b=JOAlQGvm; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717503264; a=rsa-sha256; cv=none; b=haW+js15YLeChjHHCUwtvA8Raq4njPc1KHm14skSOEU+cKzSD2+NdNztpyOQ2+u9eh85fO IjQZFrVbv7oWDQV5faMA8I+wqz5PLQBmj/UVvJPFYhAFMFdSHjvYeJpI7ccuuxplP7Bzuc 9HVBVCzWfF+brsmnDYRi2K+A+n4+rXX7J9IuettNEDcPVMEaaFzzd05Jwy7/rKMz63o/5t e6CYGY0FfJE686RXssSyePnDMWmgSL6/Tzib3h5Ho5mLLR3rv9Zwk1atazVqA7XgrOCeOf 91dSXR9nR82Z2MbEpALurZTO67M27HNH71bOPxOx2F4wlBRUGxYWOLEhzGE1UA== 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 3781166ADB for ; Tue, 4 Jun 2024 14:14:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sET32-0003Kz-0k; Tue, 04 Jun 2024 08:13:52 -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 1sET30-0003KT-0q for guix-patches@gnu.org; Tue, 04 Jun 2024 08:13:50 -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 1sET2z-0006eg-Om for guix-patches@gnu.org; Tue, 04 Jun 2024 08:13:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sET3C-0006yI-DI; Tue, 04 Jun 2024 08:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71361] [PATCH] gnu: rust-dns-lookup-2: fix package test. Resent-From: picnoir@alternativebit.fr Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 04 Jun 2024 12:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71361 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71361@debbugs.gnu.org Cc: Picnoir , Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by submit@debbugs.gnu.org id=B.171750319426659 (code B ref -1); Tue, 04 Jun 2024 12:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jun 2024 12:13:14 +0000 Received: from localhost ([127.0.0.1]:44389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sET2M-0006vl-16 for submit@debbugs.gnu.org; Tue, 04 Jun 2024 08:13:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:36194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <*@alternativebit.fr>) id 1sET2G-0006vX-HY for submit@debbugs.gnu.org; Tue, 04 Jun 2024 08:13:08 -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 <*@alternativebit.fr>) id 1sET22-00037K-4k for guix-patches@gnu.org; Tue, 04 Jun 2024 08:12:50 -0400 Received: from mslow1.mail.gandi.net ([217.70.178.240]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <*@alternativebit.fr>) id 1sET1v-0006SL-HO for guix-patches@gnu.org; Tue, 04 Jun 2024 08:12:48 -0400 Received: from relay3-d.mail.gandi.net (unknown [217.70.183.195]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 5E4DEC3F26 for ; Tue, 4 Jun 2024 12:08:11 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id DA25B60003; Tue, 4 Jun 2024 12:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr; s=gm1; t=1717502884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ThoZnYE+mjeNmPKKu+fidvMEGd4WSpQqFca/uYIIooA=; b=JOAlQGvm9PIgVZDqC7HVK7NOCGaIAdGOJDf+E1kd7FzYJZq2j7gcRZTIKSRVyKE3h7K01L BSYXiKiLkv14002X5+xkpqXDzsI0PU9zF22UfN21WkJ4fjRxndctCSgkGeH+xRTQ+5paJ6 k/YoRoeZP8qcWTMyCrJj39YC8PEfxYow9w6y3yvajoLgfikH4tdHEGZQk7F29kPBwjgBQY PdHTwTAETthRZmgeW3NEUhMGIxGqrNNGLNCxrryl7GBWG/gMwD9T8Rll/YvoX42e6SUGIQ vWy2zyzF/g4kRRqFOD0AmEno8ShpjPt0FzDAvJxvFwNtg0wxm8f6x+3S2EQ/Mw== From: picnoir@alternativebit.fr Date: Tue, 4 Jun 2024 14:06:56 +0200 Message-ID: <427adbf62708384449eb6bb900009de62d9bfd0b.1717502815.git.picnoir@alternativebit.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr Received-SPF: pass client-ip=217.70.178.240; envelope-from=*@alternativebit.fr; helo=mslow1.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.24 X-Spam-Score: -1.24 X-Migadu-Queue-Id: 3781166ADB X-Migadu-Scanner: mx13.migadu.com X-TUID: HYWWvUpekGA1 From: Picnoir * gnu/packages/crates-io.scm (rust-dns-lookup-2): this package was introduced in abfef465b2b2353610cbff2caefee679566978f7 as a dependency for Nsncd. We can build Nsncd just fine, but building explicitely this package is failing. The issue comes from two tests making assumption about domain name resolution. The Guix build sandbox breaks these assumptions, preventing the test suite to succeed. Fixing this by disabling the faulty tests. Change-Id: Idc42822d8cd72e83e9ea973820b5073ff87ad4d4 --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47c280e79f..5c9bc4c525 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19955,7 +19955,12 @@ (define-public rust-dns-lookup-2 (base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + `(#:cargo-test-flags + '("--" + ;; the builder sandbox breaks getaddrinfo, failing two tests. + "--skip=nameinfo::test_getnameinfo" + "--skip=src/lib.rs") + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) ("rust-socket2" ,rust-socket2-0.5) ("rust-windows-sys" ,rust-windows-sys-0.48)))) base-commit: 5d3edff1a604414a3c42b89fcbc007e9d573993d -- 2.41.0