app-text/manedit-0.5.10 fails to build during compilation of string module with the following error: Compiling module string.o string.cpp:38: error: declaration of `char* strcasestr(const char*, const char*)' throws different exceptions ../include/string.h:27: error: than previous declaration `char* strcasestr(const char*, const char*) throw ()' string.cpp: In function `char* strcasestr(const char*, const char*)': string.cpp:223: error: declaration of `char* strcasestr(const char*, const char*)' throws different exceptions string.cpp:38: error: than previous declaration `char* strcasestr(const char*, const char*) throw ()' make[1]: *** [string.o] Error 1 make: *** [all] Error 2 !!! ERROR: app-text/manedit-0.5.10 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! Compile Error !!! If you need support, post the topmost build error, NOT this status message. Inspecting the affected code files shows the throw () specification to be different (declared in the header but no matching declaration specified in the source file). Should be a relatively easy fix. Reproducible: Always Steps to Reproduce: 1. Just emerge manedit 2. 3. Actual Results: The error as attached. Expected Results: It should compile properly of course. Just in case it's a compiler version issue, here is the output of my emerge --info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 24 2005, 20:20:39)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="en_GB" LINGUAS="uk" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib alsa apache2 audiofile avi bash-completion bcmath berkdb bitmap-fonts bonobo bzlib cdb cdparanoia cdr cpdflib crypt cscope ctype cups curl curlwrappers dba dbm dbx doc dvd emboss encode examples exif expat fam flac flash flatfile foomaticdb freetype ftp gcj gd gdbm gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib inifile java javascript jikes jpeg junit kde ladcca lcms ldap lesstif libcac libedit libg++ libwww mad mhash mikmod mime ming mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl php plotutils png portaudio posix postgres ppds python qdbm qt quicktime readline scanner sdl simplexml slang slp sndfile snmp soap sockets source spell spl sqlite sse ssl svg svga sysvipc szip tcltk tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vorbis wmf wxwindows xml xml2 xmlrpc xmms xsl xv zeo zlib linguas_uk" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Installing manedit 0.6.1 worked for me. To install, I copied the ebuild into my overlay and renamed as manedit-0.6.1.ebuild, ran ebuild digest on the ebuild an ran emerge.
Fixed with manedit-0.6.1