Bruce Ashfield | 1 Mar 2012 03:27
Favicon

[PATCH 0/1] linux-libc-headers-yocto: bump to 3.22 and fix validation

Richard/Saul,

This is a second fix for YOCTO 2032. BSPs that want the bleeding edge kernel
headers were still seeing some branch validation errors with the yocto libc
headers recipe.

There were two reasons:

    - we were pointing at an old tree, which introduced some branch naming
      issues
    - there were some new routines in the base yocto kernel class that
      should just be overriden

This change bumps the linux-yocto based libc headers to v3.2.8, indicates
that 'standard/base' should be used for those headers and stubs out 
validation and configuration tasks we don't need for header generation.

Both Darren and myself have tested this one.

cc: Darren Hart <dvhart@...>

Cheers,

Bruce

The following changes since commit 8f07bdc0a42dd7a7c3acf5d1b13220dbc98c8017:
  Richard Purdie (1):
        image_types_uboot: Update to work after recent image_types changes

are available in the git repository at:
(Continue reading)

Bruce Ashfield | 1 Mar 2012 03:27
Favicon

[PATCH 1/1] linux-libc-headers-yocto: bump to v3.2.8

Making two changes for BSPs that prefer linux-libc-headers-yocto:

  - bumping to v3.2.8 headers
  - stubbing out unecessary linux-yocto functions when headers
    are being built

[YOCTO #2032]

Acked-by: Darren Hart <dvhart@...>
Signed-off-by: Bruce Ashfield <bruce.ashfield@...>
---
 .../linux-libc-headers-yocto_git.bb                |   29 +++++++++++++-------
 1 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
index 734170f..7aa9322 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
 <at>  <at>  -8,12 +8,13  <at>  <at>  DEPENDS += "unifdef-native"
 PROVIDES = "linux-libc-headers"
 RPROVIDES_${PN}-dev = "linux-libc-headers-dev"
 RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg"
-SRCREV = "69cfbdf9f1ff461a75e5b77d6d7ba35e97db4cc3"
-PV = "2.6.37+git-${SRCPV}"
-PR = "r4"
+SRCREV = "21ab5dca134a6bf1316aa59f69f9ee9e091d5702"
+KBRANCH ?= "standard/base"
+KMETA ?= "meta"
+PV = "3.2+git-${SRCPV}"
+PR = "r5"
(Continue reading)

Steve Sakoman | 1 Mar 2012 04:33
Picon

Re: wpa-supplicant strangeness after pull

On Wed, Feb 29, 2012 at 3:56 PM, Khem Raj <raj.khem@...> wrote:

> and this is yet another case where basichash exposes an underlying problem
>
> see the sed command in below snippet
>
> install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf
> ${D}/${sysconfdir}/dbus-1/system.d
> install -d ${D}/${datadir}/dbus-1/system-services
> sed -i -e s:${base_sbindir}:${sbindir}:g ${S}/dbus/*.service
> install -m 644 ${S}/dbus/*.service ${D}/${datadir}/dbus-1/system-services
>
> that command can only be run correctly once unless you delete ${S}
> since its sedding something in ${S}
> and we know base_sbindir (/sbin) and sbindir(/usr/sbin) are close
> enough expressionwise

Makes perfect sense.  But quite scary -- makes me wonder how many more
things like this are lurking as yet undetected!  This caused an
obvious problem right at boot time so it was easy to detect.

>> I'm beginning to suspect I ought to just do a clean build after every
>> pull in order to remain productive!
>
> That will hide these kind of issues you bring forward :)

You are right of course.  Sadly I only get to bill for getting client
work done, not for debugging the build system :-(

So my motivation is typically to just get things working again
(Continue reading)

Khem Raj | 1 Mar 2012 05:44
Picon
Gravatar

Re: [PATCH 03/16] libusb1: Address unpackaged files warning

On 02/23/2012 05:38 AM, Richard Purdie wrote:
> WARNING: For recipe libusb1, the following files/directories were installed but not shipped in any package:
> WARNING:   /lib/libusb-1.0.la
> 
> Signed-off-by: Richard Purdie <richard.purdie@...>
> ---
>  meta/recipes-support/libusb/libusb1_1.0.8.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-support/libusb/libusb1_1.0.8.bb b/meta/recipes-support/libusb/libusb1_1.0.8.bb
> index e45a9d9..b8fa790 100644
> --- a/meta/recipes-support/libusb/libusb1_1.0.8.bb
> +++ b/meta/recipes-support/libusb/libusb1_1.0.8.bb
>  <at>  <at>  -6,7 +6,7  <at>  <at>  SECTION = "libs"
>  LICENSE = "LGPLv2.1+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
>  
> -PR = "r3"
> +PR = "r4"
>  
>  SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
>  
>  <at>  <at>  -27,4 +27,4  <at>  <at>  do_install_append() {
>  
>  FILES_${PN} += "${base_libdir}/*.so.*"
>  
> -FILES_${PN}-dev += "${base_libdir}/*.so"
> +FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la"

why not just delete it. We have been living without it anyway
(Continue reading)

Xiaofeng Yan | 1 Mar 2012 07:14
Favicon

Re: [PATCH 1/2] libx11-1.4.4: Add patch makekeys_crosscompile.patch

On 2012年02月09日 17:06, Paul Menzel wrote:
> Dear Xiaofeng,
>
>
> Am Donnerstag, den 09.02.2012, 16:05 +0800 schrieb Xiaofeng Yan:
>> From: Xiaofeng Yan<xiaofeng.yan <at> windriver.com>
>>
>> LSB 4.1 complain a host contamination error from libx11 because of absent
>> patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4.
>>
>> [YOCTO #1970]
> could you squash both patches please?
>
> Also please add the output from the cover letter to the commit message.
>
>> Signed-off-by: Xiaofeng Yan<xiaofeng.yan <at> windriver.com>
>> ---
>>   .../libx11-1.4.4/makekeys_crosscompile.patch       |   45 ++++++++++++++++++++
>>   1 files changed, 45 insertions(+), 0 deletions(-)
>>   create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/makekeys_crosscompile.patch
>>
>> diff --git a/meta/recipes-graphics/xorg-lib/libx11-1.4.4/makekeys_crosscompile.patch b/meta/recipes-graphics/xorg-lib/libx11-1.4.4/makekeys_crosscompile.patch
>> new file mode 100644
>> index 0000000..e5eacf0
>> --- /dev/null
>> +++ b/meta/recipes-graphics/xorg-lib/libx11-1.4.4/makekeys_crosscompile.patch
>>  <at>  <at>  -0,0 +1,45  <at>  <at> 
>> +Because the size of "unsigned long" is different between 32-bit
>> +and 64-bit, judge whether target is 32-bit or 64-bit and tell
>> +"makekey".
(Continue reading)

Khem Raj | 1 Mar 2012 07:46
Picon
Gravatar

Re: BOTAN crypto library

On 02/24/2012 04:15 PM, simran singh wrote:
> Hello,
> 
> I hope this is right place to ask for help regarding this. I am trying
> to build the Botan crytpo library using
> system builder. I created a recipe for this and I am getting an error
> when I try to $make the library.
> This is the error I am getting:
> 
> | /usr/bin/ld:
> /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/
> ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20)
> | /usr/bin/ld:
> /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/
> ppce500mc-linux/usr/lib/crti.o: Relocations in generic ELF (EM: 20)
> |
> /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/
> ppce500mc-linux/usr/lib/crti.o: could not read symbols: File in wrong format
> | collect2: ld returned 1 exit status
> | make: *** [libbotan-1.10.so.0.1] Error 1
> | ERROR: Function do_install failed
> 
> I am guessing this has to do something with the linking of the
> libbotan-1.10.so.0.1 file. Please advice. I have attached
> the recipe that I created
> Thank you for any help.

so its using your host ld to link target library thats totally broken
Does botan's makefile system honor standard variables like LD, CC, CXX
etc. ?
(Continue reading)

Saul Wold | 1 Mar 2012 08:26
Picon

[PATCH 0/7] Updates and QA Warning Fixes

Richard,

This patch set has update, qa warning fixes, and a non-GPLv3
fix (this one could be a M3 RC2 item).

Sau!

The following changes since commit 8054497b393d40a2ed8c802c74a02e92a3001297:

  image_types_uboot: Update to work after recent image_types changes (2012-02-29 18:23:04 +0000)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib sgw/updates
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/updates

Saul Wold (7):
  perl: remove empty directories to clean QA Warnings
  netbase: fix QA Warnings
  hdparm: update to 9.39
  glproto: Update to 1.4.15
  pixman: updat to 0.24.4
  util-linux: Fix removal of lscpu for non-GPLv3 Build
  distro_tracking: Upgrade and Manual Checks

 .../conf/distro/include/distro_tracking_fields.inc |   19 +++++----
 meta/recipes-core/netbase/netbase_4.47.bb          |    3 +-
 .../util-linux/util-linux-2.21/remove-lscpu.patch  |   43 +++++++++++++------
 meta/recipes-core/util-linux/util-linux_2.21.bb    |    2 +-
 meta/recipes-devtools/perl/perl_5.14.2.bb          |    6 ++-
 .../hdparm/{hdparm_9.37.bb => hdparm_9.39.bb}      |    5 +-
(Continue reading)

Saul Wold | 1 Mar 2012 08:26
Picon

[PATCH 3/7] hdparm: update to 9.39

Signed-off-by: Saul Wold <sgw@...>
---
 .../hdparm/{hdparm_9.37.bb => hdparm_9.39.bb}      |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/hdparm/{hdparm_9.37.bb => hdparm_9.39.bb} (89%)

diff --git a/meta/recipes-extended/hdparm/hdparm_9.37.bb b/meta/recipes-extended/hdparm/hdparm_9.39.bb
similarity index 89%
rename from meta/recipes-extended/hdparm/hdparm_9.37.bb
rename to meta/recipes-extended/hdparm/hdparm_9.39.bb
index 8ea6f13..d8342cc 100644
--- a/meta/recipes-extended/hdparm/hdparm_9.37.bb
+++ b/meta/recipes-extended/hdparm/hdparm_9.39.bb
 <at>  <at>  -16,8 +16,9  <at>  <at>  FILES_${PN} = "${base_sbindir} ${mandir}"
 RDEPENDS_wiper = "bash gawk stat"

 SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz "
-SRC_URI[md5sum] = "0bb94ddd1bedd5c02b1ca62f1caaf6de"
-SRC_URI[sha256sum] = "87ede0a7cb5b4de500748232e9d251b75acfccce078e1d42c8d125b9e5b4ccd3"
+
+SRC_URI[md5sum] = "2bc17b72403885d4faf959682944243b"
+SRC_URI[sha256sum] = "72d550af4526aa96f0841c79321a0ee39d636cbaf1f294e52193e90c054b3cea"

 do_install () {
 	install -d ${D}/${base_sbindir} ${D}/${mandir}/man8 ${D}/${bindir}
--

-- 
1.7.7.6
Saul Wold | 1 Mar 2012 08:26
Picon

[PATCH 5/7] pixman: updat to 0.24.4

Signed-off-by: Saul Wold <sgw@...>
---
 .../{pixman_0.24.2.bb => pixman_0.24.4.bb}         |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{pixman_0.24.2.bb => pixman_0.24.4.bb} (82%)

diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.24.2.bb b/meta/recipes-graphics/xorg-lib/pixman_0.24.4.bb
similarity index 82%
rename from meta/recipes-graphics/xorg-lib/pixman_0.24.2.bb
rename to meta/recipes-graphics/xorg-lib/pixman_0.24.4.bb
index c710b42..4c90ea3 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.24.2.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.24.4.bb
 <at>  <at>  -15,10 +15,9  <at>  <at>  LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
 DEPENDS += "zlib libpng"

 PE = "1"
-PR = "r1"
+PR = "r0"

 EXTRA_OECONF="--disable-gtk"

-SRC_URI[md5sum] = "2ce7d12750664d2eebd51bf0a07b6205"
-SRC_URI[sha256sum] = "32f74f3e3c1feea33e6ad3e2fd66cb3eb816805c384b346ea1636a87c9057dbf"
-
+SRC_URI[md5sum] = "89eb7db8853681bbcea626b161de0488"
+SRC_URI[sha256sum] = "5f4b384aa39e82a582bdc8835e2e81b28176db851dd1f7ff32d682d026a23bb5"
--

-- 
1.7.7.6
(Continue reading)

Saul Wold | 1 Mar 2012 08:26
Picon

[PATCH 2/7] netbase: fix QA Warnings

WARNING: For recipe netbase, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/sbin
Signed-off-by: Saul Wold <sgw@...>
---
 meta/recipes-core/netbase/netbase_4.47.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/netbase/netbase_4.47.bb b/meta/recipes-core/netbase/netbase_4.47.bb
index 3aa4915..a1462f8 100644
--- a/meta/recipes-core/netbase/netbase_4.47.bb
+++ b/meta/recipes-core/netbase/netbase_4.47.bb
 <at>  <at>  -4,7 +4,7  <at>  <at>  HOMEPAGE = "http://packages.debian.org/netbase"
 SECTION = "base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
-PR = "r0"
+PR = "r1"

 inherit update-rc.d

 <at>  <at>  -22,7 +22,6  <at>  <at>  SRC_URI[sha256sum] = "a7e6525c9a09b00eff3395d09739b3c70a18bff8d13f7daa21fdf81989

 do_install () {
 	install -d ${D}${sysconfdir}/init.d \
-		   ${D}${sbindir} \
 		   ${D}${mandir}/man8 \
 		   ${D}${sysconfdir}/network/if-pre-up.d \
 		   ${D}${sysconfdir}/network/if-up.d \
--

-- 
1.7.7.6
(Continue reading)


Gmane