Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504306 - =sys-boot/lilo-24.0 fails to build when USE="static" (cannot find -ldevmapper)
Summary: =sys-boot/lilo-24.0 fails to build when USE="static" (cannot find -ldevmapper)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 503058
  Show dependency tree
 
Reported: 2014-03-12 09:04 UTC by Chema Alonso Josa (RETIRED)
Modified: 2014-08-05 10:30 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info,5.43 KB, text/plain)
2014-03-12 13:02 UTC, Chema Alonso Josa (RETIRED)
Details
build log (lilo-24.0-static-build.log,26.85 KB, text/x-log)
2014-03-12 13:03 UTC, Chema Alonso Josa (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chema Alonso Josa (RETIRED) gentoo-dev 2014-03-12 09:04:35 UTC
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
Comment 1 Chema Alonso Josa (RETIRED) gentoo-dev 2014-03-12 13:02:19 UTC
As discussed on irc I tried rebuilding lvm2 with static USE flag but the problem persists. Posting emerge --info and build log
Comment 2 Chema Alonso Josa (RETIRED) gentoo-dev 2014-03-12 13:02:45 UTC
Created attachment 372490 [details]
emerge --info
Comment 3 Chema Alonso Josa (RETIRED) gentoo-dev 2014-03-12 13:03:00 UTC
Created attachment 372492 [details]
build log
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-07-12 15:03:33 UTC
can't reproduce it now. So i go ahead and mark it stable
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2014-08-05 10:30:28 UTC
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.