Ошибка при установке GRUB
При "emerge grub" выскакивает ошибка.
[..........]
Making install in docs
make[1]: Entering directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97/docs'
make[2]: Entering directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97/docs'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/info" || /bin/mkdir -p "/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/info"
test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/man/man1"
test -z "/usr/share/man/man8" || /bin/mkdir -p "/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/man/man8"
/usr/bin/install -c -m 644 './grub.info' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/info/grub.info'
/usr/bin/install -c -m 644 './mbchk.1' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/man/man1/mbchk.1'
/usr/bin/install -c -m 644 './grub.8' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/man/man8/grub.8'
/usr/bin/install -c -m 644 './multiboot.info' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/info/multiboot.info'
/usr/bin/install -c -m 644 './grub-install.8' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/man/man8/grub-install.8'
install-info --info-dir='/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/info' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/info/grub.info'
install-info --info-dir='/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/info' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/info/multiboot.info'
/usr/bin/install -c -m 644 './grub-md5-crypt.8' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/man/man8/grub-md5-crypt.8'
/usr/bin/install -c -m 644 './grub-terminfo.8' '/var/tmp/portage/sys-boot/grub-0.97-r6/image//usr/share/man/man8/grub-terminfo.8'
make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97/docs'
make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97/docs'
make[1]: Entering directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97'
make[2]: Entering directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97'
make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-0.97-r6/work/grub-0.97'
>>> Completed installing grub-0.97-r6 into /var/tmp/portage/sys-boot/grub-0.97-r6/image/
strip: strip --strip-unneeded -R .comment
bin/mbchk
sbin/grub
ecompressdir: bzip2 -9 /usr/share/man
ecompressdir: bzip2 -9 /usr/share/doc
ecompressdir: bzip2 -9 /usr/share/info
[33;01m* [0m QA Notice: Package has poor programming practices which may compile
[33;01m* [0m fine but exhibit random runtime failures.
[33;01m* [0m builtins.c:4870: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m disk_io.c:1116: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m disk_io.c:1146: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m tparm.c:719: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m builtins.c:4870: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m disk_io.c:1116: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m disk_io.c:1146: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m tparm.c:719: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
[33;01m* [0m Please do not file a Gentoo bug and instead report the above QA
[33;01m* [0m issues directly to the upstream developers of this software.
[33;01m* [0m Homepage: http://www.gnu.org/software/grub/
[31;01m* [0m
[31;01m* [0m ERROR: sys-boot/grub-0.97-r6 failed.
[31;01m* [0m Call stack:
[31;01m* [0m misc-functions.sh, line 717: Called install_qa_check
[31;01m* [0m misc-functions.sh, line 418: Called die
[31;01m* [0m The specific snippet of code:
[31;01m* [0m [[ ${abort} == "yes" ]] && hasq stricter ${FEATURES} && die "poor code kills airplanes"
[31;01m* [0m The die message:
[31;01m* [0m poor code kills airplanes
[31;01m* [0m
[31;01m* [0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m* [0m A complete build log is located at '/var/tmp/portage/sys-boot/grub-0.97-r6/temp/build.log'.
[31;01m* [0m The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-0.97-r6/temp/environment'.
[31;01m* [0m
- Для комментирования войдите или зарегистрируйтесь
emerge --info: Portage
emerge --info:
Portage 2.1.6.7 (default/linux/amd64/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 x86_64)
=================================================================
System uname:
Timestamp of tree: Tue, 10 Mar 2009 20:00:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.10.1
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=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs digest distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
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="7zip X acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mailwrapper midi mikmod mmx mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session slang snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x xml xorg xulrunner xv 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="vmware"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Проверь /etc/make.conf на
Проверь /etc/make.conf на наличие FEATURES="stricter", и если оно там есть, задумайся, почему оно там есть.
Нету. Мой make.conf: # These
Нету. Мой make.conf:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="gpm x nls 7zip ncurses slang unicode bash-completion mmx sse sse2 -gnome"
LINGUAS="ru en"
MAKEOPTS="-j3"
VIDEO_CARDS="vmware"
INPUT_DEVICES="keyboard mouse"
Ах да, я забыл посмотреть на
Ах да, я забыл посмотреть на emerge --info. Скажи-ка, товарищ, зачем тебе профиль developer?
Эммм... Просто под этим
Эммм... Просто под этим gentoo надо будет тестить кроссплатформенные приложения. Мне он показался подходящим.
Насколько я понимаю, это не так... Какой надо ставить? И в чём отличие?
developer - это профиль для
developer - это профиль для самих разработчиков Gentoo. В хэндбуке об этом написано. А выбирать надо такой профиль, под которым кроссплатформенные приложения должны были бы работать в реальной жизни, то есть, скорее всего, default или desktop. И применительно к задаче выбор профиля имеет минимальное значение.
Спасибо, исправлю.
Спасибо, исправлю.