Ok... this discussion is missing my initial point that is how to
provide binary dependency and avoid many crashes we have now with
almost no effort.

My initial proposal was to, after compile and before install is done,
we should parse linker information and check for each library it
depends, which package-version provides it and then mark the just
compiled package runtime-dependent on them. If the dependency was not
installed by portage, then issue a warning/error and take some action
(ask user, abort or ignore)

Pros:
 - it would avoid many crashes we have now because we remove packages
that others depend on.
 - it would avoid many crashes we have now because we update packages
that others depend on, but are not listed correctly in ebuilds.
 - it would avoid dependency errors caused by missing
--disable-feature with autoconf-like packages

Cons:
 - it's not the final solution to the problem, as said, interfaces
would be better... but interfaces would demand much more effort and
not being automatically generated, would be async and probably
incorrect at some point


--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; [EMAIL PROTECTED]
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net

-- 
gentoo-portage-dev@gentoo.org mailing list

Reply via email to