Ребята, у меня проблемка. Решил поставить ACCEPT_KEYWORDS="~x86" в make.conf. В общем не получилось у меня нормальное обновление. Решил ACCEPT_KEYWORDS="~x86" в make.conf убрать. Теперь не компилируется glibs, openldap, gpm, net-tools. Что мне нужно сделать, чтобы все собралось?
>>> Emerging (1 of 1) sys-libs/glibc-2.6.1 to /
* glibc-ports-2.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* glibc-2.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* glibc-2.6.1-patches-1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* glibc-libidn-2.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking glibc-2.6.1.tar.bz2 ;-) ... [ ok ]
* checking glibc-libidn-2.6.1.tar.bz2 ;-) ... [ ok ]
* checking glibc-ports-2.6.1.tar.bz2 ;-) ... [ ok ]
* checking glibc-2.6.1-patches-1.2.tar.bz2 ;-) ... [ ok ]
* Sanity check to keep you from breaking your system:
* Downgrading glibc is not supported and a sure way to destruction
*
* ERROR: sys-libs/glibc-2.6.1 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* glibc-2.6.1.ebuild, line 197: Called die
* The specific snippet of code:
* die "aborting to save your system"
* The die message:
* aborting to save your system
*
* 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-libs/glibc-2.6.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/die.env'.
*
* Messages for package sys-libs/glibc-2.6.1:
* Sanity check to keep you from breaking your system:
* Downgrading glibc is not supported and a sure way to destruction
*
* ERROR: sys-libs/glibc-2.6.1 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* glibc-2.6.1.ebuild, line 197: Called die
* The specific snippet of code:
* die "aborting to save your system"
* The die message:
* aborting to save your system
*
* 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-libs/glibc-2.6.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/die.env'.
*
И еще ...
>>> Emerging (1 of 1) net-misc/netkit-rsh-0.17-r8 to /
* rexec-1.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* netkit-rsh-0.17.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* netkit-rsh-0.17-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking netkit-rsh-0.17.tar.gz ;-) ... [ ok ]
* checking rexec-1.5.tar.gz ;-) ... [ ok ]
* checking netkit-rsh-0.17-patches-1.0.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking netkit-rsh-0.17.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work
>>> Unpacking rexec-1.5.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work
>>> Unpacking netkit-rsh-0.17-patches-1.0.tar.bz2 to /var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work
* Applying various patches (bugfixes/updates) ...
* 000_all_sectty.patch ... [ ok ]
* 010_all_rexec.patch ... [ ok ]
* 020_all_stdarg.patch ... [ ok ]
* 030_all_jbj.patch ... [ ok ]
* 040_all_jbj4.patch ... [ ok ]
* 050_all_prompt.patch ... [ ok ]
* 060_all_rlogin-rsh.patch ... [ ok ]
* 070_all_nokrb.patch ... [ ok ]
* 080_all_jbj5.patch ... [ ok ]
* 090_all_userandhost.patch ... [ ok ]
* 100_all_strip.patch ... [ ok ]
* 110_all_lfs.patch ... [ ok ]
* 120_all_chdir.patch ... [ ok ]
* 130_all_pam-nologin.patch ... [ ok ]
* 140_all_nohostcheck.patch ... [ ok ]
* 150_all_rexec-netrc.patch ... [ ok ]
* 160_all_pam-sess.patch ... [ ok ]
* 170_all_errno.patch ... [ ok ]
* 180_all_rexec-sig.patch ... [ ok ]
* 190_all_nohost.patch ... [ ok ]
* 200_all_ignchld.patch ... [ ok ]
* 210_all_checkdir.patch ... [ ok ]
* 220_all_fbsd.patch ... [ ok ]
* Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work/netkit-rsh-0.17 ...
Directories: /usr/bin /usr/sbin /usr/man
Checking if C compiler works... yes
Checking if i686-pc-linux-gnu-gcc accepts gcc warnings... yes
Checking if i686-pc-linux-gnu-gcc accepts -O2... yes
Checking for BSD signal semantics... yes
Checking for ncurses... yes
Checking for GNU libc... yes
Checking for PAM... yes
Checking for crypt... -lcrypt
Checking for rexec... yes
Checking for forkpty... -lutil
Checking for logwtmp... -lutil
Checking for socklen_t... yes
Checking for snprintf declaration... ok
Checking for snprintf implementation... ok
Generating MCONFIG...
(cd rcp && make)
make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work/netkit-rsh-0.17/rcp'
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rcp.c -c
(cd rexec && make)
make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work/netkit-rsh-0.17/rexec'
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rexec.c -c
rexec.c: В функции ‘main’
rexec.c:221: предупреждение: сравнение знакового и беззнакового значений
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline ruserpass.c -c
ruserpass.c:82: предупреждение: прототип для ‘xruserpass’ не был предварительно определен
i686-pc-linux-gnu-gcc rexec.o ruserpass.o -lcrypt -lutil -lutil -o rexec
make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work/netkit-rsh-0.17/rexec'
(cd rexecd && make)
make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work/netkit-rsh-0.17/rexecd'
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM -DRESTRICT_FTP=1 rexecd.c -c
rexecd.c: В функции ‘PAM_conv’
rexecd.c:197: предупреждение: результат ‘realloc’, декларированной с атрибутом warn_unused_result, игнорируется
rexecd.c:186: предупреждение: unused parameter ‘appdata_ptr’
rexecd.c: В функции ‘doit’
rexecd.c:236: ошибка: ‘ARG_MAX’ undeclared (first use in this function)
rexecd.c:236: ошибка: (Each undeclared identifier is reported only once
rexecd.c:236: ошибка: for each function it appears in.)
rexecd.c:442: предупреждение: missing sentinel in function call
rexecd.c:236: предупреждение: unused variable ‘cmdbuf’
make[1]: *** [rexecd.o] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work/netkit-rsh-0.17/rexecd'
make: *** [rexecd.build] Ошибка 2
make: *** Ожидание завершения заданий...
i686-pc-linux-gnu-gcc rcp.o -lcrypt -lutil -lutil -o rcp
make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/work/netkit-rsh-0.17/rcp'
*
* ERROR: net-misc/netkit-rsh-0.17-r8 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2185: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* 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/net-misc/netkit-rsh-0.17-r8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/temp/environment'.
*
* Messages for package net-misc/netkit-rsh-0.17-r8:
*
* ERROR: net-misc/netkit-rsh-0.17-r8 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2185: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* 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/net-misc/netkit-rsh-0.17-r8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r8/temp/environment'.
Все не желающие даунгрейдиться пакеты занесите в packages.keywords с учётом версии, но не ревизии. Например, если стоит glibc-2.7-r2:
=sys-libs/glibc-2.7* ~x86
и ждите. Рано или поздно стабильная ветка "догонит" эти версии.
Не совсем так, сейчас текущая стабильная sys-libs/glibc-2.7-r2, а нестабильная - 2.8_p20080602, поэтому в файл packages.keywords надо будет написать про 2.8-ю версию:
=sys-libs/glibc-2.8* ~x86
Иначе все равно захочет даунгрейд...