begin quote On Thu, 5 Feb 2004 20:58:01 +0100 Paul de Vrieze <[EMAIL PROTECTED]> wrote:
> On Thursday 05 February 2004 20:53, Spider wrote: > > Could work, but isn't this a clumsier version of : > > track ldd of foopack. > > resolve all .so files > > store both lists, and if the .so aren't there, spit out the "last > > seen as "<package>" as a hint and refuse to install? > > This would work at packaging time, not at install time. Basically what > we need is to identify incompatible library changes (besides never > installing with an older version than build with) some way. We could > use a LIBVER variable for that. It would be similar in function as > SLOT, but it would not say anything about ability to coexist. It just > says something about library conflicts. > > > (still dirty.. but better than what RPM does ;) > > Binary packages are dirty ;-) Anyone some idea what debian does to > this respect? > Can you explain more? When would LIBVER be set? by whom? (developer? no thanks.. :P ) and woudn't there need to be one LIBVER per .so file that a package installs? My Idea was meant for "build package" time, yes. To make the mapping of: so for the package "slocate", we get the following entry: libc.so.6 sys-libs/glibc-2.3.3_pre20040117 /lib/ld-linux.so.2 sys-libs/glibc-2.3.3_pre20040117 And so on. This would pretty easily be added at GRP create time (okay, it adds some overhead to all binary packages... thats not too god, but I'm not that sure we care..) And when the binary is installed, it can scan the system of "missing" files, if it finds any, balk and die, telling both what .so is missing, and the package it was last seen in. This would also help us doing QA and finding missing dependency links. ( things that are in the "linking" list of resolved packages, but not in the RDEPEND tree ) and yes. its dirty. its rpmish. and I'd love to see a better thing. however, its better than the thing we have currently. Any ideas? //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end
pgp00000.pgp
Description: PGP signature
