Whent trying to emerge I get following error: ### Making all in /var/tmp/portage/cyrus-imapd-2.1.11-r1/work/cyrus-imapd-2.1.11/acap make[1]: Entering directory `/var/tmp/portage/cyrus-imapd-2.1.11-r1/work/cyrus-imapd-2.1.11/acap' ../et/compile_et ./acap_err.et gcc -c -I/usr/include/db3 -I. -I.. -I../lib -DHAVE_CONFIG_H -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations \ acap.c acap.c: In function `acap_parse_url': acap.c:180: `ACAP_URL_NOT_RECOGNIZED' undeclared (first use in this function) acap.c:180: (Each undeclared identifier is reported only once acap.c:180: for each function it appears in.) acap.c: In function `acap_conn_do_connect': acap.c:257: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c: In function `acap_conn_do_capability': acap.c:298: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c:320: `ACAP_PROTOCOL_ERROR' undeclared (first use in this function) acap.c: In function `acap_conn_do_auth': acap.c:470: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c:493: `ACAP_NO_AUTHENTICATION' undeclared (first use in this function) acap.c: In function `acap_cmd_start': acap.c:677: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c: In function `acap_process_line': acap.c:1791: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c:1809: `ACAP_WOULD_BLOCK' undeclared (first use in this function) acap.c:1822: `ACAP_PROTOCOL_ERROR' undeclared (first use in this function) acap.c: In function `acap_process_outstanding': acap.c:1879: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c:1884: `ACAP_WOULD_BLOCK' undeclared (first use in this function) acap.c: In function `acap_process_on_command': acap.c:1902: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c: In function `acap_search_dataset': acap.c:1986: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c: In function `acap_search_context': acap.c:2109: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c: In function `acap_updatecontext': acap.c:2189: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c: In function `acap_store_entry': acap.c:2239: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c: In function `acap_store_attribute': acap.c:2335: `ACAP_NO_CONNECTION' undeclared (first use in this function) acap.c:2341: `ACAP_NOT_SUPPORTED' undeclared (first use in this function) acap.c: In function `acap_delete_attribute': acap.c:2413: `ACAP_NO_CONNECTION' undeclared (first use in this function) make[1]: *** [acap.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.11-r1/work/cyrus-imapd-2.1.11/acap' make: *** [all] Error 1 !!! ERROR: net-mail/cyrus-imapd-2.1.11-r1 failed. !!! Function src_compile, Line 66, Exitcode 2 !!! compile problem Reproducible: Always Steps to Reproduce: 1.emerge cyrus-imapd Actual Results: got error message every time I tried to compile it. i tried different gcc optimization options with no luck. even tried to compile it manually without portage but still no luck. Expected Results: it should compile normally. Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor GENTOO_MIRRORS="ftp://ftp.gentoo.linux.no/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt motif opengl gnome -alsa -arts -svga apache2 cdr esd flash imap java lcms ldap mozilla mysql perl ruby samba sasl sse tcltk tiff" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -Wno-deprecated" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
turn down your compiler flags
As I previously said i tried different flags and it didnt help at all. But i tried again with those settings: Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor GENTOO_MIRRORS="ftp://ftp.gentoo.linux.no/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt motif opengl gnome -alsa -arts -svga apache2 cdr esd flash imap java lcms ldap mozilla mysql perl ruby samba sasl sse tcltk tiff" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686" CXXFLAGS="-mcpu=i686 -Wno-deprecated" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" and got the same error again. what else should i turn down?
wrangler
Both packages compiled fine on my box with the following: emerge info: Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-mjc1 i686 AMD Athlon(tm) XP 2100+ GENTOO_MIRRORS="http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/kde/3/share/config:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga ggi tcltk java guile sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr scanner -gnome alsa X fbcon" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"