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

Bug 17716

Summary: distcc-1.2.3 && distcc.info && /usr/share/doc/distcc directory
Product: Gentoo Linux Reporter: Aric LeDell <aledell>
Component: New packagesAssignee: Zach Welch (RETIRED) <zwelch>
Status: RESOLVED FIXED    
Severity: normal CC: phosphan
Priority: High    
Version: 1.4_rc2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aric LeDell 2003-03-17 16:49:56 UTC
Whenever I emerge an application that has an info file, and specify emerge 
--verbose, I get the following warning: 
install-info: warning: no info dir entry in `//usr/share/info/distcc.info.gz' 
The ebuild looks like it is trying to delete the info file (line 39): 
     cd "${D}/usr/share/info" && rm -f distcc.info.gz 
Why? 
 
Also, the distcc-1.2.3 ebuild installs documentation into /usr/share/doc/distcc 
rather than /usr/share/doc/distcc-1.2.3  /usr/share/doc/distcc-1.2.3 does get 
created, it is just empty.   Looking at the ebuild, it appears that this is done on 
purpose (line 41): 
    docinto "../${PN}"). 
Why?
Comment 1 Zach Welch (RETIRED) gentoo-dev 2003-03-17 17:41:08 UTC
I'm trying to fix these issues in 1.2.3-r1.  Thanks for your patience.
Comment 2 Zach Welch (RETIRED) gentoo-dev 2003-03-17 18:36:40 UTC
These issues have been fixed with the new distcc-1.2.3-r1 ebuild

This build also has some new distcc-config functionality that I want tested
before I unmask it as stable.
Comment 3 Aric LeDell 2003-03-17 21:34:47 UTC
I'm testing it now.  I can confirm that the info problem is fixed. 
docs are installed into /usr/share/doc/distcc and the 
/usr/share/doc/distcc-1.2.3-r1 directory is not created. 
I'm a little confused about the doc directory though, why ${PN} rather than 
${P}? 
 
In distcc-config's dccc_set_env() function, einfo is being redirected into 
/etc/env.d/04distcc 
   # This file is managed by distcc-config; use it to change these settings. 
   # DISTCC_VERBOSE is not set 
   # DISTCC_LOG is not set 
   # PATH is not set 
     * Setting DISTCC_HOSTS="localhost lithium axe lithium" 
    DISTCC_HOSTS="localhost lithium axe lithium" 
Which causes these warnings during emerge: 
   !!! Invalid token (not "=") [ 
   !!! Parsing error in /etc/env.d/04distcc 
 
I havn't had much luck getting distcc to work in the past (what are some known 
good ebuilds for testing?  I've been using unarj and bc because they build fast), 
but with this version I'm not having any luck.  Any idea what these 
"NONE/include: Permission denied" messages are about? 
 
# CCACHE_DISABLE=1 emerge unarj 
Calculating dependencies ...done! 
>>> emerge (1 of 1) app-arch/unarj-2.63a-r1 to / 
>>> md5 ;-) unarj-2.63a.tar.gz 
>>> Unpacking source... 
>>> Unpacking unarj-2.63a.tar.gz to /var/tmp/portage/unarj-2.63a-r1/work 
>>> Source unpacked. 
gcc -O2 -Wall -ansi -pedantic -DUNIX   -c -o unarj.o unarj.c 
gcc -O2 -Wall -ansi -pedantic -DUNIX   -c -o decode.o decode.c 
gcc -O2 -Wall -ansi -pedantic -DUNIX   -c -o environ.o environ.c 
NONE/include: Permission denied 
environ.c: In function `case_path': 
environ.c:499: warning: statement with no effect 
environ.c: In function `set_ftime_mode': 
environ.c:618: warning: implicit declaration of function `utime' 
environ.c:608: warning: statement with no effect 
environ.c:609: warning: statement with no effect 
environ.c:610: warning: statement with no effect 
make: *** [environ.o] Error 1 
make: *** Waiting for unfinished jobs.... 
NONE/include: Permission denied 
make: *** [decode.o] Error 1 
 
!!! ERROR: app-arch/unarj-2.63a-r1 failed. 
!!! Function src_compile, Line 16, Exitcode 2 
!!! (no error message) 
 
Comment 4 Zach Welch (RETIRED) gentoo-dev 2003-03-18 02:16:44 UTC
There was a bug in the -r1 ebuilds, so I've commited -r2 version.  Sorry
for you having to see that problem.  You'll probably have to remove your 
/etc/env.d/04distcc file and reconfigure, or edit it to remove the extra line.

Let me know if there are further problems with this new version, and be sure
to check out the distcc info page, currently at:

http://cvs.gentoo.org/~zwelch/distcc.html
Comment 5 Zach Welch (RETIRED) gentoo-dev 2003-03-18 04:18:55 UTC
*** Bug 17742 has been marked as a duplicate of this bug. ***