All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] denzil pull request 3
@ 2012-10-05 19:52 Scott Garman
  2012-10-05 19:52 ` [PATCH 1/6] udev: don't mount with -o sync Scott Garman
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-05 19:52 UTC (permalink / raw)
  To: openembedded-core

Hello,

This is a pull request for denzil, it includes an important fix for the
kernel menuconfig sstate bug. The poky-based tree has been run through the
autobuilder as follows:

nightly-x86: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/755

nightly-x86-lsb: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86-lsb/builds/83

nightly-x86-64: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86-64/builds/680

nightly-x86-64-lsb: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86-64-lsb/builds/81

nightly-arm: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-arm/builds/680

nightly-arm-lsb: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-arm-lsb/builds/79

nightly-mips: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-mips/builds/653

nightly-mips-lsb: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-mips-lsb/builds/80

nightly-ppc: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-ppc/builds/634

nightly-ppc-lsb: kernel compile failure
http://autobuilder.yoctoproject.org:8010/builders/nightly-ppc-lsb/builds/82

kernel do_compile failure for mpc8315e_rdb-poky-linux:

|   BOOTCC  arch/powerpc/boot/cuboot-pq2.o
| In file included from /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc-lsb/build/build/tmp/work/mpc8315e_rdb-poky-linux/linux-yocto-3.0.32+git1+34e0d2b4b4e9778b31f9ea99ca43f0dc71a7ee23_1+83f422f718cf15633cb4c2d309aa041c3c354f65-r4/linux/arch/powerpc/boot/epapr.c:20:0:
| arch/powerpc/boot/libfdt.h:854:1: error: unterminated comment
| arch/powerpc/boot/libfdt.h:1:0: error: unterminated #ifndef
|   BOOTCC  arch/powerpc/boot/cuboot-sequoia.o
| make[3]: *** [arch/powerpc/boot/epapr.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[2]: *** [uImage] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package linux-yocto-3.0.32+git1+34e0d2b4b4e9778b31f9ea99ca43f0dc71a7ee23_1+83f422f718cf15633cb4c2d309aa041c3c354f65-r4: task do_compile: Failed

I heard from Matthew McClintock that a fix for this has been sent
upstream, sounds like we need to get this merged to our kernel tree.

nightly-non-gpl3: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/312

nightly-multilib: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-multilib/builds/308

nightly-tiny: Green
http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/289

build-appliance: bootdirectdisk failure
http://autobuilder.yoctoproject.org:8010/builders/build-appliance/builds/83/steps/shell_43/logs/stdio

| ERROR: Function failed: build_boot_dd (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image-1.0-r16/temp/log.do_bootdirectdisk.25692 for further information)
| install: cannot stat `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/build/build/tmp/sysroots/qemux86-64/kernel/bzImage': No such file or directory
NOTE: package build-appliance-image-1.0-r16: task do_bootdirectdisk: Failed

eclipse-plugin: Green
http://autobuilder.yoctoproject.org:8010/builders/eclipse-plugin/builds/611

crownbay: Green
http://autobuilder.yoctoproject.org:8010/builders/crownbay/builds/222

crownbay-noemgd: Green
http://autobuilder.yoctoproject.org:8010/builders/crownbay-noemgd/builds/223

emenlow: Green
http://autobuilder.yoctoproject.org:8010/builders/emenlow/builds/206

n450: Green
http://autobuilder.yoctoproject.org:8010/builders/n450/builds/209

jasperforest: Green
http://autobuilder.yoctoproject.org:8010/builders/jasperforest/builds/204

sugarbay: Green
http://autobuilder.yoctoproject.org:8010/builders/sugarbay/builds/216

fri2-noemgd: Green
http://autobuilder.yoctoproject.org:8010/builders/fri2-noemgd/builds/218

fri2: Green
http://autobuilder.yoctoproject.org:8010/builders/fri2/builds/233

romley: Green
http://autobuilder.yoctoproject.org:8010/builders/romley/builds/180

cedartrail: Green
http://autobuilder.yoctoproject.org:8010/builders/cedartrail/builds/185

sys940x: do_rootfs failure
http://autobuilder.yoctoproject.org:8010/builders/sys940x/builds/80

| Processing rpm...
| error: Failed dependencies:
| 	libva.so.1 is needed by libegl1-1.10-r0.core2
| 	libva-tpi.so.1 is needed by libegl1-1.10-r0.core2
| 	libva-x11.so.1 is needed by libegl1-1.10-r0.core2
NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed

| Processing task-core-x11-base...
| error: Failed dependencies:
| 	libva.so.1 is needed by libegl1-1.10-r0.core2
| 	libva-tpi.so.1 is needed by libegl1-1.10-r0.core2
| 	libva-x11.so.1 is needed by libegl1-1.10-r0.core2
NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed

sys940x-noemgd: Green
http://autobuilder.yoctoproject.org:8010/builders/sys940x-noemgd/builds/79



The following changes since commit 032bd9a856f9ca0b43dff272bd4f95481aa46597:

  bootimg: Use STAGING_KERNEL_DIR (2012-09-28 16:51:35 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib sgarman/denzil-next-pull3
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgarman/denzil-next-pull3

Darren Hart (1):
  gnutls: Update SRC_URI to use GNU_MIRROR

Dennis Lan (1):
  openjade-native: fix undefined Getopts error, use std namespace

Jesse Zhang (1):
  udev: don't mount with -o sync

Martin Jansa (1):
  openssl: add deprecated and unmaintained find.pl from perl-5.14 to
    fix perlpath.pl

Paul Eggleton (1):
  classes/cml1: ensure -c menuconfig forces a rebuild next time

Richard Purdie (1):
  siteconfig: Clear cache before rebuilding

 meta/classes/cml1.bbclass                          |   16 ++++++
 meta/classes/siteconfig.bbclass                    |    1 +
 .../openssl/openssl-1.0.0i/find.pl                 |   54 ++++++++++++++++++++
 .../recipes-connectivity/openssl/openssl_1.0.0i.bb |    7 ++-
 meta/recipes-core/udev/udev/mount.sh               |    2 +-
 meta/recipes-core/udev/udev_164.bb                 |    2 +-
 .../openjade/openjade-1.3.2/msggen.pl.patch        |   44 ++++++++++++++++
 .../openjade/openjade-native_1.3.2.bb              |    3 +-
 meta/recipes-support/gnutls/gnutls.inc             |    4 +-
 9 files changed, 127 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-connectivity/openssl/openssl-1.0.0i/find.pl
 create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/msggen.pl.patch

-- 
1.7.9.5




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/6] udev: don't mount with -o sync
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
@ 2012-10-05 19:52 ` Scott Garman
  2012-10-05 19:52 ` [PATCH 2/6] classes/cml1: ensure -c menuconfig forces a rebuild next time Scott Garman
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-05 19:52 UTC (permalink / raw)
  To: openembedded-core

From: Jesse Zhang <sen.zhang@windriver.com>

mount.sh mounts all partitions with -o sync, which is bad for system
performance.

(From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/udev/udev/mount.sh |    2 +-
 meta/recipes-core/udev/udev_164.bb   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/udev/udev/mount.sh b/meta/recipes-core/udev/udev/mount.sh
index 53fefa3..c13b8bb 100644
--- a/meta/recipes-core/udev/udev/mount.sh
+++ b/meta/recipes-core/udev/udev/mount.sh
@@ -23,7 +23,7 @@ automount() {
 
 	! test -d "/media/$name" && mkdir -p "/media/$name"
 	
-	if ! $MOUNT -t auto -o sync $DEVNAME "/media/$name"
+	if ! $MOUNT -t auto $DEVNAME "/media/$name"
 	then
 		#logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!"
 		rm_dir "/media/$name"
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb
index c5813ec..0462ff2 100644
--- a/meta/recipes-core/udev/udev_164.bb
+++ b/meta/recipes-core/udev/udev_164.bb
@@ -1,6 +1,6 @@
 include udev.inc
 
-PR = "r13"
+PR = "r14"
 
 SRC_URI += "file://udev-166-v4l1-1.patch"
 
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/6] classes/cml1: ensure -c menuconfig forces a rebuild next time
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
  2012-10-05 19:52 ` [PATCH 1/6] udev: don't mount with -o sync Scott Garman
@ 2012-10-05 19:52 ` Scott Garman
  2012-10-05 19:52 ` [PATCH 3/6] gnutls: Update SRC_URI to use GNU_MIRROR Scott Garman
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-05 19:52 UTC (permalink / raw)
  To: openembedded-core

From: Paul Eggleton <paul.eggleton@linux.intel.com>

Ensure the following results in the kernel being rebuilt, repackaged and
re-deployed in the final step:

bitbake virtual/kernel
bitbake -c menuconfig virtual/kernel
[ make changes to the kernel configuration and save ]
bitbake virtual/kernel

If there are no changes to the configuration saved, the rebuild will not
be triggered.

Note that this relies on a function recently added to BitBake and
requires full hashing (i.e. BB_SIGNATURE_HANDLER must be set to a
signature handler that inherits from BasicHash) - if this is not the
case or the function is not available in the version of BitBake being
used this change will do nothing.

Fixes [YOCTO #2256].

(From OE-Core rev: 9bf6b60e1599cf5dd87089d42584583cdfd6807a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/classes/cml1.bbclass |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass
index d429188..678d23c 100644
--- a/meta/classes/cml1.bbclass
+++ b/meta/classes/cml1.bbclass
@@ -10,7 +10,23 @@ addtask configure after do_unpack do_patch before do_compile
 inherit terminal
 
 python do_menuconfig() {
+        try:
+            mtime = os.path.getmtime(".config")
+        except OSError:
+            mtime = 0
+
         oe_terminal("make menuconfig", '${PN} Configuration', d)
+
+        # FIXME this check can be removed when the minimum bitbake version has been bumped
+        if hasattr(bb.build, 'write_taint'):
+            try:
+                newmtime = os.path.getmtime(".config")
+            except OSError:
+                newmtime = 0
+
+            if newmtime > mtime:
+                bb.note("Configuration changed, recompile will be forced")
+                bb.build.write_taint('do_compile', d)
 }
 do_menuconfig[nostamp] = "1"
 addtask menuconfig after do_configure
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/6] gnutls: Update SRC_URI to use GNU_MIRROR
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
  2012-10-05 19:52 ` [PATCH 1/6] udev: don't mount with -o sync Scott Garman
  2012-10-05 19:52 ` [PATCH 2/6] classes/cml1: ensure -c menuconfig forces a rebuild next time Scott Garman
@ 2012-10-05 19:52 ` Scott Garman
  2012-10-05 19:52 ` [PATCH 4/6] siteconfig: Clear cache before rebuilding Scott Garman
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-05 19:52 UTC (permalink / raw)
  To: openembedded-core

From: Darren Hart <dvhart@linux.intel.com>

The current SRC_URI fails. Update it with the GNU_MIRROR SRC_URI from
upstream commit 753b22012f10c393c191d3116b9d38ee4be6d112.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: John Howard <john.howard@intel.com>
CC: Scott Garman <scott.a.garman@intel.com>
---
 meta/recipes-support/gnutls/gnutls.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index 157612e..e818f07 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/gnutls/"
 BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
 DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2) libcap readline"
 
-INC_PR = "r6"
+INC_PR = "r7"
 
 LICENSE = "GPLv3+ & LGPLv2.1+"
 LICENSE_${PN} = "LGPLv2.1+"
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://lib/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
                     file://libextra/COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2"
+SRC_URI = "${GNU_MIRROR}/gnutls/gnutls-${PV}.tar.bz2"
 
 inherit autotools binconfig pkgconfig gettext
 
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/6] siteconfig: Clear cache before rebuilding
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
                   ` (2 preceding siblings ...)
  2012-10-05 19:52 ` [PATCH 3/6] gnutls: Update SRC_URI to use GNU_MIRROR Scott Garman
@ 2012-10-05 19:52 ` Scott Garman
  2012-10-05 19:52 ` [PATCH 5/6] openjade-native: fix undefined Getopts error, use std namespace Scott Garman
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-05 19:52 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

This ensures consistent build results and avoids build failures when compiler flags
change for example.

(From OE-Core rev: a5ff8396cad130f809f8f8da49bb38e6f80f923c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/classes/siteconfig.bbclass |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass
index ccbe5b9..3701b7c 100644
--- a/meta/classes/siteconfig.bbclass
+++ b/meta/classes/siteconfig.bbclass
@@ -18,6 +18,7 @@ siteconfig_do_siteconfig_gencache () {
 		>${WORKDIR}/site_config_${MACHINE}/configure.ac
 	cd ${WORKDIR}/site_config_${MACHINE}
 	autoconf
+	rm -f ${PN}_cache
         CONFIG_SITE="" ${EXTRASITECONFIG} ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache
 	sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \
 		-e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 5/6] openjade-native: fix undefined Getopts error, use std namespace
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
                   ` (3 preceding siblings ...)
  2012-10-05 19:52 ` [PATCH 4/6] siteconfig: Clear cache before rebuilding Scott Garman
@ 2012-10-05 19:52 ` Scott Garman
  2012-10-05 19:52 ` [PATCH 6/6] openssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl Scott Garman
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-05 19:52 UTC (permalink / raw)
  To: openembedded-core

From: Dennis Lan <dennis.yxun@gmail.com>

Using Gentoo Linux as the build host, it fails without this patch
Use Getopt::Std in place of getopts.pl.

https://bugs.gentoo.org/show_bug.cgi?id=420083

which following error:
/usr/bin/perl -w ./../msggen.pl -l jstyleModule InterpreterMessages.msg
/usr/bin/perl -w ./../msggen.pl -l jstyleModule DssslAppMessages.msg
Undefined subroutine &main::Getopts called at ./../msggen.pl line 22.
make[2]: *** [InterpreterMessages.h] Error 2
make[2]: *** Waiting for unfinished jobs....
Undefined subroutine &main::Getopts called at ./../msggen.pl line 22.
make[2]: *** [DssslAppMessages.h] Error 2

(from OE-Core rev 169a89b10817b742c063fcd76721e4dbbcca6199)

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../openjade/openjade-1.3.2/msggen.pl.patch        |   44 ++++++++++++++++++++
 .../openjade/openjade-native_1.3.2.bb              |    3 +-
 2 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/msggen.pl.patch

diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/msggen.pl.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/msggen.pl.patch
new file mode 100644
index 0000000..b47fd46
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade-1.3.2/msggen.pl.patch
@@ -0,0 +1,44 @@
+commit fcc5b94f118495b1a467edcda6c6f631691c3f69
+Author: Dennis Lan <dennis.yxun@gmail.com>
+Date:   Tue Jul 3 09:25:42 2012 +0800
+
+    openjade: fix undefined Getopts error, use std namespace
+    
+    Using Gentoo Linux as the build host, it fails without this patch
+    Use Getopt::Std in place of getopts.pl.
+    
+    Upstream-Status: Inappropriate [no upstream]
+    Original-Author-By: Mike Gilbert <floppym@gentoo.org>
+    Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
+
+diff --git a/msggen.pl b/msggen.pl
+index 0c33968..2ee3f66 100644
+--- a/msggen.pl
++++ b/msggen.pl
+@@ -4,6 +4,7 @@
+ # See the file COPYING for copying permission.
+ 
+ use POSIX;
++use Getopt::Std;
+ 
+ # Package and version.
+ $package = 'openjade';
+@@ -18,8 +19,7 @@ $gen_c = 0;
+ undef $opt_l;
+ undef $opt_p;
+ undef $opt_t;
+-do 'getopts.pl';
+-&Getopts('l:p:t:');
++getopts('l:p:t:');
+ $module = $opt_l;
+ $pot_file = $opt_p;
+ 
+@@ -72,7 +72,7 @@ while (<DEF>) {
+     else {
+ 	$field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
+ 	$type[$num] = substr($field[0], 0, 1);
+-	$argc = int(substr($field[0], 1, 1));
++	$argc = substr($field[0], 1, 1);
+     }
+     $nargs[$num] = $argc;
+     $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index cd6a5aa..266210d 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -7,13 +7,14 @@ SECTION = "base"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045"
 
-PR = "r4"
+PR = "r5"
 
 DEPENDS = "opensp-native sgml-common-native"
 RDEPENDS_${PN} = "sgml-common-native"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
            file://makefile.patch \
+           file://msggen.pl.patch \
            file://reautoconf.patch \
 	   file://user-declared-default-constructor.patch"
 
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 6/6] openssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
                   ` (4 preceding siblings ...)
  2012-10-05 19:52 ` [PATCH 5/6] openjade-native: fix undefined Getopts error, use std namespace Scott Garman
@ 2012-10-05 19:52 ` Scott Garman
  2012-10-05 20:16 ` [PATCH 0/6] denzil pull request 3 McClintock Matthew-B29882
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-05 19:52 UTC (permalink / raw)
  To: openembedded-core

From: Martin Jansa <martin.jansa@gmail.com>

* openembedded-core/meta/recipes-connectivity/openssl/openssl.inc
*
* is using perlpath.pl:
*
*   do_configure () {
*           cd util
*           perl perlpath.pl ${STAGING_BINDIR_NATIVE}
*   ...
*
* and perlpath.pl is using find.pl:
* openssl-1.0.0i/util/perlpath.pl:
*   #!/usr/local/bin/perl
*   #
*   # modify the '#!/usr/local/bin/perl'
*   # line in all scripts that rely on perl.
*   #
*
*   require "find.pl";
*   ...
*
* which was removed in perl-5.16.0 and marked as deprecated and
* unmaintained in 5.14 and older:
* /tmp/usr/lib/perl5/5.14.2/find.pl:
*   warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl
*   core distribution in the next major release. Please install it from the
*   CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]},
*   line @{[(caller)[2]]}.\n";
*
*   # This library is deprecated and unmaintained. It is included for
*   # compatibility with Perl 4 scripts which may use it, but it will be
*   # removed in a future version of Perl. Please use the File::Find module
*   # instead.

(from OE-Core rev c09bf5d177a7ecd2045ef7e13fff4528137a9775)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../openssl/openssl-1.0.0i/find.pl                 |   54 ++++++++++++++++++++
 .../recipes-connectivity/openssl/openssl_1.0.0i.bb |    7 ++-
 2 files changed, 60 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-connectivity/openssl/openssl-1.0.0i/find.pl

diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0i/find.pl b/meta/recipes-connectivity/openssl/openssl-1.0.0i/find.pl
new file mode 100644
index 0000000..8e1b42c
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl-1.0.0i/find.pl
@@ -0,0 +1,54 @@
+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
+
+# This library is deprecated and unmaintained. It is included for
+# compatibility with Perl 4 scripts which may use it, but it will be
+# removed in a future version of Perl. Please use the File::Find module
+# instead.
+
+# Usage:
+#	require "find.pl";
+#
+#	&find('/foo','/bar');
+#
+#	sub wanted { ... }
+#		where wanted does whatever you want.  $dir contains the
+#		current directory name, and $_ the current filename within
+#		that directory.  $name contains "$dir/$_".  You are cd'ed
+#		to $dir when the function is called.  The function may
+#		set $prune to prune the tree.
+#
+# For example,
+#
+#   find / -name .nfs\* -mtime +7 -exec rm -f {} \; -o -fstype nfs -prune
+#
+# corresponds to this
+#
+#	sub wanted {
+#	    /^\.nfs.*$/ &&
+#	    (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) &&
+#	    int(-M _) > 7 &&
+#	    unlink($_)
+#	    ||
+#	    ($nlink || (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_))) &&
+#	    $dev < 0 &&
+#	    ($prune = 1);
+#	}
+#
+# Set the variable $dont_use_nlink if you're using AFS, since AFS cheats.
+
+use File::Find ();
+
+*name		= *File::Find::name;
+*prune		= *File::Find::prune;
+*dir		= *File::Find::dir;
+*topdir		= *File::Find::topdir;
+*topdev		= *File::Find::topdev;
+*topino		= *File::Find::topino;
+*topmode	= *File::Find::topmode;
+*topnlink	= *File::Find::topnlink;
+
+sub find {
+    &File::Find::find(\&wanted, @_);
+}
+
+1;
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb b/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb
index ca15a38..c233ba1 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb
@@ -6,7 +6,7 @@ DEPENDS += "ocf-linux"
 
 CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
 
@@ -29,6 +29,7 @@ SRC_URI += "file://configure-targets.patch \
             file://debian/no-symbolic.patch \
             file://debian/debian-targets.patch \
             file://openssl_fix_for_x32.patch \
+            file://find.pl \
            "
 
 SRC_URI[md5sum] = "b4df9c11af454fd68178c85a1d5f328f"
@@ -43,3 +44,7 @@ FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines"
 FILES_${PN}-engines-dbg = "${libdir}/ssl/engines/.debug"
 
 PARALLEL_MAKEINST = ""
+
+do_configure_prepend() {
+  cp ${WORKDIR}/find.pl ${S}/util/find.pl
+}
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/6] denzil pull request 3
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
                   ` (5 preceding siblings ...)
  2012-10-05 19:52 ` [PATCH 6/6] openssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl Scott Garman
@ 2012-10-05 20:16 ` McClintock Matthew-B29882
  2012-10-10 15:40 ` Scott Garman
  2012-10-10 22:30 ` Richard Purdie
  8 siblings, 0 replies; 10+ messages in thread
From: McClintock Matthew-B29882 @ 2012-10-05 20:16 UTC (permalink / raw)
  To: Scott Garman; +Cc: openembedded-core

On Fri, Oct 5, 2012 at 2:52 PM, Scott Garman <scott.a.garman@intel.com> wrote:
>
> nightly-ppc-lsb: kernel compile failure
> http://autobuilder.yoctoproject.org:8010/builders/nightly-ppc-lsb/builds/82
>
> kernel do_compile failure for mpc8315e_rdb-poky-linux:
>
> |   BOOTCC  arch/powerpc/boot/cuboot-pq2.o
> | In file included from /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc-lsb/build/build/tmp/work/mpc8315e_rdb-poky-linux/linux-yocto-3.0.32+git1+34e0d2b4b4e9778b31f9ea99ca43f0dc71a7ee23_1+83f422f718cf15633cb4c2d309aa041c3c354f65-r4/linux/arch/powerpc/boot/epapr.c:20:0:
> | arch/powerpc/boot/libfdt.h:854:1: error: unterminated comment
> | arch/powerpc/boot/libfdt.h:1:0: error: unterminated #ifndef
> |   BOOTCC  arch/powerpc/boot/cuboot-sequoia.o
> | make[3]: *** [arch/powerpc/boot/epapr.o] Error 1
> | make[3]: *** Waiting for unfinished jobs....
> | make[2]: *** [uImage] Error 2
> | make[1]: *** [sub-make] Error 2
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> NOTE: package linux-yocto-3.0.32+git1+34e0d2b4b4e9778b31f9ea99ca43f0dc71a7ee23_1+83f422f718cf15633cb4c2d309aa041c3c354f65-r4: task do_compile: Failed
>
> I heard from Matthew McClintock that a fix for this has been sent
> upstream, sounds like we need to get this merged to our kernel tree.

FYI,

http://patchwork.ozlabs.org/patch/182260/

-M



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/6] denzil pull request 3
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
                   ` (6 preceding siblings ...)
  2012-10-05 20:16 ` [PATCH 0/6] denzil pull request 3 McClintock Matthew-B29882
@ 2012-10-10 15:40 ` Scott Garman
  2012-10-10 22:30 ` Richard Purdie
  8 siblings, 0 replies; 10+ messages in thread
From: Scott Garman @ 2012-10-10 15:40 UTC (permalink / raw)
  To: openembedded-core

On 10/05/2012 12:52 PM, Scott Garman wrote:
> Hello,
>
> This is a pull request for denzil, it includes an important fix for the
> kernel menuconfig sstate bug. The poky-based tree has been run through the
> autobuilder as follows:

Ping? I know the 1.3 release is in progress, just want to make sure this 
doesn't get neglected for too long. I kept this pull request short to 
make it easier to review.

Thanks,

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/6] denzil pull request 3
  2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
                   ` (7 preceding siblings ...)
  2012-10-10 15:40 ` Scott Garman
@ 2012-10-10 22:30 ` Richard Purdie
  8 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2012-10-10 22:30 UTC (permalink / raw)
  To: Scott Garman; +Cc: openembedded-core

On Fri, 2012-10-05 at 12:52 -0700, Scott Garman wrote:
> The following changes since commit 032bd9a856f9ca0b43dff272bd4f95481aa46597:
> 
>   bootimg: Use STAGING_KERNEL_DIR (2012-09-28 16:51:35 +0100)
> 
> are available in the git repository at:
> 
>   git://git.openembedded.org/openembedded-core-contrib sgarman/denzil-next-pull3
>   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgarman/denzil-next-pull3
> 
> Darren Hart (1):
>   gnutls: Update SRC_URI to use GNU_MIRROR
> 
> Dennis Lan (1):
>   openjade-native: fix undefined Getopts error, use std namespace
> 
> Jesse Zhang (1):
>   udev: don't mount with -o sync
> 
> Martin Jansa (1):
>   openssl: add deprecated and unmaintained find.pl from perl-5.14 to
>     fix perlpath.pl
> 
> Paul Eggleton (1):
>   classes/cml1: ensure -c menuconfig forces a rebuild next time
> 
> Richard Purdie (1):
>   siteconfig: Clear cache before rebuilding

Merged to denzil, thanks.

Richard




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-10-10 22:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-05 19:52 [PATCH 0/6] denzil pull request 3 Scott Garman
2012-10-05 19:52 ` [PATCH 1/6] udev: don't mount with -o sync Scott Garman
2012-10-05 19:52 ` [PATCH 2/6] classes/cml1: ensure -c menuconfig forces a rebuild next time Scott Garman
2012-10-05 19:52 ` [PATCH 3/6] gnutls: Update SRC_URI to use GNU_MIRROR Scott Garman
2012-10-05 19:52 ` [PATCH 4/6] siteconfig: Clear cache before rebuilding Scott Garman
2012-10-05 19:52 ` [PATCH 5/6] openjade-native: fix undefined Getopts error, use std namespace Scott Garman
2012-10-05 19:52 ` [PATCH 6/6] openssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl Scott Garman
2012-10-05 20:16 ` [PATCH 0/6] denzil pull request 3 McClintock Matthew-B29882
2012-10-10 15:40 ` Scott Garman
2012-10-10 22:30 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.