Closed ChaoyangZhang closed 5 years ago
Are you building with the SDK? If so you'll need to be sure to use a recent one. That error was recently added into phosphor-dbus-interfaces so you'll need a current version of that repo in your build env. Recent SDK's can be grabbed from https://openpower.xyz/job/openbmc-build-sdk/
Thank for your comment! I has alread installed SDK. Install SDK as follow steps:
# bitbake -c populate_sdk obmc-phosphor-image
# ./tmp/deploy/sdk/oecore-x86_64-armv6-toolchain-nodistro.0.sh
And got those tips:
Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) SDK installer version nodistro.0
=============================================================================================
Enter target directory for SDK (default: /usr/local/oecore-x86_64):
You are about to install the SDK to "/usr/local/oecore-x86_64". Proceed[Y/n]? y
Extracting SDK.............................................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
$ . /usr/local/oecore-x86_64/environment-setup-armv6-openbmc-linux-gnueabi
I also execute this: $ . /usr/local/oecore-x86_64/environment-setup-armv6-openbmc-linux-gnueabi
Could you give me the detail how to install the recent SDK? Thank you!
Are you running the "bitbake -c populate_sdk obmc-phosphor-image" against a recent openbmc/openbmc master? If so then it should work. I don't use the x86 sdk much. You could try to use the one from here
wget https://openpower.xyz/job/openbmc-build-sdk/distro=ubuntu,target=qemux86-64/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-core2-64-toolchain-nodistro.0.sh
Or I usually use the witherspoon one:
wget https://openpower.xyz/job/openbmc-build-sdk/distro=ubuntu,target=witherspoon/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-armv6-toolchain-nodistro.0.sh
Thank you for your help.It is very useful. And I have killed this issue under your guidance.
When I make the phosphor-state-manager,the following issue throws to me:
I don't know why this happens?please help me! Thank you!