Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28363 - baselayout depends
Summary: baselayout depends
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 29630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-10 10:06 UTC by Chuck Brewer
Modified: 2004-05-07 15:59 UTC (History)
2 users (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 Chuck Brewer 2003-09-10 10:06:03 UTC
Having trouble avoiding emerge trying to install dhcpcd, but to no avail.Not
sure why this isn't working but heres a snippet from baselayout-

# We want a dhcpcd that supports the '-z' switch, but only if dhcpcd
# was already installed ...
if portageq has_version / net-misc/dhcpcd
then
        PDEPEND="!build? ( !bootstrap? ( >=net-misc/dhcpcd-1.3.22_p4-r1 ) )"
fi

Yet when I try to upgrade baselayout I get this-

Calculating dependencies ...done!
[ebuild     U ] sys-apps/baselayout-1.8.6.10-r1 [1.8.6.10] 
[ebuild  N    ] net-misc/dhcpcd-1.3.22_p4-r1  

Haven't ever had dhcpcd installed,using pppd so Im at a loss...
Comment 1 SpanKY gentoo-dev 2003-09-11 18:29:02 UTC
`emerge -i net-misc/dhcpcd-1.3.22_p4-r1`

*** This bug has been marked as a duplicate of 28365 ***
Comment 2 Chuck Brewer 2003-09-11 23:08:33 UTC
I don't see how this is a duplicate..these are 2 separate issues, which is why I filed 2 separate bugs.The dhcpcd vs pppd bug is on the grounds that dhcpcd is a part of system and pppd is not. On that note it was basically to ask that dhcpcd be removed from system and let online access be emerged as appropriate.

This bug refers to the fact that baselayout (according to the syntax) is asking that _if_ we have dhcpcd, it needs to be this version or higher. Injecting dhcpcd is not desirable in either case as its just cover for a bigger problem.
Comment 3 SpanKY gentoo-dev 2003-09-11 23:19:09 UTC
it is a duplicate because dhcp probably wont be removed from baselayout if dhcp isnt removed from the profile

since you're going to make an issue out of it, let az decide
Comment 4 Chuck Brewer 2003-09-12 01:05:38 UTC
Not making issue, making clarification. Baselayout clearly states _if_dhcpcd is installed, then this version is needed for  -z switch.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-14 08:20:26 UTC
Stupid question ... if portage gets this wrong, is it a baselayout problem ?
Comment 6 SpanKY gentoo-dev 2003-09-26 00:43:39 UTC
*** Bug 29630 has been marked as a duplicate of this bug. ***
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 15:02:57 UTC
if portageq has_version / net-misc/dhcpcd
then
        PDEPEND="!build? ( !bootstrap? ( >=net-misc/dhcpcd-1.3.22_p4-r1 ) )"
fi



is not supported by portage. You cannot use bash conditional in DB keys.
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2004-05-07 15:59:13 UTC
This cruft is no longer in baselayout, as of who-knows-when