[OE-core] question for soname library

2012-11-28 Thread Yao Zhao
Hi, Question: If a package install doesn't install the soname library, should we modify the makefile to do it or use "USE_LDCONFIG="1" " in the recipe to let ldconfig when post_inst? thanks, yao ___ Openembedded-core mailing list Openembedded-core@

[OE-core] libcrypto.so exec stack

2012-10-18 Thread Yao Zhao
Hi, In openssl recipe, it has this: # Avoid binaries being marked as requiring an executable stack (which causes # issues with SELinux on the host) CFLAG_append_virtclass-native = " -Wa,--noexecstack" Why this is only enabled for native? yocto doesn't support secure kernel? thanks, yao

[OE-core] [PATCH V2] gstreamer: gst-ffmpeg: fix build issues for libav

2012-08-08 Thread Yao Zhao
;t 3.backport libav_e500mc.patch from upstream to patch configure to disable-altivec if it is e500mc. 4.move the GSTREAMER_DEBUG to libav's configure, it is not the option for the main configure. Signed-off-by: Yao Zhao --- .../gst-ffmpeg-0.10.13/libav_e500mc.patch

Re: [OE-core] [PATCH V2] cracklib, zlib, perl: install libz, libcrack to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
On 12-08-08 02:00 PM, Yao Zhao wrote: In order to fix the QA Issue for libpam which installed to /lib but reference /usr/libxx/libz and libcrack, install libz and libcrack to /lib. Modify perl recipe to add STAGING_BASELIBDIR to library search path, original recipe only has STAGING_LIBDIR, /lib

[OE-core] [PATCH V2] cracklib, zlib, perl: install libz, libcrack to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
libz. Signed-off-by: Yao Zhao --- meta/recipes-core/zlib/zlib_1.2.7.bb | 11 +-- meta/recipes-devtools/perl/perl_5.14.2.bb |4 ++-- meta/recipes-extended/cracklib/cracklib_2.8.19.bb |4 +++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
On 12-08-08 09:25 AM, Phil Blundell wrote: On Wed, 2012-08-08 at 09:24 -0400, Yao Zhao wrote: I want both libz.a and libz.so* in /lib. I wrote a simple test case: cat Makefile all: gcc -c -fPIC -DPIC -o test.o test.c -g gcc -o libtest.so -shared test.o gcc -c -o

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
On 12-08-07 02:35 PM, Derek Buitenhuis wrote: On 07/08/2012 2:30 PM, Yao Zhao wrote: zlib is not using autotools although it has configure. when install, oe_runmake will be make -e so Makefile will always use env's libdir which is the usr/libxx, we have to overwrite it when install. Pe

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-08 Thread Yao Zhao
On 12-08-07 05:20 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 15:29 -0400, Yao Zhao wrote: On 12-08-07 02:45 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:43 -0400, Yao Zhao wrote: On 12-08-07 02:38 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: On 12-08

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 02:45 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:43 -0400, Yao Zhao wrote: On 12-08-07 02:38 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: On 12-08-07 02:30 PM, Phil Blundell wrote: Where do libz.a and libz.so end up after your patch

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 02:38 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:35 -0400, Yao Zhao wrote: On 12-08-07 02:30 PM, Phil Blundell wrote: Where do libz.a and libz.so end up after your patch? ├── zlib-dev │ ├── lib │ │ └── libz.so -> libz.so.1.2.7 └── zlib-staticdev └── lib └── libz.a I fo

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 02:30 PM, Phil Blundell wrote: On Tue, 2012-08-07 at 14:30 -0400, Yao Zhao wrote: On 12-08-07 01:39 PM, Derek Buitenhuis wrote: On 07/08/2012 1:31 PM, Yao Zhao wrote: In order to fix the QA Issue for libpam which installed to /lib but reference /usr/libxx/libz and libcrack

Re: [OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
On 12-08-07 01:39 PM, Derek Buitenhuis wrote: On 07/08/2012 1:31 PM, Yao Zhao wrote: In order to fix the QA Issue for libpam which installed to /lib but reference /usr/libxx/libz and libcrack, install libz and libcrack to /lib. OpenBSD puts libpam.so in /lib, so it seems kosher

[OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

2012-08-07 Thread Yao Zhao
In order to fix the QA Issue for libpam which installed to /lib but reference /usr/libxx/libz and libcrack, install libz and libcrack to /lib. Signed-off-by: Yao Zhao --- meta/recipes-core/zlib/zlib_1.2.7.bb |8 ++-- meta/recipes-extended/cracklib/cracklib_2.8.19.bb |2

Re: [OE-core] [PATCH] gstreamer: gst-ffmpeg: fix build issues for libav

2012-08-07 Thread Yao Zhao
On 12-08-04 02:57 PM, Derek Buitenhuis wrote: On 02/08/2012 5:15 PM, Yao Zhao wrote: 1.The included libav configure is not generated by autotools patch use-correct-toolchain.patch patched its configure to use correct toolchain wrapper. Why are you patching the toolchain instead of passing

Re: [OE-core] how to fix WARNING: QA Issue: libpam: installed in the base_prefix, requires a shared library under exec_prefix

2012-08-03 Thread Yao Zhao
On 12-08-03 02:22 PM, Mark Hatle wrote: On 8/3/12 1:07 PM, Yao Zhao wrote: On 12-08-03 01:45 PM, Mark Hatle wrote: On 8/3/12 11:44 AM, Yao Zhao wrote: Hi all, Any suggestion to fix these kinds of QA warnings? libpam is referencing /usr/lib/libcrack from /lib/security. I tried to fix

Re: [OE-core] how to fix WARNING: QA Issue: libpam: installed in the base_prefix, requires a shared library under exec_prefix

2012-08-03 Thread Yao Zhao
On 12-08-03 01:45 PM, Mark Hatle wrote: On 8/3/12 11:44 AM, Yao Zhao wrote: Hi all, Any suggestion to fix these kinds of QA warnings? libpam is referencing /usr/lib/libcrack from /lib/security. I tried to fix cracklib to install to /lib but cracklib is using other libraries from /usr/lib, I

[OE-core] how to fix WARNING: QA Issue: libpam: installed in the base_prefix, requires a shared library under exec_prefix

2012-08-03 Thread Yao Zhao
Hi all, Any suggestion to fix these kinds of QA warnings? libpam is referencing /usr/lib/libcrack from /lib/security. I tried to fix cracklib to install to /lib but cracklib is using other libraries from /usr/lib, I am afraid that I am touching a chain, so any good ideas? thanks, yao _

[OE-core] [PATCH] gstreamer: gst-ffmpeg: fix build issues for libav

2012-08-02 Thread Yao Zhao
detected, if not then won't 3.detect whether toolchain supports altivec, if not then add disable-altivec to libav's configure line or configure will fail 4.move the GSTREAMER_DEBUG to libav's configure, it is not the option for the main configure. Signed-off-by: Yao Zhao --- .../gst-ffm

[OE-core] [PATCH] base.bbclass: fix PACKAGECONFIG handling code

2012-08-02 Thread Yao Zhao
PACKAGECONFIG flag code only handles that when it has 3 or 4 items in flag, it may have a stale data if some flags doesn't need DEPENDS and RDEPENDS. Signed-off-by: Yao Zhao --- meta/classes/base.bbclass | 25 - 1 file changed, 12 insertions(+), 13 deletions(-)

[OE-core] [PATCH v3] bzip2-native: handling native path issue

2012-07-26 Thread Yao Zhao
bzip2-replacement-native instead of bzip2-full-native and add EXTRANATIVEPATH for bzip2-native. Didn't add bzip2native.bbclass as python-native is the only user so far. Signed-off-by: Yao Zhao --- .../recipes-devtools/python/python-native_2.7.3.bb |4 +++- meta/recipes-extended/bzip2/bzip

[OE-core] [PATCH v2] bzip2-native: handling native path issue

2012-07-26 Thread Yao Zhao
kages to inherit and add dependency to bzip2-replacement-native. change python-native to inherit bzip2native class and remove the old bzip2-full-native dependency. Signed-off-by: Yao Zhao --- meta/classes/bzip2native.bbclass |2 ++ .../recipes-devtools/python/python-native_

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-25 Thread Yao Zhao
On 12-07-24 03:32 PM, Richard Purdie wrote: On Tue, 2012-07-24 at 15:25 -0400, Yao Zhao wrote: On 12-07-24 03:07 PM, Richard Purdie wrote: On Tue, 2012-07-24 at 13:39 -0500, Mark Hatle wrote: On 7/24/12 8:57 AM, Burton, Ross wrote: On 24 July 2012 14:49, Yao Zhao wrote: when bzip2-native

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
On 12-07-24 03:07 PM, Richard Purdie wrote: On Tue, 2012-07-24 at 13:39 -0500, Mark Hatle wrote: On 7/24/12 8:57 AM, Burton, Ross wrote: On 24 July 2012 14:49, Yao Zhao wrote: when bzip2-native is installed in parallel to sysroot, it is possible that some packages are using bzip2 to unpack

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
On 12-07-24 12:00 PM, Yao Zhao wrote: On 12-07-24 11:34 AM, Richard Purdie wrote: On Tue, 2012-07-24 at 14:57 +0100, Burton, Ross wrote: On 24 July 2012 14:49, Yao Zhao wrote: when bzip2-native is installed in parallel to sysroot, it is possible that some packages are using bzip2 to unpack

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
On 12-07-24 12:52 PM, Mark Hatle wrote: On 7/24/12 11:39 AM, Yao Zhao wrote: On 12-07-24 11:47 AM, Phil Blundell wrote: On Tue, 2012-07-24 at 11:45 -0400, Yao Zhao wrote: In the Makefile, libbz2.so.0 is installed before bzip2, but the installation is "make -j xxx install". Then

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
On 12-07-24 11:47 AM, Phil Blundell wrote: On Tue, 2012-07-24 at 11:45 -0400, Yao Zhao wrote: In the Makefile, libbz2.so.0 is installed before bzip2, but the installation is "make -j xxx install". Then this could happen. Well, yes, but you could fix that by adding an appropriate

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
On 12-07-24 11:34 AM, Richard Purdie wrote: On Tue, 2012-07-24 at 14:57 +0100, Burton, Ross wrote: On 24 July 2012 14:49, Yao Zhao wrote: when bzip2-native is installed in parallel to sysroot, it is possible that some packages are using bzip2 to unpack, there are chances that bzip2 is

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
On 12-07-24 11:39 AM, Phil Blundell wrote: On Tue, 2012-07-24 at 09:49 -0400, Yao Zhao wrote: when bzip2-native is installed in parallel to sysroot, it is possible that some packages are using bzip2 to unpack, there are chances that bzip2 is installed to sysroot but libbz2.so.0 not installed

[OE-core] [PATCH] busybox: fix the problem that mkfs.minix.tests fails on big endian platform

2012-07-24 Thread Yao Zhao
patch mkfs.minix.tests to have correct md5sum on big endian platform. Signed-off-by: Yao Zhao --- .../busybox-mkfs-minix-tests_bigendian.patch | 34 meta/recipes-core/busybox/busybox_1.19.4.bb|3 +- 2 files changed, 36 insertions(+), 1 deletion

Re: [OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
On 12-07-24 09:57 AM, Burton, Ross wrote: On 24 July 2012 14:49, Yao Zhao wrote: when bzip2-native is installed in parallel to sysroot, it is possible that some packages are using bzip2 to unpack, there are chances that bzip2 is installed to sysroot but libbz2.so.0 not installed yet because

[OE-core] [PATCH] bzip2-native: fix problems when bzip2-native is installed in parallel

2012-07-24 Thread Yao Zhao
don't lose parallel installation. libbz2.so is still available. Signed-off-by: Yao Zhao --- meta/recipes-extended/bzip2/bzip2_1.0.6.bb |7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb

[OE-core] [PATCH] tcl: fix tcl INCLUDE_SPEC and LIB_SPEC

2012-07-18 Thread Yao Zhao
TCL_INCLUDE_SPEC -I/usr/include will cause problems cross configure/compile TCL_LIB_SPEC -L${libdir} will cause problems too when link. Signed-off-by: Yao Zhao --- meta/recipes-devtools/tcltk/tcl_8.5.11.bb |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes

[OE-core] [PATCH] qemu-nativesdk: fix the build failure that linux/kvm.h not found

2012-07-17 Thread Yao Zhao
qemu.inc: on older kernel build hosts that have < 2.6.20 which doesn't support kvm yet, build will fail. Add a check in do_configure to make sure whether linux/kvm.h exists for nativesdk build. Signed-off-by: Yao Zhao --- meta/recipes-devtools/qemu/qemu.inc |5 +++-- 1 file ch

Re: [OE-core] [PATCH v2] dbus-glib: fix compile error when enable-tests

2012-07-17 Thread Yao Zhao
On 12-07-17 03:09 PM, Saul Wold wrote: On 07/17/2012 12:04 PM, Yao Zhao wrote: test-service-glib-include-glib-only.patch: fixes the compiling failure that test-service-glib.c includes glib/gquark.h not glib.h directly. I hope that you will re-submit the unit test packaging also, that will

[OE-core] [PATCH v2] dbus-glib: add support for install regression tests

2012-07-17 Thread Yao Zhao
stall unit tests for test purpose Add tests and tests-dbg package. Signed-off-by: Yao Zhao --- .../dbus-glib-0.98/test-install-makefile.patch | 48 meta/recipes-core/dbus/dbus-glib.inc | 14 +- 2 files changed, 61 insertions(+), 1 deletion(-) crea

[OE-core] [PATCH v3] dbus-glib: fix compile error when enable-tests

2012-07-17 Thread Yao Zhao
test-service-glib-include-glib-only.patch: fixes the compiling failure that test-service-glib.c includes glib/gquark.h not glib.h directly. [YOCTO #2762] Signed-off-by: Yao Zhao --- .../test-service-glib-include-glib-only.patch | 20 meta/recipes-core/dbus/dbus

[OE-core] [PATCH v2] dbus-glib: fix compile error when enable-tests

2012-07-17 Thread Yao Zhao
test-service-glib-include-glib-only.patch: fixes the compiling failure that test-service-glib.c includes glib/gquark.h not glib.h directly. [YOCTO #2762] Signed-off-by: Yao Zhao --- .../test-service-glib-include-glib-only.patch | 13 + meta/recipes-core/dbus/dbus-glib.inc

[OE-core] [PATCH] dbus-glib: support unit tests compile and install

2012-07-13 Thread Yao Zhao
code if DBUS_BUILD_TESTS enabled. Add tests and tests-dbg package. Signed-off-by: Yao Zhao --- .../dbus-glib-0.98/test-install-makefile.patch | 42 .../test-service-glib-include-glib-only.patch | 13 ++ meta/recipes-core/dbus/dbus-glib.inc | 15

[OE-core] [PATCH] dbus-glib: support unit tests compile and install

2012-07-13 Thread Yao Zhao
code if DBUS_BUILD_TESTS enabled. Add tests and tests-dbg package. Signed-off-by: Yao Zhao --- .../dbus-glib-0.98/test-install-makefile.patch | 42 .../test-service-glib-include-glib-only.patch | 13 ++ meta/recipes-core/dbus/dbus-glib.inc | 15