From unknown Fri Jun 20 19:52:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71361 <71361@debbugs.gnu.org> To: bug#71361 <71361@debbugs.gnu.org> Subject: Status: [PATCH] gnu: rust-dns-lookup-2: fix package test. Reply-To: bug#71361 <71361@debbugs.gnu.org> Date: Sat, 21 Jun 2025 02:52:46 +0000 retitle 71361 [PATCH] gnu: rust-dns-lookup-2: fix package test. reassign 71361 guix-patches submitter 71361 picnoir@alternativebit.fr severity 71361 normal tag 71361 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 04 08:13:14 2024 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: rust-dns-lookup-2: fix package test. 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 X-Debbugs-Cc: Efraim Flashner 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-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 10 16:16:01 2024 Received: (at 71361-done) by debbugs.gnu.org; 10 Jun 2024 20:16:01 +0000 Received: from localhost ([127.0.0.1]:57181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGlQu-0006Lt-Ps for submit@debbugs.gnu.org; Mon, 10 Jun 2024 16:16:01 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGlQs-0006Fp-HZ for 71361-done@debbugs.gnu.org; Mon, 10 Jun 2024 16:15:59 -0400 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id 1E73827BBEE; Mon, 10 Jun 2024 11:10:21 +0100 (BST) Received: from felis (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id bab3089f; Mon, 10 Jun 2024 10:10:20 +0000 (UTC) From: Christopher Baines To: picnoir@alternativebit.fr Subject: Re: [bug#71361] [PATCH] gnu: rust-dns-lookup-2: fix package test. In-Reply-To: <427adbf62708384449eb6bb900009de62d9bfd0b.1717502815.git.picnoir@alternativebit.fr> (picnoir@alternativebit.fr's message of "Tue, 4 Jun 2024 14:06:56 +0200") References: <427adbf62708384449eb6bb900009de62d9bfd0b.1717502815.git.picnoir@alternativebit.fr> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Mon, 10 Jun 2024 11:10:20 +0100 Message-ID: <87sexlyupf.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71361-done Cc: 71361-done@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain picnoir@alternativebit.fr writes: > 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(-) Thanks! I've pushed this to master as 7b0970fb4386726519204b74230b563ad060741b. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmZm0QxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcSmBAAg1h3cPsMt8ezAfKyRHqhJqQtOprmzI30 X1AgP4um7LoP73xCRUuvxPOYldNOV9NUxLGleg3m0RtwpgB7FFfH53h4rdC2tfYR 85rJ+B3aThZL+80txhL5Cm3E6wh/7D3B34tre7N4cHzTUw3XPc++yZ0U198ih/h3 5ivtEiRG6mxLPmeexna4lU5G6nPTN92Sgs8S5XKv7xZpuB1ZJPcD7JhOEjKy/88N WBaoZpxn1jQ9iWF3QRrgPXhstyUStHS5paAeQDqjdzC+yE07gDk5biEUI023TuR9 CQ0G8qc+SMuxAjoYLua7HCHWUgsR/CQaR/1uBfnCGcI/yszyoKQQsuuq1LczKJG3 tmkE1XsEELdzHyCwTcVsmmuewhzRqm04MX4C+F9n6G2KOwvcnDD82/bUt07hknUH q9Jre3PNvUhSqSZOcOVWqK4OjNtkVp8y2qO9A696lNZgEgZiBC7FiwTb1x9wSQvT rTzF1RCPFCV6y1QtCMHL1Ueo4PMirDdgNq4AnWmIbqxO7MF6PHmvmmlodFDCK6Px oo9EgdnEEdLhbNU7BYB3SR2GG/IGK/pkTUbAi81Mna+b3Ywprq7aM1lRkKAIiKV8 704M3V03PhqYCgni2Ah5daAsSgLbD/Q+mfMmWbAiCF2lmcIav48uXCB9X/LyRH1z qurNDzTx3Yo= =CixJ -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 19:52:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Jul 2024 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator