Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227325 - app-text/tuxcards-1.2 fails to build
Summary: app-text/tuxcards-1.2 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-15 21:48 UTC by Evil Compile Person
Modified: 2008-06-20 20:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tuxcards-1.2-gcc43.patch (tuxcards-1.2-gcc43.patch,330 bytes, patch)
2008-06-18 00:56 UTC, Jeremy Olexa (darkside) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2008-06-15 21:48:50 UTC
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -Ioutput/moc/ -o output/bin/persister.o src/persister.cpp
In file included from src/./information/informationformat.h:23,
                 from src/./information/CInformationElement.h:23,
                 from src/./information/CInformationCollection.h:24,
                 from src/persister.h:22,
                 from src/persister.cpp:18:
/usr/qt/3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -Ioutput/moc/ -o output/bin/CTuxCardsConfiguration.o src/CTuxCardsConfiguration.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -Ioutput/moc/ -o output/bin/fontsettings.o src/fontsettings.cpp
x86_64-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -pipe -fno-strict-aliasing -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/qt/3/include -Ioutput/moc/ -o output/bin/commandlineoptions.o src/commandlineoptions.cpp
In file included from src/./information/informationformat.h:23,
                 from src/./information/CInformationElement.h:23,
                 from src/./information/CInformationCollection.h:24,
                 from src/./information/xmlpersister.h:25,
                 from src/commandlineoptions.cpp:23:
/usr/qt/3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
src/commandlineoptions.cpp: In constructor 'CommandLineOptions::CommandLineOptions(int, char**)':
src/commandlineoptions.cpp:50: error: 'exit' was not declared in this scope
src/commandlineoptions.cpp:57: error: 'exit' was not declared in this scope
src/commandlineoptions.cpp:60: error: 'exit' was not declared in this scope
make: *** [output/bin/commandlineoptions.o] Error 1
 *
 * ERROR: app-text/tuxcards-1.2 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 unknown
Timestamp of tree: Fri, 13 Jun 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LANG="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://208.71.112.51/gentoo-portage"
USE="X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2008-06-18 00:56:06 UTC
Created attachment 157381 [details, diff]
tuxcards-1.2-gcc43.patch

GCC 4.3 needs #include <cstdlib>.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2008-06-18 00:57:00 UTC
(In reply to comment #1)
> Created an attachment (id=157381) [edit]
> tuxcards-1.2-gcc43.patch
> 
> GCC 4.3 needs #include <cstdlib>. 
> 

I'm not running a gcc-4.3 host. Someone please test. Thanks.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-20 20:43:32 UTC
+  20 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/tuxcards-1.2-gcc43.patch, tuxcards-1.2.ebuild:
+  Fix gcc-4.3 compatibility. Thanks to Jeremy Olexa <darkside@gentoo.org> in
+  bug 227325 for the patch.
+