* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.31-sabayon >>> Unpacking source... >>> Unpacking dmraid-1.0.0.rc16.tar.bz2 to /var/tmp/portage/sys-fs/dmraid-1.0.0_rc16/work >>> Source unpacked in /var/tmp/portage/sys-fs/dmraid-1.0.0_rc16/work >>> Preparing source in /var/tmp/portage/sys-fs/dmraid-1.0.0_rc16/work/dmraid/1.0.0.rc16 ... * Applying dmraid-1.0.0_rc16-undo-p-rename.patch ...  [ ok ] * Applying dmraid-destdir-fix.patch ...  [ ok ] * Applying dmraid-1.0.0_rc16-as-needed.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/dmraid-1.0.0_rc16/work/dmraid/1.0.0.rc16 ... * econf: updating dmraid/1.0.0.rc16/autoconf/config.guess with /usr/share/gnuconfig/config.guess * econf: updating dmraid/1.0.0.rc16/autoconf/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static_link --disable-libselinux --disable-libsepol checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib 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 for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether i686-pc-linux-gnu-gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl config.status: WARNING: make.tmpl.in seems to ignore the --datarootdir setting >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/dmraid-1.0.0_rc16/work/dmraid/1.0.0.rc16 ... make -j2 -s /var/tmp/portage/sys-fs/dmraid-1.0.0_rc16/temp/ccCFVrT8.o: In function `main': dmraid.c:(.text+0x2e): undefined reference to `libdmraid_init' dmraid.c:(.text+0x4c): undefined reference to `handle_args' dmraid.c:(.text+0x5a): undefined reference to `libdmraid_exit' dmraid.c:(.text+0x74): undefined reference to `init_locking' dmraid.c:(.text+0x8c): undefined reference to `perform' collect2: ld returned 1 exit status make: *** [tools/dmraid] Error 1 make: *** Waiting for unfinished jobs.... metadata/metadata.c: In function 'check_size': metadata/metadata.c:1095: warning: ignoring return value of 'strtod', declared with attribute warn_unused_result format/ataraid/jm.c: In function 'name': format/ataraid/jm.c:35: warning: 'i' is used uninitialized in this function format/ataraid/lsi.c: In function 'lsi_log': format/ataraid/lsi.c:323: warning: cast from pointer to integer of different size format/ataraid/lsi.c:323: warning: cast from pointer to integer of different size i686-pc-linux-gnu-gcc: ../lib/libdmraid.so: No such file or directory events/libdmraid-events-isw.c: In function '_log_either': events/libdmraid-events-isw.c:841: warning: format not a string literal and no format arguments events/libdmraid-events-isw.c:847: warning: format not a string literal and no format arguments events/libdmraid-events-isw.c: In function 'register_device': events/libdmraid-events-isw.c:1527: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35: note: expected 'char *' but argument is of type 'const char *' events/libdmraid-events-isw.c: In function 'unregister_device': events/libdmraid-events-isw.c:1588: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35: note: expected 'char *' but argument is of type 'const char *' events/libdmraid-events-isw.c: At top level: events/libdmraid-events-isw.c:104: warning: 'sys_dm_path' defined but not used events/libdmraid-events-isw.c:110: warning: 'syslog_ident' defined but not used ar: creating ../lib/libdmraid.a events/libdmraid-events-isw.c: In function '_process_stripe_event': events/libdmraid-events-isw.c:1071: warning: 'args' may be used uninitialized in this function events/libdmraid-events-isw.c: In function '_process_mirror_event': events/libdmraid-events-isw.c:1136: warning: 'log_status_str' may be used uninitialized in this function make[1]: *** [../lib/libdmraid-events-isw.so] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [lib] Error 2 * * ERROR: sys-fs/dmraid-1.0.0_rc16 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3501: Called _eapi2_src_compile * ebuild.sh, line 638: 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/lib/entropy/logs/sys-fs:dmraid-1.0.0_rc16:20091006-111923.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/dmraid-1.0.0_rc16/temp/environment'. *