>>> Unpacking source... >>> Unpacking lilo-22.5.8.tar.gz to /var/tmp/portage/lilo-22.5.8-r2/work * Applying lilo-22.5.8-devmapper_gentoo.patch... [ ok ] * Applying lilo-glibc233.patch... [ ok ] * Applying lilo-22.5.8.lvm.2-6headers.patch... [ ok ] * Applying lilo-22.5.8-create-install-dirs.patch... [ ok ] >>> Source unpacked. gcc -O2 -Wall -g -DLILO=0x16c2d41b `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DSHS_MAIN -o version common.c gcc -c -O2 -Wall -g -DLILO=0x16c2d41b `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` raid.c gcc -c -O2 -Wall -g -DLILO=0x16c2d41b `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` map.c gcc -c -O2 -Wall -g -DLILO=0x16c2d41b `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` geometry.c geometry.c:33:26: libdevmapper.h: No such file or directory geometry.c:73: error: syntax error before "uint64_t" geometry.c:73: warning: no semicolon at end of struct or union geometry.c:75: error: syntax error before '}' token geometry.c:75: warning: type defaults to `int' in declaration of `DM_TARGET' geometry.c:75: warning: data definition has no type or storage class geometry.c: In function `geo_init': geometry.c:190: warning: implicit declaration of function `dm_task_create' geometry.c:190: error: `DM_DEVICE_VERSION' undeclared (first use in this function) geometry.c:190: error: (Each undeclared identifier is reported only once geometry.c:190: error: for each function it appears in.) geometry.c:190: warning: assignment makes pointer from integer without a cast geometry.c:192: warning: implicit declaration of function `dm_task_run' geometry.c:194: warning: implicit declaration of function `dm_task_get_driver_version' geometry.c:204: warning: implicit declaration of function `dm_task_destroy' geometry.c: In function `geo_get': geometry.c:864: error: `target' undeclared (first use in this function) geometry.c:900: error: `DM_DEVICE_TABLE' undeclared (first use in this function) geometry.c:900: warning: assignment makes pointer from integer without a cast geometry.c:907: warning: implicit declaration of function `dm_task_set_name' geometry.c:922: error: `uint64_t' undeclared (first use in this function) geometry.c:922: error: syntax error before "start" geometry.c:927: warning: implicit declaration of function `dm_get_next_target' geometry.c:927: error: `start' undeclared (first use in this function) geometry.c:927: error: `length' undeclared (first use in this function) geometry.c:928: warning: assignment makes pointer from integer without a cast geometry.c:935: error: syntax error before ')' token geometry.c:944: error: syntax error before "PRIu64" geometry.c:948: error: syntax error before "PRIu64" geometry.c:981: error: syntax error before "PRIu64" geometry.c: In function `geo_comp_addr': geometry.c:1381: error: `dm_target' undeclared (first use in this function) geometry.c:1393: error: syntax error before "PRIu64" geometry.c:1393: error: `PRIu64' undeclared (first use in this function) make: *** [geometry.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-boot/lilo-22.5.8-r2 failed. !!! Function src_compile, Line 63, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.24) ================================================================= System uname: 2.4.24 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.4.7 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8,sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb dvd dvdr encode esd fbcon foomaticdb gd gd-external gdbm ggi gif gnome gpg gphoto2 gpm gtk gtk2 gtkhtml guile imlib jpeg kde ldap libg++ libwww linguas_de lirc mad matroska mikmod mozilla mpeg mysql ncures ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype vorbis x86 xml2 xmms xv zlib"
Didn't emerge automatically install the device-mapper package?
This feels like you're using nodeps. Is that the case? If you're running ~x86, please tell me how 22.5.9-r1 does.
hi, 22.5.9-r1 works well, but why does the ebuild executes dolilo? This has damaged my lilo.conf file. Seems to backup the file two times to the same file :( So that I only have the default file that comes with the first install with dolilo. I'am worry about that. Also the bzImage file in /boot will be overwritten :( Why not check first is there is a diff between the original and the backup file and/or backup to a new name. So, that can't be a config file lost! Something like: ----------------------------------------- count=0 for x in `/bin/ls /boot` /etc; do count=`expr $count + 1` done if [ $count = 0 ]; then $BACKUPFILE = "lilo.conf.backup" else $BACKUPFILE = "lilo.conf.backup.$count" fi ----------------------------------------- mfg Dietrich
Means you've had 22.5.9 on your system, please delete /etc/dolilo.conf and it will stop touching /etc/lilo.conf I released 22.5.9-r1 the moment I noticed, but I'm afraid it's too late for some folks. Cause of this is me putting the wrong config file in the .tar.bz2 I'll see about putting more backup levels in dolilo 0.2, thanks for your suggestion. The bzImage in /boot will only get overwritten if it spots a newer bzImage in your kernel directory, and it will make a backup. In dolilo 0.2, this will be optional functionality, and off by default. This because not everyone uses "my" naming scheme and being flexible on that point would mean at least 10 lines of extra code. (This is why we have ~x86, by the way. To catch bugs and other unwanted behaviour.). I'm closing this bug as a newer release fixes it. These changes in dolilo 0.2 should address your concerns with it.