[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] systemtap build fails
From:       schnitzeltony () googlemail ! com (=?ISO-8859-1?Q?Andreas_M=FCller?=)
Date:       2012-05-31 23:18:27
Message-ID: CALbNGRQ_9XmHOQyPZUoT4rUKmjzH_vxBidYp_eJ0vsLAZNe1rw () mail ! gmail ! com
[Download RAW message or body]

Hi,

I pulled today, started a build from scratch and ran into trouble with
systemtap:
...
> In file included from csclient.h:12:0,
> from main.cxx:24:
> cscommon.h:8:17: fatal error: ssl.h: No such file or directory
> compilation terminated.
> In file included from csclient.h:12:0,
> from session.cxx:18:
> cscommon.h:8:17: fatal error: ssl.h: No such file or directory
> compilation terminated.
> make[2]: *** [stap-session.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** [stap-main.o] Error 1
> make[2]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r4/git'
 | make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r4/git'
 | make: *** [all] Error 2
> ERROR: oe_runmake failed
...

I added --without-nss to EXTRA_OECONF and rebuild. Now stap-main.o and
stap-session.o were build but now I get
...
> modverify.c:28:21: fatal error: pk11pub.h: No such file or directory
> compilation terminated.
> make[3]: *** [staprun-modverify.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> ../../nsscommon.cxx:37:17: fatal error: ssl.h: No such file or directory
> compilation terminated.
> make[3]: *** [staprun-nsscommon.o] Error 1
> make[3]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r5/git/runtime/staprun'
 | make[2]: *** [all] Error 2
> make[2]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r5/git/runtime/staprun'
 | make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
`/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/systemtap-1.7+git1+83bd2699d8cff2f2d6b9eaf5ea254e4cb6b33e81-r5/git'
 | make: *** [all] Error 2
> ERROR: oe_runmake failed
...

In config.log I find
...
HAVE_NSS_TRUE='#'
...

This is strange: In runtime/staprun/Makefile.am the failed files
should be excluded from build
...
if HAVE_NSS
staprun_SOURCES += modverify.c ../../nsscommon.cxx
staprun_CFLAGS += $(nss_CFLAGS)
staprun_CXXFLAGS += $(nss_CFLAGS)
staprun_LDADD += $(nss_LIBS)
endif
...

Seems HAVE_NSS_TRUE='#' has not reached runtime/staprun

Any thoughts?

Andreas


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic