Re: [oe] [PATCH] daq fix compilation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Jansa schreef op 27-05-14 21:48: On Tue, May 27, 2014 at 06:29:32PM +0400, Maxim Uvarov wrote: On 05/27/2014 06:21 PM, Martin Jansa wrote: On Tue, May 27, 2014 at 05:13:16PM +0400, Maxim Uvarov wrote: preset paths to remove that error: /meta-oe/recipes-connectivity/daq/daq_2.0.2.bb ./config.log:cc1: warning: include location /usr/local/include is unsafe for cross-compilation [-Wpoison-system-directories] Also this patch add required libdnet dependency. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- meta-oe/recipes-connectivity/daq/daq_2.0.2.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb index 4e85194..dcf38fc 100644 --- a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0 PARALLEL_MAKE = -DEPENDS = libpcap libpcre +DEPENDS = libpcap libpcre libdnet SRC_URI = http://fossies.org/linux/misc/daq-${PV}.tar.gz \ file://disable-run-test-program-while-cross-compiling.patch @@ -15,6 +15,9 @@ SRC_URI = http://fossies.org/linux/misc/daq-${PV}.tar.gz \ # daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink EXTRA_OECONF += --disable-nfq-module --disable-ipq-module +# never look to /usr/local lib while cross compiling +EXTRA_OECONF += --includedir=/usr/include --with-libpcap-includes=/usr/lib --with-dnet-includes=/usr/lib Apart from Martins comments: s,/usr/include,${includedir}, s,/usr/lib,${libdir],s Does it look into /usr on host now? yes and it compiles after that change. Because you don't have dnet headers in /usr, right? Shouldn't it point to sysroot libdir/includedir paths to prevent any host libraries/headers to sneak in? Or better explicitly disable/enable dnet with PACKAGECONFIG? Maxim. SRC_URI[md5sum] = 865bf9b750a2a2ca632591a3c70b0ea0 SRC_URI[sha256sum] = d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8 -- 1.8.5.1.163.gd7aced9 -- ___ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFThYHsMkyGM64RGpERAtiuAKC9mKMO+TzYJ0Z42mCUa3vI2NP+oQCffCv4 Wo1+U3SJNrRsNMAUepC9mQs= =DMBJ -END PGP SIGNATURE- -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] daq fix compilation
thanks, will send v2. Maxim. On 28 May 2014 10:27, Koen Kooi k...@dominion.thruhere.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Jansa schreef op 27-05-14 21:48: On Tue, May 27, 2014 at 06:29:32PM +0400, Maxim Uvarov wrote: On 05/27/2014 06:21 PM, Martin Jansa wrote: On Tue, May 27, 2014 at 05:13:16PM +0400, Maxim Uvarov wrote: preset paths to remove that error: /meta-oe/recipes-connectivity/daq/daq_2.0.2.bb ./config.log:cc1: warning: include location /usr/local/include is unsafe for cross-compilation [-Wpoison-system-directories] Also this patch add required libdnet dependency. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- meta-oe/recipes-connectivity/daq/daq_2.0.2.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb index 4e85194..dcf38fc 100644 --- a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb +++ b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0 PARALLEL_MAKE = -DEPENDS = libpcap libpcre +DEPENDS = libpcap libpcre libdnet SRC_URI = http://fossies.org/linux/misc/daq-${PV}.tar.gz \ file://disable-run-test-program-while-cross-compiling.patch @@ -15,6 +15,9 @@ SRC_URI = http://fossies.org/linux/misc/daq-${PV}.tar.gz \ # daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink EXTRA_OECONF += --disable-nfq-module --disable-ipq-module +# never look to /usr/local lib while cross compiling +EXTRA_OECONF += --includedir=/usr/include --with-libpcap-includes=/usr/lib --with-dnet-includes=/usr/lib Apart from Martins comments: s,/usr/include,${includedir}, s,/usr/lib,${libdir],s Does it look into /usr on host now? yes and it compiles after that change. Because you don't have dnet headers in /usr, right? Shouldn't it point to sysroot libdir/includedir paths to prevent any host libraries/headers to sneak in? Or better explicitly disable/enable dnet with PACKAGECONFIG? Maxim. SRC_URI[md5sum] = 865bf9b750a2a2ca632591a3c70b0ea0 SRC_URI[sha256sum] = d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8 -- 1.8.5.1.163.gd7aced9 -- ___ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFThYHsMkyGM64RGpERAtiuAKC9mKMO+TzYJ0Z42mCUa3vI2NP+oQCffCv4 Wo1+U3SJNrRsNMAUepC9mQs= =DMBJ -END PGP SIGNATURE- -- ___ 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
[oe] [PATCH 4/4] autoconf: don't disable the autoheader warnings
The usual autoheader warning is due to AC_DEFINE variables not having a description. This results in no variable being defined in config.h, which leads to code behaving as if the test failed when it actually succeeded. This patch was introduced to OpenEmbedded back in 2004: http://git.openembedded.org/openembedded/commit/?id=5eab06d132cb2895fd579f5cedffbb54c27794f8 There is no rationale for the patch so I suspect this is due to the warnings being fatal and the submitter not understanding that the problem is more than cosmetic. Signed-off-by: Ross Burton ross.bur...@intel.com --- .../autoconf/autoheader-nonfatal-warnings.patch | 15 --- meta/recipes-devtools/autoconf/autoconf_2.69.bb |1 - 2 files changed, 16 deletions(-) delete mode 100644 meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch diff --git a/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch b/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch deleted file mode 100644 index 8ae6d5c..000 --- a/meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch +++ /dev/null @@ -1,15 +0,0 @@ -Upstream-Status: Pending - autoconf-2.59/bin/autoheader.in~ 2003-10-10 14:52:56.0 +0100 -+++ autoconf-2.59/bin/autoheader.in2004-05-03 01:36:45.0 +0100 -@@ -272,8 +272,8 @@ - } - - } -- exit 1 --if keys %symbol; -+# exit 1 -+#if keys %symbol; - } - - update_file ($tmp/config.hin, $config_h_in); diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb index a2ecd94..5c652d4 100644 --- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb +++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb @@ -12,7 +12,6 @@ SRC_URI += file://autoreconf-include.patch \ file://autoreconf-exclude.patch \ file://autoreconf-foreign.patch \ file://autoreconf-gnuconfigize.patch \ - file://autoheader-nonfatal-warnings.patch \ file://config_site.patch \ file://remove-usr-local-lib-from-m4.patch \ file://preferbash.patch \ -- 1.7.10.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 2/4] readline: exclude autoheader from autoreconf
readline ships a hand-maintained config.h, instead of letting autoheader generate one from configure.ac. The required arguments to AC_DEFINE are not in configure.ac so autoheader will produce warnings and the generated code will not behave as expected. Solve this by excluding autoheader from autoreconf, so the upstream config.h.in is used. Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-core/readline/readline.inc |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc index c33e91a..2c5ad00 100644 --- a/meta/recipes-core/readline/readline.inc +++ b/meta/recipes-core/readline/readline.inc @@ -21,6 +21,8 @@ S = ${WORKDIR}/${BPN}-${PV} inherit autotools texinfo +EXTRA_AUTORECONF += --exclude=autoheader + LEAD_SONAME = libreadline.so do_configure_prepend () { -- 1.7.10.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/4] readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in
readline maintains config.h.in by hand but several symbols are incorrect. Fix these so that the test results are reflected in config.h. Signed-off-by: Ross Burton ross.bur...@intel.com --- .../readline-6.3/config-dirent-symbols.patch | 34 meta/recipes-core/readline/readline.inc|1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch diff --git a/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch b/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch new file mode 100644 index 000..cfff03c --- /dev/null +++ b/meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch @@ -0,0 +1,34 @@ +Fix the names of the STRUCT_DIRENT_D symbols to match the names used by both +configure and the source code. + +Upstream-Status: Submitted (http://lists.gnu.org/archive/html/bug-readline/2014-05/msg8.html) +Signed-off-by: Ross Burton ross.bur...@intel.com + +From e48656811550774892fd4e0f4b3c7d418422da52 Mon Sep 17 00:00:00 2001 +From: Ross Burton ross.bur...@intel.com +Date: Tue, 27 May 2014 22:32:31 +0100 +Subject: [PATCH] config.h.in: fix names of STRUCT_DIRENT_D symbols + +--- + config.h.in |4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config.h.in b/config.h.in +index a67e43e..a42acc5 100644 +--- a/config.h.in b/config.h.in +@@ -244,9 +244,9 @@ + + #undef HAVE_GETPW_DECLS + +-#undef STRUCT_DIRENT_HAS_D_INO ++#undef HAVE_STRUCT_DIRENT_D_INO + +-#undef STRUCT_DIRENT_HAS_D_FILENO ++#undef HAVE_STRUCT_DIRENT_D_FILENO + + #undef HAVE_BSD_SIGNALS + +-- +1.7.10.4 + diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc index 9d78aa9..c33e91a 100644 --- a/meta/recipes-core/readline/readline.inc +++ b/meta/recipes-core/readline/readline.inc @@ -13,6 +13,7 @@ DEPENDS += ncurses SRC_URI = ${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \ file://configure-fix.patch \ + file://config-dirent-symbols.patch \ file://norpath.patch \ file://acinclude.m4 -- 1.7.10.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 3/4] readline: use upstream's aclocal.m4 as acinclude.m4
Instead of shipping a fork of the upstream aclocal.m4, simply rename it to acinclude.m4 at configure time. We don't need the fork now that autoheader is excluded. Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-core/readline/files/acinclude.m4 | 1871 - meta/recipes-core/readline/readline.inc |7 +- 2 files changed, 4 insertions(+), 1874 deletions(-) delete mode 100644 meta/recipes-core/readline/files/acinclude.m4 diff --git a/meta/recipes-core/readline/files/acinclude.m4 b/meta/recipes-core/readline/files/acinclude.m4 deleted file mode 100644 index c30a7d3..000 --- a/meta/recipes-core/readline/files/acinclude.m4 +++ /dev/null @@ -1,1871 +0,0 @@ -dnl -dnl Bash specific tests -dnl -dnl Some derived from PDKSH 5.1.3 autoconf tests -dnl - -AC_DEFUN([BASH_C_LONG_LONG], -[AC_CACHE_CHECK(for long long, ac_cv_c_long_long, -[if test $GCC = yes; then - ac_cv_c_long_long=yes -else -AC_TRY_RUN([ -int -main() -{ -long long foo = 0; -exit(sizeof(long long) sizeof(long)); -} -], ac_cv_c_long_long=yes, ac_cv_c_long_long=no) -fi]) -if test $ac_cv_c_long_long = yes; then - AC_DEFINE(HAVE_LONG_LONG, 1, [Define if the `long long' type works.]) -fi -]) - -dnl -dnl This is very similar to AC_C_LONG_DOUBLE, with the fix for IRIX -dnl ( changed to =) added. -dnl -AC_DEFUN([BASH_C_LONG_DOUBLE], -[AC_CACHE_CHECK(for long double, ac_cv_c_long_double, -[if test $GCC = yes; then - ac_cv_c_long_double=yes -else -AC_TRY_RUN([ -int -main() -{ - /* The Stardent Vistra knows sizeof(long double), but does not - support it. */ - long double foo = 0.0; - /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ - /* On IRIX 5.3, the compiler converts long double to double with a warning, - but compiles this successfully. */ - exit(sizeof(long double) = sizeof(double)); -} -], ac_cv_c_long_double=yes, ac_cv_c_long_double=no) -fi]) -if test $ac_cv_c_long_double = yes; then - AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if the `long double' type works.]) -fi -]) - -dnl -dnl Check for inttypes.h. This is separated out so that it can be -dnl AC_REQUIREd. -dnl -dnl BASH_HEADER_INTTYPES -AC_DEFUN([BASH_HEADER_INTTYPES], -[ - AC_CHECK_HEADERS(inttypes.h) -]) - -dnl -dnl check for typedef'd symbols in header files, but allow the caller to -dnl specify the include files to be checked in addition to the default -dnl -dnl BASH_CHECK_TYPE(TYPE, HEADERS, DEFAULT[, VALUE-IF-FOUND]) -AC_DEFUN([BASH_CHECK_TYPE], -[ -AC_REQUIRE([AC_HEADER_STDC])dnl -AC_REQUIRE([BASH_HEADER_INTTYPES]) -AC_MSG_CHECKING(for $1) -AC_CACHE_VAL(bash_cv_type_$1, -[AC_EGREP_CPP($1, [#include sys/types.h -#if STDC_HEADERS -#include stdlib.h -#include stddef.h -#endif -#if HAVE_INTTYPES_H -#include inttypes.h -#endif -$2 -], bash_cv_type_$1=yes, bash_cv_type_$1=no)]) -AC_MSG_RESULT($bash_cv_type_$1) -ifelse($#, 4, [if test $bash_cv_type_$1 = yes; then - AC_DEFINE($4) - fi]) -if test $bash_cv_type_$1 = no; then - AC_DEFINE_UNQUOTED($1, $3) -fi -]) - -dnl -dnl BASH_CHECK_DECL(FUNC) -dnl -dnl Check for a declaration of FUNC in stdlib.h and inttypes.h like -dnl AC_CHECK_DECL -dnl -AC_DEFUN([BASH_CHECK_DECL], -[ -AC_REQUIRE([AC_HEADER_STDC]) -AC_REQUIRE([BASH_HEADER_INTTYPES]) -AC_CACHE_CHECK([for declaration of $1], bash_cv_decl_$1, -[AC_TRY_LINK( -[ -#if STDC_HEADERS -# include stdlib.h -#endif -#if HAVE_INTTYPES_H -# include inttypes.h -#endif -], -[return !$1;], -bash_cv_decl_$1=yes, bash_cv_decl_$1=no)]) -bash_tr_func=HAVE_DECL_`echo $1 | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` -if test $bash_cv_decl_$1 = yes; then - AC_DEFINE_UNQUOTED($bash_tr_func, 1) -else - AC_DEFINE_UNQUOTED($bash_tr_func, 0) -fi -]) - -AC_DEFUN([BASH_DECL_PRINTF], -[AC_MSG_CHECKING(for declaration of printf in stdio.h) -AC_CACHE_VAL(bash_cv_printf_declared, -[AC_TRY_RUN([ -#include stdio.h -#ifdef __STDC__ -typedef int (*_bashfunc)(const char *, ...); -#else -typedef int (*_bashfunc)(); -#endif -main() -{ -_bashfunc pf; -pf = (_bashfunc) printf; -exit(pf == 0); -} -], bash_cv_printf_declared=yes, bash_cv_printf_declared=no, - [AC_MSG_WARN(cannot check printf declaration if cross compiling -- defaulting to yes) -bash_cv_printf_declared=yes] -)]) -AC_MSG_RESULT($bash_cv_printf_declared) -if test $bash_cv_printf_declared = yes; then -AC_DEFINE(PRINTF_DECLARED) -fi -]) - -AC_DEFUN([BASH_DECL_SBRK], -[AC_MSG_CHECKING(for declaration of sbrk in unistd.h) -AC_CACHE_VAL(bash_cv_sbrk_declared, -[AC_EGREP_HEADER(sbrk, unistd.h, - bash_cv_sbrk_declared=yes, bash_cv_sbrk_declared=no)]) -AC_MSG_RESULT($bash_cv_sbrk_declared) -if test $bash_cv_sbrk_declared = yes; then -AC_DEFINE(SBRK_DECLARED) -fi -]) - -dnl -dnl Check for sys_siglist[] or _sys_siglist[] -dnl -AC_DEFUN([BASH_DECL_UNDER_SYS_SIGLIST], -[AC_MSG_CHECKING([for _sys_siglist in signal.h or unistd.h]) -AC_CACHE_VAL(bash_cv_decl_under_sys_siglist, -[AC_TRY_COMPILE([ -#include sys/types.h -#include signal.h -#ifdef HAVE_UNISTD_H -#include
[oe] [PATCH 0/4][RFT] Stop disabling autoheader warnings
Hi, When autoheader emits a warning along the lines of missing template for variable HAVE_FOO, it's not moaning that you need to be more verbose for nice comments in the config.h files. In fact it's saying that it's not writing that symbol at all to config.h.in, so even if that test succeeds this isn't reflected in config.h. I removed the patch and did a build of core-image-sato: readline was the only recipe that failed. I'll spare you the anger but readline is special... the short version is that if an upstream package hand-maintains config.h.in instead of using autoheader then set EXTRA_AUTORECONF += --exclude=autoheader and autoheader won't be executed. This is also a call out for a request for testing: I've done a core-image-sato build with this but haven't yet done world or any other layers. If there's breakage it's often due to the upstream being unconventional so feel free to prod me for help. Ross The following changes since commit c42df8cb48ceb6081680ffb802e85dad557cf29c: i2c-tools: Add i2c-tools to the core (2014-05-28 09:42:14 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib ross/autoconf for you to fetch changes up to a12ceb971fefe2b2f412f46b82c0d5ea6043ad62: autoconf: don't disable the autoheader warnings (2014-05-28 12:47:58 +0100) Ross Burton (4): readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in readline: exclude autoheader from autoreconf readline: use upstream's aclocal.m4 as acinclude.m4 autoconf: don't disable the autoheader warnings meta/recipes-core/readline/files/acinclude.m4 | 1871 .../readline-6.3/config-dirent-symbols.patch | 34 + meta/recipes-core/readline/readline.inc| 10 +- .../autoconf/autoheader-nonfatal-warnings.patch| 15 - meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 - 5 files changed, 41 insertions(+), 1890 deletions(-) delete mode 100644 meta/recipes-core/readline/files/acinclude.m4 create mode 100644 meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch delete mode 100644 meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch Ross Burton (4): readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in readline: exclude autoheader from autoreconf readline: use upstream's aclocal.m4 as acinclude.m4 autoconf: don't disable the autoheader warnings meta/recipes-core/readline/files/acinclude.m4 | 1871 .../readline-6.3/config-dirent-symbols.patch | 34 + meta/recipes-core/readline/readline.inc| 10 +- .../autoconf/autoheader-nonfatal-warnings.patch| 15 - meta/recipes-devtools/autoconf/autoconf_2.69.bb|1 - 5 files changed, 41 insertions(+), 1890 deletions(-) delete mode 100644 meta/recipes-core/readline/files/acinclude.m4 create mode 100644 meta/recipes-core/readline/readline-6.3/config-dirent-symbols.patch delete mode 100644 meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch -- 1.7.10.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] OE Changelog since 2014-05-18 until 2014-05-25
Changelog since 2014-05-18 until 2014-05-25. Projects included in this report: bitbake: git://git.openembedded.org/bitbake openembedded-core: git://git.openembedded.org/openembedded-core meta-openembedded: git://git.openembedded.org/meta-openembedded meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git meta-arago: git://arago-project.org/git/meta-arago.git meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git meta-browser: git://github.com/OSSystems/meta-browser.git meta-bug: git://github.com/buglabs/meta-bug.git meta-chicken: git://github.com/OSSystems/meta-chicken meta-efikamx: git://github.com/kraj/meta-efikamx.git meta-ettus: http://github.com/koenkooi/meta-ettus.git meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git meta-gumstix: git://github.com/gumstix/meta-gumstix.git meta-gumstix-community: git://gitorious.org/schnitzeltony-oe-meta/meta-gumstix-community.git meta-handheld: git://git.openembedded.org/meta-handheld meta-igep: http://github.com/ebutera/meta-igep.git meta-intel: git://git.yoctoproject.org/meta-intel meta-ivi: git://git.yoctoproject.org/meta-ivi meta-java: git://github.com/woglinde/meta-java meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git meta-micro: git://git.openembedded.org/meta-micro meta-mono: git://git.yoctoproject.org/meta-mono.git meta-netbookpro: git://github.com/tworaz/meta-netbookpro meta-nslu2: git://github.com/kraj/meta-nslu2 meta-opie: git://git.openembedded.org/meta-opie meta-qt3: git://git.yoctoproject.org/meta-qt3 meta-qt5: git://github.com/meta-qt5/meta-qt5.git meta-slugos: git://github.com/kraj/meta-slugos meta-systemd: git://git.yoctoproject.org/meta-systemd meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git meta-ti: git://git.yoctoproject.org/meta-ti meta-webos: git://github.com/openwebos/meta-webos.git meta-xilinx: git://git.yoctoproject.org/meta-xilinx meta-yocto: git://git.yoctoproject.org/meta-yocto openembedded: git://git.openembedded.org/openembedded Changelog for bitbake: Chris Morgan (1): fetch2/gitsm: Documentation improvements for gitsm:// fetcher David Reyna (1): toaster: reduce redundant foreign key lookups Farrell Wymore (1): toaster: sort columns properly after edit columns Ionut Chisanovici (1): toaster: toaster oe-selftest support Richard Purdie (1): data_smart: Fix an unusual variable reference bug Changelog for openembedded-core: Chen Qi (4): udev-extraconf: fix the misuse of /run/media init-live.sh: list block devices correctly initrdscripts: fix for /run/media runqemu-internal: add console=ttyS0 to ramfs image kernel parameters Chong Lu (6): syslinux-native: fix parallel building issue libpcre: Update to 8.35 version quilt: Update to 0.63 version flex: Update to 2.5.39 version byacc: Update to 20140422 version guile: Update to 2.0.11 version Cristian Iorga (2): harfbuzz: upgrade to 0.9.28 bluez5: upgrade to 5.19 Cristiana Voicu (1): packagegroup-core-lsb: fix warning text João Henrique Ferreira de Freitas (2): wic: add support to look in all layers and get .wks file wic: add support to look in all layers and get plugins Li Wang (2): nss: CVE-2014-1492 nss: CVE-2013-1740 Martin Jansa (1): lttng-modules: Fix build with older kernels for 2.3.3 as 2.4.0 Paul Eggleton (2): libav: upgrade 0.8.x version to 0.8.11 libav: upgrade 9.x version to 9.13 Peter Seebach (1): pseudo: handle fchmodat better, mask out unwanted write bits Philip Balister (1): python-native : Add patch to fix configure error with gcc 4.8. Richard Purdie (1): taglib: Force a disable of the floating dependency on boost Robert Yang (1): initramfs-live-install: avoid using grub.d/40_custom Ross Burton (2): pango: enable ptest perl: stop perl-modules recommending perl-ptest Roy Li (2): lttng-tools: fix alignment issue babeltrace: fix alignment issue Saul Wold (2): libusb1: disable floating dependency on udev cups: fix for cups not building without avahi Sebastian Wiegand (2): distro_features_check.bbclass: fix wrong indentation distro_features_check.bbclass: fix searching whole list Tim Orling (4): mirrors.bbclass: add ${CPAN_MIRROR} option bitbake.conf: add default ${CPAN_MIRROR} wayland: upgrade to 1.5.0 weston: upgrade to 1.5.0 Valentin Popa (2): dri3proto: add it to oe-core libxshmfence: add it to oe-core Yue Tao (22): Screen: fix for Security Advisory CVE-2009-1214 screen: fix for Security Advisory CVE-2009-1215 subversion: fix for Security Advisory CVE-2013-1849 subversion: fix for Security Advisory CVE-2013-4505 subversion: fix for
Re: [oe] [meta-oe][PATCH] eject: link po subdirectory for out-of-tree build
On Tue, May 27, 2014 at 8:32 AM, Otavio Salvador ota...@ossystems.com.br wrote: You need to change the configure.am (or .in) and Makefile.am. configure.ac is the new norm not configure.am -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] enca: fix S!=B failure
On Tue, May 27, 2014 at 7:52 PM, Tim Orling ticot...@gmail.com wrote: From: Tim Orling ticot...@gmail.com This package does not like being built out-of-tree. Fixes: | sed: can't read configure.ac: No such file or directory can't you sed it in ${S} ? sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac Signed-off-by: Tim Orling ticot...@gmail.com --- meta-oe/recipes-support/enca/enca_1.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/enca/enca_1.9.bb b/meta-oe/recipes-support/enca/enca_1.9.bb index e65a143..452c01e 100644 --- a/meta-oe/recipes-support/enca/enca_1.9.bb +++ b/meta-oe/recipes-support/enca/enca_1.9.bb @@ -14,7 +14,7 @@ SRC_URI = http://www.sourcefiles.org/Networking/Tools/Miscellanenous/enca-${PV} SRC_URI[md5sum] = b3581e28d68d452286fb0bfe58bed3b3 SRC_URI[sha256sum] = 02acfef2b24a9c842612da49338138311f909f1cd33933520c07b8b26c410f4d -inherit autotools +inherit autotools-brokensep EXTRA_OECONF = --with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix} -- 1.8.3.2 -- ___ 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] [meta-oe][PATCH] libpostproc: fix S!=B failure
On Tue, May 27, 2014 at 7:05 AM, Tim Orling ticot...@gmail.com wrote: From: Tim Orling ticot...@gmail.com Fixes: [...]/libpostproc/0.0.0+gitAUTOINC+3b7053f46d-r1/temp/run.do_configure.3652: line 109: ./configure: No such file or directory change ./configure ${EXTRA_OECONF} to ${S}/configure ${EXTRA_OECONF} does that help ? Signed-off-by: Tim Orling ticot...@gmail.com --- meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb b/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb index 148d169..6abb268 100644 --- a/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb +++ b/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb @@ -15,7 +15,7 @@ SRC_URI = git://git.videolan.org/libpostproc.git S = ${WORKDIR}/git -inherit autotools lib_package pkgconfig +inherit autotools-brokensep lib_package pkgconfig FULL_OPTIMIZATION_armv7a = -fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math BUILD_OPTIMIZATION = ${FULL_OPTIMIZATION} -- 1.8.3.2 -- ___ 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
[oe] [meta-oe][PATCH] vim: Fix packaging of common data files
The majority of the vim runtime files have been moved from the package 'vim-data' to the package 'vim-common'. However, 'vim-data' was still in RRECOMMENDS and 'vim-common' was not, so the runtime files were not being installed by default. To fix this, 'vim-data' is removed from RRECOMMENDS and 'vim-common' is added instead. 'vim-data' is also removed from PACKAGES as it should now be empty. Signed-off-by: Paul Barker p...@paulbarker.me.uk --- meta-oe/recipes-support/vim/vim_7.4.258.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/vim/vim_7.4.258.bb b/meta-oe/recipes-support/vim/vim_7.4.258.bb index 2d3b0c2..cfc82b1 100644 --- a/meta-oe/recipes-support/vim/vim_7.4.258.bb +++ b/meta-oe/recipes-support/vim/vim_7.4.258.bb @@ -70,7 +70,7 @@ do_install_append() { PARALLEL_MAKEINST = -PACKAGES =+ ${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-data +PACKAGES =+ ${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc FILES_${PN}-syntax = ${datadir}/${PN}/${VIMDIR}/syntax FILES_${PN}-help = ${datadir}/${PN}/${VIMDIR}/doc FILES_${PN}-tutor = ${datadir}/${PN}/${VIMDIR}/tutor ${bindir}/${PN}tutor @@ -93,7 +93,7 @@ FILES_${PN}-common = \ # Recommend that runtime data is installed along with vim -RRECOMMENDS_${PN} = ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-data +RRECOMMENDS_${PN} = ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common ALTERNATIVE_${PN} = vi ALTERNATIVE_TARGET[vi] = ${bindir}/${PN} -- 1.9.3 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2] enca: fix S!=B failure
From: Tim Orling ticot...@gmail.com Point tools to the right paths: * ${S}/configure.ac in do_configure_prepare() * ${B}/Makefile in do_configure_append() * cd ${B} in do_compile() Signed-off-by: Tim Orling ticot...@gmail.com --- meta-oe/recipes-support/enca/enca_1.9.bb | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-support/enca/enca_1.9.bb b/meta-oe/recipes-support/enca/enca_1.9.bb index e65a143..ea38946 100644 --- a/meta-oe/recipes-support/enca/enca_1.9.bb +++ b/meta-oe/recipes-support/enca/enca_1.9.bb @@ -20,17 +20,17 @@ EXTRA_OECONF = --with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix} do_configure_prepend() { # remove failing test which checks for something that isn't even used -sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' configure.ac +sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac } do_configure_append() { -sed -i s:-I/usr/include::g Makefile -sed -i s:-I/usr/include::g */Makefile +sed -i s:-I/usr/include::g ${B}/Makefile +sed -i s:-I/usr/include::g ${B}/*/Makefile } do_compile() { cd ${S}/tools ${BUILD_CC} -o make_hash make_hash.c -cd .. +cd ${B} oe_runmake } -- 1.8.3.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v2] libpostproc: fix S!=B failure
From: Tim Orling ticot...@gmail.com Implement khem's suggestion, ${S}/configure $(EXTRA_OECONF). NOTE: with or without autotools-brokensep, the following: | WARNING: QA Issue: ELF binary 'libpostproc.so.52.0.100' | has relocations in .text Signed-off-by: Tim Orling ticot...@gmail.com --- meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb b/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb index 148d169..aae1700 100644 --- a/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb +++ b/meta-oe/recipes-multimedia/libpostproc/libpostproc_git.bb @@ -42,5 +42,5 @@ EXTRA_OECONF = \ do_configure() { -./configure ${EXTRA_OECONF} +${S}/configure ${EXTRA_OECONF} } -- 1.8.3.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel