USE=static emerge =sys-boot/lilo-24.0 fails on amd64: x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -fno-pic -o lilo lilo.o raid.o map.o geometry.o boot.o device.o common.o bsect.o cfg.o partition.o identify.o probe.o shs2.o edit.o temp.o `if [ -f /usr/include/libdevmapper.h ]; then echo "-ldevmapper"; fi` x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -fno-pic -o lilo.static -static lilo.o raid.o map.o geometry.o boot.o device.o common.o bsect.o cfg.o partition.o identify.o probe.o shs2.o edit.o temp.o `if [ -f /usr/include/libdevmapper.h ]; then echo "-ldevmapper"; fi` /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldevmapper collect2: error: ld returned 1 exit status make[1]: *** [lilo.static] Error 1 make[1]: *** Waiting for unfinished jobs.... rm chain.img bootsect.img mbr2.o pseudo1.img bitmap.img disk.img bootsect.o mbr.o pseudo1.o first.img second.img third.img disk.o make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-24.0/work/lilo-24.0/src' make: *** [alles] Error 2 * ERROR: sys-boot/lilo-24.0::gentoo failed (compile phase): * emake failed
As discussed on irc I tried rebuilding lvm2 with static USE flag but the problem persists. Posting emerge --info and build log
Created attachment 372490 [details] emerge --info
Created attachment 372492 [details] build log
can't reproduce it now. So i go ahead and mark it stable
Believed to have had an external cause (to LILO). All the same, thank you for reporting it and holding back on stabilisation until it got solved.