* Package dbus-sensors build fail
@ 2019-09-10 9:41 Duke Du (杜祥嘉)
2019-09-10 15:51 ` James Feist
0 siblings, 1 reply; 5+ messages in thread
From: Duke Du (杜祥嘉) @ 2019-09-10 9:41 UTC (permalink / raw)
To: openbmc; +Cc: james.feist
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+3546adb92b-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/fd4f7537ebeee494d4dd91b7438ed9512eeda303
[2] https://github.com/openbmc/openbmc/commit/c68388fccb8c0b5bf4d6b8efff91203796be98b2
Thanks.
Duke, Du
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package dbus-sensors build fail
2019-09-10 9:41 Package dbus-sensors build fail Duke Du (杜祥嘉)
@ 2019-09-10 15:51 ` James Feist
2019-09-11 2:53 ` Duke Du (杜祥嘉)
0 siblings, 1 reply; 5+ messages in thread
From: James Feist @ 2019-09-10 15:51 UTC (permalink / raw)
To: Duke Du (杜祥嘉), openbmc
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+3546adb92b-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/fd4f7537ebeee494d4dd91b7438ed9512eeda303
>
> [2] https://github.com/openbmc/openbmc/commit/c68388fccb8c0b5bf4d6b8efff91203796be98b2
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.
>
> Thanks.
> Duke, Du
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Package dbus-sensors build fail
2019-09-10 15:51 ` James Feist
@ 2019-09-11 2:53 ` Duke Du (杜祥嘉)
2019-09-12 16:20 ` James Feist
0 siblings, 1 reply; 5+ messages in thread
From: Duke Du (杜祥嘉) @ 2019-09-11 2:53 UTC (permalink / raw)
To: james.feist; +Cc: openbmc
> -----Original Message-----
> From: James Feist [mailto:james.feist@linux.intel.com]
> Sent: Tuesday, September 10, 2019 11:51 PM
> To: Duke Du (杜祥嘉) <Duke.Du@quantatw.com>; openbmc@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
> >
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package dbus-sensors build fail
2019-09-11 2:53 ` Duke Du (杜祥嘉)
@ 2019-09-12 16:20 ` James Feist
2019-09-16 2:07 ` Duke Du (杜祥嘉)
0 siblings, 1 reply; 5+ messages in thread
From: James Feist @ 2019-09-12 16:20 UTC (permalink / raw)
To: Duke Du (杜祥嘉); +Cc: openbmc
On 9/10/19 7:53 PM, Duke Du (杜祥嘉) wrote:
>
>
>> -----Original Message-----
>> From: James Feist [mailto:james.feist@linux.intel.com]
>> Sent: Tuesday, September 10, 2019 11:51 PM
>> To: Duke Du (杜祥嘉) <Duke.Du@quantatw.com>; openbmc@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
>>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Package dbus-sensors build fail
2019-09-12 16:20 ` James Feist
@ 2019-09-16 2:07 ` Duke Du (杜祥嘉)
0 siblings, 0 replies; 5+ messages in thread
From: Duke Du (杜祥嘉) @ 2019-09-16 2:07 UTC (permalink / raw)
To: james.feist; +Cc: openbmc
> -----Original Message-----
> From: James Feist [mailto:james.feist@linux.intel.com]
> Sent: Friday, September 13, 2019 12:20 AM
> To: Duke Du (杜祥嘉) <Duke.Du@quantatw.com>
> Cc: openbmc@lists.ozlabs.org
> Subject: Re: Package dbus-sensors build fail
>
> On 9/10/19 7:53 PM, Duke Du (杜祥嘉) wrote:
> >
> >
> >> -----Original Message-----
> >> From: James Feist [mailto:james.feist@linux.intel.com]
> >> Sent: Tuesday, September 10, 2019 11:51 PM
> >> To: Duke Du (杜祥嘉) <Duke.Du@quantatw.com>;
> openbmc@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+7fa
> 17c4880-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+7fa
> 1
> > 7c4880-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/9d227052bf562afd4d547fbc
> 17ace3202c5cf80c
> and it builds for me. Is the target you're building for upstream? Could be
> some compiler difference.
Hi James,
Sorry for the delay in responding to your mail. I have upgraded this based of https://github.com/openbmc/openbmc/commit/9d227052bf562afd4d547fbc17ace3202c5cf80c to build successfully. Thanks for your reply, sincerely.
>
>
>
>
> >
> >>>
> >>> Thanks.
> >>> Duke, Du
> >>>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-09-16 4:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10 9:41 Package dbus-sensors build fail Duke Du (杜祥嘉)
2019-09-10 15:51 ` James Feist
2019-09-11 2:53 ` Duke Du (杜祥嘉)
2019-09-12 16:20 ` James Feist
2019-09-16 2:07 ` Duke Du (杜祥嘉)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.