Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135724 - Grub 1.93 has an incorrect path error on install /bin instead of /sbin
Summary: Grub 1.93 has an incorrect path error on install /bin instead of /sbin
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 00:49 UTC by Kim Robertson
Modified: 2006-06-07 11:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Robertson 2006-06-06 00:49:39 UTC
Grub 1.93 has an incorrect path on install.
The file grub-mkimage is installed into /bin instead of /sbin.
This causes grub-install to fail.

--------
localhost / # emerge --info
Portage 2.1_rc4-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.citylink.co.nz/gentoo/ ftp://ftp.planetmirror.com/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/xgl-coffee /usr/local/overlays/initng-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi ada alsa apache2 apm asf automount avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cdr cjk clearcase cli crypt css cups curl daap dri dvd dvdr dvdread eds emboss encode ffmpeg fftw firefox flac flash foomaticdb fortran gdbm gif glitz gnome gnutls gpm gstreamer gtk gtk2 hal haskell howl ieee1394 imagemagick imlib ipv6 isdnlog jack java jpeg jpeg2k kde kdehiddenvisibility kipi libclamav libg++ libwww lm_sensors lzo mad matroska mikmod mjpeg mmx mp3 mpeg mplayer musicbrainz mysql nas ncurses netboot netcdf nls nptl nptlonly nsplugin nvidia ogg openal opengl openntpd oss pam pascal pcre pdflib perl php pic png postgres ppds pppd python qt quicktime quotes readline real reflection ruby samba sdl session speex spell spl sql sqlite sse sse2 sse3 ssl subversion swat syslog taglib tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode v4l vcd vidix visualization vorbis win32codecs x264 xine xinerama xinetd xml xml2 xmms xorg xscreensaver xv xvid yv12 zlib elibc_glibc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded initng_plugins_provide input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-06-07 11:24:42 UTC
that's how it's configured upstream:
http://cvs.savannah.gnu.org/viewcvs/grub/grub2/conf/i386-pc.mk?rev=1.73&view=auto

# Utilities.
bin_UTILITIES = grub-mkimage
sbin_UTILITIES = grub-setup grub-emu grub-mkdevicemap grub-probefs

bug seems to be in util/i386/pc/grub-install.in, but upstream has this fixed now:
http://cvs.savannah.gnu.org/viewcvs/*checkout*/grub/grub2/util/i386/pc/grub-install.in?rev=1.8

grub_mkimage=${bindir}/grub-mkimage