[gentoo-dev] Re: mtime preservation

2009-11-24 Thread Duncan
Brian Harring posted on Mon, 23 Nov 2009 15:19:00 -0800 as excerpted:

 Alternatively, we could simply make portage spawn the mv binary
 whenever rename fails (it fails when the source and destination are on
 different devices). Although it's relatively slow, it should solve the
 problem.
 
 Yeah... no.  Slowing down the main manager for a thereotical edge case
 doesn't seem particularly useful to me ;)

I say go for second resolution now, basically using the #1 proposal, and 
apply it to all eapis for the reasons zac outlined, but with a fixed 
effective date say 90 or 180 days out from the council resolution to give 
PMs time to come into compliance.  To try for nanosecond resolution now 
is simply letting the complex perfect be the enemy of the simple good, 
when what we have at present is the no-good.

Then make a donsmtimes like the #2 proposal, that individual ebuilds can 
call for specific paths if it's really necessary.  It's more work for the 
ebuilder, but that's in relative measure to the slowdown it'll cause on 
two out of three PMs including our core PM, so a bit of discouragement 
from using it could be considered a good thing, tho it would be there, if 
required.

If at some point in the future ns resolution becomes a much bigger issue 
and many ebuilds are using the donsmtimes call, there's nothing stopping 
us from looking at further tightening up the requirements for the general 
case, probably as part of an eapi, then.

-- 
Duncan - List replies preferred.   No HTML msgs.
Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman




[gentoo-dev] QA last rites for app-forensics/airt

2009-11-24 Thread Diego E . Pettenò

# Diego E. Pettenò flamee...@gentoo.org (24 Nov 2009)
#  on behalf of QA team
#
# Fails to build, bug #227571 open since June 2008.
#
# Removal on 2010-01-23
app-forensics/airt



Re: [gentoo-dev] Bugzilla testers wanted - Email send to: no one issue

2009-11-24 Thread Jeremy Olexa

On Sun, 15 Nov 2009 22:09:23 -0500, Mike Frysinger vap...@gentoo.org
wrote:
 On Tuesday 03 November 2009 13:33:55 Christian Ruppert wrote:
 Dear gentoo-dev subscriber,
 
 as some of you might have been noticed, we're having some trouble with
 Bugzilla's mail notification.
 In some cases you might see something like Email sent to: no one [1]
 where it was not supposed to happen.
 
 We're not able to reproduce this issue so we would be glad if you guys
 could help us with that.
 Go and file some bugs with Product=Bugzilla and Component=Bugstest.
 Also try on different nodes [2], [3] or [4].
 
 So we need steps to reproduce it.
 If you got something email[5] us or contact us via IRC (Nicks: robbat2
 or idl0r).
 
 funny enough, this seems to have gotten a lot worse since you posted
this 
 heads up.  i'm noticing plenty of missed initial notifications now.
 -mike

I too was seeing this at a frequency that was noticeable. In the past week
(or more), there has not been any missed emails that I have seen. Did
something get changed to fix this issue? Or are we still guessing?

-Jeremy



Re: [gentoo-dev] mtime preservation

2009-11-24 Thread Ciaran McCreesh
On Mon, 23 Nov 2009 15:19:00 -0800
Brian Harring ferri...@gmail.com wrote:
 Someone mind explaining to me why we're making mtime preservation so 
 nasty?  Having to enumerate every pathway that requires mtime 
 preservation is pretty arduous for the ebuild dev, meaning it's 
 unlikely they'll get it right, leading to bugs.

It's not in the least bit nasty. It's requiring people to be explicit
about special requirements.

 The thing I'm not understanding here is that pkgcore since day one
 has preserved mtime- I've yet to see any complaints about that nor
 any issues caused by it.  Portage shifted over a year or two back,
 same thing, haven't heard complaints.

You can't have been listening very hard, then. The complaint is that it
results in files with dumb mtimes being merged to /.

 I know it won't fly, but realistically stating the package manager 
 must preserve mtime- if there are instances where it does not (due to 
 some feature, perhaps splitdebug or some form of compression) it is 
 the package managers responsibility to ensure this does not break the 
 ebuilds resultant merge/runtime invocation.
 
 Via such wording an exemption is created and it's made clear it's the 
 managers responsibility to keep things playing nice... if the manager 
 can't do that, then the feature/functionality that is changing the 
 mtime (resulting in the pkg on disk failing) must be fixed or 
 disabled.
 
 The nice thing about this wording is that it basically matches what 
 the case is now, and what has worked for quite a few years.

Wording such as that just isn't suitable for a specification. It
requires implementers to guess what future ebuilds are going to
rely upon (and ebuilds regularly do rely upon weird quirks), and makes
it impossible to produce a package manager that can be shown to be
compliant.

  In both cases nanosecond resolution may be required and is a problem
  due to python. The following workaround can be used until the
  nanosecond issue is fixed in python:
 
 It'd be nice if someone enumerated merge scenarios where nanosecond 
 resolution is actually required.  Seems like a white elephant to me, 
 especially in combination w/ the fact that the target fs may not 
 support nanosecond.

POSIX considers several of the non-nanosecond resolution calls to be
deprecated. Going la la la I can't hear you! because Python happens
to have utterly screwed this up is just going to lead to problems when
programs start using sub-second validity checks -- 'make' already does,
and it's given rise to various build-directory-related issues.

 Basically, if it's required the manager support nanosecond resolution 
 for merging, ebuilds must be able to rely on that- end result, any 
 merging to FS's that do not support nanosecond (this includes the 
 intermediate ${D}) are no longer supported.  Unless I'm missing 
 something, iso-9660 doesn't look to support nanosecond resolution.  
 Beyond that, does cramfs/squashfs?  If not, taking this to the 
 logical conclusion the livecds aren't technically supported as a
 merge environment.

No, we're after a requirement that the package manager must not screw up
nanosecond-resolution timestamps, and must not partially preserve and
partially not preserve them.

  Alternatively, we could simply make portage spawn the mv binary
  whenever rename fails (it fails when the source and destination are
  on different devices). Although it's relatively slow, it should
  solve the problem.
 
 Yeah... no.  Slowing down the main manager for a thereotical edge
 case doesn't seem particularly useful to me ;)

...or you could just fix Python.

-- 
Ciaran McCreesh


signature.asc
Description: PGP signature