[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-devel
Subject:    Re: [Fink-devel] Invariant splitoffs of variant packages
From:       "David R. Morrison" <drm () math ! duke ! edu>
Date:       2005-12-30 20:42:57
Message-ID: ADA873D8-480D-4ACA-94F3-E1EEF5318DD6 () math ! duke ! edu
[Download RAW message or body]

I agree.  It should be foo-py%type_pkg[python]-doc or something similar.

   -- Dave


On Dec 29, 2005, at 12:09 PM, Daniel Macks wrote:

> Okay, let's resolve this...
>
>   Package: foo-py%type_pkg[python]
>   Version: 1
>   Revision: 1
>   Type: python (2.3 2.4)
>   SplitOff: <<
>     Package: foo-doc
>   <<
>
> SplitOff packages are first-class package objects internally, with
> pointers that link parent and children and sibling packages. Fink and
> Debian use "package-version-revision" as a unique key for a package.
>
> In CVS HEAD, a single "foo-1-1" package object is created in the
> database and it is arbitrarily assigned as the child of one of the
> foo-pyXX of which it is a SplitOff. That means it is functionally
> broken for all other foo-pyXY variants because foo-py23's child's
> parent might be foo-py24 instead. As a result, the foo-py23 build
> process tries to form foo-doc, foo-doc has incorrect data for that
> situation (%I, %D, and %b point to the non-existent foo-py24 paths,
> etc.).
>
> In released versions of fink, the above .info fragment reportedly
> works correctly, and we have a few packages that have this construct.
>
> As an under-the-hood core guy, it doesn't make sense to me that this
> should ever work or be supported, but I can see why a maintainer would
> expect it to work. Should we support it? Can we support it? Should we
> say "make a separate .info file for foo-doc" instead?
>
> dan
>
> -- Daniel Macks
> dmacks@netspace.org
> http://www.netspace.org/~dmacks
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through  
> log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD  
> SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fink-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic