Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-27 Thread Daniel Macks
On Sat, Feb 25, 2006 at 06:48:21AM -0800, David R. Morrison wrote: > > There is a deeper issue here which perhaps we need to resolve: when > is it appropriate for a dependency to say (= %v-%r) and when should > it say (>= %v-%r)? > > My first take on this is that among splitoffs of a given pa

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-27 Thread David R. Morrison
On Feb 25, 2006, at 2:16 PM, Dave Vasilevsky wrote: On Feb 25, 2006, at 4:07 PM, David R. Morrison wrote: So its only because we don't have a deb for (old) gettext-tools? If I built the old gettext-tools first it would be OK? Gah, I've been getting things wrong. Lemme see if I can get thi

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread Dave Vasilevsky
On Feb 25, 2006, at 4:07 PM, David R. Morrison wrote: So its only because we don't have a deb for (old) gettext-tools? If I built the old gettext-tools first it would be OK? Gah, I've been getting things wrong. Lemme see if I can get this straight. We have these packages in stable: gette

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 25, 2006, at 1:00 PM, Dave Vasilevsky wrote: On Feb 25, 2006, at 3:28 PM, David R. Morrison wrote: To explain: after the update, gettext (which really means gettext- shlibs but for historical reasons is called gettext) and gettext- dev are in one package, which is really just a legacy

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread Dave Vasilevsky
On Feb 25, 2006, at 3:28 PM, David R. Morrison wrote: To explain: after the update, gettext (which really means gettext- shlibs but for historical reasons is called gettext) and gettext- dev are in one package, which is really just a legacy package for the old version of the library. The lib

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 25, 2006, at 9:38 AM, Dave Vasilevsky wrote: The problem with gettext is that when you build and install libgettext3-shlibs, the new gettext-tools hasn't been built yet! Even though SysState *wants* to upgrade them as a unit, it can't do so until it has .debs for all of them. The mo

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread Dave Vasilevsky
On Feb 25, 2006, at 11:23 AM, David R. Morrison wrote: 2. Even if we don't tell dpkg to install both at once, the SysState algorithm will figure things out in the simple cases, when upgrading the depender fixes things. For example, say you have foo-shlibs-1.0-1 and foo-dev-1.0-1 installed wi

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread Michèle Garoche
Le 25 févr. 2006 à 17:23, David R. Morrison a écrit : On Feb 25, 2006, at 8:14 AM, Dave Vasilevsky wrote: On Feb 25, 2006, at 9:48 AM, David R. Morrison wrote: However, there are some pairs of packages (dclib0 and valknut come to mind) which have been set up so that one depends on a pre

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 25, 2006, at 8:14 AM, Dave Vasilevsky wrote: On Feb 25, 2006, at 9:48 AM, David R. Morrison wrote: However, there are some pairs of packages (dclib0 and valknut come to mind) which have been set up so that one depends on a precise version of another. It seems to me that these would

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread Dave Vasilevsky
On Feb 25, 2006, at 9:48 AM, David R. Morrison wrote: However, there are some pairs of packages (dclib0 and valknut come to mind) which have been set up so that one depends on a precise version of another. It seems to me that these would be completely impossible to update with the strict c

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 25, 2006, at 6:40 AM, Dave Vasilevsky wrote: Alright, here's the reason SysState exists, and why it gives an error. Dpkg has a reasonably serious bug in it: when a package is upgraded, dpkg doesn't check to see if there are any versioned dependencies that have become invalid. This

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 25, 2006, at 5:24 AM, David R. Morrison wrote: The situation is this: foo and bar are initially splitoffs in the same package, and foo depends on a specific version of bar. But in the revision, foo and bar are in different packages. Due to dependencies, fink updates bar before foo

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 25, 2006, at 6:40 AM, Dave Vasilevsky wrote: Alright, here's the reason SysState exists, and why it gives an error. Dpkg has a reasonably serious bug in it: when a package is upgraded, dpkg doesn't check to see if there are any versioned dependencies that have become invalid. This

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 25, 2006, at 4:55 AM, David R. Morrison wrote: Well, upon further investigation this is a very curious story. If I repeat the same steps as Michèle, but starting by bootstrapping from branch_0_24, then the update goes OK. But if the bootstrap is from HEAD, the update fails. The e

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread Dave Vasilevsky
Alright, here's the reason SysState exists, and why it gives an error. Dpkg has a reasonably serious bug in it: when a package is upgraded, dpkg doesn't check to see if there are any versioned dependencies that have become invalid. This has yet to be fixed upstream, here's one of the seve

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread David R. Morrison
On Feb 24, 2006, at 3:00 AM, Michèle Garoche wrote: Just for the record if it matters. I've bootstrapped from HEAD in a new empty directory; bootstrapped was fine: it installed gettext and its dependencies at version 0.10.40-19 on stable branch. Then I've switched to unstable, removing s

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-25 Thread Martin Costabel
David R. Morrison wrote: [] One possible fix for this would be to have a mechanism to recognize that a group of packages need to be updated together, and that Fink::SysState should not be expected to give a consistent answer until they have all been updated. I'm not sure how to do this, howeve

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-24 Thread Michèle Garoche
Le 24 févr. 2006 à 16:49, Chris Zubrzycki a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 24, 2006, at 10:27 AM, David R. Morrison wrote: Hi Michèle. I've seen things like this before. This kind of upgrade issue is exactly why I haven't moved libgettext3 to stable. We ne

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-24 Thread Michèle Garoche
Hi David, Le 24 févr. 2006 à 16:27, David R. Morrison a écrit : Hi Michèle. I've seen things like this before. This kind of upgrade issue is exactly why I haven't moved libgettext3 to stable. We need to have a strategy for avoiding any issues with users who upgrade to libgettext3. Yes,

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-24 Thread Chris Zubrzycki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 24, 2006, at 10:27 AM, David R. Morrison wrote: Hi Michèle. I've seen things like this before. This kind of upgrade issue is exactly why I haven't moved libgettext3 to stable. We need to have a strategy for avoiding any issues with us

Re: [Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-24 Thread David R. Morrison
Hi Michèle. I've seen things like this before. This kind of upgrade issue is exactly why I haven't moved libgettext3 to stable. We need to have a strategy for avoiding any issues with users who upgrade to libgettext3. Thanks for the report. -- Dave On Feb 24, 2006, at 3:00 AM, Michèl

[Fink-devel] Gettext stable-unstable switching on 10.4 tree

2006-02-24 Thread Michèle Garoche
Just for the record if it matters. I've bootstrapped from HEAD in a new empty directory; bootstrapped was fine: it installed gettext and its dependencies at version 0.10.40-19 on stable branch. Then I've switched to unstable, removing stable directories in fink.conf Trees line. Then selfc