Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge eix-0.8.8 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
serial_penguin
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2005
Posts: 96
Location: US / Minnesota

PostPosted: Sun Mar 18, 2007 9:12 pm    Post subject: emerge eix-0.8.8 fails Reply with quote

I finally upgraded my ~x86 box from profile desktop/2005.1 to desktop/2006.1. All is well except gcc and eix. I've delayed upgrading gcc (3.3.6) because of hardware issues and time constraints. I've found no issues on the forum in upgrading from eix-0.7.9 to eix-0.8.8 with gcc-3.3.6 but I'm unable to do so. Here is the topmost ebuild error:

    eix version 0.8.8 configured successfully.
    Good luck with make :)
    make all-recursive
    make[1]: Entering directory `/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8'
    Making all in src
    make[2]: Entering directory `/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8/src'
    Making all in eixTk
    make[3]: Entering directory `/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8/src/eixTk'
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT argsreader.o -MD -MP -MF .deps/argsreader.Tpo -c -o argsreader.o argsreader.cc
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT filenames.o -MD -MP -MF .deps/filenames.Tpo -c -o filenames.o filenames.cc
    mv -f .deps/argsreader.Tpo .deps/argsreader.Po
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT regexp.o -MD -MP -MF .deps/regexp.Tpo -c -o regexp.o regexp.cc
    mv -f .deps/filenames.Tpo .deps/filenames.Po
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT stringutils.o -MD -MP -MF .deps/stringutils.Tpo -c -o stringutils.o stringutils.cc
    mv -f .deps/regexp.Tpo .deps/regexp.Po
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT sysutils.o -MD -MP -MF .deps/sysutils.Tpo -c -o sysutils.o sysutils.cc
    mv -f .deps/stringutils.Tpo .deps/stringutils.Po
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT levenshtein.o -MD -MP -MF .deps/levenshtein.Tpo -c -o levenshtein.o levenshtein.cc
    mv -f .deps/sysutils.Tpo .deps/sysutils.Po
    i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -O2 -march=pentium4 -pipe -fomit-frame-pointer -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.cc
    mv -f .deps/levenshtein.Tpo .deps/levenshtein.Po
    In file included from ../../src/portage/keywords.h:33,
    from ../../src/eixrc/eixrc.h:36,
    from ../../src/global.h:32,
    from utils.cc:33:
    ../../src/database/io.h:40: error: syntax error before `;' token
    ../../src/database/io.h:42: error: syntax error before `;' token
    ../../src/database/io.h:44: error: syntax error before `;' token
    ../../src/database/io.h:46: error: syntax error before `;' token
    ../../src/database/io.h:49: error: syntax error before `;' token
    ../../src/database/io.h:51: error: syntax error before `;' token
    ../../src/database/io.h:53: error: syntax error before `;' token
    ../../src/database/io.h:99: error: syntax error before `(' token
    ../../src/database/io.h:102: error: no type `Treesize' in `io'
    ../../src/database/io.h:102: error: syntax error before `)' token
    ../../src/database/io.h:113: error: no type `Treesize' in `io'
    ../../src/database/io.h:113: error: syntax error before `,' token
    In file included from ../../src/eixrc/eixrc.h:36,
    from ../../src/global.h:32,
    from utils.cc:33:

and my emerge --info

    Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-3.3.6, glibc-2.3.6-r5, 2.6.16-gentoo-r13 i686)
    =================================================================
    System uname: 2.6.16-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
    Gentoo Base System release 1.12.9
    Timestamp of tree: Sun, 18 Mar 2007 19:50:01 +0000
    ccache version 2.4 [enabled]
    dev-java/java-config: 1.3.7, 2.0.31
    dev-lang/python: 2.3.5-r3, 2.4.3-r4
    dev-python/pycrypto: 2.0.1-r5
    dev-util/ccache: 2.4-r6
    sys-apps/sandbox: 1.2.17
    sys-devel/autoconf: 2.13, 2.61
    sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
    sys-devel/binutils: 2.16.1-r3
    sys-devel/gcc-config: 1.3.14
    sys-devel/libtool: 1.5.22
    virtual/os-headers: 2.6.17-r2
    ACCEPT_KEYWORDS="x86"
    AUTOCLEAN="yes"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/"
    CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
    CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
    DISTDIR="/usr/portage/distfiles"
    FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
    GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo"
    LANG="en_US.UTF-8"
    LC_ALL="POSIX"
    MAKEOPTS="-j2"
    PKGDIR="/usr/portage/packages"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
    USE="X alsa arts berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus doc dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal howl iconv imlib ipv6 isdnlog jpeg ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga fbdev"
    Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Am I missing something or should eix-0.8.8 not build with gcc-3.3.6? revdep-rebuild reveals nothing broken.
Back to top
View user's profile Send private message
HelAu
n00b
n00b


Joined: 09 Feb 2004
Posts: 59

PostPosted: Sat Mar 24, 2007 10:16 am    Post subject: Reply with quote

Hi,

It can be easily fixed by adding an:

#include <stdint.h>

to src/database/io.h
Hopefully someone will do this :)

Bye
Helmut

--- src/database/io.h.org 2007-03-24 07:15:29.385265368 +0100
+++ src/database/io.h 2007-03-24 07:10:42.682003749 +0100
@@ -30,6 +30,7 @@
#define EIX__IO_H__

#include <string>
+#include <stdint.h>

class Package;
class Version;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum