Hi! 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. To reproduce just create freeipmi-1.2.5_build empty directory and run `../freeipmi-1.2.5/configure && make` there. Patch in attachment fixes this issue. Please, apply. -- Peter.
Index: common/toolcommon/Makefile.am =================================================================== --- common/toolcommon/Makefile.am (revision 9592) +++ common/toolcommon/Makefile.am (working copy) @@ -8,7 +8,7 @@ -I$(top_srcdir)/common/miscutil \ -I$(top_srcdir)/common/parsecommon \ -I$(top_srcdir)/common/portability \ - -I$(top_srcdir)/libipmidetect \ + -I$(top_builddir)/libipmidetect \ -I$(top_builddir)/libfreeipmi/include \ -I$(top_srcdir)/libfreeipmi/include \ -D_GNU_SOURCE \ Index: ipmipower/Makefile.am =================================================================== --- ipmipower/Makefile.am (revision 9592) +++ ipmipower/Makefile.am (working copy) @@ -6,7 +6,7 @@ -I$(top_srcdir)/common/miscutil \ -I$(top_srcdir)/common/parsecommon \ -I$(top_srcdir)/common/portability \ - -I$(top_srcdir)/libipmidetect \ + -I$(top_builddir)/libipmidetect \ -I$(top_builddir)/libfreeipmi/include \ -I$(top_srcdir)/libfreeipmi/include \ -DWITH_LSD_FATAL_ERROR_FUNC=1 \
_______________________________________________ Freeipmi-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/freeipmi-devel
