Building intel s2600wf image

Wim Vervoorn wvervoorn at eltan.com
Fri Feb 15 18:53:15 AEDT 2019


Hi Andrew,

Thanks for your feedback. I am sorry about that. I will try to provide the required information below:

The OpenOBMC tree I use comes from https://github.com/openbmc/openbmc initially I was simply using the head of yesterday morning now I switched to the 2.6.0 release to start at a more defined point.

I am using UBUNTU 16.04 as the build system and have all pre-requisites installed as far as I can see. I can e.g. build the Palmetto on the same system without problem.

I am using UBUNTU in a virtual machine and have 8G or memory and have 60 GB of free disk space.

To build the tree I started from the clean 2.6.0, the I issued:
	
	$ export TEMPLATECONF=meta-intel/meta-s2600wf/conf
	$ . openbmc-env
	$ bitbake obmc-phosphor-image

I did not make any further changes to make sure I am using a default build.

I am getting an issue when compiling "intel-ipmi-oem" the errors I get involve include files that can't be found:

DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/build --target all -- -j 4
[1/6] /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/utils.cpp
FAILED: CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o 
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/utils.cpp
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/utils.cpp:1:10: fatal error: phosphor-ipmi-host/utils.hpp: No such file or directory
 #include "phosphor-ipmi-host/utils.hpp"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/6] /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/oemcommands.cpp
FAILED: CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o 
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/oemcommands.cpp
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/oemcommands.cpp:25:10: fatal error: phosphor-ipmi-host/utils.hpp: No such file or directory
 #include <phosphor-ipmi-host/utils.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/6] /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/storagecommands.cpp
FAILED: CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o 
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/storagecommands.cpp
In file included from /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/storagecommands.cpp:25:
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include/storagecommands.hpp:19:10: fatal error: phosphor-ipmi-host/sensorhandler.hpp: No such file or directory
 #include <phosphor-ipmi-host/sensorhandler.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[4/6] /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/sensorcommands.cpp
FAILED: CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o 
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0 -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o -c /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/sensorcommands.cpp
/home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/git/src/sensorcommands.cpp:25:10: fatal error: phosphor-ipmi-host/utils.hpp: No such file or directory
 #include <phosphor-ipmi-host/utils.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/wiv/openbmc-2.6.0/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+f426f334c6-r0/temp/log.do_compile.28169)


For referece, when using the head I got this:


DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/build --target all -- -j 4
[1/6] /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0 -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -c /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/src/storagecommands.cpp
FAILED: CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o 
/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0 -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/storagecommands.cpp.o -c /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/src/storagecommands.cpp
/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/src/storagecommands.cpp:23:10: fatal error: phosphor-ipmi-host/selutility.hpp: No such file or directory
 #include <phosphor-ipmi-host/selutility.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/6] /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0 -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/oemcommands.cpp.o -c /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/src/oemcommands.cpp
[3/6] /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0 -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/utils.cpp.o -c /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/src/utils.cpp
[4/6] /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID -DBOOST_SYSTEM_NO_DEPRECATED -Dzinteloemcmds_EXPORTS -I/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/include -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0 -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot= -fdebug-prefix-map=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden  -march=armv6 -marm -mtune=arm1176jz-s  --sysroot=/home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/recipe-sysroot -fPIC   -std=gnu++17 -MD -MT CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o -MF CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o.d -o CMakeFiles/zinteloemcmds.dir/src/sensorcommands.cpp.o -c /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/git/src/sensorcommands.cpp
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/wiv/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/intel-ipmi-oem/0.1+gitAUTOINC+c04e2e70d3-r0/temp/log.do_compile.15661) 


I hope this is sufficient to take things further.

Wim




1. What "the latest" OpenBMC tree is
2. What environment you're trying to build it in 3. How you are configuring and invoking the build 4. What error you are actually hitting 5. Whether you have searched the issue tracker for others reporting the same problem

Regarding 1, we have a very definite way of identifying versions: The commit ID of the openbmc/openbmc repository. OpenBMC is a fast moving project, and your "latest" tree might not look like my "latest"
tree. Please make sure to provide the output of `git rev-parse HEAD` from your working directory with your issues/queries.

Regarding 2, are you building on a physical or virtual machine? What OS are you running? How much RAM and disk space do you have available for the build (at a guess you should probably have at least 8GiB of RAM and 50GiB of disk space free). Which OS you're running influences which compilers you have available for bootstrap and if they're too old or too new they may cause issues. Please describe your full environment.

Regarding 3, it's not clear if you've even configured yourself to build Hia s2600wf image like you're claiming, or if you're correctly invoking bitbake. Please provide the exact commands you used to configure and build your image.

Regarding 4 there's literally nothing we can do to help you other than say "Commit ID X works for me" in response. This may even be the same commit that you're failing to build. If we know the details of the problem then if it is something unexpected we can help fix it.
This means you need to provide the failure output from bitbake,
*and* any logs that output might reference.

Finally, regarding 5, the best way to get help is often to help yourself.
Please make sure you've searched the issue tracker before asking for help on the mailing list. In fact, typically, you'll get a better response by actually opening a new issue if you have a new problem, as it gives us a central point to collaborate around to resolve your problem.

I hope the above isn't too much of an affront, but I'm trying to help you help us help you. We'll all be better off if you can provide us with more information and make proper use of the systems we have in place to deal with bugs.


-----Original Message-----
From: Andrew Jeffery [mailto:andrew at aj.id.au] 
Sent: Friday, February 15, 2019 12:50 AM
To: Wim Vervoorn <wvervoorn at eltan.com>; openbmc at lists.ozlabs.org
Subject: Re: Building intel s2600wf image

Hi Wim,

On Fri, 15 Feb 2019, at 02:51, Wim Vervoorn wrote:
> Hello,
> 
> We are trying to build the Intel s2600wf image using the latest 
> OpenBMC tree. If we do that we are running into build errors.
> 
> Before digging into this can you tell me which commit of the tree can 
> be used to build an image for  this device without errors. This allows 
> us to have a stable version for reference.

Sorry to say this, but what you've written is a textbook example of how not to ask for help :/

Things I don't know from the above:

1. What "the latest" OpenBMC tree is
2. What environment you're trying to build it in 3. How you are configuring and invoking the build 4. What error you are actually hitting 5. Whether you have searched the issue tracker for others reporting the same problem

Regarding 1, we have a very definite way of identifying versions: The commit ID of the openbmc/openbmc repository. OpenBMC is a fast moving project, and your "latest" tree might not look like my "latest"
tree. Please make sure to provide the output of `git rev-parse HEAD` from your working directory with your issues/queries.

Regarding 2, are you building on a physical or virtual machine? What OS are you running? How much RAM and disk space do you have available for the build (at a guess you should probably have at least 8GiB of RAM and 50GiB of disk space free). Which OS you're running influences which compilers you have available for bootstrap and if they're too old or too new they may cause issues. Please describe your full environment.

Regarding 3, it's not clear if you've even configured yourself to build Hia s2600wf image like you're claiming, or if you're correctly invoking bitbake. Please provide the exact commands you used to configure and build your image.

Regarding 4 there's literally nothing we can do to help you other than say "Commit ID X works for me" in response. This may even be the same commit that you're failing to build. If we know the details of the problem then if it is something unexpected we can help fix it.
This means you need to provide the failure output from bitbake,
*and* any logs that output might reference.

Finally, regarding 5, the best way to get help is often to help yourself.
Please make sure you've searched the issue tracker before asking for help on the mailing list. In fact, typically, you'll get a better response by actually opening a new issue if you have a new problem, as it gives us a central point to collaborate around to resolve your problem.

I hope the above isn't too much of an affront, but I'm trying to help you help us help you. We'll all be better off if you can provide us with more information and make proper use of the systems we have in place to deal with bugs.

Cheers,

Andrew




More information about the openbmc mailing list