>>> Unpacking source... >>> Unpacking localshell-1.2.tar.bz2 to /var/tmp/portage/app-shells/localshell-1.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-shells/localshell-1.2/work/localshell-1.2 ... * econf: updating localshell-1.2/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating localshell-1.2/config/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/bin --sysconfdir=/etc --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no 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 ANSI C... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for AIX... no checking for library containing strerror... none required checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for ANSI C header files... (cached) no checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking whether C++ has bool... yes checking whether C++ has buggy scoping in for-loops... yes checking whether user wants assertions... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether user wants warnings... no checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for ANSI C header files... (cached) no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for string.h... (cached) no checking for strings.h... (cached) no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for size_t... yes checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking for memset... yes checking for regcomp... yes checking for strdup... yes checking for strndup... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating README config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands make -j14 make all-recursive make[1]: Entering directory `/var/tmp/portage/app-shells/localshell-1.2/work/localshell-1.2' Making all in src make[2]: Entering directory `/var/tmp/portage/app-shells/localshell-1.2/work/localshell-1.2/src' echo "const char* CONFIGFILE = \"/etc/localshell.conf\";" >built-configfile.h make all-am make[3]: Entering directory `/var/tmp/portage/app-shells/localshell-1.2/work/localshell-1.2/src' if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT localshell.o -MD -MP -MF ".deps/localshell.Tpo" -c -o localshell.o localshell.cxx; \ then mv -f ".deps/localshell.Tpo" ".deps/localshell.Po"; else rm -f ".deps/localshell.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT config.o -MD -MP -MF ".deps/config.Tpo" -c -o config.o config.cxx; \ then mv -f ".deps/config.Tpo" ".deps/config.Po"; else rm -f ".deps/config.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o common.cxx; \ then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi In file included from config.cxx:7: config.hh:7: error: 'fstream' was not declared in this scope config.hh:7: error: 'fs' was not declared in this scope config.hh:7: error: expected primary-expression before '&' token config.hh:7: error: 'conf' was not declared in this scope config.hh:7: error: initializer expression list treated as compound expression In file included from localshell.cxx:5: config.hh:7: error: 'fstream' was not declared in this scope config.hh:7: error: 'fs' was not declared in this scope config.hh:7: error: expected primary-expression before '&' token config.hh:7: error: 'conf' was not declared in this scope config.hh:7: error: initializer expression list treated as compound expression localshell.cxx: In function 'int main(int, char**)': localshell.cxx:22: error: 'memset' was not declared in this scope localshell.cxx:24: error: 'strncat' was not declared in this scope localshell.cxx:25: error: 'strncat' was not declared in this scope localshell.cxx:26: error: 'strlen' was not declared in this scope localshell.cxx:34: error: 'strcmp' was not declared in this scope localshell.cxx:57: warning: deprecated conversion from string constant to 'char*' localshell.cxx:60: error: 'strncat' was not declared in this scope localshell.cxx:63: error: 'execv' was not declared in this scope make[3]: *** [localshell.o] Error 1 make[3]: *** Waiting for unfinished jobs.... config.cxx: In function 'int load_config(const char*, configuration&)': config.cxx:21: error: 'parse_config' cannot be used as a function config.cxx: In function 'int parse_config(std::fstream&, configuration&)': config.cxx:26: error: 'int parse_config(std::fstream&, configuration&)' redeclared as different kind of symbol config.hh:7: error: previous declaration of 'int parse_config' config.cxx:31: error: 'memset' was not declared in this scope config.cxx:37: error: 'strlen' was not declared in this scope config.cxx:42: error: 'strstr' was not declared in this scope config.cxx: In function 'int parse_config_argument__entry(uid_t, gid_t, char*, configuration&)': config.cxx:110: error: 'atol' was not declared in this scope config.cxx:112: error: 'strstr' was not declared in this scope config.cxx:126: error: 'strdup' was not declared in this scope config.cxx: In function 'cfg_list* create_cfg_list(char*, uid_t, gid_t)': config.cxx:146: error: 'strdup' was not declared in this scope make[3]: *** [config.o] Error 1 common.cxx: In function 'uid_t resolve_uid(char*)': common.cxx:48: error: 'strlen' was not declared in this scope common.cxx: In function 'gid_t resolve_gid(char*)': common.cxx:71: error: 'strlen' was not declared in this scope common.cxx: In function 'char* get_preferred_shell(char*)': common.cxx:95: error: 'memset' was not declared in this scope common.cxx:101: error: 'strndup' was not declared in this scope make[3]: *** [common.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-shells/localshell-1.2/work/localshell-1.2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-shells/localshell-1.2/work/localshell-1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-shells/localshell-1.2/work/localshell-1.2' make: *** [all] Error 2 * * ERROR: app-shells/localshell-1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 144: 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-shells/localshell-1.2:20081212-164012.log'. * The ebuild environment file is located at '/var/tmp/portage/app-shells/localshell-1.2/temp/environment'. *