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

Bug 100456

Summary: mail-client/evolution 2.2.3-r2 fails to compile with error: `KILL_PROCESS_CMD' undeclared
Product: Gentoo Linux Reporter: David W Noon <david.w.noon>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output from 'emerge -av evolution'

Description David W Noon 2005-07-27 05:07:45 UTC
killev.c: In function `kill_process':
killev.c:52: error: `KILL_PROCESS_CMD' undeclared (first use in this function)
killev.c:52: error: (Each undeclared identifier is reported only once
killev.c:52: error: for each function it appears in.)
killev.c:52: error: syntax error before string constant
killev.c:78: error: syntax error before string constant


Reproducible: Always
Steps to Reproduce:
1. emerge evolution
2.
3.

Actual Results:  
make[3]: *** [killev.o] Error 1
make[3]: Leaving directory 

Expected Results:  
Clean compilation.

Here is my output from "emerge info":

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Unknown CPU Type
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -mmmx -m3dnow -msse -mfpmath=387 -O3 -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -mmmx -m3dnow -msse -mfpmath=387 -O3 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://mirror.switch.ch/mirror/gentoo ftp://ftp.solnet.ch/mirror/Gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/lib/portage/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X ada alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl
doc dvd eds emboss encode esd f77 fam flac foomaticdb fortran gcj gd gdbm gif
gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++
libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nptlonly objc odbc
ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime
readline sdl slang spell sqlite ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib linguas_en_GB
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-07-28 07:38:51 UTC
could you provide emerge -av evolution output so we can see the use flags you used?

Thanks!
Comment 2 David W Noon 2005-07-28 15:26:12 UTC
Created attachment 64574 [details]
Output from 'emerge -av evolution'
Comment 3 David W Noon 2005-08-02 06:32:49 UTC
Would it not be a shortcut to find out where the KILL_PROCESS_CMD macro comes
from on a system on which the build works?  Since the macro is not defined in
the evolution package, it must be coming from somewhere else and that other
package is possibly a missing dependency.
Comment 4 David W Noon 2005-08-02 11:35:07 UTC
I have traced through the build and found that it attempts to find the "killall"
program, which is part of the psmisc package. Although this package is installed
on my system, the killall program is not there.

I have re-run the emerge on psmisc and things now look good.

However, the /bin/killall executable should not have disappeared! This not the
only program to have been mysteriously deleted on my machine: the
/usr/bin/telnet program disappears quite regularly. It looks as though one or
more packages delete more than they install when are unmerged.

Consequently, this now looks more like a portage problem than a GNOME problem.
However, it could be hard to track down which package deleted /bin/killall.
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-08-06 04:23:50 UTC
please re-open and let us know if you find out what package deleted the file.

Thanks!