[OE-core] [PATCH] Fix bash 3.2.48 getc_with_restart() error

2014-04-02 Thread Kai Kang
Hi Richard, I checked that Yong Zhang from Wind River is the author of these 2 patches, and he sent to upstream and merged by bash 4.3. I think this will NOT be a license violation with Yong Zhang's Signed-off-by. So resend it. Yong Zhang (1): bash-3.2.48: fix error path of

[OE-core] [PATCH] bash-3.2.48: fix error path of getc_with_restart

2014-04-02 Thread Kai Kang
From: Yong Zhang yong.zh...@windriver.com 1. let getc_with_restart() handle EAGAIN|EWOULDBLOCK correctly. 2. When read() returns with ERROR, local_bufused will be set to -1; and if we return with local_bufused == -1 left, the next time we call getc_with_restart(), the condition

Re: [OE-core] image.bbclass: USE_DEVFS is now useless

2014-04-02 Thread Laurentiu Palcu
Hi Matthieu, On Wed, Feb 26, 2014 at 11:11:28AM +, Matthieu CRAPET wrote: Hi, Since : http://cgit.openembedded.org/openembedded-core/commit/meta/classes/ image.bbclass?id=a83144bac8d67704ff66f5dc0fc56f5b63979694 USE_DEVFS is not considered anymore. Setting

Re: [OE-core] image.bbclass: USE_DEVFS is now useless

2014-04-02 Thread Paul Eggleton
On Tuesday 01 April 2014 22:29:02 Phil Blundell wrote: On Tue, 2014-04-01 at 18:51 +0100, Richard Purdie wrote: On Tue, 2014-04-01 at 18:48 +0100, Phil Blundell wrote: Also note that the default for USE_DEVFS was (and is) 1, so the lack of this check is actually causing a difference in

Re: [OE-core] [PATCH] cmake-native: Depend on ncurses-native too

2014-04-02 Thread Mike Crowe
On Tuesday 01 April 2014 at 21:59:34 -0700, Khem Raj wrote: On Tue, Apr 1, 2014 at 3:11 AM, Mike Crowe m...@mcrowe.com wrote: It seems to be possible to disable building the CursesDialog component to remove the need for ncurses but I couldn't immediately see how to do that for a bootstrap

[OE-core] [PATCH 2/5] ed: remove infodir

2014-04-02 Thread Martin Jansa
* unlike 0.5 version, this doesn't use autotools.bbclass which removes infodir automatically * fixes QA warning: ed-1.9: The /usr/share/info/dir file is not meant to be shipped in a particular package. Signed-off-by: Martin Jansa martin.ja...@gmail.com --- meta/recipes-extended/ed/ed_1.9.bb

[OE-core] [PATCH 1/5] cmake: Add ugly hack from meta-qt5 to prevent cmake trying to detect qt5

2014-04-02 Thread Martin Jansa
* cmake doesn't have dependency on qt4/qt5, so these tests usually fail but still can cause undeterministic results or build failures (when OE_QMAKE_PATH_EXTERNAL_HOST_BINS is undefined or native qmake removed while running the test in cmake) Signed-off-by: Martin Jansa

[OE-core] [PATCH 3/5] gcc-target: remove infodir

2014-04-02 Thread Martin Jansa
* it uses autotools but doesn't call autotools_do_install * fixes QA warning: gcc-4.8.2: The /usr/share/info/dir file is not meant to be shipped in a particular package. Signed-off-by: Martin Jansa martin.ja...@gmail.com --- meta/recipes-devtools/gcc/gcc-target.inc | 4 1 file changed, 4

[OE-core] [PATCH 5/5] send-error-report: show response

2014-04-02 Thread Martin Jansa
* useful when debuging why it was refused by server Signed-off-by: Martin Jansa martin.ja...@gmail.com --- scripts/send-error-report | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/send-error-report b/scripts/send-error-report index 0d85776..8eea3cf 100755 ---

[OE-core] [PATCH 4/5] Revert qt-mobility: remove /usr/lib from ld rpath-link option

2014-04-02 Thread Martin Jansa
* Basically part of the headers/libs are installed in ${D}(${libdir}/${includedir}) instead of ${D}(${libdir}/${includedir})/qt4 * http://lists.openembedded.org/pipermail/openembedded-core/2013-October/085815.html is related, but doesn't fix the issue completely, so better revert the

[OE-core] [PATCH] libarchive: Add PACKAGECONFIG for lzo

2014-04-02 Thread Paul Barker
This ensures that the dependency on lzo is deterministic rather than floating. The configure option to libarchive refers to this library as 'lzo2' but it is just called 'lzo' in OpenEmbedded. Signed-off-by: Paul Barker p...@paulbarker.me.uk ---

Re: [OE-core] [PATCH] libarchive: Add PACKAGECONFIG for lzo

2014-04-02 Thread Paul Barker
On 2 April 2014 13:54, Paul Barker p...@paulbarker.me.uk wrote: This ensures that the dependency on lzo is deterministic rather than floating. The configure option to libarchive refers to this library as 'lzo2' but it is just called 'lzo' in OpenEmbedded. Signed-off-by: Paul Barker

Re: [OE-core] [PATCH] cmake-native: Depend on ncurses-native too

2014-04-02 Thread Khem Raj
-Khem On Apr 2, 2014 2:14 AM, Mike Crowe m...@mcrowe.com wrote: On Tuesday 01 April 2014 at 21:59:34 -0700, Khem Raj wrote: On Tue, Apr 1, 2014 at 3:11 AM, Mike Crowe m...@mcrowe.com wrote: It seems to be possible to disable building the CursesDialog component to remove the need for

Re: [OE-core] [PATCH] cmake-native: Depend on ncurses-native too

2014-04-02 Thread Khem Raj
-Khem On Apr 2, 2014 2:14 AM, Mike Crowe m...@mcrowe.com wrote: On Tuesday 01 April 2014 at 21:59:34 -0700, Khem Raj wrote: On Tue, Apr 1, 2014 at 3:11 AM, Mike Crowe m...@mcrowe.com wrote: It seems to be possible to disable building the CursesDialog component to remove the need for

[OE-core] [PATCH] rootfs.py: introduce USE_DEVFS check

2014-04-02 Thread Matthieu Crapet
Since commit a83144bac8d67704ff66f5dc0fc56f5b63979694 (2014-02-11), USE_DEVFS is not considered anymore. For compatibility, let's restore USE_DEVFS semantic. Also add USE_DEVFS to documentation.conf. Signed-off-by: Matthieu Crapet matthieu.cra...@ingenico.com --- meta/conf/documentation.conf |

Re: [OE-core] [PATCH] rootfs.py: introduce USE_DEVFS check

2014-04-02 Thread Phil Blundell
On Wed, 2014-04-02 at 17:15 +0200, Matthieu Crapet wrote: +USE_DEVFS[doc] = When building images, specifies to populate or not ${sysconfdir}. This variable defaults to '0' (leave directory empty, surely because devtmpfs do the job). Set it to '1' to use makedevs (or consider using a custom

Re: [OE-core] [PATCH] rootfs.py: introduce USE_DEVFS check

2014-04-02 Thread Matthieu CRAPET
Ooops! -Message d'origine- De : Phil Blundell [mailto:p...@pbcl.net] Envoyé : mercredi 2 avril 2014 17:53 À : Matthieu CRAPET Cc : openembedded-core@lists.openembedded.org Objet : Re: [OE-core] [PATCH] rootfs.py: introduce USE_DEVFS check On Wed, 2014-04-02 at 17:15 +0200, Matthieu

[OE-core] [PATCH v2] rootfs.py: introduce USE_DEVFS check

2014-04-02 Thread Matthieu Crapet
Since commit a83144bac8d67704ff66f5dc0fc56f5b63979694 (2014-02-11), USE_DEVFS is not considered anymore. For compatibility, let's restore USE_DEVFS semantic. Also add USE_DEVFS to documentation.conf. Signed-off-by: Matthieu Crapet matthieu.cra...@ingenico.com --- meta/conf/documentation.conf |

[OE-core] [PATCH 1/2] cmake-native: Stop building ccmake

2014-04-02 Thread Mike Crowe
The bootstrapped cmake is called in such a way that it will automatically enable building ccmake if curses is found. This tool isn't particularly useful to us and it will cause build problems if ncurses-native is built in parallel with cmake-native so let's just pass -DBUILD_CursesDialog=0 to

[OE-core] [PATCH 2/2] cmake: Remove dependency on ncurses

2014-04-02 Thread Mike Crowe
Commit 2adc9a3f1f1db284f7d91193ad77b3524e0e0d2c stopped ccmake being built and that is the only part of cmake that relies on curses so we might as well stop depending on it. (Tested with a poisoned curses.h to prove that it is unused even if present.) Signed-off-by: Mike Crowe m...@mcrowe.com

Re: [OE-core] [oe] initial support for musl libc with OE/Yocto Project

2014-04-02 Thread Khem Raj
On Mon, Mar 31, 2014 at 12:01 PM, Otavio Salvador ota...@ossystems.com.br wrote: On Mon, Mar 31, 2014 at 12:21 PM, Paul Barker p...@paulbarker.me.uk wrote: On 30 March 2014 17:48, Khem Raj raj.k...@gmail.com wrote: On Sun, Mar 30, 2014 at 8:43 AM, Paul Barker p...@paulbarker.me.uk wrote: On 30

[OE-core] [RFC][PATCH] files/device_table-minimal.txt: cleanup

2014-04-02 Thread Matthieu Crapet
This device list is only used if USE_DEVFS is set to '0' (which is NOT the default since 2013-12-14, see commit f54fdd6673a136ee1cee1f3263a8a7820de43ca3) and if IMAGE_DEVICE_TABLE and IMAGE_DEVICE_TABLES are not set. This is, of course a very subjective list but minimal with 62 (special) files.

Re: [OE-core] [oe] initial support for musl libc with OE/Yocto Project

2014-04-02 Thread Paul Barker
On 2 April 2014 17:35, Khem Raj raj.k...@gmail.com wrote: I have got core-image-minimal building for arm now. All changes are pushed to contrib tree this includes util-linux fixes too. You've fixed util-linux in a different way to me, I added qsort_r to musl whereas you've removed it's use

Re: [OE-core] [PATCH 3/5] gcc-target: remove infodir

2014-04-02 Thread Khem Raj
On Wed, Apr 2, 2014 at 5:25 AM, Martin Jansa martin.ja...@gmail.com wrote: + # Info dir listing isn't interesting at this point so remove it if it exists. + if [ -e ${D}${infodir}/dir ]; then + rm -f ${D}${infodir}/dir + fi why check if it exists when you are

Re: [OE-core] [oe-commits] Bruce Ashfield : linux-yocto/3.10: fix drm build failure

2014-04-02 Thread Martin Jansa
On Mon, Mar 31, 2014 at 11:51:05PM +0200, Martin Jansa wrote: I can confirm that that is the right revision. I wonder what the fetcher is doing, or is something in the infrastructure caching and older revision ? Sorry for noise, it was after all our mirror not getting updates anymore,

Re: [OE-core] [oe] initial support for musl libc with OE/Yocto Project

2014-04-02 Thread Khem Raj
On Wed, Apr 2, 2014 at 10:03 AM, Paul Barker p...@paulbarker.me.uk wrote: You've fixed util-linux in a different way to me, I added qsort_r to musl this won't fly in musl community. whereas you've removed it's use from util-linux. I'm not bothered which one we use if both work. We do now have

Re: [OE-core] [PATCH 3/5] gcc-target: remove infodir

2014-04-02 Thread Martin Jansa
On Wed, Apr 02, 2014 at 10:06:16AM -0700, Khem Raj wrote: On Wed, Apr 2, 2014 at 5:25 AM, Martin Jansa martin.ja...@gmail.com wrote: + # Info dir listing isn't interesting at this point so remove it if it exists. + if [ -e ${D}${infodir}/dir ]; then + rm -f

Re: [OE-core] [oe] initial support for musl libc with OE/Yocto Project

2014-04-02 Thread Paul Barker
On 2 April 2014 18:13, Khem Raj raj.k...@gmail.com wrote: On Wed, Apr 2, 2014 at 10:03 AM, Paul Barker p...@paulbarker.me.uk wrote: You've fixed util-linux in a different way to me, I added qsort_r to musl this won't fly in musl community. whereas you've removed it's use from util-linux.

Re: [OE-core] [PATCH 1/1] util-linux-native: fix qsort_r for CentOS 5.10

2014-04-02 Thread Paul Barker
On 1 April 2014 14:48, Robert Yang liezhi.y...@windriver.com wrote: On 04/01/2014 08:34 PM, Paul Barker wrote: On 1 April 2014 13:31, Phil Blundell p...@pbcl.net wrote: On Tue, 2014-04-01 at 12:41 +0100, Paul Barker wrote: The more I look at it the more I don't like this patch. It's

Re: [OE-core] [PATCH v2] rootfs.py: introduce USE_DEVFS check

2014-04-02 Thread Andreas Oberritter
Hello Matthieu, On 02.04.2014 18:01, Matthieu Crapet wrote: Since commit a83144bac8d67704ff66f5dc0fc56f5b63979694 (2014-02-11), USE_DEVFS is not considered anymore. For compatibility, let's restore USE_DEVFS semantic. Also add USE_DEVFS to documentation.conf. Signed-off-by: Matthieu

Re: [OE-core] [PATCH v2] runqemu: Add option for custom BIOS directory

2014-04-02 Thread Ricardo Neri
On Mon, 2014-03-31 at 17:59 +0100, Richard Purdie wrote: On Mon, 2014-03-31 at 09:48 -0700, Ricardo Neri wrote: I just wanted to check if there are comments about this patch. It merged 10 days ago:

Re: [OE-core] [PATCH 1/1] util-linux-native: fix qsort_r for CentOS 5.10

2014-04-02 Thread Robert Yang
On 04/03/2014 01:31 AM, Paul Barker wrote: On 1 April 2014 14:48, Robert Yang liezhi.y...@windriver.com wrote: On 04/01/2014 08:34 PM, Paul Barker wrote: On 1 April 2014 13:31, Phil Blundell p...@pbcl.net wrote: On Tue, 2014-04-01 at 12:41 +0100, Paul Barker wrote: The more I look at

Re: [OE-core] [PATCH v2] coreutils: fix search paths for libstdbuf.so

2014-04-02 Thread b40...@freescale.com
Ping. -Original Message- From: Chunrong Guo [mailto:b40...@freescale.com] Sent: Friday, March 28, 2014 4:47 PM To: openembedded-core@lists.openembedded.org Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290; Guo Chunrong-B40290 Subject: [OE-core][PATCH v2] coreutils: fix