Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70441 - games-server/monopd-0.9.0 fails to emerge on net-libs/libcapsinetwork 0.3.0
Summary: games-server/monopd-0.9.0 fails to emerge on net-libs/libcapsinetwork 0.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 02:45 UTC by Juan J. García de Soria
Modified: 2004-11-08 03:30 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 Juan J. García de Soria 2004-11-08 02:45:55 UTC
When trying to emerge games-server/monopd-0.9.0, I'm getting the errors attached in "additional information".

The error seems to mean that gcc doesn't like some things in a libcapsinetwork header (listener.h) or its usage in main.cpp.

Reproducible: Always
Steps to Reproduce:
1. emerge monopd
2. (auto-installation of net-libs/libcapsinetwork 0.3.0 as dependency)
3. Compilation fails.
 
Actual Results:  
Compilation of monopd failed.

Expected Results:  
Successfully compile and install.


emerge --version says:

Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r8 i686)

gcc --version says:

gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)


The error:


if g++ -DHAVE_CONFIG_H -I. -I. -I..  
-DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\" 
-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe -MT player.o -MD
-MP -MF ".deps/player.Tpo" \
  -c -o player.o `test -f 'player.cpp' || echo './'`player.cpp; \
then mv ".deps/player.Tpo" ".deps/player.Po"; \
else rm -f ".deps/player.Tpo"; exit 1; \
fi
/usr/include/libcapsinetwork/listener.h: En function `int main(int, char**)':
/usr/include/libcapsinetwork/listener.h:53: error: `int
   Listener::addListenPort(int)' is protected
main.cpp:44: error: within this context
main.cpp:61: error: `do_select' undeclared (first use this function)
main.cpp:61: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[2]: *** [main.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[2]: Leaving directory `/var/tmp/portage/monopd-0.9.0/work/monopd-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/monopd-0.9.0/work/monopd-0.9.0'
make: *** [all] Error 2

!!! ERROR: games-server/monopd-0.9.0 failed.
!!! Function games_src_compile, Line 143, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


emerge info says:

emerge info
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r8 i686)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CHOST="i386-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/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="-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups
divx4linux dvd encode esd f77 fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2
imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oci8
oggvorbis opengl oracle7 oss pam pdflib perl png postgres ppds python qt
quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype x86
xml2 xmms xv xvid zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-11-08 03:30:26 UTC
0.9.3 should merge fine.