Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45110 - packages which have *DEPENDs that don't specifiy categories
Summary: packages which have *DEPENDs that don't specifiy categories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 00:30 UTC by Jason Stubbs (RETIRED)
Modified: 2004-03-24 09:26 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
List of bad ebuilds (bad-depends,10.65 KB, text/plain)
2004-03-19 00:32 UTC, Jason Stubbs (RETIRED)
Details
Updated list (bad-depends,12.32 KB, text/plain)
2004-03-19 20:01 UTC, Jason Stubbs (RETIRED)
Details
Updated list (bad-depends,6.94 KB, text/plain)
2004-03-22 05:30 UTC, Jason Stubbs (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Stubbs (RETIRED) gentoo-dev 2004-03-19 00:30:13 UTC
If a package doesn't specify the category for packages that it depends on, it will break if a new package gets added with the name same name.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-03-19 00:32:33 UTC
Created attachment 27606 [details]
List of bad ebuilds

Form is of package:depend

This list is probably not incomplete. The script I used does not take into
account different USE flags. By the time most of these are fixed, I should be
able to give a complete list of any remaining.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-03-19 01:29:49 UTC
You have readline false positives that collide with with the USE flag.  Enhance
your tool please.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-03-19 01:32:26 UTC
games are fixed.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-19 03:33:43 UTC
fixed net-dialup/*
Comment 5 Chuck Short (RETIRED) gentoo-dev 2004-03-19 04:54:59 UTC
Fixed net-irc/*
Comment 6 foser (RETIRED) gentoo-dev 2004-03-19 05:24:24 UTC
fixed gnome stuff, which were actually different mistakes.
fixed gst* stuff, which was the eclass.
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-03-19 11:24:24 UTC
fixed app-dicts/canna-cannadic, app-dicts/canna-zipcode and dev-ruby/rudl.
Comment 8 SpanKY gentoo-dev 2004-03-19 13:07:19 UTC
palo is fixed now
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-19 15:44:58 UTC
media-sound, net-p2p, and net-mail/squirrelmail fixed
Comment 10 Eric Sammer (RETIRED) gentoo-dev 2004-03-19 19:07:59 UTC
dev-perl stuff fixed.
Comment 11 Jason Stubbs (RETIRED) gentoo-dev 2004-03-19 20:01:57 UTC
Created attachment 27674 [details]
Updated list

This should catch all depends missing a category. It also catches a few cases
where a USE flag condition is missing a ?. Finally, it also catches cases where
a depend has a version but no operator or the reverse.
Comment 12 Brian Harring (RETIRED) gentoo-dev 2004-03-19 21:13:38 UTC
media-video and media-sound fixed.
Comment 13 Jason Stubbs (RETIRED) gentoo-dev 2004-03-20 04:36:52 UTC
Added a few more checks on *DEPEND strangeness. Only one problem ebuild came up, so here's the output:

sys-devel/gcc-3.2.2:DEPEND ':' with no matching '?'

There's many packages that seem to use brackets for no reason and others that don't have brackets after a use? condition. If those are interesting, I can add that list too.
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2004-03-21 00:49:39 UTC
The problem with that gcc ebuild is this:

!hppa? ( mips? ( >=sys-devel/binutils-2.13.90.0.16 : >=sys-devel/binutils-2.13.90.0.18 ) )

needs to have parens around both binutils bits.

Actually, as the ? () : () syntax is deprecated, it should be mips? () !mips? ()
Comment 15 Michael Boman (RETIRED) gentoo-dev 2004-03-21 06:37:14 UTC
net-analyzer/amap, net-analyzer/nagios-core, net-analyzer/nikto, net-analyzer/prelude-nagios, net-analyzer/honeyd, net-libs/libwhisker sorted out.
Comment 16 Martin Holzer (RETIRED) gentoo-dev 2004-03-21 06:54:32 UTC
libavc1394 fixed
Comment 17 Martin Holzer (RETIRED) gentoo-dev 2004-03-21 06:56:05 UTC
php stuff fixed too
Comment 18 Martin Holzer (RETIRED) gentoo-dev 2004-03-21 07:07:51 UTC
app-sci/* fixed
Comment 19 Martin Holzer (RETIRED) gentoo-dev 2004-03-21 07:28:58 UTC
app-text/* fixed
Comment 20 Peter Johanson (RETIRED) gentoo-dev 2004-03-21 07:34:40 UTC
ap-utils stuff was fixed by mholzer, removing mobile CC.
Comment 21 Jason Stubbs (RETIRED) gentoo-dev 2004-03-22 05:30:06 UTC
Created attachment 27802 [details]
Updated list

Thanks for such a quick response everybody. Not much left now.
Comment 22 Martin Holzer (RETIRED) gentoo-dev 2004-03-24 09:26:05 UTC
ok

the script hits eg.
net-analyzer/ethereal
but it's all good

the only real issue is

app-sci/xfoil-6.94-r1  -  DEPEND: virtual/blas not found in virtuals

all other is fixed, closing