Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81359 - psmisc-21.5 fails to build
Summary: psmisc-21.5 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 06:10 UTC by MAL
Modified: 2005-02-09 18:45 UTC (History)
0 users

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 MAL 2005-02-09 06:10:16 UTC
make  all-am
make[3]: Entering directory `/var/tmp/portage/psmisc-21.5/work/psmisc-21.5/src'
make[3]: Circular signames.h <- Makefile dependency dropped.
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O3 -fomit-frame-pointer -pipe -MT fuser.o -MD -MP -MF ".deps/fuser.Tpo" -c -o fuser.o fuser.c; \
then mv -f ".deps/fuser.Tpo" ".deps/fuser.Po"; else rm -f ".deps/fuser.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O3 -fomit-frame-pointer -pipe -MT signals.o -MD -MP -MF ".deps/signals.Tpo" -c -o signals.o signals.c; \
then mv -f ".deps/signals.Tpo" ".deps/signals.Po"; else rm -f ".deps/signals.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O3 -fomit-frame-pointer -pipe -MT killall.o -MD -MP -MF ".deps/killall.Tpo" -c -o killall.o killall.c; \
then mv -f ".deps/killall.Tpo" ".deps/killall.Po"; else rm -f ".deps/killall.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O3 -fomit-frame-pointer -pipe -MT pstree.o -MD -MP -MF ".deps/pstree.Tpo" -c -o pstree.o pstree.c; \
then mv -f ".deps/pstree.Tpo" ".deps/pstree.Po"; else rm -f ".deps/pstree.Tpo"; exit 1; fi
In file included from pstree.c:21:
/usr/local/include/termcap.h:25: error: conflicting types for `tgetnum'
/usr/include/term.h:776: error: previous declaration of `tgetnum'
/usr/local/include/termcap.h:26: error: conflicting types for `tgetflag'
/usr/include/term.h:775: error: previous declaration of `tgetflag'
/usr/local/include/termcap.h:27: error: conflicting types for `tgetstr'
/usr/include/term.h:772: error: previous declaration of `tgetstr'
/usr/local/include/termcap.h:31: error: conflicting types for `tputs'
/usr/include/term.h:777: error: previous declaration of `tputs'
make[3]: *** [pstree.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/psmisc-21.5/work/psmisc-21.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/psmisc-21.5/work/psmisc-21.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/psmisc-21.5/work/psmisc-21.5'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-
r1, 2.6.9-ck2 i686)
=================================================================
System uname: 2.6.9-ck2 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 
(#1, Feb  9 2005, 11:57:33)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/
3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/
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-xp -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv 
usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://
gentoo.blueyonder.co.uk http://mirror.datapipe.net/gentoo http://mirror.uni-c.
dk/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="x86 3dnow 3dnowex S3TC X X509 a52 aac aalib acpi alsa amd apm avi berkdb 
bitmap-fonts bluetooth bonobo bzip2 bzlib cdda cddb cdio cdr chroot clamav crypt 
cscope cups curl dga directfb divx4linux dmx dvd dvdr dvdread edl encode esd 
ethereal f77 faac faad fam fb fbcon ffmpeg fla flac fmod font-server foomaticdb 
freetype gb gd gdbm geoip gif gimpprint gmail gnokii gphoto2 gpm gstreamer gtk 
gtk2 gtkhtml guile imagemagick imap imlib imlib2 jack java jpeg jpeg2k lcms 
libcaca libg++ libgda libwww live lzo lzw lzw-tiff mad maildir mailwrapper 
matroska md5sum mikmod mjpeg mmx mmx2 mng monkey motif mozcalendar mozilla 
moznoirc mp3 mpeg mpeg2 mpeg4 mplayer msn mysql nas ncurses network nls nptl 
nptlonly ntlm nvidia oav ogg oggvorbis opengl operanom2 oss pam pcntl pcre pdf 
pdflib perl pic png ppds python qt quicktime readline real rtc ruby samba sasl 
scanner sdl slang slp sms speex spell sse ssl stream svg tcpd tga theora tiff 
truetype truetype-fonts type1 type1-fonts usb utf8 v4l v4l2 vcd vidix vlm vorbis 
wmf wxwindows xanim xface xine xml xml2 xmms xosd xpm xprint xrandr xv xvid xvmc 
yahoo yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-09 08:23:40 UTC
Where does the conflicting stuff in /usr/local/ stem from?
Comment 2 MAL 2005-02-09 09:51:49 UTC
To be honest, I'm not sure where /usr/local/include/termcap.h came from, but it's dated May 14  2002.  Possibly it's from when I used to compile dvdrtools for myself, before it became an ebuild.

The question is, why is psmisc taking that termcap.h over the one in /usr/include/termcap.h ?

Removing /usr/local/include/termcap.h allows psmisc to build, but that isn't much use to anyone who has actual software installed to /usr/local with a conflicting termcap.h
Comment 3 SpanKY gentoo-dev 2005-02-09 18:45:06 UTC
that's a feature, not a bug