public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't compile eix
@ 2007-07-28 11:58 Nick Rout
  2007-07-28 12:17 ` Kent Fredric
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Rout @ 2007-07-28 11:58 UTC (permalink / raw
  To: gentoo-user

I have a much abused gentoo system on which I was trying to update eix. 
I get quite a few errors and i am not sure how far back up the output to 
go. Heres the last bits anyway. Can anyone tell me what I can do to fix 
that?

../../src/search/redundancy.h:37: error: syntax error before `,' token
../../src/search/redundancy.h:43: error: declaration does not declare 
anything
../../src/search/redundancy.h:50: error: missing ';' before right brace
../../src/search/redundancy.h:34: error: ISO C++ forbids declaration of `
   RedAtom' with no type
In file included from ../../src/global.h:32,
                 from utils.cc:33:
../../src/eixrc/eixrc.h:70: error: no type `Redundant' in `Keywords'
../../src/eixrc/eixrc.h:70: error: syntax error before `,' token
../../src/eixrc/eixrc.h:80: error: no type `Redundant' in `Keywords'
../../src/eixrc/eixrc.h:80: error: syntax error before `,' token
In file included from 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/ios:48,
                 from 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/ostream:45,
                 from 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/iostream:45,
                 from ../../src/eixTk/exceptions.h:31,
                 from utils.cc:35:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:58: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:62: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:66: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:70: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:74: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:78: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:82: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:86: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:90: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:94: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:98: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:102: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:106: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:112: 
error: `
   ctype' is not a template
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:114: 
error: `
   ctype' is not a template
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:124: 
error: `
   codecvt' is not a template
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:126: 
error: `
   codecvt' is not a template
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:132: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:134: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:147: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:149: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:151: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:153: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:158: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:160: 
error: syntax
   error before `<' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:176: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:176: 
error: too
   many template parameter lists in declaration of `const _Facet&
   std::use_facet(...)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:180: 
error: syntax
   error before `&' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:180: 
error: too
   many template parameter lists in declaration of `bool 
std::has_facet(...)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/locale_classes.h:51: 
confused by earlier errors, bailing out
make[3]: *** [utils.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/levenshtein.Tpo .deps/levenshtein.Po
make[3]: Leaving directory 
`/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8/src/eixTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/app-portage/eix-0.8.8/work/eix-0.8.8'
make: *** [all] Error 2

!!! ERROR: app-portage/eix-0.8.8 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  eix-0.8.8.ebuild, line 19:   Called die

!!! 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/log/portage/app-portage:eix-0.8.8:20070728-114150.log'.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Can't compile eix
  2007-07-28 11:58 Nick Rout
@ 2007-07-28 12:17 ` Kent Fredric
  0 siblings, 0 replies; 3+ messages in thread
From: Kent Fredric @ 2007-07-28 12:17 UTC (permalink / raw
  To: gentoo-user

On 7/28/07, Nick Rout <nick@rout.co.nz> wrote:
> I have a much abused gentoo system on which I was trying to update eix.
> I get quite a few errors and i am not sure how far back up the output to
> go. Heres the last bits anyway. Can anyone tell me what I can do to fix
> that?
>
> ../../src/search/redundancy.h:37: error: syntax error before `,' token
> ../../src/search/redundancy.h:43: error: declaration does not declare
> anything
> error: syntax
>    error before `<' token
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3/bits/localefwd.h:149:
> error: syntax
>    error before `<' token


for a start it looks like the wrong GCC, last i read eix doesnt
compile with < gcc-3.4

make sure you have a more recent compiler selected with either
eselect-compiler or with gcc-config   ( if you have  a 4.0 or greater
available, i suggest you switch to that to guarantee eix to work )



-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}'
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Can't compile eix
       [not found] ` <8LTr9-AG-3@gated-at.bofh.it>
@ 2007-07-29 17:47   ` Vaeth
  0 siblings, 0 replies; 3+ messages in thread
From: Vaeth @ 2007-07-29 17:47 UTC (permalink / raw
  To: gentoo-user

On Sat, 28 Jul 2007, Kent Fredric wrote:

> On 7/28/07, Nick Rout <nick@rout.co.nz> wrote:
> > I have a much abused gentoo system on which I was trying to update eix.
> > I get quite a few errors [...]
> 
> for a start it looks like the wrong GCC, last i read eix doesnt
> compile with < gcc-3.4

It seems that you are right: <=eix-0.9.9 does not compile with <gcc-3.4.

This is a bug which should be fixed.

In the most current svn trunk of eix (eix-0.9.10) there are some changes
so that compilation should work with gcc-3.3.6 (and hopefully also
with all other versions of gcc).

Nick, you can just download the latest svn trunk (instructions are
on the eix homepage) and build the tarball with ./mktarball
To install the tarball, just copy it to $DISTDIR and rename the
eix-0.9.9.ebuild to eix-0.9.10.ebuild in your overlay
(and call "ebuild [PATH]/eix-0.9.10.ebuild digest", of course),

If there are still compilation issues, please open a bug.

Of course, other testers are welcome, too...

Martin
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-29 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8LT7R-8km-19@gated-at.bofh.it>
     [not found] ` <8LTr9-AG-3@gated-at.bofh.it>
2007-07-29 17:47   ` [gentoo-user] Can't compile eix Vaeth
2007-07-28 11:58 Nick Rout
2007-07-28 12:17 ` Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox