openbmc / docs

OpenBMC Documentation
Creative Commons Attribution 4.0 International
267 stars 305 forks source link

Bitbake error:Nothing RPROVIDES'virtual=p9-vcs-workaround' #51

Closed zzhuang-cancon closed 4 years ago

zzhuang-cancon commented 4 years ago

i am newbie in OpenBMC and i follow this guidence : Add a New System to OpenBMC everything is ok until i start to do building step : 'bitbake obmc-phosphor-image' and then i get 2 errors. look below: Parsing recipes: 100% |##################################################################################################################| Time: 0:03:28 Parsing of 2592 .bb files complete (0 cached, 2592 parsed). 3903 targets, 355 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'virtual-p9-vcs-workaround' (but /home/zhangzhuang/openbmc/meta-openpower/recipes-phosphor/host/p9-vcs-workaround.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'virtual-p9-vcs-workaround' is unbuildable, removing... Missing or unbuildable dependency chain was: ['virtual-p9-vcs-workaround'] NOTE: Runtime target 'p9-vcs-workaround' is unbuildable, removing... Missing or unbuildable dependency chain was: ['p9-vcs-workaround', 'virtual-p9-vcs-workaround'] NOTE: Runtime target 'virtual-obmc-host-ctl' is unbuildable, removing... Missing or unbuildable dependency chain was: ['virtual-obmc-host-ctl', 'p9-vcs-workaround', 'virtual-p9-vcs-workaround'] ERROR: Required build target 'obmc-phosphor-image' has no buildable providers. Missing or unbuildable dependency chain was: ['obmc-phosphor-image', 'virtual-obmc-host-ctl', 'p9-vcs-workaround', 'virtual-p9-vcs-workaround']

i have do my best , try to find a solution to this problem, but it does not work. if anyone give some suggestions?

williamspatrick commented 4 years ago

Are you trying to build a Power-based system? The "p9 workaround" is for Power9 processors.

I would suggest posting to the mailing list with some more details about what machine / template config you are trying to build from. You'll get more eyes on your questions from the mailing list.

https://lists.ozlabs.org/listinfo/openbmc

solonfan commented 4 years ago

Hi,zzhuang-cancon!

Have your error be fixed?I meet same error with yours.

Thanks, SolonFan

solonfan commented 4 years ago

Hi,zzhuang-cancon! I modified below file,and fix the build error[ERROR: Nothing RPROVIDES 'virtual-p9-vcs-workaround'],for your reference.

~/meta-romulus-prime/recipes-phosphor/host/p9-host-start.bbappend

Change RDEPENDS_${PN}_removeromulus = "p9-vcs-workaround" to RDEPENDS${PN}removeromulus-prime = "p9-vcs-workaround"

Screenshot from 2020-06-11 15-52-34

Thanks, SolonFan