1 (13.06.2014 19:12:43 отредактировано Ampermetr)

При установке grub получаю ошибку:

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

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-boot/grub-2.00_p5107-r2
openpty failed: 'out of pty devices'

>>> Emerging (1 of 1) sys-boot/grub-2.00_p5107-r2
* grub-2.00_p5107.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                            [ ok ]
* dejavu-sans-ttf-2.34.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                          [ ok ]
* unifont-5.1.20080820.pcf.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking grub-2.00_p5107.tar.xz to /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
>>> Unpacking dejavu-sans-ttf-2.34.zip to /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
>>> Unpacking unifont-5.1.20080820.pcf.gz to /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
>>> Source unpacked in /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work
>>> Preparing source in /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00 ...
* Applying grub-2.00-freetype-2.5.1.patch ...                                                                                                                                                                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00 ...
/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment: line 3009: /dev/fd/62: No such file or directory
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00 ...
/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment: line 3035: /dev/fd/62: No such file or directory
>>> Source compiled.
* Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: sys-boot/grub-2.00_p5107-r2

>>> Install grub-2.00_p5107-r2 into /var/tmp/portage/sys-boot/grub-2.00_p5107-r2/image/ category sys-boot
/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment: line 3035: /dev/fd/62: No such file or directory
mv: cannot stat ‘/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/image/usr/share/info/grub.info’: No such file or directory
* ERROR: sys-boot/grub-2.00_p5107-r2::gentoo failed (install phase):
*   (no error message)
*
* Call stack:
*     ebuild.sh, line  93:  Called src_install
*   environment, line 3937:  Called die
* The specific snippet of code:
*           mv "${ED%/}"/usr/share/info/grub{,2}.info || die;
*
* If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00'
* S: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00'

>>> Failed to emerge sys-boot/grub-2.00_p5107-r2, Log file:

>>>  '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/build.log'

* Messages for package sys-boot/grub-2.00_p5107-r2:

* ERROR: sys-boot/grub-2.00_p5107-r2::gentoo failed (install phase):
*   (no error message)
*
* Call stack:
*     ebuild.sh, line  93:  Called src_install
*   environment, line 3937:  Called die
* The specific snippet of code:
*           mv "${ED%/}"/usr/share/info/grub{,2}.info || die;
*
* If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/temp/environment'.
* Working directory: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00'
* S: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00'

гугл говорит что не работает  udev

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

The line count for secure_getenv() failed, see bug #443030
* ERROR: sys-fs/udev-212-r1::gentoo failed (prepare phase):
*   (no error message)
*
* Call stack:
*     ebuild.sh, line  93:  Called src_prepare
*   environment, line 4164:  Called die
* The specific snippet of code:
*               die;
*
* If you need support, post the output of `emerge --info '=sys-fs/udev-212-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/udev-212-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-212-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-212-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-212-r1/work/systemd-212'
* S: '/var/tmp/portage/sys-fs/udev-212-r1/work/systemd-212'

>>> Failed to emerge sys-fs/udev-212-r1, Log file:

>>>  '/var/tmp/portage/sys-fs/udev-212-r1/temp/build.log'

* Messages for package sys-fs/udev-212-r1:

*   CONFIG_FHANDLE:     is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* The line count for secure_getenv() failed, see bug #443030
* ERROR: sys-fs/udev-212-r1::gentoo failed (prepare phase):
*   (no error message)
*
* Call stack:
*     ebuild.sh, line  93:  Called src_prepare
*   environment, line 4164:  Called die
* The specific snippet of code:
*               die;
*
* If you need support, post the output of `emerge --info '=sys-fs/udev-212-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/udev-212-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-212-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-212-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-212-r1/work/systemd-212'
* S: '/var/tmp/portage/sys-fs/udev-212-r1/work/systemd-212'

По этой ошибке гугл говорит что нужно откатить autoconf на 2.64

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

USE="-emacs (-multislot)" emerge -av --autounmask-write -O1 =autoconf-2.64
!!! It seems that /proc is not mounted. You have been warned.

* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


* IMPORTANT: config file '/etc/portage/package.keywords/dependences' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

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

[ebuild     UD~] sys-devel/autoconf-2.64:2.5 [2.69:2.5] USE="-emacs (-multislot)" 1,284 kB

Total: 1 package (1 downgrade), Size of downloads: 1,284 kB

The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by =autoconf-2.64 (argument)
=sys-devel/autoconf-2.64 ~amd64

Would you like to add these changes to your config files? [Yes/No] нуы
Sorry, response 'нуы' not understood. [Yes/No] yes

Autounmask changes successfully written.

* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

И вот тут я что то совсем запутался... Подскажите где я свернул не туда?

2

Это наверное http://www.gentoo.org/doc/ru/handbook/h … amp;chap=4 )

3

Оно.
Теперь точно знаю что проблема была не в autoconf 2.64. Буду ковырять дальше.