Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4842 - portage parsing DEPEND
Summary: portage parsing DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-11 01:06 UTC by Paul Belt
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Belt 2002-07-11 01:06:53 UTC
Found while searching for another bug

::> THIS DOES NOT WORK
DEPEND=">=sys-devel/perl-5
    app-text/openjade
    dev-perl/SGMLSpm
    app-text/docbook-xml-simple-dtd
    app-text/docbook-xml-dtd
    =app-text/docbook-sgml-dtd-3.0
    =app-text/docbook-sgml-dtd-3.1
    =app-text/docbook-sgml-dtd-4.0
    =app-text/docbook-sgml-dtd-4.1
    app-text/docbook-dsssl-stylesheets
    tetex? ( app-text/jadetex )"


::> THIS DOES
DEPEND=">=sys-devel/perl-5
    app-text/openjade
    dev-perl/SGMLSpm
    app-text/docbook-xml-simple-dtd
    app-text/docbook-xml-dtd
    app-text/docbook-dsssl-stylesheets
    =app-text/docbook-sgml-dtd-3.0
    =app-text/docbook-sgml-dtd-3.1
    =app-text/docbook-sgml-dtd-4.0
    =app-text/docbook-sgml-dtd-4.1
    tetex? ( app-text/jadetex )"

::> THE DIFFERENCE
    app-text/docbook-dsssl-stylesheets
being after dependancies with = in front of them
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-07-11 02:40:57 UTC
It works for me.  Can you give me a better bug report?  What version of Portage
are you using?  What exactly do you mean by "it doesn't work?"  What isn't working?
Comment 2 Paul Belt 2002-07-11 09:04:34 UTC
sys-apps/portage-2.0.11

Portage does not recognize a dependancy without an equals sign after a
dependancy with an equals sign.

The example explains all the 'testing' I have done.  Notice, the only change
between the two is me moving one dependancy above others.  I'll give a better
example but not a real one below.

In this case, group/baz will not be shown by portage as a dependancy.

group/foo
=group/bar
group/baz

In this case, group/baz WILL be shown...

group/foo
group/bar
=group/baz

If you want to recreate the error, use the 'DOES NOT WORK' DEPEND list.

1) emerge -C docbook-dsssl-stylesheets
2) emerge -p docbook-sgml-utils

Notice how docbook-dsssl-stylesheets isn't in the list?  Myself and many others
have.

Now, move docbook-dsssl-stylesheets above the dependancies with an =

1) emerge -p docbook-sgml-utils

Now it's in there.  What do ya know?  Broken dependany parsing.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-07-29 23:31:29 UTC
Try this with Portage 2.0.22 when released; much of this code has been rewritten
and this problem should no longer exist (I was never able to reproduce it)