GNU bug report logs -
#63044
[PATCH] gnu: python-setuptools: Disable date checking in bdist_egg.py
Previous Next
Full log
View this message in rfc822 format
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
This bug report was last modified 2 years and 36 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.