Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 462844

Summary: [patch] sys-libs/freeipmi-1.2.5: fails to build
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: New packagesAssignee: Sysadmin Bugs <sysadmin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: freeipmi-1.2.5-out-of-source-build.patch

Description Peter Volkov (RETIRED) gentoo-dev 2013-03-23 18:17:27 UTC
Created attachment 343014 [details]
freeipmi-1.2.5-out-of-source-build.patch

sys-libs/freeipmi-1.2.5 fails to build with the following error:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/common/toolcommon -I../../config -I/var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/common/miscutil -I/var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/common/parsecommon -I/var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/common/portability -I/var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/libipmidetect -I../../libfreeipmi/include -I/var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/libfreeipmi/include -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -pipe -march=native -mtune=native -ggdb -c /var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/common/toolcommon/tool-hostrange-common.c  -fPIC -DPIC -o .libs/libtoolcommon_la-tool-hostrange-common.o
/var/pm/tmp/portage/sys-libs/freeipmi-1.2.5/work/freeipmi-1.2.5/common/toolcommon/tool-hostrange-common.c:31:24: fatal error: ipmidetect.h: No such file or directory
compilation terminated.


This caused by out of sources build. Patch in attachment fixes this issue. Please, apply.

Patch posted on upstream mailing list:
http://lists.gnu.org/archive/html/freeipmi-devel/2013-03/msg00003.html
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-03-23 22:54:16 UTC
Patch looks fine, I thought I already fixed this..

Go for it, just commit it.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2013-03-24 07:39:13 UTC
done.