The newly-stable mail-client/mutt-1.5.20-r4 fails to build here: i686-pc-linux-gnu-gcc -DPKGDATADIR=\"/usr/share/mutt\" -DSYSCONFDIR=\"/etc/mutt\" -DBINDIR=\"/usr/bin\" -DMUTTLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I. -Iintl -I./intl -Wall -pedantic -Wno-long-long -O2 -march=pentium3m -pipe -fomit-frame-pointer -MT mbox.o -MD -MP -MF .deps/mbox.Tpo -c -o mbox.o mbox.c mv -f .deps/mbox.Tpo .deps/mbox.Po i686-pc-linux-gnu-gcc -DPKGDATADIR=\"/usr/share/mutt\" -DSYSCONFDIR=\"/etc/mutt\" -DBINDIR=\"/usr/bin\" -DMUTTLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I. -Iintl -I./intl -Wall -pedantic -Wno-long-long -O2 -march=pentium3m -pipe -fomit-frame-pointer -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c menu.c: In function 'print_enriched_string': menu.c:59: warning: implicit declaration of function 'add_wch' menu.c:59: error: 'WACS_LLCORNER' undeclared (first use in this function) menu.c:59: error: (Each undeclared identifier is reported only once menu.c:59: error: for each function it appears in.) menu.c:67: error: 'WACS_ULCORNER' undeclared (first use in this function) menu.c:75: error: 'WACS_LTEE' undeclared (first use in this function) menu.c:83: error: 'WACS_HLINE' undeclared (first use in this function) menu.c:91: error: 'WACS_VLINE' undeclared (first use in this function) menu.c:99: error: 'WACS_TTEE' undeclared (first use in this function) menu.c:107: error: 'WACS_BTEE' undeclared (first use in this function) make[2]: *** [menu.o] Error 1 make[2]: Leaving directory `/tmp/portage/mail-client/mutt-1.5.20-r4/work/mutt-1.5.20' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/mail-client/mutt-1.5.20-r4/work/mutt-1.5.20' make: *** [all] Error 2 * * ERROR: mail-client/mutt-1.5.20-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3084: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed I tried varying USE flags, including all off, it does not affect this error. 1.5.20-r1 dies on the same error. Previously stable 1.5.16 and 1.5.19-r1 compile fine. My emerge --info Portage 2.2_rc40 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-rc7-00012-g3edf2fb i686) ================================================================= System uname: Linux-2.6.31-rc7-00012-g3edf2fb-i686-Intel-R-_Celeron-R-_M_processor_1300MHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 26 Aug 2009 15:45:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d /usr/share/X11/xkb" CXXFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer" DISTDIR="/usr/src/packages" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="assume-digests distlocks fixpackages preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.intergenia.de http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_CONFIGROOT="/" 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="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/x11" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dri dts dvd dvdr eds emboss encode esd evo expat fam firefox flac fortran gif gnutls gpm iconv isdnlog java jpeg kde ladspa lcms libnotify mad mikmod mmx mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session sndfile spl sqlite sse sse2 ssl svg sysfs tcpd threads thunar tiff truetype usb vim-syntax vorbis win32codecs wmf x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" SANE_BACKENDS="agfafocus apple bh brother canon canon630u dmc epson hp lexmark matsushita microtek microtek2 mustek mustek_usb nec plustek plustek_pp ricoh umax umax_pp umax1220u ibm hp5400 u12 snapscan hp4200 hp3500" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Me too. It happens when ncurses isn't built with the unicode use flag (In reply to comment #0) > The newly-stable mail-client/mutt-1.5.20-r4 fails to build here: > > i686-pc-linux-gnu-gcc -DPKGDATADIR=\"/usr/share/mutt\" > -DSYSCONFDIR=\"/etc/mutt\" -DBINDIR=\"/usr/bin\" > -fomit-frame-pointer -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c > menu.c: In function 'print_enriched_string': > menu.c:59: warning: implicit declaration of function 'add_wch' > menu.c:59: error: 'WACS_LLCORNER' undeclared (first use in this function) > menu.c:59: error: (Each undeclared identifier is reported only once > menu.c:59: error: for each function it appears in.) > menu.c:67: error: 'WACS_ULCORNER' undeclared (first use in this function) > menu.c:75: error: 'WACS_LTEE' undeclared (first use in this function) > menu.c:83: error: 'WACS_HLINE' undeclared (first use in this function) > menu.c:91: error: 'WACS_VLINE' undeclared (first use in this function) > menu.c:99: error: 'WACS_TTEE' undeclared (first use in this function) > menu.c:107: error: 'WACS_BTEE' undeclared (first use in this function) > make[2]: *** [menu.o] Error 1
that's bad, hang on.
I just committed revision 1.8 of the mutt-1.5.20-r4 ebuild, please report if that works (in half an hour from now or so).
(In reply to comment #3) > I just committed revision 1.8 of the mutt-1.5.20-r4 ebuild, please report if > that works (in half an hour from now or so). > That seems to have fixed it. Thanks Alan
thanks
It seems to have worked here, too. I cannot give a definite answer yet, as I will not have access to the machine I hit the bug on for a couple days. I recompiled ncurses without unicode support on my work machine, but that preserved a few libs. The error and the fix after resyncing reproduce here, but the setup is not identical. When terrible things happen on my laptop, I will reopen the bug. Thanks a lot!