[Решено] Сломался emerge
DemonX 23 июня, 2010 - 13:59
Перестал работать emerge, нормально синхронизирует портежи, но не устанавливает и не удаляет:
server portage # emerge portage Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/portage-2.1.8.3 Traceback (most recent call last): File "/usr/bin/emerge", line 42, in <module> retval = emerge_main() File "/usr/lib/portage/pym/_emerge/main.py", line 1410, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib/portage/pym/_emerge/actions.py", line 430, in action_build retval = mergetask.merge() File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 845, in merge rval = self._merge() File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1153, in _merge self._main_loop() File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1291, in _main_loop while self._schedule(): File "/usr/lib/portage/pym/_emerge/PollScheduler.py", line 43, in _schedule return self._schedule_tasks() File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1322, in _schedule_tasks if q.schedule(): File "/usr/lib/portage/pym/_emerge/SequentialTaskQueue.py", line 56, in schedule task.start() File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in start self._start() File "/usr/lib/portage/pym/_emerge/MergeListItem.py", line 91, in _start self._start_task(build, self._default_final_exit) File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 119, in _start_task task.start() File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in start self._start() File "/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 69, in _start self._prefetch_exit(prefetcher) File "/usr/lib/portage/pym/_emerge/EbuildBuild.py", line 93, in _prefetch_exit self._start_task(fetcher, self._fetch_exit) File "/usr/lib/portage/pym/_emerge/CompositeTask.py", line 119, in _start_task task.start() File "/usr/lib/portage/pym/_emerge/AsynchronousTask.py", line 24, in start self._start() File "/usr/lib/portage/pym/_emerge/EbuildFetcher.py", line 44, in _start self._build_dir.lock() File "/usr/lib/portage/pym/_emerge/EbuildBuildDir.py", line 56, in lock mode=0o70, mask=0) File "/usr/lib/portage/pym/portage/util/__init__.py", line 1058, in ensure_dirs perms_modified = apply_permissions(dir_path, *args, **kwargs) File "/usr/lib/portage/pym/portage/util/__init__.py", line 800, in apply_permissions os.chmod(filename, new_mode) File "/usr/lib/portage/pym/portage/__init__.py", line 228, in __call__ rval = self._func(*wrapped_args, **wrapped_kwargs) OSError: [Errno 27] File too large: '/var/tmp/portage/sys-apps'
пытался прописать другой путь для темпа портэжей, не помогает, скопировал со инета пакет - не помогло, выставил версию питона 3.1 - не помогло. На всякий случай инфо:
server portage # emerge --info Portage 15709-svn (default/linux/x86/10.0/server, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-rc3-next-20100614 i686) ================================================================= System uname: Linux-2.6.35-rc3-next-20100614-i686-AMD_Sempron-tm-_Processor_LE-1100-with-gentoo-2.0.1 Timestamp of tree: Wed, 23 Jun 2010 02:45:02 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=k8 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.yandex.ru/gentoo-distfiles/ " LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="ru" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm geoip gpm iconv ipv6 modules mppe-mppc mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection samba session snmp spl ssl sysfs tcpd truetype unicode wifi x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
»
- Для комментирования войдите или зарегистрируйтесь
Понял что проблема в сборке
Понял что проблема в сборке ванильного ядра, с гентушным все нормально.
Это не решение. Надо
Это не решение. Надо разобраться, что там с системой.
Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.
Боюсь что причиной ошибки
Боюсь что причиной являются ошибки сырой версии ядра, она даже ошибку о размере файла выдает при команде chmod.