Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584784 - sys-kernel/genkernel-3.4.52.4-r1 --dmraid fails building dmraid
Summary: sys-kernel/genkernel-3.4.52.4-r1 --dmraid fails building dmraid
Status: RESOLVED DUPLICATE of bug 631368
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-01 17:13 UTC by Vasiliy
Modified: 2017-12-25 07:02 UTC (History)
1 user (show)

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 Vasiliy 2016-06-01 17:13:47 UTC
I am using catalyst and it is using genkernel to build kernel images. I've updated portage snapshot recently and now genkernel fails with ERROR: Configure of dmraid failed!

from config.log:
configure:9118: gcc -o conftest -O2 -I/var/tmp/genkernel/11834.731.32169.353/lvm/include -I/var/tmp/genkernel/11
834.731.32169.353/lvm/include -L/var/tmp/genkernel/11834.731.32169.353/lvm/lib -L/var/tmp/genkernel/11834.731.32
169.353/lvm/lib conftest.c -ldevmapper-event  -ldevmapper >&5
/usr/lib/gcc/i486-pc-linux-gnu/4.9.3/../../../../lib/libdevmapper-event.so: undefined reference to `dm_task_get_
info_with_deferred_remove@Base'

dm_task_get_info_with_deferred_remove is really not present in shipped LVM 2.02.88 (but is in 2.02.116 from main portage tree)

Options: --lvm --dmraid --mdadm --makeopts=-j9 --no-debug-cleanup --cachedir=/tmp/kerncache/cfgkrnl-genkernel_cache-2016.6 --no-mountboot --kerneldir=/usr/src/linux --modulespackage=/tmp/kerncache/cfgkrnl-modules-2016.6.tar.bz2 --minkernpackage=/tmp/kerncache/cfgkrnl-kernel-initrd-2016.6.tar.bz2 all --kerncache=/tmp/kerncache/cfgkrnl-kerncache-2016.6.tar.bz2 --kernel-config=/var/tmp/cfgkrnl.config



Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2016-06-01 17:22:35 UTC
This seems to me to be more like a dmraid bug than a genkernel one..
Comment 2 Vasiliy 2016-06-01 18:03:30 UTC
dmraid-1.0.0_rc16-r3 by itself compiles successfully (with lvm2-2.02.116). 
I guess it won't with lvm2 prior to 2.02.96 (or .97), but genkernel comes with dmraid-1.0.0_rc16-r3 and lvm-2.02.88, so it looks like genkernel issue to me.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-12-25 07:02:19 UTC

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