[gentoo-dev] Implicit system dependencies

2011-08-23 Thread Michael
Hi,

I wrote a script to search for discrepancies between linked libraries and 
what's defined in (R)DEPEND, with the intention of improving QA for minimal 
package installs.

The devmanual seems to suggest that it's a bad thing for packages to 
explicitly depend on packages in the system set, while many packages in the 
tree do indeed explicitly depend upon packages such as zlib and ncurses.

Any thoughts to as how far I should go with filing bugs regarding this 
issue?

Best regards,
Michael




Re: [gentoo-dev] Implicit system dependencies

2011-08-23 Thread Mike Frysinger
On Monday, August 22, 2011 15:21:23 Michael wrote:
 I wrote a script to search for discrepancies between linked libraries and
 what's defined in (R)DEPEND, with the intention of improving QA for minimal
 package installs.
 
 The devmanual seems to suggest that it's a bad thing for packages to
 explicitly depend on packages in the system set, while many packages in the
 tree do indeed explicitly depend upon packages such as zlib and ncurses.

file bugs for missing zlib/ncurses deps.  if there are other packages you're 
concerned with, ask now and we'll tell you.
-mike


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] Implicit system dependencies

2011-08-23 Thread Paweł Hajdan, Jr.
On 8/22/11 12:21 PM, Michael wrote:
 I wrote a script to search for discrepancies between linked libraries and 
 what's defined in (R)DEPEND, with the intention of improving QA for minimal 
 package installs.

It would be great to integrate this into portage and make it a part of
the developer profile. This would just help prevent future breakages.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] Implicit system dependencies

2011-08-23 Thread Maciej Mrozowski
On Tuesday 23 of August 2011 18:54:04 Paweł Hajdan, Jr. wrote:
 On 8/22/11 12:21 PM, Michael wrote:
  I wrote a script to search for discrepancies between linked libraries and
  what's defined in (R)DEPEND, with the intention of improving QA for
  minimal package installs.
 
 It would be great to integrate this into portage and make it a part of
 the developer profile. This would just help prevent future breakages.

It seems there are a couple of such home-grown solutions already.
dberkholz used to have on in his dev webspace[1], we have one[2] in kde 
overlay...

1.  http://dev.gentoo.org/~dberkholz/scripts/ (linking_libs, included_headers)
2. 
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=tree;f=Documentation/maintainers;hb=master
 
(dynlink_scanner + try_dlopen.c)

-- 
regards
MM


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] Implicit system dependencies

2011-08-23 Thread Donnie Berkholz
On 19:08 Tue 23 Aug , Maciej Mrozowski wrote:
 On Tuesday 23 of August 2011 18:54:04 Paweł Hajdan, Jr. wrote:
  On 8/22/11 12:21 PM, Michael wrote:
   I wrote a script to search for discrepancies between linked libraries and
   what's defined in (R)DEPEND, with the intention of improving QA for
   minimal package installs.
  
  It would be great to integrate this into portage and make it a part of
  the developer profile. This would just help prevent future breakages.
 
 It seems there are a couple of such home-grown solutions already.
 dberkholz used to have on in his dev webspace[1], we have one[2] in kde 
 overlay...
 
 1.  http://dev.gentoo.org/~dberkholz/scripts/ (linking_libs, included_headers)
 2. 
 http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=tree;f=Documentation/maintainers;hb=master
  
 (dynlink_scanner + try_dlopen.c)


Also we've got a couple of really cool GSoC projects along these lines.

One is called autodep [1, 2], and it integrates into portage to let you 
know if you're missing deps or specified too many deps.

The other one is an ebuild generator [3, 4] that works for autotools but not a 
lot else at this point.

1. 
http://archives.gentoo.org/gentoo-soc/msg_7491f6b5bffdccaedc939beb6e1c4f0d.xml 
2. http://dev.gentoo.org/~neurogeek/guidexml/ (temporary homepage)
3. 
http://archives.gentoo.org/gentoo-soc/msg_e29529cb6f3dfc762f4f7e313b106deb.xml
4. http://soc.dev.gentoo.org/~darkdefender/ebuildgenerator

-- 
Thanks,
Donnie

Donnie Berkholz
Council Member / Sr. Developer
Gentoo Linux
Blog: http://dberkholz.com


pgp441wcSLJ6h.pgp
Description: PGP signature