Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277809 - app-pda/barry-0.11 fails to build with gcc-4.4.0
Summary: app-pda/barry-0.11 fails to build with gcc-4.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 14:18 UTC by Jory A. Pratt
Modified: 2009-10-18 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 Jory A. Pratt gentoo-dev 2009-07-14 14:18:01 UTC
Barry attempts to run through make with errors of EOF not declared and then fails to finish.

Reproducible: Always

Steps to Reproduce:
1.emerge barry
2.
3.

Actual Results:  
time.cc: In function 'const Barry::TimeZone* Barry::GetTimeZone(short unsigned int)':
time.cc:151: warning: deprecated conversion from string constant to 'char*'
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g -O2 -march=native -msse3 -pipe -MT time.lo -MD -MP -MF .deps/time.Tpo -c time.cc -o time.o >/dev/null 2>&1
base64.cc: In member function 'int base64_input::operator()()':
base64.cc:41: error: 'EOF' was not declared in this scope
base64.cc: In function 'bool encode(base64_input&, base64_output&)':
base64.cc:99: error: 'EOF' was not declared in this scope
base64.cc: In function 'int insig(base64_input&)':
base64.cc:138: error: 'EOF' was not declared in this scope
base64.cc: In function 'bool decode(base64_input&, base64_output&)':
base64.cc:174: error: 'EOF' was not declared in this scope
make[2]: *** [base64.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g -O2 -march=native -msse3 -pipe -MT data.lo -MD -MP -MF .deps/data.Tpo -c data.cc  -fPIC -DPIC -o .libs/data.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g -O2 -march=native -msse3 -pipe -MT data.lo -MD -MP -MF .deps/data.Tpo -c data.cc -o data.o >/dev/null 2>&1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * 
 * ERROR: app-pda/barry-0.11 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2385:  Called base_src_compile
 *             environment, line  241:  Called base_src_work 'all'
 *             environment, line  357:  Called base_src_work 'configure' 'make'
 *             environment, line  352:  Called die
 * The specific snippet of code:
 *                       emake || die "died running emake, $FUNCNAME:make";
 *  The die message:
 *   died running emake, base_src_work:make
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-pda/barry-0.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-pda/barry-0.11/temp/environment'.
 * 

>>> Failed to emerge app-pda/barry-0.11, Log file:

>>>  '/var/tmp/portage/app-pda/barry-0.11/temp/build.log'


Expected Results:  
barry-0.11 should have installed

[gothgirl - ~]  emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/no-multilib, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-AMD_Turion-tm-_X2_Ultra_Dual-Core_Mobile_ZM-80-with-gentoo-2.0.1
Timestamp of tree: Sun, 12 Jul 2009 06:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/home/gentoo /home/mozilla"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 audit berkdb bluetooth branding bzip2 cli consolekit cracklib crypt cups custom-optimization dbus dri fam fortran gdbm gnome gnome-keyring gtk hal iconv isdnlog java jpeg laptop lzma midi mmx mp3 mudflap ncurses networkmanager nptl nptlonly opengl openmp pam pcre perl pic png policykit pppd python readline reflection session spell spl sse sse2 ssl svg sysfs tcpd tiff truetype type1 unicode usb xorg zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-07-14 15:13:42 UTC
It's probably just a missing '#include <cstdio>'.
Comment 2 Bob Nelson 2009-10-13 18:20:38 UTC
(In reply to comment #1)
> It's probably just a missing '#include <cstdio>'.
> 

It is, bump.
Comment 3 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-18 18:45:33 UTC
Fixed in app-pda/barry-0.16