Skip to contentSkip to conversation

phosphor-ipmi-ipmb

DISCUSSION Vijay Khemka 2 participants 2 messages Jan 24, 2019 – Jan 25, 2019

lore
Share & tools
lore
#0 lore raw

Team,
Phosphor-ipmi-ipmb is not building and it is failing with below messages.

| -- Looking for linux/i2c-dev-user.h

| -- Looking for linux/i2c-dev-user.h - not found

| Could not find linux/i2c-dev-user.h: Attempting to download locally for building from https://raw.githubusercontent.com/openbmc/linux/dev-4.13/include/uapi/linux/i2c-dev.h

| CMake Error at CMakeLists.txt:27 (message):

| i2c-dev-user.h missing

|

|

| -- Configuring incomplete, errors occurred!

| See also "/home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-ipmb/0.1+git999-r0/phosphor-ipmi-ipmb-0.1+git999/CMakeFiles/CMakeOutput.log".

| See also "/home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-ipmb/0.1+git999-r0/phosphor-ipmi-ipmb-0.1+git999/CMakeFiles/CMakeError.log".

| WARNING: /home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-ipmb/0.1+git999-r0/temp/run.do_configure.3483416:1 exit 1 from 'cmake -G Ninja -DCMAKE_MAKE_PROGRAM=ninja $oecmake_sitefile /home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/build/workspace/sources/phosphor-ipmi-ipmb -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE=/home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-ipmb/0.1+git999-r0/toolchain.cmake -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 ${PACKAGECONFIG_CONFARGS} -Wno-dev'

| ERROR: Function failed: do_configure (log file is located at /home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-ipmb/0.1+git999-r0/temp/log.do_configure.3483416)

ERROR: Task (/home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb:do_configure) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1878 tasks of which 1877 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

/home/vijaykhemka/proj/openbmc/lf/dec13-gh/test/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_git.bb:do_configure

Summary: There were 2 WARNING messages shown.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Regards
-Vijay

#1 lore raw
Quoted 9 lines · Vijay Khemka

Team,

Phosphor-ipmi-ipmb is not building and it is failing with below messages.

| -- Looking for linux/i2c-dev-user.h

| -- Looking for linux/i2c-dev-user.h - not found

| Could not find linux/i2c-dev-user.h: Attempting to download locally for building from https://raw.githubusercontent.com/openbmc/linux/dev-4.13/include/uapi/linux/i2c-dev.h

This is the deprecated version from the old version of I2C tools. It needs to be replaced like how it was in FruDevice:

https://github.com/openbmc/entity-manager/commit/3b860986f66e9275a411d844ded32fe84f074472

I CC'd Dawid the creator of this application.

Quoted 7 lines

| CMake Error at CMakeLists.txt:27 (message):

| i2c-dev-user.h missing