From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mLUEMFc4X2QkFgEASxT56A (envelope-from ) for ; Sat, 13 May 2023 09:12:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yNYYL1c4X2RYdQAAG6o9tA (envelope-from ) for ; Sat, 13 May 2023 09:12:23 +0200 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 83C2F17F73 for ; Sat, 13 May 2023 09:12:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxjQC-0003fo-Lg; Sat, 13 May 2023 03:12:04 -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 1pxjQA-0003fS-MO for guix-patches@gnu.org; Sat, 13 May 2023 03:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxjQA-0002nb-AL for guix-patches@gnu.org; Sat, 13 May 2023 03:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxjQA-0002T9-5S for guix-patches@gnu.org; Sat, 13 May 2023 03:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63044] [PATCH] gnu: python-setuptools: Disable date checking in bdist_egg.py Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 May 2023 07:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63044 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brian Cully Cc: jgart , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 63044@debbugs.gnu.org Received: via spool by 63044-submit@debbugs.gnu.org id=B63044.16839619119475 (code B ref 63044); Sat, 13 May 2023 07:12:02 +0000 Received: (at 63044) by debbugs.gnu.org; 13 May 2023 07:11:51 +0000 Received: from localhost ([127.0.0.1]:35637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxjPz-0002Sk-6r for submit@debbugs.gnu.org; Sat, 13 May 2023 03:11:51 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:59000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxjPx-0002SW-O5 for 63044@debbugs.gnu.org; Sat, 13 May 2023 03:11:50 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4QJGyj2XYJz9sWJ; Sat, 13 May 2023 09:11:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1683961901; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DA69QZaXnaQj/OKSxwEmla1NZbCm9fXmzz5O1/n9d3g=; b=VmYDjzBskQdFT1qGJ1ZfWi78UDB9uPu3+TAtVk+SLpeHFcHn3NLe04upDNKiHc1LnfyyqC 7SMcZNS50fjkasSS1wkdzpEvGfp+rcHzx/66/CPgcJrMQx9DFbEVAUVBfsqElVfcHomhbH +tIfMx69Eszk+fsGP12xAk+/VHxHxnv7YgwGMxY3+D0Eh5UhTIdCmQjYO/dW2Pn3ZXlHbw HgcOE+w7hpVNburiM23dx0pGMXBh90cZSfk4wFEcwf6LyegqII5cdctiSlEH141d3Q+xEZ cTvRMGP0bTnAA+MgZpM/S5soHOrim2sxV+Ug2B93GtD26dHFUF2pmn9U8LLzlA== Date: Sat, 13 May 2023 09:11:38 +0200 From: Lars-Dominik Braun Message-ID: References: <87ildm3zf6.fsf@psyduck.jhoto.kublai.com> <87bkjd46wo.fsf@psyduck.jhoto.kublai.com> <87jzxtqf4m.fsf_-_@gnu.org> <87jzxskkpv.fsf@psyduck.jhoto.kublai.com> <87r0rxyydq.fsf@gnu.org> <87ild9oysd.fsf@psyduck.jhoto.kublai.com> <878re4q4z3.fsf@psyduck.jhoto.kublai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878re4q4z3.fsf@psyduck.jhoto.kublai.com> 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683961943; a=rsa-sha256; cv=none; b=YB/u5840dwvvAlZcwz8t5FudPs5Uwzpjhw/rY5pKU2S58bioMG6hYeuWEua/3pPNguhBnM fOtSWiY43xESvZIZcP/WDWKex5uFmxmhp78B70XE45P27kLSY/tTB6GX491atRV/rf28KX XUQC09FW/4uTEzjZ8gEJ1Ju9RILl0Y5mBZ4k0UpQ0/STdMdKtOkJqPmyD8IZ6UFhn6xLNz pjj/NorTNmbmlKkg0G/woTsw/dD9RB+x5jhggNIBL+/2M+dxZ2h8HT/liDZZTjy7CpDE/8 mEeMBEDg8xxJVtvpg7vhL3JNfzv8pTf8+G5y+ikz3S4VYnSAJ7vheaUq/PZe0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=VmYDjzBs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683961943; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=DA69QZaXnaQj/OKSxwEmla1NZbCm9fXmzz5O1/n9d3g=; b=GJs6wjQu35aB9lh8qlvGPBuEy8xuLxWs1bTR0hOwF5dX5vAlbZFzt3Mi6b+h/bzrWr0E98 beksizyOQ9xXvUo5NVuPMaD1811cnw8gfo4YnLeXCQOMclAq7LYg+nvV05wyjlGfgBTOnM cXW0uBGWl16fRHQna+NKB+mYrn5BtYM1ujMhWKF1hCZG6hc9JFFzgcZIibsSHv4KvNujeG bECTiiKUWKiN5JDQHylE4OWJCozXQtZWsWv1RiiNSC6w9JcxYzqBJMoDuYpQlkjwhbPmEm rSrsKlhW6F4A15MBxOP/w4CBq+BlGZQPWWTGvzGGb4dbpvaqLK/etgrJne9YiA== X-Migadu-Spam-Score: -2.68 X-Spam-Score: -2.68 X-Migadu-Queue-Id: 83C2F17F73 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=VmYDjzBs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); 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" X-TUID: 7CHXY3eXRgkH Hi, > --8<---------------cut here---------------start------------->8--- > diff --git a/guix/build/python-build-system.scm > b/guix/build/python-build-system.scm > index aa04664b25..1236ea62cd 100644 > --- a/guix/build/python-build-system.scm > +++ b/guix/build/python-build-system.scm > @@ -270,7 +270,8 @@ (define* (ensure-no-mtimes-pre-1980 #:rest _) > ;; timestamps before 1980. > (let ((early-1980 315619200)) ; 1980-01-02 UTC > (ftw "." (lambda (file stat flag) > - (unless (<= early-1980 (stat:mtime stat)) > + (unless (or (<= early-1980 (stat:mtime stat)) > + (eq? (stat:type stat) 'symlink)) > (utime file early-1980 early-1980)) > #t)))) > > --8<---------------cut here---------------end--------------->8--- I’m going to include this patch in the python-team branch. We’re looking at a massive rebuild due to #63139 anyways, as you said. In theory there’s nothing wrong with patching setuptools like this, but I’d like to avoid it, because that substitute* can just break silently in the future. Cheers, Lars