Package dbus-sensors build fail

James Feist james.feist at linux.intel.com
Fri Sep 13 02:20:06 AEST 2019


On 9/10/19 7:53 PM, Duke Du (杜祥嘉) wrote:
> 
> 
>> -----Original Message-----
>> From: James Feist [mailto:james.feist at linux.intel.com]
>> Sent: Tuesday, September 10, 2019 11:51 PM
>> To: Duke Du (杜祥嘉) <Duke.Du at quantatw.com>; openbmc at lists.ozlabs.org
>> Subject: Re: Package dbus-sensors build fail
>>
>> On 9/10/19 2:41 AM, Duke Du (杜祥嘉) wrote:
>>> Hi All,
>>>     I bitbake package dbus-sensors in openbmc repo fd4f753 is OK [1], but
>> in openbmc repo c68388f is fail [2]. And I got some errors such as compile
>> errors, for example,
>> tmp/work/armv7a-openbmc-linux-gnueabi/dbus-sensors/0.1+gitAUTOINC+35
>> 46adb92b-r0/recipe-sysroot/usr/include/c++/9.2.0/complex:1955:8: error:
>> expected unqualified-id before 'namespace'
>>> |  1955 | inline namespace literals {
>>> |       |        ^~~~~~~~~
>>> | ninja: build stopped: subcommand failed.
>>>
>>>     Do I lose some settings for dbus-sensors package, could you give me
>> some suggestions, thanks.
>>>
>>> [1]
>>>
>> https://github.com/openbmc/openbmc/commit/fd4f7537ebeee494d4dd91b
>> 7438e
>>> d9512eeda303
>>>
>>> [2]
>>>
>> https://github.com/openbmc/openbmc/commit/c68388fccb8c0b5bf4d6b8eff
>> f91
>>> 203796be98b2
>>
>> Can you prove the commits of dbus-sensors you are using? This issue was
>> fixed quite some time ago I believe. I would suggest trying the latest version
>> of dbus-sensors.
> 
> Hi James,
>    Thanks for your suggestion, I use the latest commit 7fa17c48 of dbus-sensors, but still get the same error as follows :
>         tmp/work/armv7a-openbmc-linux-gnueabi/dbus-sensors/0.1+gitAUTOINC+7fa17c4880-r0/recipe-sysroot/usr/include/c++/9.2.0/complex:1955:8: error: expected unqualified-id before 'namespace'
>   1955 | inline namespace literals {
>        |        ^~~~~~~~~
> ninja: build stopped: subcommand failed.
> WARNING: exit code 1 from a shell command.
> 
> ERROR: Logfile of failure stored in: tmp/work/armv7a-openbmc-linux-gnueabi/dbus-sensors/0.1+gitAUTOINC+7fa17c4880-r0/temp/log.do_compile.6900
> 
> ERROR: Task (openbmc/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb:do_compile) failed with exit code '1'

I'm based off of
https://github.com/openbmc/openbmc/commit/9d227052bf562afd4d547fbc17ace3202c5cf80c 
and it builds for me. Is the target you're building for upstream? Could 
be some compiler difference.




> 
>>>
>>> Thanks.
>>> Duke, Du
>>>


More information about the openbmc mailing list