Ошибки при установке

При установке pango выдаёт это:

>>> Unpacking source...
>>> Unpacking pango-1.18.4.tar.bz2 to /var/tmp/portage/x11-libs/pango-1.18.4/work
* Fixing OMF Makefiles ...
libsandbox: Can't resolve getcwd: (null)
 [ ok ]
* Running elibtoolize in: pango-1.18.4
* Applying portage-1.5.10.patch ...
* Applying sed-1.5.6.patch ...
* Applying pango-1.2.5-lib64.patch ...

* Failed Patch: pango-1.2.5-lib64.patch !
* ( /usr/portage/x11-libs/pango/files/pango-1.2.5-lib64.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-libs/pango-1.18.4/temp/pango-1.2.5-lib64.patch-19927.out

*
* ERROR: x11-libs/pango-1.18.4 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_unpack
* ebuild.sh, line 817: Called qa_call 'src_unpack'
* ebuild.sh, line 44: Called src_unpack
* pango-1.18.4.ebuild, line 43: Called epatch '/usr/portage/x11-libs/pango/files/pango-1.2.5-lib64.patch'
* eutils.eclass, line 303: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!"
* The die message:
* Failed Patch: pango-1.2.5-lib64.patch!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/pango-1.18.4/temp/build.log'.
*

Та же ошибка с getcwd с любым другим устанавливаемым пакетом.
При установке sandbox вот это:
>>> Unpacking source...
>>> Unpacking sandbox-1.2.18.1.tar.bz2 to /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work
* Applying sandbox-1.2.18.1-open-normal-fail.patch ...
 [ ok ]
* Applying sandbox-1.2.18.1-open-cloexec.patch ...
 [ ok ]
>>> Source unpacked.
libsandbox: Can't resolve fopen: (null)
>>> Compiling source in /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1 ...
* If configure fails with a 'cannot run C compiled programs' error, try this:
* FEATURES=-sandbox emerge sandbox
* Configuring sandbox for ABI=x86...
* econf: updating sandbox-1.2.18.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating sandbox-1.2.18.1/config.sub with /usr/share/gnuconfig/config.sub
../sandbox-1.2.18.1//configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --enable-multilib --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 i686-pc-linux-gnu-gcc... no
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... -qlanglvl=ansi
checking for style of include used by make... GNU
checking dependency style of gcc -qlanglvl=ansi... gcc3
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for readelf... readelf
checking build system type... libsandbox: Can't resolve open: (null)
configure: error: /bin/sh ../sandbox-1.2.18.1/config.sub i686-pc-linux-gnu failed

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/build-x86-x86_64-pc-linux-gnu/config.log
*
* ERROR: sys-apps/sandbox-1.2.18.1-r2 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* sandbox-1.2.18.1-r2.ebuild, line 87: Called econf '--libdir=/usr/lib32' '--enable-multilib'
* ebuild.sh, line 638: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/temp/build.log'.
*

emerge --info

emerge --info

Portage 2.1.3.19

Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Thu, 07 Feb 2008 15:46:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ "
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru en_US en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
USE="64bit 7zip X aac aalib acl acpi alsa amarok amd64 animgif apache2 apm aqua_theme archive arts aspnet aspnet2 aspnetedit auto-completion bash-completion berkdb binary-drivers bitmap-fonts bittorrent blender-game bluetooth bonusscripts browser builder bzip2 c++ cairo cal3d calendar cdaudio cdda cddb cdr cdrom cdsound cg cgi charconv chm cli clock-screen colordiff cpudetection cracklib crypt css cups cursors cvs cvsgraph cxx cyrillic dbus depth32 djvu dnd dri dvd dvdr dvdread editor eds emboss encode esd evo fam fat fbcon fbsplash file firefox flac flash fmod fontconfig fortran ftp games gdbm gif glut gmail gpm grub gstreamer gtk gzip hal hpn html http iconv icq id3 id3tag idn image imagemagick ipv6 isdnlog java java5 joystick jpeg jpeg2k kde kerberos ldap mad midi mikmod mmx mono mouse mozilla mp3 mp4 mpeg mpeg2 mudflap music mysql mysqli ncurses nls nptl nptlonly ntfs ogg opengl openmp oss pam pcre pda pdf perl png pppd python qt3 qt3support qt4 quicktime rar readline reflection reiserfs remix sdl session slang sockets sound sounds spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wma wmf x264 xhtml xml xorg xv zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en_US en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

гугль

гугль рекомендует
FEATURES="-sandbox -usersandbox" emerge sandbox
а потом ещё раз попробовать

Спасибо,

Спасибо, помогло.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".