Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 34351

Summary: emerge --nodeps distcc generates different results than USE='-gtk -gnome' emerge --nodeps distcc
Product: [OLD] Docs-developer Reporter: michael <michael>
Component: OtherAssignee: Xavier Neys (RETIRED) <neysx>
Status: RESOLVED FIXED    
Severity: minor CC: docs-team, lisa
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: new xml file
distcc.xml.patch

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.