Package dbus-sensors build fail

Duke Du (杜祥嘉) Duke.Du at quantatw.com
Wed Sep 11 12:53:15 AEST 2019



> -----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'

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


More information about the openbmc mailing list