Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-18 Thread David R. Morrison
Daniel Macks [EMAIL PROTECTED] wrote:

[snip]
 For those playing along at home: previously and since the dawn of
 splitoffs, :SplitOff:Package: was being evaluated in the scope of the
 parent (so %n was that of the parent) while the rest of SplitOff: was
 evaluated in its own scope. That means %n has different meanings in
 different parts of a SplitOff. When I shuffled around and consolidated
 some of the Package and PkgVersion object creation code, I didn't
 propagate this behavior. All of SplitOff: is now evaluated in its own
 scope, so 'Package: %n-dev' would be recursive.

Hi Dan.  I've just discovered a problem with this.

If you haven't done a self-update since the %n changes were made in the
package database, then you cannot update your copy of fink.

The reason is that fink index is run in post-install, and if those
residual packages with %n are still there, the new fink dies on fink index.

The solution would be to still parse %n and generate a big fat warning
instead of fink dying.

  -- Dave


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread jfm
When updating fink from cvs an hour ago, I got :

ln -s 10.3 /sw/fink/dists
Reading package info...
Error performing percent expansion: unknown % expansion or nesting too 
deep: %n-dev. at /sw/lib/perl5/Fink/Services.pm line 549.

And any command like 'fink rebuild foo' yields the same msg.

Anything wrong here, or in the update ?

Jean-Francois



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread Daniel Macks
On Fri, Jan 16, 2004 at 03:47:34PM +0100, jfm wrote:
 When updating fink from cvs an hour ago, I got :
 
 ln -s 10.3 /sw/fink/dists
 Reading package info...
 Error performing percent expansion: unknown % expansion or nesting too 
 deep: %n-dev. at /sw/lib/perl5/Fink/Services.pm line 549.
 
 And any command like 'fink rebuild foo' yields the same msg.
 
 Anything wrong here, or in the update ?

Sounds like your package descriptions are out-dated. I'm pretty sure I
adjusted those .info in 10.3 in CVS Wednesday night. For me:
  % grep -lr /sw/fink/10.3 '%n-dev'
doesn't find anything.

Note to self: improve this error message to indicate which file/field
is causing the problem.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread TheSin
you could even go as far as the file and the field.
---
TS
http://southofheaven.org
Chaos is the beginning and end, try dealing with the rest.
On 16-Jan-04, at 9:17 AM, Daniel Macks wrote:

On Fri, Jan 16, 2004 at 03:47:34PM +0100, jfm wrote:
When updating fink from cvs an hour ago, I got :

ln -s 10.3 /sw/fink/dists
Reading package info...
Error performing percent expansion: unknown % expansion or nesting too
deep: %n-dev. at /sw/lib/perl5/Fink/Services.pm line 549.
And any command like 'fink rebuild foo' yields the same msg.

Anything wrong here, or in the update ?
Sounds like your package descriptions are out-dated. I'm pretty sure I
adjusted those .info in 10.3 in CVS Wednesday night. For me:
  % grep -lr /sw/fink/10.3 '%n-dev'
doesn't find anything.
Note to self: improve this error message to indicate which file/field
is causing the problem.
dan

--
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


PGP.sig
Description: This is a digitally signed message part


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread jfm
On Jan 16, 2004, at 5:17 PM, Daniel Macks wrote:

On Fri, Jan 16, 2004 at 03:47:34PM +0100, jfm wrote:
When updating fink from cvs an hour ago, I got :

ln -s 10.3 /sw/fink/dists
Reading package info...
Error performing percent expansion: unknown % expansion or nesting too
deep: %n-dev. at /sw/lib/perl5/Fink/Services.pm line 549.
And any command like 'fink rebuild foo' yields the same msg.

Anything wrong here, or in the update ?
Sounds like your package descriptions are out-dated. I'm pretty sure I
adjusted those .info in 10.3 in CVS Wednesday night. For me:
  % grep -lr /sw/fink/10.3 '%n-dev'
doesn't find anything.
Ah !
But I don't use only 10.3 _ also 10.2-gcc3.3, 10.2 _ and until recently
even 10.2-gcc3.3 with the 'not-ready' tag and 10.1 
Jean-Francois



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread jfm
On Jan 16, 2004, at 5:17 PM, Daniel Macks wrote:

adjusted those .info in 10.3 in CVS Wednesday night. For me:
  % grep -lr /sw/fink/10.3 '%n-dev'
Even in 10.3 I still find , in unstable:
libs/ggz-client-libs.info:BuildDepends: %n-dev (= %v-%r)
games/ggz-server.info:BuildDepends: %n-dev (= %v-%r)
(what a strange construct _ again a pkg that BuildDepends on self ?)

and elsewhere only graphics/ivtools has 'Package: %n-dev'
in 10.2/{,un}stable (and in 10.2-gcc3.3NR/unstable).
Best,

Jean-Francois



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread Daniel Macks
On Fri, Jan 16, 2004 at 05:28:47PM +0100, jfm wrote:
 
 On Jan 16, 2004, at 5:17 PM, Daniel Macks wrote:
 
 On Fri, Jan 16, 2004 at 03:47:34PM +0100, jfm wrote:
 When updating fink from cvs an hour ago, I got :
 
 ln -s 10.3 /sw/fink/dists
 Reading package info...
 Error performing percent expansion: unknown % expansion or nesting too
 deep: %n-dev. at /sw/lib/perl5/Fink/Services.pm line 549.
 
 And any command like 'fink rebuild foo' yields the same msg.
 
 Anything wrong here, or in the update ?
 
 Sounds like your package descriptions are out-dated. I'm pretty sure I
 adjusted those .info in 10.3 in CVS Wednesday night. For me:
   % grep -lr /sw/fink/10.3 '%n-dev'
 doesn't find anything.
 
 Ah !
 But I don't use only 10.3 _ also 10.2-gcc3.3, 10.2 _ and until recently
 even 10.2-gcc3.3 with the 'not-ready' tag and 10.1 

Remi adjusted all of 10.2-gcc3.3 and most of 10.2 yesterday, and I did
the remainder of 10.2 this morning. As for 10.1...
  http://article.gmane.org/gmane.os.apple.fink.devel/6779/
but I'd be happy to also take care of the situation in the 10.1
package descriptions if you like.

For those playing along at home: previously and since the dawn of
splitoffs, :SplitOff:Package: was being evaluated in the scope of the
parent (so %n was that of the parent) while the rest of SplitOff: was
evaluated in its own scope. That means %n has different meanings in
different parts of a SplitOff. When I shuffled around and consolidated
some of the Package and PkgVersion object creation code, I didn't
propagate this behavior. All of SplitOff: is now evaluated in its own
scope, so 'Package: %n-dev' would be recursive.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread Daniel Macks
On Fri, Jan 16, 2004 at 05:44:09PM +0100, jfm wrote:
 
 On Jan 16, 2004, at 5:17 PM, Daniel Macks wrote:
 
 adjusted those .info in 10.3 in CVS Wednesday night. For me:
   % grep -lr /sw/fink/10.3 '%n-dev'
 
 Even in 10.3 I still find , in unstable:
 libs/ggz-client-libs.info:BuildDepends: %n-dev (= %v-%r)
 games/ggz-server.info:BuildDepends: %n-dev (= %v-%r)

That shouldn't be a problem, although:

 (what a strange construct _ again a pkg that BuildDepends on self ?)

I guess that -dev could be in a different .info or something so it's
not in principle bad. But I agree it's odd, since a parent and all of
its SplitOffs are always built together, and BuildDepends means build
and install a thing before building.

 and elsewhere only graphics/ivtools has 'Package: %n-dev'
 in 10.2/{,un}stable (and in 10.2-gcc3.3NR/unstable).

I just fixed it there.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread jfm
On Jan 16, 2004, at 6:10 PM, Daniel Macks wrote:

Remi adjusted all of 10.2-gcc3.3 and most of 10.2 yesterday, and I did
the remainder of 10.2 this morning.
Thanks for fixing ivtools in 10.2 _ that did it.

For those playing along at home:  ...
Thanks also for the nice explanation.

Best,

Jean-Francois



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: fink/perlmod/Fink ChangeLog,1.523,1.524 Package.pm,1.58,1.59 PkgVersion.pm,1.213,1.214

2004-01-16 Thread jfm
On Jan 16, 2004, at 6:27 PM, Daniel Macks wrote:

libs/ggz-client-libs.info:BuildDepends: %n-dev (= %v-%r)
games/ggz-server.info:BuildDepends: %n-dev (= %v-%r)
(what a strange construct _ again a pkg that BuildDepends on self ?)
I guess that -dev could be in a different .info or something so it's
not in principle bad.
 I had checked; it is in the same..

Thanks again.

Jean-Francois



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel