>>> Unpacking source... >>> Unpacking calcurse-2.3.tar.gz to /var/tmp/portage/app-office/calcurse-2.3/work * Applying calcurse-2.3-cflags.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3' ... * Running aclocal -I m4 ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3 ... * econf: updating calcurse-2.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating calcurse-2.3/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking host system type... (cached) i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for initscr in -lncurses... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for math.h... (cached) yes checking for exp in -lm... yes ./configure: line 7828: CFLAGS: command not found configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating po/Makefile config.status: creating config.h config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands ======================================================================== calcurse is configured as follows. Please check that this configuration matches your expectations. Also give a look at the config.h file to check for preprocessor symbols. Host system type : i686-pc-linux-gnu Options used to compile and link: PREFIX = /usr VERSION = 2.3 CC = i686-pc-linux-gnu-gcc CFLAGS = -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h CPPFLAGS = DEFS = -DHAVE_CONFIG_H LD = /usr/i686-pc-linux-gnu/bin/ld LDFLAGS = -Wl,-O1 LIBS = -lncurses -pthread -lm ======================================================================== cd . && /bin/sh /var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3/missing --run autoheader rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3' Making all in po make[2]: Entering directory `/var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3/po' Making all in src make[2]: Entering directory `/var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3/src' i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT calcurse.o -MD -MP -MF .deps/calcurse.Tpo -c -o calcurse.o calcurse.c i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT apoint.o -MD -MP -MF .deps/apoint.Tpo -c -o apoint.o apoint.c i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT args.o -MD -MP -MF .deps/args.Tpo -c -o args.o args.c i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT calendar.o -MD -MP -MF .deps/calendar.Tpo -c -o calendar.o calendar.c i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT custom.o -MD -MP -MF .deps/custom.Tpo -c -o custom.o custom.c i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT day.o -MD -MP -MF .deps/day.Tpo -c -o day.o day.c i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT event.o -MD -MP -MF .deps/event.Tpo -c -o event.o event.c i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -pipe -include /var/tmp/portage/app-office/calcurse-2.3/temp/flagscheck.h -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c calcurse.c: In function 'main': calcurse.c:74: error: 'LC_ALL' undeclared (first use in this function) calcurse.c:74: error: (Each undeclared identifier is reported only once calcurse.c:74: error: for each function it appears in.) make[2]: *** [calcurse.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/event.Tpo .deps/event.Po mv -f .deps/help.Tpo .deps/help.Po mv -f .deps/args.Tpo .deps/args.Po mv -f .deps/apoint.Tpo .deps/apoint.Po mv -f .deps/day.Tpo .deps/day.Po mv -f .deps/custom.Tpo .deps/custom.Po mv -f .deps/calendar.Tpo .deps/calendar.Po make[2]: Leaving directory `/var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/calcurse-2.3/work/calcurse-2.3' make: *** [all] Error 2 * * ERROR: app-office/calcurse-2.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2512: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * 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-office:calcurse-2.3:20081027-221906.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/calcurse-2.3/temp/environment'. *