Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34351 - emerge --nodeps distcc generates different results than USE='-gtk -gnome' emerge --nodeps distcc
Summary: emerge --nodeps distcc generates different results than USE='-gtk -gnome' eme...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-25 12:16 UTC by michael@smith-li.com
Modified: 2004-01-18 14:09 UTC (History)
2 users (show)

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


Attachments
new xml file (distcc.xml,12.52 KB, text/plain)
2003-11-25 17:10 UTC, Lisa Seelye (RETIRED)
Details
distcc.xml.patch (distcc.xml.patch,1.13 KB, patch)
2004-01-16 10:15 UTC, Xavier Neys (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description michael@smith-li.com 2003-11-25 12:16:13 UTC
I realized when I was looking at bug #34262 that something must be wrong with
--nodeps:

When emerging distcc before bootstrap, emerge --nodeps distcc should emerge
distcc with no dependencies, however, unless the USE flags -gtk and -gnome are
set, emerge will fail with

configure: error: gtk+-2.0 was not found by pkg-config

!!! ERROR: sys-devel/distcc-2.11.1 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed

Reproducible: Always
Steps to Reproduce:
1.On a clean system, stage 1, emerge sync
2.follow the distcc docs exactly: emerge --nodeps distcc before bootstrap
3.emerge should fail as mentioned above

Actual Results:  
emerge failed with:

configure: error: gtk+-2.0 was not found by pkg-config

!!! ERROR: sys-devel/distcc-2.11.1 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed

Expected Results:  
--nodeps should have taken care of USE="-gtk -gnome" and the package should have
emerged successfully with no dependencies.

If this is not how --nodeps should work, the distcc doc should mention the
USE='-gnome -gtk' solution.
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2003-11-25 14:43:32 UTC
I'll have an updated .xml file shortly.

FWIW, you should do USE='-*' emerge --nodeps distcc
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-11-25 17:09:46 UTC
Docs team : Attached is an updated XML file
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2003-11-25 17:10:16 UTC
Created attachment 21298 [details]
new xml file
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-25 21:20:31 UTC
Lisa: can you provide a diff between your new version and the former one? If not, that's okay, I'll search for the differences manually then (but that'll take a bit longer).
Comment 5 Lisa Seelye (RETIRED) gentoo-dev 2003-11-25 21:40:10 UTC
Yeah, go to: 
http://www.thedoh.com/viewcvs/distcc/html/distcc.xml?r1=1.11&r2=1.12&diff_format=h
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-29 01:45:08 UTC
Okay, although I'm not really happy with pointing to bugreports in the documentation, I have too little experience to propose anything saner.

Committed. Thank you lisa, glad to have a non-doc developer writing documentation,  makes it a lot more easy for us :)
Comment 7 Xavier Neys (RETIRED) gentoo-dev 2003-11-29 03:00:01 UTC
I was updating the French translation when I noticed the following:

Step 2: Getting Distcc
Telling a user he might have to emerge pkgconfig is not very helpful, is it?
How does he know beforehand or how does he find out?
Fro what I read in the mentioned bug, wouldn't it be clearer to tell a user he should emerge pkgconfig if the emerge distcc fails with 'pkg-config: command not found' and then try again?


Future Plans:
distcc-config is out of date and has been rewritten.
That's quite contradictory isn't it?
And why is that mentioned in chapter <Future Plans> ?
Comment 8 Xavier Neys (RETIRED) gentoo-dev 2003-12-02 12:13:38 UTC
See comment above. I shall post a patch soon(ish).
Comment 9 Xavier Neys (RETIRED) gentoo-dev 2004-01-16 10:15:38 UTC
Created attachment 23936 [details, diff]
distcc.xml.patch

1- Tried to make note about pkg-config more explicit
2- Note about history of distcc-config has no place in "future plans" section


Please review
Comment 10 Sven Vermeulen (RETIRED) gentoo-dev 2004-01-17 02:01:54 UTC
Patch looks good
Comment 11 Xavier Neys (RETIRED) gentoo-dev 2004-01-18 14:09:46 UTC
Committed.