Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415145 - games-board/pokerth-0.9.4 fails to compile, errors in irc.cpp
Summary: games-board/pokerth-0.9.4 fails to compile, errors in irc.cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 15:07 UTC by thunderrd
Modified: 2012-05-08 21:07 UTC (History)
2 users (show)

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 thunderrd 2012-05-08 15:07:35 UTC
pokerth-0.9.4 does not compile, citing various errors in irc.cpp listed in the paste below.  This is an otherwise fully updated and working ~amd64 system.  The last time I saw this problem was several versions ago, when there was some kind of mismatch with net-misc/curl, but curl is at the current version at this time, and pokerth-0.9.1 (previously installed) both compiles and runs fine.

Reproducible: Always

Steps to Reproduce:
1.emerge pokerth
2.
3.
Actual Results:  
Here is the error message from emerge:

x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -I/usr/include/boost-1_48 -DBOOST_FILESYSTEM_VERSION=2 -std=gnu++0x -Wall -W -D_REENTRANT -DPOKERTH_DEDICATED_SERVER -DENABLE_IPV6 -DTIXML_USE_STL -DBOOST_FILESYSTEM_DEPRECATED -DPREFIX="/usr" -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4 -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/gui/qt -Isrc/gui/qt/qttools -Isrc/gui/qt/qttools/nonqthelper -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/third_party/asn1 -Isrc/core -I/usr/include -Imocs -o obj/servermanagerirc.o src/net/common/servermanagerirc.cpp
src/net/common/ircthread.cpp: In function ‘void irc_event_numeric(irc_session_t*, unsigned int, const char*, const char**, unsigned int)’:
src/net/common/ircthread.cpp:193:7: error: ‘LIBIRC_RFC_ERR_NICKNAMEINUSE’ was not declared in this scope
src/net/common/ircthread.cpp:194:7: error: ‘LIBIRC_RFC_ERR_NICKCOLLISION’ was not declared in this scope
src/net/common/ircthread.cpp:197:7: error: ‘LIBIRC_RFC_RPL_TOPIC’ was not declared in this scope
src/net/common/ircthread.cpp:199:7: error: ‘LIBIRC_RFC_RPL_NAMREPLY’ was not declared in this scope
src/net/common/ircthread.cpp:203:7: error: ‘LIBIRC_RFC_ERR_NOSUCHNICK’ was not declared in this scope
src/net/common/ircthread.cpp:204:7: error: ‘LIBIRC_RFC_ERR_NOSUCHCHANNEL’ was not declared in this scope
src/net/common/ircthread.cpp:205:7: error: ‘LIBIRC_RFC_ERR_CANNOTSENDTOCHAN’ was not declared in this scope
src/net/common/ircthread.cpp:206:7: error: ‘LIBIRC_RFC_ERR_TOOMANYCHANNELS’ was not declared in this scope
src/net/common/ircthread.cpp:207:7: error: ‘LIBIRC_RFC_ERR_WASNOSUCHNICK’ was not declared in this scope
src/net/common/ircthread.cpp:208:7: error: ‘LIBIRC_RFC_ERR_TOOMANYTARGETS’ was not declared in this scope
src/net/common/ircthread.cpp:209:7: error: ‘LIBIRC_RFC_ERR_NOSUCHSERVICE’ was not declared in this scope
src/net/common/ircthread.cpp:210:7: error: ‘LIBIRC_RFC_ERR_NOORIGIN’ was not declared in this scope
src/net/common/ircthread.cpp:211:7: error: ‘LIBIRC_RFC_ERR_NORECIPIENT’ was not declared in this scope
src/net/common/ircthread.cpp:212:7: error: ‘LIBIRC_RFC_ERR_NOTEXTTOSEND’ was not declared in this scope
src/net/common/ircthread.cpp:213:7: error: ‘LIBIRC_RFC_ERR_NOTOPLEVEL’ was not declared in this scope
src/net/common/ircthread.cpp:214:7: error: ‘LIBIRC_RFC_ERR_WILDTOPLEVEL’ was not declared in this scope
src/net/common/ircthread.cpp:215:7: error: ‘LIBIRC_RFC_ERR_BADMASK’ was not declared in this scope
src/net/common/ircthread.cpp:216:7: error: ‘LIBIRC_RFC_ERR_UNKNOWNCOMMAND’ was not declared in this scope
src/net/common/ircthread.cpp:217:7: error: ‘LIBIRC_RFC_ERR_NOMOTD’ was not declared in this scope
src/net/common/ircthread.cpp:218:7: error: ‘LIBIRC_RFC_ERR_NOADMININFO’ was not declared in this scope
src/net/common/ircthread.cpp:219:7: error: ‘LIBIRC_RFC_ERR_FILEERROR’ was not declared in this scope
src/net/common/ircthread.cpp:220:7: error: ‘LIBIRC_RFC_ERR_NONICKNAMEGIVEN’ was not declared in this scope
src/net/common/ircthread.cpp:221:7: error: ‘LIBIRC_RFC_ERR_ERRONEUSNICKNAME’ was not declared in this scope
src/net/common/ircthread.cpp:222:7: error: ‘LIBIRC_RFC_ERR_UNAVAILRESOURCE’ was not declared in this scope
src/net/common/ircthread.cpp:223:7: error: ‘LIBIRC_RFC_ERR_USERNOTINCHANNEL’ was not declared in this scope
src/net/common/ircthread.cpp:224:7: error: ‘LIBIRC_RFC_ERR_NOTONCHANNEL’ was not declared in this scope
src/net/common/ircthread.cpp:225:7: error: ‘LIBIRC_RFC_ERR_USERONCHANNEL’ was not declared in this scope
src/net/common/ircthread.cpp:226:7: error: ‘LIBIRC_RFC_ERR_NOLOGIN’ was not declared in this scope
src/net/common/ircthread.cpp:227:7: error: ‘LIBIRC_RFC_ERR_SUMMONDISABLED’ was not declared in this scope
src/net/common/ircthread.cpp:228:7: error: ‘LIBIRC_RFC_ERR_USERSDISABLED’ was not declared in this scope
src/net/common/ircthread.cpp:229:7: error: ‘LIBIRC_RFC_ERR_NOTREGISTERED’ was not declared in this scope
src/net/common/ircthread.cpp:230:7: error: ‘LIBIRC_RFC_ERR_NEEDMOREPARAMS’ was not declared in this scope
src/net/common/ircthread.cpp:231:7: error: ‘LIBIRC_RFC_ERR_ALREADYREGISTRED’ was not declared in this scope
src/net/common/ircthread.cpp:232:7: error: ‘LIBIRC_RFC_ERR_NOPERMFORHOST’ was not declared in this scope
src/net/common/ircthread.cpp:233:7: error: ‘LIBIRC_RFC_ERR_PASSWDMISMATCH’ was not declared in this scope
src/net/common/ircthread.cpp:234:7: error: ‘LIBIRC_RFC_ERR_YOUREBANNEDCREEP’ was not declared in this scope
src/net/common/ircthread.cpp:235:7: error: ‘LIBIRC_RFC_ERR_YOUWILLBEBANNED’ was not declared in this scope
src/net/common/ircthread.cpp:236:7: error: ‘LIBIRC_RFC_ERR_KEYSET’ was not declared in this scope
src/net/common/ircthread.cpp:237:7: error: ‘LIBIRC_RFC_ERR_CHANNELISFULL’ was not declared in this scope
src/net/common/ircthread.cpp:238:7: error: ‘LIBIRC_RFC_ERR_UNKNOWNMODE’ was not declared in this scope
src/net/common/ircthread.cpp:239:7: error: ‘LIBIRC_RFC_ERR_INVITEONLYCHAN’ was not declared in this scope
src/net/common/ircthread.cpp:240:7: error: ‘LIBIRC_RFC_ERR_BANNEDFROMCHAN’ was not declared in this scope
src/net/common/ircthread.cpp:241:7: error: ‘LIBIRC_RFC_ERR_BADCHANNELKEY’ was not declared in this scope
src/net/common/ircthread.cpp:242:7: error: ‘LIBIRC_RFC_ERR_BADCHANMASK’ was not declared in this scope
src/net/common/ircthread.cpp:243:7: error: ‘LIBIRC_RFC_ERR_NOCHANMODES’ was not declared in this scope
src/net/common/ircthread.cpp:244:7: error: ‘LIBIRC_RFC_ERR_BANLISTFULL’ was not declared in this scope
src/net/common/ircthread.cpp:245:7: error: ‘LIBIRC_RFC_ERR_NOPRIVILEGES’ was not declared in this scope
src/net/common/ircthread.cpp:246:7: error: ‘LIBIRC_RFC_ERR_CHANOPRIVSNEEDED’ was not declared in this scope
src/net/common/ircthread.cpp:247:7: error: ‘LIBIRC_RFC_ERR_CANTKILLSERVER’ was not declared in this scope
src/net/common/ircthread.cpp:248:7: error: ‘LIBIRC_RFC_ERR_RESTRICTED’ was not declared in this scope
src/net/common/ircthread.cpp:249:7: error: ‘LIBIRC_RFC_ERR_UNIQOPPRIVSNEEDED’ was not declared in this scope
src/net/common/ircthread.cpp:250:7: error: ‘LIBIRC_RFC_ERR_NOOPERHOST’ was not declared in this scope
src/net/common/ircthread.cpp:251:7: error: ‘LIBIRC_RFC_ERR_UMODEUNKNOWNFLAG’ was not declared in this scope
src/net/common/ircthread.cpp:252:7: error: ‘LIBIRC_RFC_ERR_USERSDONTMATCH’ was not declared in this scope
make[1]: *** [obj/ircthread.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/games-board/pokerth-0.9.4/work/PokerTH-0.9.4-src'
make: *** [sub-pokerth_server-pro-make_default-ordered] Error 2
emake failed
 * ERROR: games-board/pokerth-0.9.4 failed (compile phase):
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2612:  Called games_src_compile
 *   environment, line 1449:  Called base_src_make
 *   environment, line  425:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =games-board/pokerth-0.9.4',
 * the complete build log and the output of 'emerge -pqv =games-board/pokerth-0.9.4'.
 * The complete build log is located at '/var/tmp/portage/games-board/pokerth-0.9.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-board/pokerth-0.9.4/temp/environment'.
 * S: '/var/tmp/portage/games-board/pokerth-0.9.4/work/PokerTH-0.9.4-src'

>>> Failed to emerge games-board/pokerth-0.9.4, Log file:

>>>  '/var/tmp/portage/games-board/pokerth-0.9.4/temp/build.log'

 * Messages for package games-board/pokerth-0.9.4:

 * ERROR: games-board/pokerth-0.9.4 failed (compile phase):
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2612:  Called games_src_compile
 *   environment, line 1449:  Called base_src_make
 *   environment, line  425:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =games-board/pokerth-0.9.4',
 * the complete build log and the output of 'emerge -pqv =games-board/pokerth-0.9.4'.
 * The complete build log is located at '/var/tmp/portage/games-board/pokerth-0.9.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-board/pokerth-0.9.4/temp/environment'.
 * S: '/var/tmp/portage/games-board/pokerth-0.9.4/work/PokerTH-0.9.4-src'


Expected Results:  
Successful completion of emerge pokerth-0.9.4

Q6600 ~ # emerge --info
Portage 2.2.0_alpha86_p9 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.15-r1, 3.2.6-ck x86_64)
=================================================================
System uname: Linux-3.2.6-ck-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Tue, 08 May 2012 13:45:01 +0000
app-shells/bash:          4.2_p28
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r1
Repositories: gentoo BZ-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.channelx.biz/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amd64codecs berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups cxx dbus device-mapper directfb dri dts dvd dvdr emboss emerald encode exif fam fbcondecor ffmpeg firefox flac fortran gdbm gdu gif gnutls gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify lm_sensors lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pppd python qt3support readline samba sdl session spell sse sse2 ssl startup-notification svg symlink tcpd threads thunar tiff truetype udev unicode usb uuid vorbis wxwidgets x264 xcb xcomposite xfce xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 jannis 2012-05-08 18:57:47 UTC
I have this on one of my ~amd64-machines, too while on another ~amd64-machine it compiled just fine. net-libs/libircclient is installed on both machines in version 1.6. Don't really know what's wrong ... :/
Comment 2 thunderrd 2012-05-08 19:51:39 UTC
OK, jannis...I re-emerged net-libs/libircclient and the compile was able to finish.  I don't know exactly what could have been wrong with it, since it was fine with pokerth-0.9.1 but the problem is resolved on my box.

Thank you for pointing me in the right direction.
Comment 3 jannis 2012-05-08 21:04:41 UTC
I just found it:
In the libircclient ChangeLog-file (/usr/portage/net-libs/libircclient/ChangeLog) it says:
  15 Apr 2012; Michael Sterrett <mr_bones_@gentoo.org> libircclient-1.6.ebuild,
  +files/libircclient-1.6-include.patch:
  fix libircclient.h include

Since I installed it on 12 Apr, one system didn't have this fix (the other machine emerged it after 15 Apr). If Michael had increased the revision number (1.6-r1), the update would've been automatic and this bug wouldn't ever have existed.

So PLEASE tell Michael (may I add him to CC or is that rude?) to do a revbump in such cases. It might help everybody involved if same versions of the same packages contain the same content on every machine they are installed (USE-flags and CFLAGS and such not taken into account). Not everybody reads the ChangeLog-files of all dependencies when a build fails ... Thanks :)
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2012-05-08 21:07:30 UTC
Nah, if it were stable I would have rev bumped it but otherwise... if you're running unstable you should know what you're doing.