Re: [oe] [meta-oe][PATCH] sysbench: upgrade to 1.0.20

2022-09-12 Thread venkatakoteswararao talluri
Hello Khem Raj,
Can you please help to provide feedback on this?


Thanks,
Venkata Talluri

On Mon, Sep 12, 2022 at 12:20 PM venkatakoteswararao talluri via
lists.openembedded.org 
wrote:

> I've followed below link and updated sysbench_1.0.20.bb file on QCS610
>
> https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg77365.html
>
> On Mon, Sep 12, 2022 at 12:19 PM venkatakoteswararao talluri <
> venkattalluri5...@gmail.com> wrote:
>
>> Hi All,
>>
>> I'm trying to build sysbench_1.0.20.bb on QCS610 codebase but I'm
>> getting following error so can you please help me to solve this issue.
>> Image:qti-multimedia-image
>> Target:qcs610-odk-64
>>
>> Error log:
>>
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing RPROVIDES 'luajit' (but
>> /var/lib/jenkins/workspace/QCS610_OpenQ_Linux_1.x_Internal_/qcs610-le-1-0_ap_standard_oem/apps_proc/poky/meta-qti-bsp/recipes-products/images/
>> qti-multimedia-image.bb RDEPENDS on or otherwise requires it)
>> luajit was skipped: incompatible with host aarch64-oe-linux (not in
>> COMPATIBLE_HOST)
>> NOTE: Runtime target 'luajit' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['luajit']
>> ERROR: Required build target 'qti-multimedia-image' has no buildable
>> providers.
>> Missing or unbuildable dependency chain was: ['qti-multimedia-image',
>> 'luajit']
>>
>>
>> Please find the attached sysbench_1.0.20.bb file.
>>
>>
>> Thanks,
>>
>> Venkata Talluri
>>
>
> --
> Venkata Talluri
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98751): 
https://lists.openembedded.org/g/openembedded-devel/message/98751
Mute This Topic: https://lists.openembedded.org/mt/93627594/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] sysbench: upgrade to 1.0.20

2022-09-12 Thread venkatakoteswararao talluri
I've followed below link and updated sysbench_1.0.20.bb file on QCS610
https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg77365.html

On Mon, Sep 12, 2022 at 12:19 PM venkatakoteswararao talluri <
venkattalluri5...@gmail.com> wrote:

> Hi All,
>
> I'm trying to build sysbench_1.0.20.bb on QCS610 codebase but I'm getting
> following error so can you please help me to solve this issue.
> Image:qti-multimedia-image
> Target:qcs610-odk-64
>
> Error log:
>
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'luajit' (but
> /var/lib/jenkins/workspace/QCS610_OpenQ_Linux_1.x_Internal_/qcs610-le-1-0_ap_standard_oem/apps_proc/poky/meta-qti-bsp/recipes-products/images/
> qti-multimedia-image.bb RDEPENDS on or otherwise requires it)
> luajit was skipped: incompatible with host aarch64-oe-linux (not in
> COMPATIBLE_HOST)
> NOTE: Runtime target 'luajit' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['luajit']
> ERROR: Required build target 'qti-multimedia-image' has no buildable
> providers.
> Missing or unbuildable dependency chain was: ['qti-multimedia-image',
> 'luajit']
>
>
> Please find the attached sysbench_1.0.20.bb file.
>
>
> Thanks,
>
> Venkata Talluri
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98750): 
https://lists.openembedded.org/g/openembedded-devel/message/98750
Mute This Topic: https://lists.openembedded.org/mt/93627594/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] sysbench: upgrade to 1.0.20

2022-09-12 Thread venkatakoteswararao talluri
Hi All,

I'm trying to build sysbench_1.0.20.bb on QCS610 codebase but I'm getting
following error so can you please help me to solve this issue.
Image:qti-multimedia-image
Target:qcs610-odk-64

Error log:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'luajit' (but
/var/lib/jenkins/workspace/QCS610_OpenQ_Linux_1.x_Internal_/qcs610-le-1-0_ap_standard_oem/apps_proc/poky/meta-qti-bsp/recipes-products/images/
qti-multimedia-image.bb RDEPENDS on or otherwise requires it)
luajit was skipped: incompatible with host aarch64-oe-linux (not in
COMPATIBLE_HOST)
NOTE: Runtime target 'luajit' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['luajit']
ERROR: Required build target 'qti-multimedia-image' has no buildable
providers.
Missing or unbuildable dependency chain was: ['qti-multimedia-image',
'luajit']


Please find the attached sysbench_1.0.20.bb file.


Thanks,

Venkata Talluri


sysbench_1.0.20.bb
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98749): 
https://lists.openembedded.org/g/openembedded-devel/message/98749
Mute This Topic: https://lists.openembedded.org/mt/93627594/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] sysbench: upgrade to 1.0.20

2021-05-24 Thread Khem Raj
On Mon, May 24, 2021 at 9:29 AM Nicolas Dechesne
 wrote:
>
>
>
> On Wed, May 19, 2021 at 6:37 PM Khem Raj  wrote:
>>
>> seeing this failure
>>
>> https://errors.yoctoproject.org/Errors/Details/584952/
>
>
> hmm. Sorry about the delay.. Looks like I am not able to reproduce the error, 
> it builds for me with oe-core only and with:
>
> Build Configuration:
> BB_VERSION   = "1.51.0"
> BUILD_SYS= "x86_64-linux"
> NATIVELSBSTRING  = "debian-10"
> TARGET_SYS   = "arm-oe-linux-gnueabi"
> MACHINE  = "qemuarm"
> DISTRO   = "nodistro"
> DISTRO_VERSION   = "nodistro.0"
> TUNE_FEATURES= "arm armv7ve vfp thumb neon callconvention-hard"
> TARGET_FPU   = "hard"
>
> Do you have any idea why it would work for me, and not for you?

you need really old compiler which does not implement
-fmacro-prefix-map cmdline option e.g. gcc 7 on ubuntu 18.04 build
host.
perhaps this package should ensure these options are not used in BUILD_CFLAGS

>
>>
>>
>>
>> On Tue, May 18, 2021 at 11:01 PM Nicolas Dechesne
>>  wrote:
>> >
>> > * Upstream moved to Github, let's use it for SRC_URI
>> > * COPYING file was changed, but with no impact on license
>> > * sysbench includes a copy of luajit project and it's compiled by
>> >   default. However the internal copy of luajit won't cross compile
>> >   properly, without patching it (it uses 'gcc'). So instead use the
>> >   'system' luajit, e.g. the one package from OE (which is what most
>> >   distro do anyways)
>> > * Does not compile with different built folder. Lua generated files
>> >   have things like that:
>> > unsigned char __/__/__/__/sysbench-1_0_20/src/lua/internal/sysbench_lua[] =
>> >
>> > Signed-off-by: Nicolas Dechesne 
>> > ---
>> >  ...{sysbench_0.4.12.bb => sysbench_1.0.20.bb} | 21 ---
>> >  1 file changed, 14 insertions(+), 7 deletions(-)
>> >  rename meta-oe/recipes-benchmark/sysbench/{sysbench_0.4.12.bb => 
>> > sysbench_1.0.20.bb} (56%)
>> >
>> > diff --git a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb 
>> > b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
>> > similarity index 56%
>> > rename from meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
>> > rename to meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
>> > index 708c71f4f..555477ab0 100644
>> > --- a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
>> > +++ b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
>> > @@ -2,16 +2,17 @@ SUMMARY = "System performance benchmark"
>> >  HOMEPAGE = "http://github.com/akopytov/sysbench;
>> >  SECTION = "console/tests"
>> >  LICENSE = "GPLv2"
>> > -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>> > +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>> >
>> > -inherit autotools
>> > +DEPENDS = "luajit"
>> >
>> > -# The project has moved from Sourceforge to Launchpad, to Github. Use the 
>> > source tarball from
>> > -# Launchpad until the next release is available from Github.
>> > -SRC_URI = 
>> > "https://launchpad.net/ubuntu/+archive/primary/+files/${BPN}_${PV}.orig.tar.gz;
>> > +inherit autotools pkgconfig
>> >
>> > -SRC_URI[md5sum] = "3a6d54fdd3fe002328e4458206392b9d"
>> > -SRC_URI[sha256sum] = 
>> > "83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e"
>> > +SRC_URI = "git://github.com/akopytov/${BPN}.git"
>> > +
>> > +SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557"
>> > +
>> > +S = "${WORKDIR}/git"
>> >
>> >  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)}"
>> >  PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
>> > @@ -21,6 +22,12 @@ PACKAGECONFIG[mysql] = "--with-mysql \
>> >  --with-mysql-libs=${STAGING_LIBDIR}, \
>> >  --without-mysql,mysql5"
>> >
>> > +# the internal luajit won't cross compile
>> > +EXTRA_OECONF += "--with-system-luajit"
>> > +
>> > +# lua.h generated files are bogus when using B != S
>> > +B = "${S}"
>> > +
>> >  do_configure_prepend() {
>> >  touch ${S}/NEWS ${S}/AUTHORS
>> >  }
>> > --
>> > 2.29.2
>> >
>> >
>> > 
>> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#91505): 
https://lists.openembedded.org/g/openembedded-devel/message/91505
Mute This Topic: https://lists.openembedded.org/mt/82930246/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] sysbench: upgrade to 1.0.20

2021-05-24 Thread Nicolas Dechesne
On Wed, May 19, 2021 at 6:37 PM Khem Raj  wrote:

> seeing this failure
>
> https://errors.yoctoproject.org/Errors/Details/584952/


hmm. Sorry about the delay.. Looks like I am not able to reproduce the
error, it builds for me with oe-core only and with:

Build Configuration:
BB_VERSION   = "1.51.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "debian-10"
TARGET_SYS   = "arm-oe-linux-gnueabi"
MACHINE  = "qemuarm"
DISTRO   = "nodistro"
DISTRO_VERSION   = "nodistro.0"
TUNE_FEATURES= "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU   = "hard"

Do you have any idea why it would work for me, and not for you?


>
>
> On Tue, May 18, 2021 at 11:01 PM Nicolas Dechesne
>  wrote:
> >
> > * Upstream moved to Github, let's use it for SRC_URI
> > * COPYING file was changed, but with no impact on license
> > * sysbench includes a copy of luajit project and it's compiled by
> >   default. However the internal copy of luajit won't cross compile
> >   properly, without patching it (it uses 'gcc'). So instead use the
> >   'system' luajit, e.g. the one package from OE (which is what most
> >   distro do anyways)
> > * Does not compile with different built folder. Lua generated files
> >   have things like that:
> > unsigned char
> __/__/__/__/sysbench-1_0_20/src/lua/internal/sysbench_lua[] =
> >
> > Signed-off-by: Nicolas Dechesne 
> > ---
> >  ...{sysbench_0.4.12.bb => sysbench_1.0.20.bb} | 21 ---
> >  1 file changed, 14 insertions(+), 7 deletions(-)
> >  rename meta-oe/recipes-benchmark/sysbench/{sysbench_0.4.12.bb =>
> sysbench_1.0.20.bb} (56%)
> >
> > diff --git a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
> b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
> > similarity index 56%
> > rename from meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
> > rename to meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
> > index 708c71f4f..555477ab0 100644
> > --- a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
> > +++ b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
> > @@ -2,16 +2,17 @@ SUMMARY = "System performance benchmark"
> >  HOMEPAGE = "http://github.com/akopytov/sysbench;
> >  SECTION = "console/tests"
> >  LICENSE = "GPLv2"
> > -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> >
> > -inherit autotools
> > +DEPENDS = "luajit"
> >
> > -# The project has moved from Sourceforge to Launchpad, to Github. Use
> the source tarball from
> > -# Launchpad until the next release is available from Github.
> > -SRC_URI = "
> https://launchpad.net/ubuntu/+archive/primary/+files/${BPN}_${PV}.orig.tar.gz
> 
> "
> > +inherit autotools pkgconfig
> >
> > -SRC_URI[md5sum] = "3a6d54fdd3fe002328e4458206392b9d"
> > -SRC_URI[sha256sum] =
> "83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e"
> > +SRC_URI = "git://github.com/akopytov/${BPN}.git
> "
> > +
> > +SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557"
> > +
> > +S = "${WORKDIR}/git"
> >
> >  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile',
> d)}"
> >  PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
> > @@ -21,6 +22,12 @@ PACKAGECONFIG[mysql] = "--with-mysql \
> >  --with-mysql-libs=${STAGING_LIBDIR}, \
> >  --without-mysql,mysql5"
> >
> > +# the internal luajit won't cross compile
> > +EXTRA_OECONF += "--with-system-luajit"
> > +
> > +# lua.h generated files are bogus when using B != S
> > +B = "${S}"
> > +
> >  do_configure_prepend() {
> >  touch ${S}/NEWS ${S}/AUTHORS
> >  }
> > --
> > 2.29.2
> >
> >
> > 
> >
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#91503): 
https://lists.openembedded.org/g/openembedded-devel/message/91503
Mute This Topic: https://lists.openembedded.org/mt/82930246/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] sysbench: upgrade to 1.0.20

2021-05-19 Thread Khem Raj
seeing this failure

https://errors.yoctoproject.org/Errors/Details/584952/

On Tue, May 18, 2021 at 11:01 PM Nicolas Dechesne
 wrote:
>
> * Upstream moved to Github, let's use it for SRC_URI
> * COPYING file was changed, but with no impact on license
> * sysbench includes a copy of luajit project and it's compiled by
>   default. However the internal copy of luajit won't cross compile
>   properly, without patching it (it uses 'gcc'). So instead use the
>   'system' luajit, e.g. the one package from OE (which is what most
>   distro do anyways)
> * Does not compile with different built folder. Lua generated files
>   have things like that:
> unsigned char __/__/__/__/sysbench-1_0_20/src/lua/internal/sysbench_lua[] =
>
> Signed-off-by: Nicolas Dechesne 
> ---
>  ...{sysbench_0.4.12.bb => sysbench_1.0.20.bb} | 21 ---
>  1 file changed, 14 insertions(+), 7 deletions(-)
>  rename meta-oe/recipes-benchmark/sysbench/{sysbench_0.4.12.bb => 
> sysbench_1.0.20.bb} (56%)
>
> diff --git a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb 
> b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
> similarity index 56%
> rename from meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
> rename to meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
> index 708c71f4f..555477ab0 100644
> --- a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb
> +++ b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
> @@ -2,16 +2,17 @@ SUMMARY = "System performance benchmark"
>  HOMEPAGE = "http://github.com/akopytov/sysbench;
>  SECTION = "console/tests"
>  LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>
> -inherit autotools
> +DEPENDS = "luajit"
>
> -# The project has moved from Sourceforge to Launchpad, to Github. Use the 
> source tarball from
> -# Launchpad until the next release is available from Github.
> -SRC_URI = 
> "https://launchpad.net/ubuntu/+archive/primary/+files/${BPN}_${PV}.orig.tar.gz;
> +inherit autotools pkgconfig
>
> -SRC_URI[md5sum] = "3a6d54fdd3fe002328e4458206392b9d"
> -SRC_URI[sha256sum] = 
> "83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e"
> +SRC_URI = "git://github.com/akopytov/${BPN}.git"
> +
> +SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557"
> +
> +S = "${WORKDIR}/git"
>
>  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)}"
>  PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
> @@ -21,6 +22,12 @@ PACKAGECONFIG[mysql] = "--with-mysql \
>  --with-mysql-libs=${STAGING_LIBDIR}, \
>  --without-mysql,mysql5"
>
> +# the internal luajit won't cross compile
> +EXTRA_OECONF += "--with-system-luajit"
> +
> +# lua.h generated files are bogus when using B != S
> +B = "${S}"
> +
>  do_configure_prepend() {
>  touch ${S}/NEWS ${S}/AUTHORS
>  }
> --
> 2.29.2
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#91410): 
https://lists.openembedded.org/g/openembedded-devel/message/91410
Mute This Topic: https://lists.openembedded.org/mt/82930246/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-