From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iIsUI1e24WYyfQAAqHPOHw:P1 (envelope-from ) for ; Wed, 11 Sep 2024 15:25:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iIsUI1e24WYyfQAAqHPOHw (envelope-from ) for ; Wed, 11 Sep 2024 17:25:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=id93A817; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=mPqR8wTW; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726068311; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=0jfT1K7g7hhKgZWX2mZsUSwr/TgbGNzZfQlFOg8hb8o=; b=KGOnSmI7km4FOXrGT/Ebxl/fCdRtjgW8sZgStROGcUzfHEMdSzAAm0Oq2MmeNZxwKwT2Qc Lr+8DpZFdC3wcql2rmxlFUIoQ9HKLIER/EqaxE6t1qru5AgUu0rxUGNgwOA2xK1l1uzLwt to7QdzgEWmlb2RcTcguSO/ecHRjyawQGEIIgkL49lwM4IJOQzyKR1efKcSyfhCXrop8mx8 rHJBT+alTTpJF5Sh3hXnKYsRLUHK92MyPgWE/jhK8JRXVouZp7OCuDf84ASlIasVo5aRM+ 4bWlRUJ10v8TuMqaYtKMX7mg+ukmVD+lUdxPlzQ1FQul75MxIS9KA/NIWtDD8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=id93A817; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=mPqR8wTW; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726068311; a=rsa-sha256; cv=none; b=ZIM5Jv3JdvkJV105gWj2hLmUJ3k5eErkqIgh043D8zCxenTOAgBsx+D/4zCjiQYKGZIlGG EcU1DndoHibY6pknuzkaOTZQIETU2UpKSy/dZ+QOWQIyFbGQhN/Hw6POcyYlGOGhmEMLg3 UuxWOdmpsXRj6vNcPSNhRFAmUQt6bJRNyiKQbEUARtWuytITeZOSdmo6Og9+ahUA42SkzZ OkeyRYTW7MIfs/baSrkiJT9K88mUR9PQMz/d8TP1fIG8sz6K9ZH36zLt0ijFjiWU38VTDK GEg8jr0vqoM1zgwUKvkjG6CCapPWh6C56+J9caB3IW7pEKzpncR5fvxNUQkmuw== 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 3971431C65 for ; Wed, 11 Sep 2024 17:25:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soP9T-00052f-8g; Wed, 11 Sep 2024 11:21:07 -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 1so9Tk-0002ib-Lb for bug-guix@gnu.org; Tue, 10 Sep 2024 18:36:56 -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 1so9Tk-000146-CR for bug-guix@gnu.org; Tue, 10 Sep 2024 18:36:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:In-Reply-To:References:Subject; bh=0jfT1K7g7hhKgZWX2mZsUSwr/TgbGNzZfQlFOg8hb8o=; b=id93A817BQYbhoaB1RlO/lnmwrbZzzl15uTqWJzjHdiHNzpu1U860IiZXFw0WI+61Uoir2rbjPteYFHYpL0jaMZHjWmUjxRvUn983ol8FA87ghgKsmqa7K22WRun98JBAh8FZCA9y96kkvTiNiyxDx1t2xUuh8UU/CsK6zvDykJd6NN/0uzKYny5R+l2xOWUSLLznGMWp9VNaeZL5VVWw/fjBfPGsrItifNrNLOtNFXbXkoE928ipXYDmLt4c1YTkrgXvzOtghn6tFWsvAx+Ds0FKvskvCs3pkxhxdLD0SvdEWuKolD9OKHqzEcL8d4IoDYhBaXHaucKVFHDFlNS3Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1so9Tp-00076o-RB for bug-guix@gnu.org; Tue, 10 Sep 2024 18:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73155: [PATCH] gnu: ruby-net-smtp: Fix tests References: In-Reply-To: Resent-From: Javier Olaechea Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Sep 2024 22:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73155 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73155@debbugs.gnu.org Received: via spool by 73155-submit@debbugs.gnu.org id=B73155.172600779027287 (code B ref 73155); Tue, 10 Sep 2024 22:37:01 +0000 Received: (at 73155) by debbugs.gnu.org; 10 Sep 2024 22:36:30 +0000 Received: from localhost ([127.0.0.1]:37125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so9TJ-000763-T1 for submit@debbugs.gnu.org; Tue, 10 Sep 2024 18:36:30 -0400 Received: from mail-yw1-f181.google.com ([209.85.128.181]:52542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so9TI-00075q-8V for 73155@debbugs.gnu.org; Tue, 10 Sep 2024 18:36:28 -0400 Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-6d3f017f80eso53668977b3.1 for <73155@debbugs.gnu.org>; Tue, 10 Sep 2024 15:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726007717; x=1726612517; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=B/N0l8JhOQIaZYl/4uRkvLXTHdwpYM41Z2ppMpZ/tvI=; b=mPqR8wTWGyh27HbRrFGco93sJ4H4RfeOYZZL/rziCx15+LE+AsR7fsUvqi94Q2oB/V JlbhEVhaN9pd+9vDJWbJwGeuCcCfL+H6Z6YF5Csy4y/jHwO9N6iJ0Hv2mgtY1sXYPCpJ p9sQAxN6lANyibrOOezHIackNSY7udxeJrROh+AFVSk2kHAdS7I+sM9FKCrsDI6sSI9u yWixcevrJlYpfmSSALG1HdUVecRsoQRBLbube+udTGSd3fcYwjHjC095jtFHf9o4Xol/ CR+zgp6OKlNa1Bz8fT1Om3VBQDDvpiHWIzKqwEzWrQ5hIdTtpBEt2+H6lUB0lBbBlAw8 ZrGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726007717; x=1726612517; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=B/N0l8JhOQIaZYl/4uRkvLXTHdwpYM41Z2ppMpZ/tvI=; b=f7LhfYThAgcMts2jOtjbGv5f8s5+vklfl9ZCfUmEXhOADqlnNQ5SNutuX/C8FmYbzn Dsw8sfj4Zk8ySdnv8A6DiV4IGYw6+x93H0165IDFDMBpMsHCgKvfQ5KKh/cvVjZUEwBy KHeZz34bYnpAx4MulIsCmc8AG4xZ65afNoRHbEEgM1+Z4Vz7xBntptlLyfZv7ngcN6x2 yBqy6cgj2cM/mq6eppXnHD5QiLsNXZ8xpxyuTRjO1RjmvodmkwQx/BWZpNZn6zQWCv9I ui5VptbjzG4EG5h4JyuGc/Y/NCzXJ4wYIulsKxYqMLm0OzZQQYKIkycDQgi4/95Rqnlg 1nVQ== X-Gm-Message-State: AOJu0YyxTyFsodHey18ZGMr9wMqikw9mS4HtRjL5Hl2MC+f5RL6REpAj O87/emIVOn5k2pqDLcxzh/oeiyXkqI09DOSBct4HYHCSF3rpb/14hn6rZdGWZSl2YJcxEhL1GJI V9XAbxEW44dlzasyL4YhKCjkU/Sh/Yg== X-Google-Smtp-Source: AGHT+IFQoAnecZUsSWVvSH2LBZEIb/Yq0zPOzVXO3tLJJyLEZHg4g4IjQSfgzTMOQ+IxRIsHZG6sMSNQblF5En/By8o= X-Received: by 2002:a05:690c:2c85:b0:672:e88b:6d0a with SMTP id 00721157ae682-6db45167749mr135860417b3.43.1726007716710; Tue, 10 Sep 2024 15:35:16 -0700 (PDT) MIME-Version: 1.0 From: Javier Olaechea Date: Tue, 10 Sep 2024 22:35:05 +0000 Message-ID: Content-Type: multipart/mixed; boundary="000000000000d5b0000621cb7c92" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 11 Sep 2024 11:20:24 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.42 X-Migadu-Queue-Id: 3971431C65 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.42 X-TUID: PsH0nt3hyYt9 --000000000000d5b0000621cb7c92 Content-Type: multipart/alternative; boundary="000000000000d5affe0621cb7c90" --000000000000d5affe0621cb7c90 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attached is a patch to fix the build by regenerating the certificates. Note that a Makefile to update the certificates was introduced in the version that updated the certificates. In those versions we can simplify the before-check hook to be: (with-directory "test/net/fixtures" (invoke "make" "regen_certificates")) Another question, we are packaging a ~2 year old version. When updating the version, should we drop the before-check lambda? Or should we keep it in case someone wants to build ruby-net-smtp in the year 2034? Cheers --=20 "I object to doing things that computers can do." =E2=80=94 Olin Shivers --000000000000d5affe0621cb7c90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Attached is a patch to fix the build by regenerating = the certificates. Note that a Makefile to update the certificates was intro= duced in the version that updated the certificates. In those versions we ca= n simplify the before-check hook to be:

(with-= directory "test/net/fixtures"
=C2=A0 (invoke "= make" "regen_certificates"))

Anothe= r question, we are packaging a ~2 year old version. When updating the versi= on, should we drop the before-check lambda? Or should we keep it in case so= meone wants to build ruby-net-smtp in the year 2034?

Cheers
--
"I object to doing things that computers can do." =E2= =80=94 Olin Shivers
--000000000000d5affe0621cb7c90-- --000000000000d5b0000621cb7c92 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-gnu-ruby-net-smtp-Fix-tests.patch" Content-Disposition: attachment; filename="0001-gnu-ruby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mVjdG9yeSB3ZSBjb3VsZAorICAgICAgICAgICA7OyBkbyAod2l0aC1k aXJlY3RvcnktZXhjdXJzaW9uICJ0ZXN0L25ldC9maXh0dXJlcyIgKGludm9rZSAibWFrZSIKKyAg ICAgICAgICAgOzsgInJlZ2VuX2NlcnRzIikuIEhvd2V2ZXIgdGhlIGNlcnRpZmljYXRlIGlzIGV4 cGlyZWQgdmVyc2lvbnMgYmVmb3JlIDAuNS4wIGFzIHdlbGwuCisgICAgICAgICAgIChsYW1iZGEg XworICAgICAgICAgICAgICh3aXRoLWRpcmVjdG9yeS1leGN1cnNpb24gInRlc3QvbmV0L2ZpeHR1 cmVzIgorICAgICAgICAgICAgICAgKGludm9rZSAib3BlbnNzbCIgInJlcSIgIi1uZXciICIta2V5 IiAic2VydmVyLmtleSIgIi1vdXQiICJzZXJ2ZXIuY3NyIiAiLXN1YmoiCisgICAgICAgICAgICAg ICAgICAgICAgICIvQz1KUC9TVD1TaGltYW5lL089UnVieSBDb3JlIFRlYW0vT1U9UnVieSBUZXN0 L0NOPWxvY2FsaG9zdCIpCisgICAgICAgICAgICAgICAoaW52b2tlICJvcGVuc3NsIiAicmVxIiAi LW5ldyIgIi14NTA5IiAiLWRheXMiICIzNjUwIiAiLWtleSIgInNlcnZlci5rZXkiICItb3V0IiAi Y2FjZXJ0LnBlbSIgIi1zdWJqIgorICAgICAgICAgICAgICAgICAgICAgICAiL0M9SlAvU1Q9U2hp bWFuZS9MPU1hdHotZSBjaXR5L089UnVieSBDb3JlIFRlYW0vQ049UnVieSBUZXN0IENBL2VtYWls QWRkcmVzcz1zZWN1cml0eUBydWJ5LWxhbmcub3JnIikKKyAgICAgICAgICAgICAgIChpbnZva2Ug Im9wZW5zc2wiICJ4NTA5IiAiLWRheXMiICIzNjUwIiAiLUNBIiAiY2FjZXJ0LnBlbSIgIi1DQWtl eSIKKyAgICAgICAgICAgICAgICAgICAgICAgInNlcnZlci5rZXkiICItc2V0X3NlcmlhbCIgIjAw IiAiLWluIiAic2VydmVyLmNzciIgIi1yZXEiICItb3V0IiAic2VydmVyLmNydCIpCisgICAgICAg ICAgICAgICAoaW52b2tlICJybSIgInNlcnZlci5jc3IiKSkKKykpKSkpCisgICAgKGlucHV0cyAo bGlzdCBvcGVuc3NsKSkKICAgICAocHJvcGFnYXRlZC1pbnB1dHMgKGxpc3QgcnVieS1uZXQtcHJv dG9jb2wpKQogICAgIChzeW5vcHNpcyAiU2ltcGxlIE1haWwgVHJhbnNmZXIgUHJvdG9jb2wgY2xp ZW50IGxpYnJhcnkgZm9yIFJ1YnkiKQogICAgIChkZXNjcmlwdGlvbiAiVGhpcyBsaWJyYXJ5IHBy b3ZpZGVzIGZ1bmN0aW9uYWxpdHkgdG8gc2VuZCBJbnRlcm5ldCBtYWlsCgpiYXNlLWNvbW1pdDog N2YwNWI3M2Q5MGY3NDBjNmExMzlmMGU3MDZiNzE3ZDMxNzRmNjMyMQotLSAKMi40NS4yCgo= --000000000000d5b0000621cb7c92--