Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462844 - [patch] sys-libs/freeipmi-1.2.5: fails to build
Summary: [patch] sys-libs/freeipmi-1.2.5: fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sysadmin Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 18:17 UTC by Peter Volkov (RETIRED)
Modified: 2013-03-24 07:39 UTC (History)
0 users

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


Attachments
freeipmi-1.2.5-out-of-source-build.patch (freeipmi-1.2.5-out-of-source-build.patch,1000 bytes, text/plain)
2013-03-23 18:17 UTC, Peter Volkov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.