Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227203 - babytrans won't emerge with gcc 4.3.1
Summary: babytrans won't emerge with gcc 4.3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-15 14:41 UTC by Billy DeVincentis
Modified: 2008-06-28 23:03 UTC (History)
1 user (show)

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


Attachments
babytrans-0.9.2-r3-gcc43.patch (babytrans-0.9.2-r3-gcc43.patch,551 bytes, patch)
2008-06-15 16:37 UTC, Marek Miller
Details | Diff
folder including updated ebuild, patch and manifest ready for an overlay (babytrans.tar.gz,2.57 KB, text/plain)
2008-06-15 18:25 UTC, Billy DeVincentis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2008-06-15 14:41:55 UTC
make[1]: Entering directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2'
Making all in po
make[2]: Entering directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2/po'
PATH=../src:$PATH /usr/bin/xgettext --default-domain=babytrans --directory=.. \
          --add-comments --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
        && test ! -f babytrans.po \
           || ( rm -f ./babytrans.pot \
                && mv babytrans.po ./babytrans.pot )
rm -f cat-id-tbl.tmp
sed -f ../intl/po2tbl.sed ./babytrans.pot \
                | sed -e "s/@PACKAGE NAME@/babytrans/" > cat-id-tbl.tmp
sed: couldn't open file ../intl/po2tbl.sed: No such file or directory
if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \
          rm cat-id-tbl.tmp; \
        else \
          echo cat-id-tbl.c changed; \
          rm -f ./cat-id-tbl.c; \
          mv cat-id-tbl.tmp ./cat-id-tbl.c; \
        fi
cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
make[2]: Leaving directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2/po'
Making all in intl
make[2]: Entering directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2/intl'
Making all in src
make[2]: Entering directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2/src'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -O2        -Wall   -I.. -I..       -DLOCALEDIR="\"/usr/share/locale\""  -DDATADIR="\"/usr/share\""       -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include  -c file_parser.cc
c++ -DHAVE_CONFIG_H -I. -I. -I..     -O2        -Wall   -I.. -I..       -DLOCALEDIR="\"/usr/share/locale\""  -DDATADIR="\"/usr/share\""       -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include  -c libbab.cc
c++ -DHAVE_CONFIG_H -I. -I. -I..     -O2        -Wall   -I.. -I..       -DLOCALEDIR="\"/usr/share/locale\""  -DDATADIR="\"/usr/share\""       -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include  -c main.cc
libbab.cc: In member function ‘bool Babylon::open(const std::string&)’:
libbab.cc:137: error: ‘strerror’ was not declared in this scope
libbab.cc:155: error: ‘strerror’ was not declared in this scope
libbab.cc: In member function ‘std::string Babylon::readWord(unsigned int)’:
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
libbab.cc:198: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [libbab.o] Error 1
make[2]: *** Waiting for unfinished jobs....
main.cc: In function ‘std::string<unnamed>::getenvString(const std::string&)’:
main.cc:114: error: ‘getenv’ was not declared in this scope
main.cc: In function ‘bool<unnamed>::loadPreferences(const std::string&)’:
main.cc:261: error: ‘strerror’ was not declared in this scope
main.cc: In function ‘bool<unnamed>::loadDictionaryList(const std::string&)’:
main.cc:330: error: ‘strerror’ was not declared in this scope
main.cc: In function ‘int main(int, char**)’:
main.cc:668: error: ‘EXIT_SUCCESS’ was not declared in this scope
main.cc:668: error: ‘EXIT_FAILURE’ was not declared in this scope
main.cc:677: error: ‘EXIT_FAILURE’ was not declared in this scope
main.cc:687: error: ‘EXIT_FAILURE’ was not declared in this scope
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/work/babytrans-0.9.2'
make: *** [all-recursive-am] Error 2
 *
 * ERROR: app-dicts/babytrans-0.9.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2152:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * 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-dicts/babytrans-0.9.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-dicts/babytrans-0.9.2-r3/temp/environment'

Reproducible: Always




emerge --info
Portage 2.1.5.5 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Sun, 15 Jun 2008 05:35:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 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="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/portage/local/miscellaneous /usr/portage/local/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X a52 aac aalib accessibility acl acpi alsa amarok amd64 apm arts artworkextra audiofile automount avahi bash-completion berkdb bidi bittorrent bluetooth branding bzip2 cairo calendar cdda cdio cdparanoia cdr clamav cli cpudetection cracklib crypt css cups curl dbus deprecated devil dga directfb discouraged distribution divx doc dri dts dv dvb dvd dvdr dvdread eds elisp emacs emboss emerald encode esd etc-proposals evo examples exif extraicons fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash foomaticdb fortran fuse gcj gd gdbm gedit gif gimp glitz gmedia gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml hal hddtemp hfs html htmlhandbook httpd iconv idn ieee1394 imagemagick imlib inkjar ipv6 isdnlog jack java jfs joystick jpeg kde kdehiddenvisibility kerberos lcms ldap libcaca libnotify lirc live lm_sensors logrotate mad mail matroska mdnsresponder-compat midi mikmod mime mjpeg mmx mmxext mng mono mozilla mp3 mpeg mplayer mudflap multilib musicbrainz mysql nas nautilus ncurses networking new-login nforce2 nls nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg opengl openmp pam parport pcre pdf perl pmu png postgres ppds pppd pulseaudio python qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection regex reiser4 reiserfs samba scanner sdl seamonkey semantic-desktop servletapi session skins slang slp smp sndfile snmp sound sounds speex spell spl sqlite sse sse2 ssl startup-notification stream subversion svg swat symlink sysfs syslog tcpd tetex theora thesaurus threads thunderbird tidy tiff timidity tk truetype type1 unicode usb userlocales utempter utils v4l vcd vdr vlm voice vorbis vram weather wmf wmp wordperfect wxwindows xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xv xvid zeroconf 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="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marek Miller 2008-06-15 16:37:13 UTC
Again missing headers.

Steps to reproduce:
1. echo "=app-dicts/babytrans-0.9.2-r3" >> /etc/portage/package.keywords
2. USE="" emerge -v1 =app-dicts/babytrans-0.9.2-r3

The error messages:
1.
> main.cc:668: error: 'EXIT_SUCCESS' was not declared in this scope

2.
> libbab.cc: In member function 'bool Babylon::open(const std::string&)':
> libbab.cc:137: error: 'strerror' was not declared in this scope


My emerge --info: as in the bug 226663, comment 2.
Please, mark this bug blocking Bug 198121.
Comment 2 Marek Miller 2008-06-15 16:37:37 UTC
Created attachment 156943 [details, diff]
babytrans-0.9.2-r3-gcc43.patch
Comment 3 Billy DeVincentis 2008-06-15 18:25:01 UTC
Created attachment 156967 [details]
folder including updated ebuild, patch and manifest ready for an overlay
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-15 20:00:53 UTC
@Billy: Don't attach tarballs, Manifest files, please.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-16 13:41:50 UTC
Not a glibc problem.
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-28 23:03:06 UTC
+  28 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/babytrans-0.9.2-gcc43.patch, babytrans-0.9.2-r3.ebuild:
+  Fix for gcc-4.3, bug #227203. Thanks to Marek Miller <mlm@shells.pl>
+