>>> Unpacking source... >>> Unpacking lsof_4.78.tar.bz2 to /usr/tmp/portage/sys-process/lsof-4.78/work >>> Unpacking ./lsof_4.78_src.tar to /usr/tmp/portage/sys-process/lsof-4.78/work/lsof_4.78 * Replacing obsolete head/tail with POSIX compliant ones * - fixed Configure * - fixed Customize * Applying lsof-4.78-answer-config.patch ...  [ ok ] * Applying lsof-4.78-freebsd.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /usr/tmp/portage/sys-process/lsof-4.78/work/lsof_4.78/lsof_4.78_src ... * QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for sys-process/lsof-4.78 Testing C library type with cc ... done Cannot determine C library type; assuming it is not glibc. rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile ./tests/config.cflags rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags ln -s dialects/linux/dfile.c dfile.c ln -s dialects/linux/dlsof.h dlsof.h ln -s dialects/linux/dmnt.c dmnt.c ln -s dialects/linux/dnode.c dnode.c ln -s dialects/linux/dproc.c dproc.c ln -s dialects/linux/dproto.h dproto.h ln -s dialects/linux/dsock.c dsock.c ln -s dialects/linux/dstore.c dstore.c ln -s dialects/linux/machine.h machine.h Makefile and lib/Makefile created. ./tests/config.cc created ./tests/config.cflags created ./tests/config.ldflags created ./tests/config.xobj created You may now customize the machine.h header file for this UNIX dialect. The customizations will take effect when you compile lsof. You may also choose to skip customization and proceed to the compilation of lsof. If you don't know if you need to customize or want to know more about what you can customize, consult the 00DCACHE, 00FAQ, 00PORTING, and 00README files of the lsof distribution. You might also find it helpful to examine the machine.h header file for the dialect you're customizing. You don't need to use this procedure to customize lsof; you can edit the machine.h header file directly. If you later decide you want to use this procedure to customize machine.h, execute the ./Customize script. Do you want to customize (y|n) [y]? Customizing ... ===================================================================== When HASSECURITY is enabled, only the root user may use lsof to examine all open files; other users may examine only the files belonging to the real user ID of their lsof process. If HASNOSOCKSECURITY is also defined, anyone may list anyone else's open socket files, provided their listing is selected with the "-i" option. When HASSECURITY is disabled, anyone may use lsof to examine all open files. HASSECURITY is disabled. Enable HASSECURITY (y|n) [n]? HASSECURITY will be enabled. ==================================================================== When HASSECURITY is enabled, you may also define HASNOSOCKSECURITY. When both are defined, no one but root may list all of anyone else's open files -- only their own open files -- but anyone may list anyone else's open socket files. This option is useful with ntop (http://www.ntop.org). HASNOSOCKSECURITY is disabled. Enable HASNOSOCKSECURITY (y|n) [n]? HASNOSOCKSECURITY will be enabled. ===================================================================== When WARNINGSTATE is enabled, lsof will will issue whatever warning messages it finds necessary. When WARNINGSTATE is disabled, lsof will issue no warning messages. For individual uses of lsof, -w disables warning state and +w enables it. WARNINGSTATE is enabled. Disable WARNINGSTATE? (y|n) [n]? WARNINGSTATE will not be changed. ===================================================================== When HASKERNIDCK is enabled, lsof compares the identity of the kernel where it was built to the identity of the kernel where it is running. This check can detect an lsof executable inappropriate for the system on which it is being run. The kernel identity check can take considerable time on some UNIX dialects -- e.g., AIX -- so there may be occasions when it is desirable to disable it, in spite of the increased risk of using an inappropriate lsof executable. HASKERNIDCK is disabled. Enable HASKERNIDCK (y|n) [n]? HASKERNIDCK will be enabled. ===================================================================== A new machine.h file has been created in "new_machine.h". Do you want to rename machine.h to machine.h.old and replace it with new_machine.h (y|n) [y]? You may now run the make command -- e.g., $ make (cd lib; make DEBUG="-O" CFGF="-march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"2.6.22-gentoo-r8-tnt\"") i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"2.6.22-gentoo-r8-tnt\" -O -c -o dfile.o dfile.c make[1]: Entering directory `/usr/tmp/portage/sys-process/lsof-4.78/work/lsof_4.78/lsof_4.78_src/lib' i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o ckkv.o ckkv.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o cvfs.o cvfs.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"2.6.22-gentoo-r8-tnt\" -O -c -o dmnt.o dmnt.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o dvch.o dvch.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o fino.o fino.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o isfn.o isfn.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"2.6.22-gentoo-r8-tnt\" -O -c -o dnode.o dnode.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o lkud.o lkud.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o pdvn.o pdvn.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"2.6.22-gentoo-r8-tnt\" -O -c -o dproc.o dproc.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o prfp.o prfp.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o ptti.o ptti.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o rdev.o rdev.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o regex.o regex.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o rmnt.o rmnt.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o rnam.o rnam.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o rnch.o rnch.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"2.6.22-gentoo-r8-tnt\" -O -c -o dsock.o dsock.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o rnmh.o rnmh.c i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.22-gentoo-r8-tnt" -O -c -o snpf.o snpf.c i686-pc-linux-gnu-ar cr liblsof.a ckkv.o cvfs.o dvch.o fino.o isfn.o lkud.o pdvn.o prfp.o ptti.o rdev.o regex.o rmnt.o rnam.o rnch.o rnmh.o snpf.o i686-pc-linux-gnu-ranlib liblsof.a make[1]: Leaving directory `/usr/tmp/portage/sys-process/lsof-4.78/work/lsof_4.78/lsof_4.78_src/lib' i686-pc-linux-gnu-gcc -march=pentium3 -Os -pipe -DLINUXV=26022 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -DLSOF_VSTR=\"2.6.22-gentoo-r8-tnt\" -O -c -o dstore.o dstore.c dsock.c: In function 'print_tcptpi': dsock.c:1524: error: 'TCP_ESTABLISHED' undeclared (first use in this function) dsock.c:1524: error: (Each undeclared identifier is reported only once dsock.c:1524: error: for each function it appears in.) dsock.c:1527: error: 'TCP_SYN_SENT' undeclared (first use in this function) dsock.c:1530: error: 'TCP_SYN_RECV' undeclared (first use in this function) dsock.c:1533: error: 'TCP_FIN_WAIT1' undeclared (first use in this function) dsock.c:1536: error: 'TCP_FIN_WAIT2' undeclared (first use in this function) dsock.c:1539: error: 'TCP_TIME_WAIT' undeclared (first use in this function) dsock.c:1542: error: 'TCP_CLOSE' undeclared (first use in this function) dsock.c:1545: error: 'TCP_CLOSE_WAIT' undeclared (first use in this function) dsock.c:1548: error: 'TCP_LAST_ACK' undeclared (first use in this function) dsock.c:1551: error: 'TCP_LISTEN' undeclared (first use in this function) dsock.c:1554: error: 'TCP_CLOSING' undeclared (first use in this function) make: *** [dsock.o] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: sys-process/lsof-4.78 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * lsof-4.78.ebuild, line 50: Called die * * emake failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/usr/tmp/portage/sys-process/lsof-4.78/temp/build.log'. *