* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.24-gentoo-r3/build * Found sources for kernel version: * 2.6.24-gentoo-r3 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking openafs-1.4.7-src.tar.bz2 to /var/tmp/portage/net-fs/openafs-kernel-1.4.7/work >>> Unpacking openafs-gentoo-0.14.tar.bz2 to /var/tmp/portage/net-fs/openafs-kernel-1.4.7/work * Applying various patches (bugfixes/updates) ... * 001_all_compiler-settings.patch ... [ ok ] * 002_all_pam-paths.patch ... [ ok ] * 003_all_amd64-with-pam.patch ... [ ok ] * 004_all_use-local-paths.patch ... [ ok ] * 005_all_fs-include-fix.patch ... [ ok ] * 007_all_sparc.patch ... [ ok ] * 008_all_vserver.patch ... [ ok ] * Done with patching Updating configuration... Running aclocal Running autoconf Running autoconf for configure-libafs Running autoheader autoheader-2.61: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.61: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.61: WARNING: is deprecated and discouraged. autoheader-2.61: autoheader-2.61: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.61: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.61: WARNING: `acconfig.h': autoheader-2.61: autoheader-2.61: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.61: [Define if a function `main' is needed.]) autoheader-2.61: autoheader-2.61: WARNING: More sophisticated templates can also be produced, see the autoheader-2.61: WARNING: documentation. Deleting autom4te.cache directory Building man pages >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7 ... * econf: updating openafs-1.4.7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating openafs-1.4.7/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-linux-kernel-headers=/lib/modules/2.6.24-gentoo-r3/build --build=powerpc-unknown-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 powerpc-unknown-linux-gnu-gcc... powerpc-unknown-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 powerpc-unknown-linux-gnu-gcc accepts -g... yes checking for powerpc-unknown-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of powerpc-unknown-linux-gnu-gcc... none checking for /lib/cpp... /lib/cpp checking build system type... powerpc-unknown-linux-gnu checking how to run the C preprocessor... /lib/cpp 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 for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for function prototypes... yes checking host system type... powerpc-unknown-linux-gnu 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 pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for __FUNCTION__ and __LINE__ macros... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for powerpc-unknown-linux-gnu-ranlib... powerpc-unknown-linux-gnu-ranlib checking for bison... bison -y checking whether byte order is known at compile time... yes checking whether byte ordering is bigendian... yes checking your OS... linux checking your AFS sysname... ./configure: line 6182: /bin/arch: No such file or directory _linux26 checking if powerpc-unknown-linux-gnu-gcc accepts -march=pentium... yes checking if powerpc-unknown-linux-gnu-gcc needs -fno-strength-reduce... yes checking if powerpc-unknown-linux-gnu-gcc needs -fno-strict-aliasing... yes checking if powerpc-unknown-linux-gnu-gcc supports -fno-common... yes checking if powerpc-unknown-linux-gnu-gcc supports -pipe... yes checking whether to build osi_vfs.h... yes checking if linux kbuild requires EXTRA_CFLAGS... yes checking for linux kernel module build works... yes checking for current_kernel_time()... yes checking for new kmem_cache init function parameters... yes checking whether kmem_cache_t exists... no checking whether kmem_cache_create takes a destructor argument... no checking for linux/config.h existance... no checking for linux/completion.h existance... yes checking for defined for_each_process... yes checking for defined prev_task... no checking for alloc_inode in struct super_operations... yes checking for page_lock in struct address_space... no checking for gfp_mask in struct address_space... no checking for i_alloc_sem in struct inode... yes checking for i_blkbits in struct inode... yes checking for i_blksize in struct inode... no checking for i_truncate_sem in struct inode... no checking for i_dirty_data_buffers in struct inode... no checking for i_devices in struct inode... yes checking for i_mmap_shared in struct inode... no checking for i_mutex in struct inode... yes checking for i_sb_list in struct inode... yes checking for i_security in struct inode... no checking for inotify_lock in struct inode... no checking for inotify_sem in struct inode... no checking for inode_setattr return type... yes checking for write_inode return type... yes checking whether inode_operations.create takes a nameidata... yes checking whether inode_operations.lookup takes a nameidata... yes checking whether inode_operations.permission takes a nameidata... yes checking whether inode_operations.put_link takes an opaque cookie... yes checking whether dentry_operations.d_revalidate takes a nameidata... yes checking whether file_operations.flush takes a fl_owner_t... yes checking whether address_space_operations.writepage takes a writeback_control... yes checking for flock in struct file_operations... yes checking for sendfile in struct file_operations... no checking for splice_write and splice_read in struct file_operations... yes checking for linux/syscall.h in kernel... no checking for linux/seq_file.h in kernel... yes checking for 3rd argument in posix_lock_file found in new kernels... yes checking for SELinux kernel... no checking for 5th argument in sock_create found in some SELinux kernels... no checking for page_follow_link_light vs page_follow_link... no checking for linux/key-type.h existance... yes checking for redhat kernel configuration... no checking for recalc_sigpending arg type... yes checking for parent in struct task_struct... yes checking for real_parent in struct task_struct... yes checking for sig in struct task_struct... no checking for sighand in struct task_struct... yes checking for sigmask_lock in struct task_struct... no checking for rlim in struct task_struct... no checking for signal->rlim in struct task_struct... yes checking for exit_state in struct task_struct... yes checking for tgid in struct task_struct... yes checking for todo in struct task_struct... no checking for thread_info in struct task_struct... no checking for exported tasklist_lock... yes checking for struct vfsmount * in get_sb_nodev()... yes checking for dentry in statfs... yes checking for linux/freezer.h existance... yes checking whether refrigerator takes PF_FREEZE... no checking for linux kernel keyring support... no checking if key_alloc() takes a struct task *... no checking for linux do_sync_read()... yes checking for linux generic_file_aio_read()... yes checking whether INIT_WORK has a _data argument... no checking whether register_sysctl_table has an insert_at_head flag argument... yes checking for sysctl table checking... yes checking for linux iget()... yes checking for path in struct nameidata... no checking for exported init_mm... yes checking for exported sys_chdir... yes checking for exported sys_close... yes checking for exported sys_open... yes checking for exported sys_wait4... yes checking if rcu_read_lock is usable... yes checking which kernel modules to build... SP configure: WARNING: Cannot determine sys_call_table status. assuming it isn't exported checking for definition of struct buf... no checking if struct sockaddr has sa_len field... no checking for socket... yes checking for connect... yes checking for gethostbyname... yes checking for the useability of arpa/nameser_compat.h... yes checking for res_search... yes, in libresolv checking for pthread_attr_init in -lpthread... yes checking for tivoli tsm butc support... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking sys/fstyp.h usability... no checking sys/fstyp.h presence... no checking for sys/fstyp.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking for strings.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking sys/user.h usability... yes checking sys/user.h presence... yes checking for sys/user.h... yes checking security/pam_modules.h usability... yes checking security/pam_modules.h presence... yes checking for security/pam_modules.h... yes checking siad.h usability... no checking siad.h presence... no checking for siad.h... no checking usersec.h usability... no checking usersec.h presence... no checking for usersec.h... no checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for utimes... yes checking for random... yes checking for srandom... yes checking for getdtablesize... yes checking for snprintf... yes checking for strlcat... no checking for strlcpy... no checking for re_comp... yes checking for re_exec... yes checking for flock... yes checking for setprogname... no checking for getprogname... no checking for sigaction... yes checking for mkstemp... yes checking for vsnprintf... yes checking for strerror... yes checking for strcasestr... yes checking for setvbuf... yes checking for vsyslog... yes checking whether setvbuf arguments are reversed... no checking for regcomp... yes checking for regexec... yes checking for regerror... yes checking for POSIX regex library... yes checking for ssize_t... yes checking for long... yes checking size of long... 4 checking size of time_t... 4 checking for timegm... yes checking for daemon... yes checking for powerpc-unknown-linux-gnu-ranlib... (cached) powerpc-unknown-linux-gnu-ranlib checking for as... as checking for ar... ar checking for mv... mv checking for rm... rm checking for ld... ld checking for cp... cp checking for strip... strip checking for lorder... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/afs/Makefile config.status: creating src/afsd/Makefile config.status: creating src/afsmonitor/Makefile config.status: creating src/afsweb/Makefile config.status: creating src/aklog/Makefile config.status: creating src/audit/Makefile config.status: creating src/auth/Makefile config.status: creating src/auth/test/Makefile config.status: creating src/bozo/Makefile config.status: creating src/bozo/test/Makefile config.status: creating src/bu_utils/Makefile config.status: creating src/bubasics/Makefile config.status: creating src/bucoord/Makefile config.status: creating src/budb/Makefile config.status: creating src/butc/Makefile config.status: creating src/butm/Makefile config.status: creating src/cmd/Makefile config.status: creating src/cmd/test/Makefile config.status: creating src/comerr/Makefile config.status: creating src/comerr/test/Makefile config.status: creating src/config/Makefile config.status: creating src/config/Makefile.config config.status: WARNING: src/config/Makefile.config.in seems to ignore the --datarootdir setting config.status: creating src/config/Makefile.version-NOCML config.status: creating src/dauth/Makefile config.status: creating src/des/Makefile config.status: creating src/des/test/Makefile config.status: creating src/des_stub/Makefile config.status: creating src/dir/Makefile config.status: creating src/dir/test/Makefile config.status: creating src/export/Makefile config.status: creating src/finale/Makefile config.status: creating src/fsint/Makefile config.status: creating src/fsprobe/Makefile config.status: creating src/gtx/Makefile config.status: creating src/JAVA/libjafs/Makefile config.status: WARNING: src/JAVA/libjafs/Makefile.in seems to ignore the --datarootdir setting config.status: creating src/kauth/Makefile config.status: creating src/kauth/test/Makefile config.status: creating src/libacl/Makefile config.status: creating src/libacl/test/Makefile config.status: creating src/libadmin/Makefile config.status: creating src/libadmin/adminutil/Makefile config.status: creating src/libadmin/bos/Makefile config.status: creating src/libadmin/cfg/Makefile config.status: creating src/libadmin/cfg/test/Makefile config.status: creating src/libadmin/client/Makefile config.status: creating src/libadmin/kas/Makefile config.status: creating src/libadmin/pts/Makefile config.status: creating src/libadmin/samples/Makefile config.status: creating src/libadmin/test/Makefile config.status: creating src/libadmin/vos/Makefile config.status: creating src/libafs/Makefile.common config.status: creating src/libafs/MakefileProto.LINUX config.status: creating src/libafsauthent/Makefile config.status: creating src/libafsrpc/Makefile config.status: creating src/libuafs/Makefile.common config.status: creating src/libuafs/MakefileProto.LINUX config.status: creating src/log/Makefile config.status: creating src/log/test/Makefile config.status: creating src/login/Makefile config.status: creating src/lwp/Makefile config.status: creating src/lwp/test/Makefile config.status: creating src/mpp/Makefile config.status: creating src/null/Makefile config.status: creating src/package/Makefile config.status: creating src/packaging/MacOS/OpenAFS.Info.plist config.status: creating src/packaging/MacOS/OpenAFS.info config.status: creating src/packaging/MacOS/buildpkg.sh config.status: creating src/packaging/RedHat/openafs.spec config.status: creating src/pam/Makefile config.status: creating src/pinstall/Makefile config.status: creating src/pinstall/test/Makefile config.status: creating src/platform/Makefile config.status: creating src/platform/LINUX/Makefile config.status: creating src/procmgmt/Makefile config.status: creating src/procmgmt/test/Makefile config.status: creating src/ptserver/Makefile config.status: creating src/rx/Makefile config.status: creating src/rx/bulk.example/Makefile config.status: creating src/rx/bulktest/Makefile config.status: creating src/rx/multi.example/Makefile config.status: creating src/rx/simple.example/Makefile config.status: creating src/rx/test/Makefile config.status: creating src/rxdebug/Makefile config.status: creating src/rxgen/Makefile config.status: creating src/rxkad/Makefile config.status: creating src/rxkad/test/Makefile config.status: creating src/rxstat/Makefile config.status: creating src/scout/Makefile config.status: creating src/sgistuff/Makefile config.status: creating src/shlibafsauthent/Makefile config.status: creating src/shlibafsrpc/Makefile config.status: creating src/sia/Makefile config.status: creating src/sys/Makefile config.status: creating src/tbutc/Makefile config.status: creating src/tests/Makefile config.status: creating src/tests/run-tests config.status: creating src/tsm41/Makefile config.status: creating src/tviced/Makefile config.status: creating src/tvolser/Makefile config.status: creating src/ubik/Makefile config.status: creating src/update/Makefile config.status: creating src/usd/Makefile config.status: creating src/usd/test/Makefile config.status: creating src/uss/Makefile config.status: creating src/util/Makefile config.status: creating src/util/test/Makefile config.status: creating src/venus/Makefile config.status: creating src/venus/test/Makefile config.status: creating src/vfsck/Makefile config.status: creating src/viced/Makefile config.status: creating src/vlserver/Makefile config.status: creating src/vol/Makefile config.status: creating src/vol/test/Makefile config.status: creating src/volser/Makefile config.status: creating src/wsadmin.src/Makefile config.status: creating src/xstat/Makefile config.status: creating src/helper-splint.sh config.status: creating src/config/afsconfig.h config.status: executing depfiles commands mkdir -p /var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include mkdir -p /var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include/afs mkdir -p /var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/lib make build TARGET=libafs make[1]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7' make libafs DEST=/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/_linux26/dest COMPILE_PART2B=all DESTDIR= make[2]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7' cd src && cd config && make all make[3]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/src/config' rm -f Makefile.version if [ -r SRC/../CML/state ] ; \ then cp ./Makefile.version-CML Makefile.version ; \ else cp Makefile.version-NOCML Makefile.version ; \ fi make -f Makefile.version AFS_component_version_number.c make[4]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/src/config' echo 'char cml_version_number[]="@(#) OpenAFS 1.4.7 built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c echo 'char* AFSVersion = "openafs 1.4.7"; ' >>AFS_component_version_number.c make[4]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/src/config' powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include -I. -I. -c ./config.c ./config.c: In function 'main': ./config.c:35: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:40: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:45: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:65: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:68: warning: incompatible implicit declaration of built-in function 'exit' powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include -I. -c ./mc.c powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include -I. -o config config.o mc.o powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include -I. -o mkvers ./mkvers.c make[3]: *** No rule to make target `param._linux26.h', needed by `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include/afs/param.h'. Stop. make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/src/config' make[2]: *** [config] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7' make[1]: *** [build] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7' make: *** [only_libafs] Error 2 * * ERROR: net-fs/openafs-kernel-1.4.7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3115: Called die * The specific snippet of code: * ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die "Failed: emake" * The die message: * Failed: emake * * 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/net-fs:openafs-kernel-1.4.7:20080506-075700.log'. * The ebuild environment file is located at '/var/tmp/portage/net-fs/openafs-kernel-1.4.7/temp/environment'. *