[oe] [meta-oe][PATCH] hwloc: Update the SRC_URI

2018-11-08 Thread mingli.yu
From: Mingli Yu 

Update the SRC_URI to fix below issue:
$ bitbake -cfetch lib32-hwloc
ERROR: lib32-hwloc-1.11.10-r0 do_fetch: Fetcher failure for URL: 
'https://www.open-mpi.org/software/lib32-hwloc/v1.11/downloads/hwloc-1.11.10.tar.bz2'.
 Unable to fetch URL from any source.

Actually the source located under 
https://www.open-mpi.org/software/hwloc/v1.11/downloads/hwloc-1.11.10.tar.bz2

Signed-off-by: Mingli Yu 
---
 meta-oe/recipes-extended/hwloc/hwloc_1.11.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/hwloc/hwloc_1.11.10.bb 
b/meta-oe/recipes-extended/hwloc/hwloc_1.11.10.bb
index 701af15..5f4155e 100644
--- a/meta-oe/recipes-extended/hwloc/hwloc_1.11.10.bb
+++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.10.bb
@@ -7,7 +7,7 @@ SECTION = "base"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3282e20dc3cec311deda3c6d4b1f990b"
 
-SRC_URI = 
"https://www.open-mpi.org/software/${PN}/v1.11/downloads/${BP}.tar.bz2;
+SRC_URI = 
"https://www.open-mpi.org/software/${BPN}/v1.11/downloads/${BP}.tar.bz2;
 SRC_URI[md5sum] = "0981a01935982aa7e850a96e0c3057b0"
 SRC_URI[sha256sum] = 
"2be808383d8337846fe77ce49c7ad3336fb6857505494d85c0ac03f22c5bd1e7"
 
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 02/16] ibus: add recipe for ibus to support gnome-settings-daemon and gnome-shell

2018-11-08 Thread Burton, Ross
On Thu, 8 Nov 2018 at 17:28, Brendan Kerrigan  wrote:
> Yeah it does have a build time dependency on gtk+2.

There's a --disable-gtk2, I'd recommend either just passing that or
for bonus points having a disabled packageconfig to enable/disable
gtk2.  GTK+2 is well dead now, so we shouldn't be building it out of
the box.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 02/16] ibus: add recipe for ibus to support gnome-settings-daemon and gnome-shell

2018-11-08 Thread Burton, Ross
On Thu, 8 Nov 2018 at 17:28, Brendan Kerrigan  wrote:
> Yeah it does have a build time dependency on gtk+2. I've made the other 
> changes, though I still have two libraries that are in subdirectories of 
> libdir that are giving me an installed vs. shipped QA warning. Is it 
> appropriate to do a more specific packaging within libdir (e.g. FILES_${PN} 
> += "${libdir}/subdir/subdir.so") or should I take a different approach?

If they're plugins/modules then for clarity do FILES_${PN} +=
${libdir}/subdir/, because if a proper library is ever added the
packaging will totally break.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 02/16] ibus: add recipe for ibus to support gnome-settings-daemon and gnome-shell

2018-11-08 Thread Khem Raj
On Thu, Nov 8, 2018 at 9:28 AM Brendan Kerrigan 
wrote:

> Yeah it does have a build time dependency on gtk+2. I've made the other
> changes, though I still have two libraries that are in subdirectories of
> libdir that are giving me an installed vs. shipped QA warning. Is it
> appropriate to do a more specific packaging within libdir (e.g. FILES_${PN}
> += "${libdir}/subdir/subdir.so") or should I take a different approach?
>

Are they plugins ? If so you can add them to new package like PN-plugins
otherwise this approach is ok

>
> Thanks,
> Brendan
>
> On Tue, Oct 30, 2018 at 7:25 AM Burton, Ross 
> wrote:
>
> > On Mon, 29 Oct 2018 at 16:41, brendank310  wrote:
> > > +DESCRIPTION = "Intelligent Input Bus for Linux/Unix"
> > > +LICENSE = "LGPLv2.1"
> > > +DEPENDS = "prelink \
> > > +   gtk+ \
> > > +  "
> >
> > It depends on gtk+2?
> >
> > > +S = "${WORKDIR}/${PN}-${PV}"
> >
> > This is the default.
> >
> > > +inherit autotools pkgconfig gtk-doc distro_features_check vala
> > gobject-introspection
> >
> > distro_features_check isn't being used.
> >
> > > +FILES_${PN} += "${libdir}"
> >
> > Definitely wrong.
> >
> > Ross
> >
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 02/16] ibus: add recipe for ibus to support gnome-settings-daemon and gnome-shell

2018-11-08 Thread Brendan Kerrigan
Yeah it does have a build time dependency on gtk+2. I've made the other
changes, though I still have two libraries that are in subdirectories of
libdir that are giving me an installed vs. shipped QA warning. Is it
appropriate to do a more specific packaging within libdir (e.g. FILES_${PN}
+= "${libdir}/subdir/subdir.so") or should I take a different approach?

Thanks,
Brendan

On Tue, Oct 30, 2018 at 7:25 AM Burton, Ross  wrote:

> On Mon, 29 Oct 2018 at 16:41, brendank310  wrote:
> > +DESCRIPTION = "Intelligent Input Bus for Linux/Unix"
> > +LICENSE = "LGPLv2.1"
> > +DEPENDS = "prelink \
> > +   gtk+ \
> > +  "
>
> It depends on gtk+2?
>
> > +S = "${WORKDIR}/${PN}-${PV}"
>
> This is the default.
>
> > +inherit autotools pkgconfig gtk-doc distro_features_check vala
> gobject-introspection
>
> distro_features_check isn't being used.
>
> > +FILES_${PN} += "${libdir}"
>
> Definitely wrong.
>
> Ross
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Building openjdk failed for ppc

2018-11-08 Thread Wenlin Kang

Hi Richard

When I build poky image with openjdk-8 for ppc, get the follow failure, 
I wanted to file the bug, but I don't find the link.


What is missed in my steps? Did you encounter this issue before? would 
you please tell me why it is? thanks.



+ echo 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/hotspot/linux_ppc_compiler2/product
make[5]: *** No rule to make target 
'/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0/hotspot/make/linux/makefiles/.make'. 
Stop.
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0/hotspot/make/linux/Makefile:297: 
recipe for target 'product' failed

make[4]: *** [product] Error 2
Makefile:230: recipe for target 'generic_build2' failed
make[3]: *** [generic_build2] Error 2
Makefile:177: recipe for target 'product' failed
make[2]: *** [product] Error 2
HotspotWrapper.gmk:44: recipe for target 
'/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/hotspot/_hotspot.timestamp' 
failed
make[1]: *** 
[/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/hotspot/_hotspot.timestamp] 
Error 2
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0//make/Main.gmk:108: 
recipe for target 'hotspot-only' failed

make: *** [hotspot-only] Error 2
ERROR: oe_runmake failed



For full log and config file, please check the attached file.

The poky, meta-java and meta-openembedded all is latest.

Steps to reproduce:
1. download poky, meta-java and meta-openembedded
   git clone git://git.yoctoproject.org/poky
   git clone git://git.yoctoproject.org/meta-java
   git clone git://git.openembedded.org/meta-openembedded

2.1) set MACHINE in conf/local.conf
    MACHINE ??= "qemuppc"

  2) add the follow to conf/local.conf
    IMAGE_INSTALL_append = " openjre-8 openjdk-8 openjre-8-dbg gdb"

  3) add the layer meta-java and meta-oe to conf/bblayers.conf, e.g.
    BBLAYERS ?= " \
     ...
     path_to_source/meta-java \
 path_to_source/meta-openembedded/meta-oe \
    "


3. bitbake core-image-minimal


--
Thanks,
Wenlin Kang

DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 
'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common']
DEBUG: Executing shell function do_compile
NOTE: make BUILD_SOUNDLESS_ONLY=1 PULSE_NOT_NEEDED=1 
ALT_SDT_H=/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/recipe-sysroot/usr/include
 
ALT_CUPS_HEADERS_PATH=/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/recipe-sysroot/usr/include
 STRIP_POLICY=no_strip MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace QUIETLY= images
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0//make/Main.gmk:43:
 Running shell command 
+ /ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/hosttools/rm 
-f 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/build.log.old
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0//make/Main.gmk:44:
 Running shell command 
+ /ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/hosttools/mv 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/build.log
 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/build.log.old
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0//make/Main.gmk:48:
 Running shell command 
+ /ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/hosttools/rm 
-f 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/build-trace-time.log
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0//make/Main.gmk:57:
 Running shell command 
+ 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/hosttools/mkdir
 -p 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/tmp/buildtimes
+ /ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/hosttools/rm 
-f 
/ala-lpggp22/wkang/workspace/opensrc/build/poky-master/build/tmp/work/ppc7400-poky-linux/openjre-8/172b11-r0/build/tmp/buildtimes/build_time_diff_langtools