Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-council
Navigation:
Lists: gentoo-council: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Denis Dupeyron <calchan@g.o>
From: Ulrich Mueller <ulm@g.o>
Subject: Re: Re: mtime preservation
Date: Mon, 9 Nov 2009 17:36:39 +0100
>>>>> On Mon, 9 Nov 2009, Denis Dupeyron wrote:

> Let the clueless dev that I am summarize the situation. Please
> correct me if I'm wrong, I think that will help more people than
> just me. In the end I'll propose 2 wordings for PMS.

> I understand that the issue with requiring mtime preservation is
> that after unpacking the tarball(s) some files can have absurd
> dates, like January 1st 1970 or else. One easy solution to this
> would be to reset mtimes at merge time which will take care of
> everything. However, I know of a package which requires mtime
> preservation from src_compile to the moment it's merged to ${ROOT}.

Which package? sci-electronics/ghdl?

> And if there's a package like this in my very small corner of Gentoo
> there must be more elsewhere, and there probably will be more in the
> future.

The "absurd dates" issue would have been addressed by option B in
<http://bugs.gentoo.org/264130#c26>. This was up for vote at the last
council meeting, but wasn't chosen.

> So here are the 2 wordings I propose.

> 1 - All mtimes from the package's sources are preserved until files
> are merged to ${ROOT}. In case some mtimes are absurd and/or
> unsuitable, they're considered a bug and it's the maintainer's
> responsibility to fix them and report back upstream.

> 2 - All mtimes from the package's sources are reset to current time
> between the src_unpack phase and the next one. That is before
> src_configure when EAPI<2 and before src_prepare when EAPI>=2.
> mtimes are then preserved until files are merged to ${ROOT}.

> How's that? Am I missing something?

Hm, the idea was something like wording 1, but more details should be
added since there are also files that are modified by Portage (e.g.
binaries being stripped).

Ulrich


Replies:
Re: Re: mtime preservation
-- Denis Dupeyron
References:
Agenda (draft) for November meeting 2009-11-09
-- Ulrich Mueller
Re: Agenda (draft) for November meeting 2009-11-09
-- Ciaran McCreesh
mtime preservation (was: Agenda (draft) for November meeting 2009-11-09)
-- Ulrich Mueller
Re: mtime preservation (was: Agenda (draft) for November meeting 2009-11-09)
-- Ciaran McCreesh
Re: mtime preservation
-- Ulrich Mueller
Re: Re: mtime preservation
-- Ciaran McCreesh
Re: Re: mtime preservation
-- Denis Dupeyron
Navigation:
Lists: gentoo-council: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: mtime preservation
Next by thread:
Re: Re: mtime preservation
Previous by date:
Re: Re: mtime preservation
Next by date:
Re: Re: mtime preservation


Updated Nov 13, 2011

Summary: Archive of the gentoo-council mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.