не получается поставить lsof вот лог
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-process/lsof-4.83
* lsof_4.83.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* This profile is merely a convenience for people who require a more
* minimal profile, yet are unable to use hardened due to restrictions in
* the software being used on the server. If you seek a secure
* production server profile, please check the Hardened project
* (http://hardened.gentoo.org)
>>> Unpacking source...
>>> Unpacking lsof_4.83.tar.bz2 to /var/tmp/portage/sys-process/lsof-4.83/work
>>> Unpacking ./lsof_4.83_src.tar to /var/tmp/portage/sys-process/lsof-4.83/work/lsof_4.83
>>> Source unpacked in /var/tmp/portage/sys-process/lsof-4.83/work
>>> Compiling source in /var/tmp/portage/sys-process/lsof-4.83/work/lsof_4.83/lsof_4.83_src ...
Testing C library type with -D_FILE_OFFSET_BITS=64 ... 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 dzfs.h kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile Makefile.zfs ./tests/config.cflags
rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags
Testing C library for localtime() and strftime(), using -D_FILE_OFFSET_BITS=64 ... missing
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
make -j3 DEBUG= all
(cd lib; make DEBUG="" CFGF="-O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\"")
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o dfile.o dfile.c
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o dmnt.o dmnt.c
/bin/sh: -O2: команда не найдена
make: [dfile.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o dnode.o dnode.c
/bin/sh: -O2: команда не найдена
make: [dmnt.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o dproc.o dproc.c
/bin/sh: -O2: команда не найдена
make: [dnode.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o dsock.o dsock.c
make[1]: Вход в каталог `/var/tmp/portage/sys-process/lsof-4.83/work/lsof_4.83/lsof_4.83_src/lib'
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o ckkv.o ckkv.c
/bin/sh: -O2: команда не найдена
make: [dproc.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o dstore.o dstore.c
/bin/sh: -O2: команда не найдена
/bin/sh: -O2: команда не найдена
make[1]: [ckkv.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o cvfs.o cvfs.c
make: [dsock.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o arg.o arg.c
/bin/sh: -O2: команда не найдена
make: [dstore.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o main.o main.c
/bin/sh: -O2: команда не найдена
/bin/sh: -O2: команда не найдена
make[1]: [cvfs.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o dvch.o dvch.c
make: [arg.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o misc.o misc.c
/bin/sh: -O2: команда не найдена
make: [misc.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o node.o node.c
/bin/sh: -O2: команда не найдена
make: [main.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o print.o print.c
/bin/sh: -O2: команда не найдена
/bin/sh: -O2: команда не найдена
make: [node.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o proc.o proc.c
make[1]: [dvch.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o fino.o fino.c
/bin/sh: -O2: команда не найдена
make: [print.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o store.o store.c
/bin/sh: -O2: команда не найдена
/bin/sh: -O2: команда не найдена
make: [store.o] Ошибка 127 (игнорирована)
Constructing version.h
/bin/sh: -O2: команда не найдена
make: [proc.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR=\"2.6.39-gentoo-r3\" -c -o util.o util.c
make[1]: [fino.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o isfn.o isfn.c
/bin/sh: -O2: команда не найдена
make: [util.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o lkud.o lkud.c
/bin/sh: -O2: команда не найдена
make[1]: [isfn.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o pdvn.o pdvn.c
/bin/sh: -O2: команда не найдена
make[1]: [lkud.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o prfp.o prfp.c
/bin/sh: -O2: команда не найдена
make[1]: [pdvn.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o ptti.o ptti.c
/bin/sh: -O2: команда не найдена
make[1]: [prfp.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o rdev.o rdev.c
/bin/sh: -O2: команда не найдена
make[1]: [ptti.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o regex.o regex.c
/bin/sh: -O2: команда не найдена
make[1]: [rdev.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o rmnt.o rmnt.c
/bin/sh: -O2: команда не найдена
make[1]: [regex.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o rnam.o rnam.c
/bin/sh: -O2: команда не найдена
make[1]: [rmnt.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o rnch.o rnch.c
/bin/sh: -O2: команда не найдена
make[1]: [rnam.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o rnmh.o rnmh.c
/bin/sh: -O2: команда не найдена
make[1]: [rnch.o] Ошибка 127 (игнорирована)
D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -mtune=native -DLINUXV=26039 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DLSOF_VSTR="2.6.39-gentoo-r3" -c -o snpf.o snpf.c
/bin/sh: -O2: команда не найдена
make[1]: [rnmh.o] Ошибка 127 (игнорирована)
/bin/sh: -O2: команда не найдена
make[1]: [snpf.o] Ошибка 127 (игнорирована)
x86_64-pc-linux-gnu-ar rc 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
x86_64-pc-linux-gnu-ar: ckkv.o: No such file or directory
make[1]: *** [liblsof.a] Ошибка 1
make[1]: Выход из каталога `/var/tmp/portage/sys-process/lsof-4.83/work/lsof_4.83/lsof_4.83_src/lib'
make: *** [lib/liblsof.a] Ошибка 2
make: *** Ожидание завершения заданий...
emake failed
* ERROR: sys-process/lsof-4.83 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 2427: Called die
* The specific snippet of code:
* emake DEBUG="" all || die "emake failed"
*
* If you need support, post the output of 'emerge --info =sys-process/lsof-4.83',
* the complete build log and the output of 'emerge -pqv =sys-process/lsof-4.83'.
* The complete build log is located at '/var/tmp/portage/sys-process/lsof-4.83/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-process/lsof-4.83/temp/environment'.
* S: '/var/tmp/portage/sys-process/lsof-4.83/work/lsof_4.83/lsof_4.83_src'
>>> Failed to emerge sys-process/lsof-4.83, Log file:
>>> '/var/tmp/portage/sys-process/lsof-4.83/temp/build.log'
* Messages for package sys-process/lsof-4.83:
* This profile is merely a convenience for people who require a more
* minimal profile, yet are unable to use hardened due to restrictions in
* the software being used on the server. If you seek a secure
* production server profile, please check the Hardened project
* (http://hardened.gentoo.org)
* ERROR: sys-process/lsof-4.83 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 2427: Called die
* The specific snippet of code:
* emake DEBUG="" all || die "emake failed"
*
* If you need support, post the output of 'emerge --info =sys-process/lsof-4.83',
* the complete build log and the output of 'emerge -pqv =sys-process/lsof-4.83'.
* The complete build log is located at '/var/tmp/portage/sys-process/lsof-4.83/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-process/lsof-4.83/temp/environment'.
* S: '/var/tmp/portage/sys-process/lsof-4.83/work/lsof_4.83/lsof_4.83_src'
что ему не нравится?