1

Доброго времени суток !
Вылазит вот такое при установке xorg. Gentoo стоит 3 дня, еще особо не разобрался. Читал гугл , похожие проблемы есть, но там в логах ясно написано чего не хватает. Может у меня тоже ясно, если да, то укажите куда смотреть.

 * Package:    
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking libXfontcache-1.0.5.tar.bz2 to /var/tmp/portage/x11-libs/libXfontcache-1.0.5/work
 * Running elibtoolize in: libXfontcache-1.0.5/
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.26.patch ...
>>> Source unpacked in /var/tmp/portage/x11-libs/libXfontcache-1.0.5/work
>>> Compiling source in /var/tmp/portage/x11-libs/libXfontcache-1.0.5/work/libXfontcache-1.0.5 ...
 * econf: updating libXfontcache-1.0.5/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libXfontcache-1.0.5/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-cf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-pghpf... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gfortran static flag -static works... yes
checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XFONTCACHE... yes
checking whether malloc(0) returns NULL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating xfontcache.pc
config.status: creating config.h
config.status: executing depfiles commands
make -j4 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-libs/libXfontcache-1.0.5/work/libXfontcache-1.0.5'
Making all in src
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXfontcache-1.0.5/work/libXfontcache-1.0.5/src'
  CC     FontCache.lo
env: 8: No such file or directory
make[2]: *** [FontCache.lo] ошибка 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXfontcache-1.0.5/work/libXfontcache-1.0.5/src'
make[1]: *** [all-recursive] ошибка 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXfontcache-1.0.5/work/libXfontcache-1.0.5'
make: *** [all] ошибка 2
emake failed
 * ERROR: x11-libs/libXfontcache-1.0.5 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3252:  Called x-modular_src_compile
 *   environment, line 4103:  Called x-modular_src_make
 *   environment, line 4141:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/libXfontcache-1.0.5',
 * the complete build log and the output of 'emerge -pqv =x11-libs/libXfontcache-1.0.5'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libXfontcache-1.0.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libXfontcache-1.0.5/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/libXfontcache-1.0.5/work/libXfontcache-1.0.5'

Прошу сильно не пинать, если что не так. Спасибо за Ваши ответы !

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

2

Вы пишете, что система уже установлена: ошибка появляется при обновлении либо при первичной установке?
Покажите, как вам рекомендует emerge
— /var/tmp/portage/x11-libs/libXfontcache-1.0.5/temp/build.log
— и вывод команды emerge --info =x11-libs/libXfontcache-1.0.5

Был, был и весь вышел...

3

ошибка появляется при первичной установке. var/tmp/portage/x11-libs/libXfontcache-1.0.5/temp/build.log
В моем первом посте.
Вот вывод emerge --info =x11-libs/libXfontcache-1.0.5

Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Core-TM-_i5_CPU_650_@_3.20GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 25 Jan 2011 23:30:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1, 3.1.2-r4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF 8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session slang ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

4

У меня kgtk таким же образом себя ведет (не устанавливается). Кучу интернетов перечитал, решить проблему не удалось  ac

5 (27.01.2011 21:42:39 отредактировано Lupo Alberto)

В порядке околонаучного бреда  oO
Попробуйте различные варианты:
1.

emerge dev-util/lafilefixer
lafilefixer --justfixit
emerge -1 x11-libs/libXfontcache

2.

CFLAGS="-O2 -march=native -pipe" MAKEOPTS="-j1" emerge -1 x11-libs/libXfontcache

3.

cd /usr/portage/packages
wget http://tinderbox.dev.gentoo.org/default-linux/x86/x11-libs/libXfontcache-1.0.5.tbz2
emerge -K x11-libs/libXfontcache
Был, был и весь вышел...

6

первые два варианта не помогли.
emerge -K x11-libs/libXfontcache -пишет что нет ебилдов с таким именем.
пробовал emerge -K 11-libs/libXfontcache-1.0.5 тоже самое.

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

7 (27.01.2011 22:47:56 отредактировано Lupo Alberto)

riso пишет:

emerge -K x11-libs/libXfontcache -пишет что нет ебилдов с таким именем.

А это сделали?

wget http://tinderbox.dev.gentoo.org/default-linux/x86/x11-libs/libXfontcache-1.0.5.tbz2

UPDATE:
Небольшие изменения:

cd /usr/portage/packages
mkdir -p x11-libs
cd x11-libs
wget http://tinderbox.dev.gentoo.org/default-linux/x86/x11-libs/libXfontcache-1.0.5.tbz2
emerge -K x11-libs/libXfontcache
Был, был и весь вышел...

8

да, конечно

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

9

Lupo Alberto пишет:

UPDATE:
Небольшие изменения:

Был, был и весь вышел...

10

Спасибо огромное! -помогло.
Ну а вообще почему такие ошибки возникают ? Потому что, когда я собирал mplayer, там тоже было подобное. Получается дело в пакете ? Их разве не тестируют ?

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

11

riso пишет:

Спасибо огромное! -помогло.
Ну а вообще почему такие ошибки возникают ? Потому что, когда я собирал mplayer, там тоже было подобное. Получается дело в пакете ? Их разве не тестируют ?

То, что я предложил в данном случае — это бинарный «костыль», после сборки системы попробуйте переустановить его обычным порядком:

emerge -1 x11-libs/libXfontcache

Дело не в пакете — у меня на системе он собирается.
Gentoo — очень гибкий в настройке дистрибутив. Но пользоваться этими настройками надо уметь. Всё придёт с некоторым опытом.

Был, был и весь вышел...

12

Посмотрел ещё раз на ваш первый пост и меня только сейчас насторожили строки

+ открыть спойлер

checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-cf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-pghpf... no
checking for i686-pc-linux-gnu-epcf90... no

Вы, наверное, недавно обновили gcc?
Обычно emerge после своей работы даёт ряд советов и рекомендаций. Вы, вероятно, забыли сделать одну из них — запустить

 fix_libtool_files.sh 4.4.3 

где 4.4.3 приведено для примера, здесь должен быть номер версии gcc бывший у вас до обновления.
Покажите на всякий случай

emerge -pv gcc
gcc-config -l
Был, был и весь вышел...

13

Обновлял. Но до обновления это ошибка все равно возникала. Сейчас версия gcc 4.4.4
fix_libtool_files.sh 4.4.3  не запускал, можете пояснить зачем это ?
emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild   R   ] sys-devel/gcc-4.4.4-r2  USE="fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

gcc-config -l

[1] i686-pc-linux-gnu-4.4.4 *
— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

14

riso пишет:

fix_libtool_files.sh 4.4.3  не запускал, можете пояснить зачем это ?

Я не программист, поэтому правильно объяснить не смогу
Если ничего не надо будет исправлять, ничего исправлено не будет. Вот вывод этой команды у меня:

 Консоль:

# fix_libtool_files.sh 4.4.3                                                                      [gentoo-laptop][8:33]
* Scanning libtool files for hardcoded gcc library paths...
cat: ld.so.conf.d/*.conf: Нет такого файла или каталога
*   [1/5] Scanning /lib ...
*   [2/5] Scanning /usr/lib ...
*   [3/5] Scanning /usr/games/lib ...
*   [4/5] Scanning /usr/i686-pc-linux-gnu/lib ...
*   [5/5] Scanning /usr/local/lib ...

USE-флаг gtk вы сами отключали? Покажите

 Консоль:

eselect profile list

Был, был и весь вышел...

15

gtk я отключил в make.conf , т.к нет у меня гнома. Получается если я обновил gcc мне нужно всю систему пересобрать, что бы не было расхождений в версиях ?
eselect profile list

Available profile symlink targets:
  [1]   default/linux/x86/10.0 *
  [2]   default/linux/x86/10.0/desktop
  [3]   default/linux/x86/10.0/desktop/gnome
  [4]   default/linux/x86/10.0/desktop/kde
  [5]   default/linux/x86/10.0/developer
  [6]   default/linux/x86/10.0/server
  [7]   hardened/linux/x86
  [8]   selinux/2007.0/x86
  [9]   selinux/2007.0/x86/hardened
  [10]  selinux/v2refpolicy/x86
  [11]  selinux/v2refpolicy/x86/desktop
  [12]  selinux/v2refpolicy/x86/developer
  [13]  selinux/v2refpolicy/x86/hardened
  [14]  selinux/v2refpolicy/x86/server
— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

16

riso пишет:

gtk я отключил в make.conf , т.к нет у меня гнома.

gtk — это не только Gnome, но и программы с gtk-интерфейсом.

riso пишет:

Получается если я обновил gcc мне нужно всю систему пересобрать, что бы не было расхождений в версиях ?

Это не является обязательным действием, особенно, если обновление происходило по третьей цифре версии — 4.4.4.
Вы делали fix_libtool_files.sh 4.4.3 ?

Был, был и весь вышел...

17

сделал только что.  пишет :
cat: ld.so/conf.d/*.conf Нет такого файла или каталога
Остальные пути нормально.

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

18

Если не ленитесь, соберите gcc с поддержкой gtk и попробуйте установить проблемный пакет обычным способом.

Был, был и весь вышел...

19

Я так понимаю мне нужно поправить make.conf а потом emerge -l gcc ?
Или USE=" gtk" emerge gcc , хотя читал что такой вариант не кашерен.

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

20

Для проверочной установки вполне подойдёт и USE="gtk" emerge gcc вариант. А для внесения постоянных изменений правильнее использовать редактирование /etc/make.conf.
Это моё личное мнение, но в /etc/make.conf правильнее вносить глобальные USE-флаги, для локальных лучше использовать /etc/portage/package.use.

Был, был и весь вышел...

21

пересобрал, не помогло, так же ошибки вылетают при сборке gnome-terminal и mplayer.

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

22

Не пробовали делать?

revdep-rebuild -av
riso пишет:

пересобрал, не помогло,

emerge -1 glibc
Был, был и весь вышел...

23

Cделал все вышеперечисленное, ничего, эффект тот же. мож все снести и заново поставить систему ? Кстати, а не может влиять то, что у меня нет переменной SYNC в make.conf ?

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

24

riso пишет:

Кстати, а не может влиять то, что у меня нет переменной SYNC в make.conf ?

У вас она дефолтная, посмотрите вывод команды

emerge --info | grep '^SYNC'
riso пишет:

мож все снести и заново поставить систему ?

Дело ваше, конечно, но лучше бы разобраться.
Покажите ошибке при сборке других пакетов.
Покажите ваш /etc/make.conf
Попробуйте всё же, выбрав с помощью eselect profile set ... нужный вам профиль и убрав из /etc/make.conf установленные вами лично, но непонятные вам опции, выполнить

emerge -b linux-headers glibc gcc binutils
emerge -ebk system
emerge -ebk world

P.S. etc-update, кстати, ничего не предлагает сделать?

Был, был и весь вышел...

25

а стандартный способ решения большинства проблем пробовали?

 Консоль:
emerge -NuD world
revdep-rebuild

95% процентов проблем находятся между клавиатурой и стулом.

26 (29.01.2011 12:03:30 отредактировано riso)

make.conf

+ открыть спойлер
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="i686-pc-linux-gnu"

MAKEOPTS="-j4"

GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"

USE="gnome -kde -qt gtk X opengl dvd alsa cdr unicode gpm slang"
INPUT_DEVICES="keyboard mouse"

ALSA_CARDS="hda-intel"

VIDEO_CARDS="nvidia"


SYNC="rsync://rsync.gentoo.org/gentoo-portage"

На счет выбора профиля не очень понял, какой мне нужно выбирать при помощи eselect profile set ?

вот логи media-libs из сборки mplayer

+ открыть спойлер
 * Package:    media-libs/libmp4v2-1.9.1
 * Repository: gentoo
 * Maintainer: sound@gentoo.org
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking mp4v2-1.9.1.tar.bz2 to /var/tmp/portage/media-libs/libmp4v2-1.9.1/work
>>> Source unpacked in /var/tmp/portage/media-libs/libmp4v2-1.9.1/work
>>> Preparing source in /var/tmp/portage/media-libs/libmp4v2-1.9.1/work/mp4v2-1.9.1 ...
 * Running elibtoolize in: mp4v2-1.9.1/autoaux/
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.26.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/libmp4v2-1.9.1/work/mp4v2-1.9.1 ...
 * econf: updating mp4v2-1.9.1/autoaux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mp4v2-1.9.1/autoaux/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gch --disable-util --disable-static --disable-dependency-tracking
configure:
  -->
  --> Configuring MP4v2 1.9.1
  -->
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
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 i686-pc-linux-gnu-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-g++... none
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for help2man... no
checking MP4v2 platform portability... posix
checking if i686-pc-linux-gnu-g++ supports -fvisibility... yes
checking if GCC precompiled-headers should be created... no
checking if LFS (large file support) is required... yes
checking arch flags... none
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating include/mp4v2/project.h
config.status: creating project/project.m4
config.status: creating libplatform/config.h
config.status: executing depfiles commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/libmp4v2-1.9.1/work/mp4v2-1.9.1 ...
make -j4 
/bin/sh ./libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I./include -I./include -I. -I.  -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c -o libplatform/io/File_posix.lo libplatform/io/File_posix.cpp
/bin/sh ./libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I./include -I./include -I. -I.  -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c -o libplatform/io/FileSystem_posix.lo libplatform/io/FileSystem_posix.cpp
/bin/sh ./libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I./include -I./include -I. -I.  -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c -o libplatform/time/time_posix.lo libplatform/time/time_posix.cpp
/bin/sh ./libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I./include -I./include -I. -I.  -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c -o src/3gp.lo src/3gp.cpp
mkdir libplatform/io/.libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c libplatform/io/FileSystem_posix.cpp  -fPIC -DPIC -o libplatform/io/.libs/FileSystem_posix.o
env: 8: No such file or directory
make: *** [libplatform/io/FileSystem_posix.lo] Ошибка 1
make: *** Ожидание завершения заданий...
mkdir src/.libs
mkdir libplatform/time/.libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c libplatform/io/File_posix.cpp  -fPIC -DPIC -o libplatform/io/.libs/File_posix.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c src/3gp.cpp  -fPIC -DPIC -o src/.libs/3gp.o
env: 8: No such file or directory
make: *** [libplatform/io/File_posix.lo] Ошибка 1
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -O2 -march=i686 -pipe -fvisibility=hidden -c libplatform/time/time_posix.cpp  -fPIC -DPIC -o libplatform/time/.libs/time_posix.o
env: 8: No such file or directory
make: *** [src/3gp.lo] ошибка 1
env: 8: No such file or directory
make: *** [libplatform/time/time_posix.lo] ошибка 1
emake failed
 * ERROR: media-libs/libmp4v2-1.9.1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 1208:  Called _eapi2_src_compile
 *     ebuild.sh, line  654:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-libs/libmp4v2-1.9.1',
 * the complete build log and the output of 'emerge -pqv =media-libs/libmp4v2-1.9.1'.
 * The complete build log is located at '/var/tmp/portage/media-libs/libmp4v2-1.9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libmp4v2-1.9.1/temp/environment'.
 * S: '/var/tmp/portage/media-libs/libmp4v2-1.9.1/work/mp4v2-1.9.1'

etc-update предлагает. Прочел man в хэндбуке, но не понял, какой режим мне нужно выбрать.
2 Fat-Zer
Да

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

27

riso пишет:

CFLAGS="-O2 -march=i686 -pipe"

Я бы посоветовал довериться GCC — CFLAGS="-O2 -march=native -pipe"

riso пишет:

На счет выбора профиля не очень понял, какой мне нужно выбирать при помощи eselect profile set ?

Если используте Gnome, то eselect profile set 3

riso пишет:

etc-update предлагает. Прочел man в хэндбуке, но не понял, какой режим мне нужно выбрать.

Покажите, что предлагает.

Был, был и весь вышел...

28

я использую fluxbox ну и gtk тоже.

*IMPOTANT: 1 config files in '/etc' need updating.
*Set the CONFIGURATIONS FILES section of the emerge
когда набираю etc-update :

Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/locale.gen (1)
Please select a file to edit by entering the corresponding number.
              (don't use -3, -5, -7 or -9 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all remaining files)
                           (-5 to auto-merge AND not use 'mv -i')
                           (-7 to discard all updates)
                           (-9 to discard all updates AND not use 'rm -i'): 
— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст

29 (29.01.2011 13:31:07 отредактировано Lupo Alberto)

riso, выбираете файл, так как в вашем случае он единственный, нажимаете «1», вам покажут разницу между старым и новым файлами — вывод команды diff, где знак «-» в начале строки обозначает старый файл, а «+» — новый. Просмотрев разницу, выходите нажав «q». Если решите принять новый файл, нажимаете «1», оставить старый — «2».  Нажмите «y», чтобы принять изменения.
Если же вы решите совместить файлы, нажмите «3», будут последовательно выводится разностные строки: слева — от старого файла, справа — от нового. Нажимая «l» (left) вы выбираете строки из старого файла, «r» (rigth) — из нового. Дойдя до конца изменений вам предложат переписать старые файлы. Нажмите «y», чтобы принять изменения.
Особенно тщательно следует относиться к изменению тех файлов, которые вы редактировали сами, т.е. находящиеся в /etc/conf.d и /etc. Файлы же установленные в /etc/init.d в подавляющем большинстве случаев можно просто переписать. Чтобы изменить такие файлы без предупреждений, нажмите «-5».
Для изменения конфигурационных файлов существует ещё  dispatch-conf, приятной особенностью которого является возможность сохранять backup изменяемых файлов.

Был, был и весь вышел...

30

сделал merge -b linux-headers glibc gcc binutils
сейчас обновляется emerge -ebk system и emerge -edk world,
выбрал eselect profile set 2, там написано desktop , подумал что сойдет, хотя не понимаю систему этих профилей, можете объяснить зачем они нужны ?

— Ты кто?
— Часть силы той, что без числа
Творит добро, всему желая зла. © Фауст