Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194090 - sys-boot/grub-1.95 fails emerge during configure (lzo)
Summary: sys-boot/grub-1.95 fails emerge during configure (lzo)
Status: RESOLVED DUPLICATE of bug 161815
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 15:06 UTC by Stelard Actek
Modified: 2007-09-28 16:29 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 Stelard Actek 2007-09-28 15:06:54 UTC
After installing a base system on my (3TB virtual) drive, I chrooted into it and attempted to install grub 1.95. This failed with the following error:

checking for __lzo_init_v2 in -llzo2... no
checking for __lzo_init_v2 in -llzo... no
checking for __lzo_init2 in -llzo... no
configure: error: LZO library version 1.02 or later is required

LZO and LZO2 are both installed. The following lines look relevant from the config.log file produced:

configure:4642: checking for __lzo_init_v2 in -llzo2
configure:4672: x86_64-pc-linux-gnu-gcc -o conftest -g -O2   conftest.c -llzo2   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../liblzo2.so when searching for -llzo2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../liblzo2.a when searching for -llzo2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/liblzo2.so when searching for -llzo2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/liblzo2.a when searching for -llzo2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llzo2

I have attempted remerging these packages, and have upgrade my toolchain as well in an attempt to get grub to compile.

Reproducible: Always

Steps to Reproduce:
1. Install a base system using the 2007.0 minimal install CD.
2. Chroot into the new environment.
3. Attempt to install grub-1.95

Actual Results:  
As above.


livecd / # emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 FX-62 Dual Core Processor
Timestamp of tree: Fri, 28 Sep 2007 11:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -mtune=athlon64"
CHOST="x86_64-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/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64 -mtune=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo ftp://mirror.internode.on.net/pub/gentoo"
LINGUAS="en en_GB"
MAKEOPTS="-j4"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/berkano"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 asf ass berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt curl d dbus dga dlloader dri dts dv dvb dvd dvdr dvdread dxr3 eds emboss encode evo expat fam ffmpeg firefox flac fontconfig fortran ftp gd gdbm gif gmp gnutls gpm gstreamer gtk gtk2 hal iconv idn ieee1394 imagemagick ipv6 isdnlog ithreads java javascript jpeg jpeg2k kerberos ldap libcaca linuxthreads-tls lirc logrotate mad matroska mhash midi mikmod mmx mmxext mng mod modplug mp3 mpeg mplayer mudflap mysql mythtv ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp opensslcrypt oss pam pcre pdf perl php png postgres pppd python qt3support qt4 quicktime radeon readline reflection ruby samba sdl session speex spell spl sse sse2 ssl svg tcltk tcpd tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vdr vorbis wxwindows x264 xanim xine xml xorg xosd xpm xv xvid xvmc yahoo zip 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="dvico" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-28 16:29:42 UTC

*** This bug has been marked as a duplicate of bug 161815 ***