Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] systemtap: add dependency on boost
@ 2016-10-03 17:14 Martin Jansa
  2016-10-04  9:21 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2016-10-03 17:14 UTC (permalink / raw)
  To: openembedded-core

* otherwise the build may fail with:
| ERROR: oe_runmake failed
| In file included from ../../git/staprun/../util.h:44:0,
|                  from ../../git/staprun/../util.cxx:17:
| ../../git/staprun/../stringtable.h:17:29: fatal error: boost/version.hpp: No such file or directory
|  #include <boost/version.hpp>
|                              ^
| compilation terminated.
| In file included from ../../git/staprun/../util.h:44:0,
|                  from ../../git/staprun/../privilege.cxx:23:
| ../../git/staprun/../stringtable.h:17:29: fatal error: boost/version.hpp: No such file or directory
|  #include <boost/version.hpp>
|                              ^
| compilation terminated.
| rm -f libstrfloctime.a

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-kernel/systemtap/systemtap_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index da30fa5..15f0d4e 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -2,9 +2,9 @@ SUMMARY = "Script-directed dynamic tracing and performance analysis tool for Lin
 
 require systemtap_git.inc
 
-DEPENDS = "elfutils sqlite3 systemtap-native ncurses json-c"
-DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native"
-DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
+DEPENDS = "elfutils sqlite3 systemtap-native ncurses json-c boost"
+DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native boost-native"
+DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext nativesdk-boost"
 
 RDEPENDS_${PN} += "python3-core bash"
 
-- 
2.10.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] systemtap: add dependency on boost
  2016-10-03 17:14 [PATCH] systemtap: add dependency on boost Martin Jansa
@ 2016-10-04  9:21 ` Burton, Ross
  2016-10-04  9:46   ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2016-10-04  9:21 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

On 3 October 2016 at 18:14, Martin Jansa <martin.jansa@gmail.com> wrote:

> +DEPENDS = "elfutils sqlite3 systemtap-native ncurses json-c boost"
> +DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native
> boost-native"
> +DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3
> nativesdk-gettext nativesdk-boost"
>

So why does systemtap appear to have floating dependencies for ncurses and
json-c?  Should we be expressing this as a single DEPENDS line with
something like different PACKAGECONFIG for target/native?

Ross

[-- Attachment #2: Type: text/html, Size: 997 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] systemtap: add dependency on boost
  2016-10-04  9:21 ` Burton, Ross
@ 2016-10-04  9:46   ` Martin Jansa
  2016-10-04 15:05     ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2016-10-04  9:46 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

PACKAGECONFIG would be nice

I don't use systemtap, I've just noticed it failing in one of my world
builds after recent boost which probably remove native boost from sysroot
between systemtap's do_configure and do_compile and caused this failure.

On Tue, Oct 4, 2016 at 11:21 AM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 3 October 2016 at 18:14, Martin Jansa <martin.jansa@gmail.com> wrote:
>
>> +DEPENDS = "elfutils sqlite3 systemtap-native ncurses json-c boost"
>> +DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native
>> boost-native"
>> +DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3
>> nativesdk-gettext nativesdk-boost"
>>
>
> So why does systemtap appear to have floating dependencies for ncurses and
> json-c?  Should we be expressing this as a single DEPENDS line with
> something like different PACKAGECONFIG for target/native?
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 1822 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] systemtap: add dependency on boost
  2016-10-04  9:46   ` Martin Jansa
@ 2016-10-04 15:05     ` Burton, Ross
  0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2016-10-04 15:05 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

On 4 October 2016 at 10:46, Martin Jansa <martin.jansa@gmail.com> wrote:

> PACKAGECONFIG would be nice
>
> I don't use systemtap, I've just noticed it failing in one of my world
> builds after recent boost which probably remove native boost from sysroot
> between systemtap's do_configure and do_compile and caused this failure.
>

Patch incoming that incorporates this.

Ross

[-- Attachment #2: Type: text/html, Size: 859 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-04 15:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-03 17:14 [PATCH] systemtap: add dependency on boost Martin Jansa
2016-10-04  9:21 ` Burton, Ross
2016-10-04  9:46   ` Martin Jansa
2016-10-04 15:05     ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox