Re: [OE-core] [PATCH 2/9] util-macros: upgrade from 1.11.0 to 1.13.0

2011-04-20 Thread Cui, Dexuan
Saul Wold wrote: > On 04/20/2011 12:30 AM, Dexuan Cui wrote: >> ...util-macros_1.11.0.bb => util-macros_1.13.0.bb} |4 ++-- >> 1 files changed, 2 insertions(+), 2 deletions(-) >> rename meta/recipes-graphics/xorg-util/{util-macros_1.11.0.bb => >> util-macros_1.13.0.bb} (79%) > I will pu

Re: [OE-core] [PATCH 12/33] util-macros: upgrade from 1.11.0 to 1.13.0

2011-04-22 Thread Cui, Dexuan
Saul Wold wrote: > From: Dexuan Cui > > Signed-off-by: Dexuan Cui > --- > ...util-macros_1.11.0.bb => util-macros_1.13.0.bb} |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > rename meta/recipes-graphics/xorg-util/{util-macros_1.11.0.bb => > util-macros_1.13.0.bb} (79%) > > d

Re: [OE-core] gdb and lttng-ust 0.12

2011-04-24 Thread Cui, Dexuan
12 as 0.11 actually installs /usr/include/ust, too. And gdb was not upgraded recently. I'm looking into this now and will update asap. Thanks, -- Dexuan -Original Message- From: Saul Wold [mailto:s...@linux.intel.com] Sent: 2011年4月25日 4:17 To: Cui, Dexuan; 'Patches and discussions abo

Re: [OE-core] gdb and lttng-ust 0.12

2011-04-24 Thread Cui, Dexuan
exuan -Original Message----- From: Cui, Dexuan Sent: 2011年4月25日 9:57 To: 'Saul Wold'; 'Patches and discussions about the oe-core layer' Cc: p...@yoctoproject.org Subject: RE: gdb and lttng-ust 0.12 Hi Saul, Thanks very much for the investigation! I can reproduce the issue now w

Re: [OE-core] gdb and lttng-ust 0.12

2011-04-25 Thread Cui, Dexuan
issue. Thanks, -- Dexuan -Original Message- From: poky-boun...@yoctoproject.org [mailto:poky-boun...@yoctoproject.org] On Behalf Of Cui, Dexuan Sent: 2011年4月25日 13:15 To: 'Saul Wold'; 'Patches and discussions about the oe-core layer' Cc: 'p...@yoctoproject.org

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-05 Thread Cui, Dexuan
Richard Purdie wrote: > On Mon, 2011-04-18 at 13:43 +0800, Cui, Dexuan wrote: >> Richard Purdie wrote: >>> On Fri, 2011-04-15 at 23:54 -0700, Saul Wold wrote: >>>> @@ -3,12 +3,14 @@ DESCRIPTION = "Tool that installs the GNU >>>> config.guess / con

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-06 Thread Cui, Dexuan
Richard Purdie wrote: > On Thu, 2011-05-05 at 22:18 +0800, Cui, Dexuan wrote: >> Recently I have been looking into it and I've made some commits >> .. >> 1) As you said, after we install perl-native into its own directory, >> any recipe not depe

Re: [OE-core] [PATCH 1/1] rsync (GPLv2): fix security vulnerability CVE-2007-4091

2011-05-09 Thread Cui, Dexuan
Saul Wold wrote: > On 05/09/2011 10:03 PM, He, Qing wrote: >>> -Original Message- >>> From: openembedded-core-boun...@lists.openembedded.org >>> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf >>> Of Saul Wold Sent: 2011年5月10日 13:02 >>> To: Patches and discussions about

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-10 Thread Cui, Dexuan
Richard Purdie wrote: > On Fri, 2011-05-06 at 16:52 +0800, Cui, Dexuan wrote: >> Howeve, there is a sed replacement in gnu-config-native's do_install: >> -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g > > Don't confuse the data files that autoconf installs

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-10 Thread Cui, Dexuan
Tom Rini wrote: > On 05/05/2011 03:34 PM, Richard Purdie wrote: >> On Thu, 2011-05-05 at 22:18 +0800, Cui, Dexuan wrote: >>> Recently I have been looking into it and I've made some commits (the >>> top 5 small commits) in >>> http://git.pokylinux.o

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-10 Thread Cui, Dexuan
Richard Purdie wrote: > On Tue, 2011-05-10 at 22:02 +0800, Cui, Dexuan wrote: >>> or we hardcode to /usr/bin/perl. Since the perl-native binary won't >>> be in the path for any of these, autodetecting and letting it >>> hardcode is probably fine. It has the

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-10 Thread Cui, Dexuan
Saul Wold wrote: > On 05/10/2011 07:20 AM, Cui, Dexuan wrote: >> Richard Purdie wrote: >>> On Tue, 2011-05-10 at 22:02 +0800, Cui, Dexuan wrote: >>>>> or we hardcode to /usr/bin/perl. Since the perl-native binary >>>>> won't be in the path

Re: [OE-core] [PATCH 0/1] Automatically generate package repos for rpm and deb [bug #1024]

2011-05-12 Thread Cui, Dexuan
Dexuan Cui wrote: > From: Dexuan Cui > > This was made to address > http://bugzilla.yoctoproject.org/show_bug.cgi?id=1024. Please comment. > > Pull URL: git://git.pokylinux.org/poky-contrib.git > Branch: dcui/master > Browse: > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/maste

Re: [OE-core] [PATCH 0/1] Automatically generate package repos for rpm and deb [bug #1024]

2011-05-12 Thread Cui, Dexuan
Wold, Saul wrote: > On 05/12/2011 04:38 AM, Cui, Dexuan wrote: >> Dexuan Cui wrote: >>> From: Dexuan Cui >>> >>> This was made to address >>> http://bugzilla.yoctoproject.org/show_bug.cgi?id=1024. Please >>> comment. >>> >>>

[OE-core] [meta-intel] n450-audio.bb: ${POKYBASE} --> ${COREBASE}

2011-05-13 Thread Cui, Dexuan
Currently n450 can't build due to the issue: diff --git a/meta-n450/recipes-bsp/n450-audio/n450-audio.bb b/meta-n450/recipes-bsp/n450-audio/n450-audio.bb index 90ec267..27904e3 100644 --- a/meta-n450/recipes-bsp/n450-audio/n450-audio.bb +++ b/meta-n450/recipes-bsp/n450-audio/n450-audio.bb @@ -2,7

Re: [OE-core] [RFC][v2] [PATCH 1/1] package-index.bb: add support for deb and rpm.

2011-05-13 Thread Cui, Dexuan
Saul Wold wrote: > On 05/13/2011 02:53 AM, Dexuan Cui wrote: >> From: Dexuan Cui >> >> diff --git a/meta/classes/package_deb.bbclass >> b/meta/classes/package_deb.bbclass >> index 4faeb4a..4cc0b69 100644 >> --- a/meta/classes/package_deb.bbclass >> +++ b/meta/classes/package_deb.bbclass >> @@ -43

Re: [OE-core] [RFC][v2] [PATCH 1/1] package-index.bb: add support for deb and rpm.

2011-05-17 Thread Cui, Dexuan
Richard Purdie wrote: > Hi Dexuan, > > When I read Saul's original emails I thought this approach would work > although it wasn't the first one that came to my mind. > > Looking at the code you have, the problem is you have nowhere you can > call the "addtask" for the individual tasks and we don'

[OE-core] dpkg's admindir: /var/dpkg or /var/lib/dpkg?

2011-05-18 Thread Cui, Dexuan
Hi, I happened to find a bug: in target, "dpkg --list" shows "dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory" Actually the files(status and available) does exist, but not in /var/lib/dpkg/ -- they're in /var/dpkg/. "ln -s /var/dpkg/{s

Re: [OE-core] dpkg's admindir: /var/dpkg or /var/lib/dpkg?

2011-05-18 Thread Cui, Dexuan
Mark Hatle wrote: > On 5/18/11 4:27 AM, Cui, Dexuan wrote: >> Hi, I happened to find a bug: in target, "dpkg --list" shows >> "dpkg-query: failed to open package info file `/var/lib/dpkg/status' >> for reading: No such file or directory" >&g

Re: [OE-core] [PATCH 08/30] package-index.bb: add support for deb and rpm.

2011-05-19 Thread Cui, Dexuan
Richard Purdie wrote: > Hi, > > We're nearly there with this, I'd like just one other tweak please: > > On Thu, 2011-05-19 at 12:19 -0700, Saul Wold wrote: >> diff --git a/meta/classes/package_deb.bbclass >> b/meta/classes/package_deb.bbclass index 4faeb4a..f9ef32c 100644 --- >> a/meta/classes/pa

Re: [OE-core] [RFC v1 PATCH 01/16] native.bbclass: allow a native package to be populated into its own dir

2011-06-01 Thread Cui, Dexuan
Phil Blundell wrote: > On Wed, 2011-06-01 at 21:18 +0800, Dexuan Cui wrote: >> +PACKAGE_OWN_DIR = "" >> +bindir .= "${PACKAGE_OWN_DIR}" >> +libdir .= "${PACKAGE_OWN_DIR}" >> +libexecdir .= "${PACKAGE_OWN_DIR}" > > I think the general idea of this patch is a good one but I'm not > terribly fond of

Re: [OE-core] [RFC v1 PATCH 00/16] populate perl-native into its own directory

2011-06-02 Thread Cui, Dexuan
Tom Rini wrote: > On 06/01/2011 01:05 PM, Phil Blundell wrote: >> On Wed, 2011-06-01 at 12:39 -0700, Tom Rini wrote: >>> Maybe race isn't quite the right word. But recipe A depends on >>> lib$something-perl-native, and brings in perl-native. It also >>> checks >>> for perl in its auto-foo and fi

Re: [OE-core] [RFC v1 PATCH 01/16] native.bbclass: allow a native package to be populated into its own dir

2011-06-02 Thread Cui, Dexuan
Cui, Dexuan wrote: > Phil Blundell wrote: >> On Wed, 2011-06-01 at 21:18 +0800, Dexuan Cui wrote: >>> +PACKAGE_OWN_DIR = "" >>> +bindir .= "${PACKAGE_OWN_DIR}" >>> +libdir .= "${PACKAGE_OWN_DIR}" >>> +libexecdir .= "

Re: [OE-core] [RFC v1 PATCH 00/16] populate perl-native into its own directory

2011-06-09 Thread Cui, Dexuan
Richard Purdie wrote: > On Thu, 2011-06-09 at 09:04 +0100, Richard Purdie wrote: >> On Thu, 2011-06-02 at 09:55 -0700, Tom Rini wrote: >>> On 06/02/2011 09:35 AM, Richard Purdie wrote: On Thu, 2011-06-02 at 09:28 -0700, Tom Rini wrote: > Even if we're using the sstate > cache from /f

Re: [OE-core] [RFC v1 PATCH 00/16] populate perl-native into its own directory

2011-06-09 Thread Cui, Dexuan
Richard Purdie wrote: > On Thu, 2011-06-09 at 21:51 +0800, Cui, Dexuan wrote: >> Richard Purdie wrote: >>> On Thu, 2011-06-09 at 09:04 +0100, Richard Purdie wrote: >>>> I suspect you've asking for some partial sstate cache to be shared >>>> between tw

Re: [OE-core] [RFC v1 PATCH 07/16] git: should depend on perl-native-runtime rather than perl-native

2011-06-10 Thread Cui, Dexuan
Joshua Lock wrote: > On Wed, 2011-06-01 at 21:18 +0800, Dexuan Cui wrote: >> Signed-off-by: Dexuan Cui >> --- >> meta/recipes-devtools/git/git.inc|4 ++-- >> meta/recipes-devtools/git/git_1.7.5.1.bb |2 +- >> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/met

Re: [OE-core] [PATCH 1/1] autoconf/automake: Bump PR to resolve perl-native issue

2011-06-14 Thread Cui, Dexuan
Saul Wold wrote: > On 06/14/2011 12:48 AM, Koen Kooi wrote: >> To be clear: does the PR bump fix the issues or was there a fix >> earlier that lacked a PR bump? >> > The fix was earlier and lacked the PR bump to these recipes. Sorry for the issue and thanks Saul for the fix! I knew the issue but

Re: [OE-core] [PATCH 0/2] fix the mesa-dri build failure after upgrading to newer glproto and dri2proto

2011-06-15 Thread Cui, Dexuan
Martin Jansa wrote: > On Wed, Jun 15, 2011 at 9:19 AM, Dexuan Cui > wrote: >> Please review them. > > Acked-by: Martin.Jansa > > with sort of deja vu :) > http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=de74afec8a067071d17365438d6c462664bc5054 > http://git.openembedded.org/cgit.cg

Re: [OE-core] BUG: intltool depends on libxml-parser-perl to be installed on host

2011-06-19 Thread Cui, Dexuan
Otavio Salvador wrote: > On Sat, Jun 18, 2011 at 23:41, Tom Rini wrote: >> On 06/18/2011 01:18 PM, Otavio Salvador wrote: >>> Hello, >>> >>> It seems that intltool depends on libxml-parser-perl being installed Hi Otavio, I suppose you actually meant intltool-native should depend on libxml-parser

Re: [OE-core] BUG: intltool depends on libxml-parser-perl to be installed on host

2011-06-21 Thread Cui, Dexuan
Otavio Salvador wrote: > On Sun, Jun 19, 2011 at 22:28, Cui, Dexuan > wrote: >> And I guess you're using incremental building? Does building from >> scratch work? > > No; I got it when rebuilding from scratch. > >>>>> into host system to it

Re: [OE-core] BUG: intltool depends on libxml-parser-perl to be installed on host

2011-06-21 Thread Cui, Dexuan
Otavio Salvador wrote: > On Tue, Jun 21, 2011 at 12:20, Cui, Dexuan > wrote: >> I think I can reproduce the issue with the same steps on a Ubuntu >> 10.10 host. I'm going to further look into this. >> Please report a bug on the bugzilla, so we can better track it. :-

Re: [OE-core] BUG: intltool depends on libxml-parser-perl to be installed on host

2011-06-22 Thread Cui, Dexuan
Otavio Salvador wrote: > On Tue, Jun 21, 2011 at 12:20, Cui, Dexuan > wrote: >> I think I can reproduce the issue with the same steps on a Ubuntu >> 10.10 host. I'm going to further look into this. >> Please report a bug on the bugzilla, so we can better track it. :-

Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups

2011-06-26 Thread Cui, Dexuan
Hi, I got the following ERROR with the patch: Log data follows: | Unstaged changes after reset: | M arch/powerpc/boot/dts/mpc8315erdb.dts | Deleted branch meta-temp (was cf7d7e5). | WARNING: addon feature "features/taskstats" was not found | ERROR: required features were not found. aborting | ERRO

Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups

2011-06-26 Thread Cui, Dexuan
Cui, Dexuan wrote: > Hi, I got the following ERROR with the patch: > > Log data follows: >> Unstaged changes after reset: >> M arch/powerpc/boot/dts/mpc8315erdb.dts >> Deleted branch meta-temp (was cf7d7e5). >> WARNING: addon feature "features/taskstats"

[OE-core] [Draft design][RFC] Running postinst at rootfs generation time

2011-06-27 Thread Cui, Dexuan
Hi all, below is an initial investigation about the task and we'll continue to further look into it. In poky we have 2 types of postinst scripts: one (type-1) can be (and has already been) run at rootfs generation time and the other (type-2) has to be delayed to the first-boot of target device

Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups

2011-06-27 Thread Cui, Dexuan
Tom Zanussi wrote: > On Mon, 2011-06-27 at 05:56 -0700, Bruce Ashfield wrote: >> 2011/6/27 Cui, Dexuan : >>> Cui, Dexuan wrote: >>>> Hi, I got the following ERROR with the patch: >>>> >>>> Log data follows: >>>>> Unstag

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-28 Thread Cui, Dexuan
Mark Hatle wrote: > On 6/28/11 1:45 AM, Koen Kooi wrote: >> >> Op 28 jun 2011, om 07:37 heeft Dexuan Cui het volgende geschreven: >> >> ... >> So it works as expected, but the output is a bit confusing. I have a >> few (conflicting) suggestions: >> >> 1) replace _BRANCH and _REVISION with '

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-28 Thread Cui, Dexuan
Koen Kooi wrote: > Op 28 jun 2011, om 16:52 heeft Cui, Dexuan het volgende geschreven: > >> Hi, thank you very much for the suggestions! >> I worked out a vesion 2 patch that combines 2 and 3: >> http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/com

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-28 Thread Cui, Dexuan
Mark Hatle wrote: > On 6/28/11 10:21 AM, Cui, Dexuan wrote: >> Koen Kooi wrote: >>> Op 28 jun 2011, om 16:52 heeft Cui, Dexuan het volgende geschreven: >>> >>>> Hi, thank you very much for the suggestions! >>>> I worked out a vesion 2 patch t

Re: [OE-core] [PATCH 0/1] bump PR to fix the perl-native issue

2011-06-29 Thread Cui, Dexuan
Cui, Dexuan wrote: > I did a core-image-sato-sdk and meta-toolchain-gmae building using a > commit of May 12 between 605141a9(the perl-native workaround patch) > and 3ba6d018(populate perl-native into its own dir), and grepped > ${STAGING_BINDIR_NATIVE}/perl in > ${STAGING_BINDIR_

Re: [OE-core] [PATCH 0/1] bump PR to fix the perl-native issue

2011-06-29 Thread Cui, Dexuan
Cui, Dexuan wrote: > Cui, Dexuan wrote: >> I did a core-image-sato-sdk and meta-toolchain-gmae building using a >> commit of May 12 between 605141a9(the perl-native workaround patch) >> and 3ba6d018(populate perl-native into its own dir), and grepped >> ${STA

Re: [OE-core] [PATCH 1/3] grub: add -fno-reorder-functions into STAGE2_COMPILE

2011-06-29 Thread Cui, Dexuan
Cui, Dexuan wrote: > This is used to work around a gcc-4.6's bug about the option. > > [YOCTO #1099] > > diff --git a/meta/recipes-bsp/grub/grub_0.97.bb > b/meta/recipes-bsp/grub/grub_0.97.bb > index 131d942..ffacb61 100644 > --- a/meta/recipes-bsp/grub/grub_0.9

Re: [OE-core] [PATCH 2/2] prelink_git.bb: Only block the postinst script when no image-prelink (v2)

2011-06-29 Thread Cui, Dexuan
Mark Hatle wrote: > [V2 - fix a small typo in the comment] > > If image-prelink is being used, the system will automatically prelink > the target image. This avoids the need to run the postinst prelink > script at first boot. However, if the user has not enabled image > prelinking -- then we do

Re: [OE-core] [PATCH 2/2] prelink_git.bb: Only block the postinst script when no image-prelink (v2)

2011-06-29 Thread Cui, Dexuan
Mark Hatle wrote: > On 6/29/11 9:42 AM, Phil Blundell wrote: >> On Wed, 2011-06-29 at 22:39 +0800, Cui, Dexuan wrote: >>> Even if without the patch, we still skip this on the host side -- >>> previously we skipped with "exit 1", and with the patch now we skip &

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-29 Thread Cui, Dexuan
Khem Raj wrote: > On 06/28/2011 04:07 AM, Paul Eggleton wrote: >> On Tuesday 28 June 2011 07:45:09 Koen Kooi wrote: >>> So it works as expected, but the output is a bit confusing. I have >>> a few (conflicting) suggestions: >>> >>> 1) replace _BRANCH and _REVISION with ' branch' and ' revision',

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-29 Thread Cui, Dexuan
Koen Kooi wrote: > Op 29 jun 2011, om 18:14 heeft Cui, Dexuan het volgende geschreven: > >> Khem Raj wrote: >>> On 06/28/2011 04:07 AM, Paul Eggleton wrote: >>>> On Tuesday 28 June 2011 07:45:09 Koen Kooi wrote: >> BTW: meta and mete-yocto belong to the sam

Re: [OE-core] [PATCH 0/1] busybox: bump PR to enable largefile support

2011-07-01 Thread Cui, Dexuan
Cui, Dexuan wrote: > The following changes since commit > 4d60d32a60ae0fae1002b27cd7d20c28532f4932: > > poky.conf: add largefile support into DISTRO_FEATURES (2011-07-01 > 17:35:26 +0800) > > Dexuan Cui (1): > busybox: bump PR to enable largefile support >

Re: [OE-core] [PATCH 1/1] busybox: bump PR to enable largefile support

2011-07-01 Thread Cui, Dexuan
Phil Blundell wrote: > On Fri, 2011-07-01 at 17:53 +0800, Dexuan Cui wrote: >> In the previous commit we enable largefile setting in >> meta-yocto/conf/distro/poky.conf, so we need to re-build busybox to >> actually enable it. > > I guess this would be a good case for using something like OE .dev'

Re: [OE-core] [Draft design][RFC] Running postinst at rootfs generation time

2011-07-03 Thread Cui, Dexuan
Hauser, Wolfgang (external) wrote: > Beside the discussed changes, the postinst scripts should be executed > in the dependency order. > At the time, the scripts are executed in alphabetic order, which > breaks the image generation if depended packages are not in > alphabetic order. > > e.g. busyb

[OE-core] The swap partition's size is too big for BSP?

2011-07-03 Thread Cui, Dexuan
In meta/recipes-core/initrdscripts/files/init-install.sh, we have # 5% for the swap swap_ratio=5 # dexuan: this variable is not used at all! ... swap_size=$((disk_size*5/100)) This algorithm seems too wasty -- e.g., for a CrownBay box with a 160GB disk, we would create a 8GB swap

Re: [OE-core] The swap partition's size is too big for BSP?

2011-07-04 Thread Cui, Dexuan
Richard Purdie wrote: > On Mon, 2011-07-04 at 13:35 +0800, Cui, Dexuan wrote: >> In meta/recipes-core/initrdscripts/files/init-install.sh, we have >> >> # 5% for the swap >> swap_ratio=5 # dexuan: this variable is not used at >> all! ...

Re: [OE-core] The swap partition's size is too big for BSP?

2011-07-04 Thread Cui, Dexuan
Richard Purdie wrote: > On Mon, 2011-07-04 at 20:02 +0800, Cui, Dexuan wrote: >> Richard Purdie wrote: >>> For reference if you want to do suspend to disk (swap) you need a >>> lot of swap space btw. Still no where near that much though! >> >> Does (or shou

Re: [OE-core] [PATCH 1/1] powertop: inherit update-alternatives and use a higher priority than busybox

2011-07-07 Thread Cui, Dexuan
Tom Rini wrote: > On 07/07/2011 01:39 AM, Dexuan Cui wrote: >> busybox-1.18.4 installs /bin/powertop and the powertop recipe >> installs /usr/bin/powertop. So, in PATH, if /bin appears before >> /usr/bin, we would run the version offered by busybox, which has a >> very limited function (e.g., no pa

Re: [OE-core] [PATCH 1/2] tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

2011-07-21 Thread Cui, Dexuan
Saul Wold wrote on 2011-07-22: > There seems to be a compile issue with this patch. > > For an X86 Build > fatal error: uuid/uuid.h: No such file or directory | compilation Hi Saul, Sorry! We didn't do enough test... Lianhao and I have got the causes of the failures. This uuid.h issue is due to t

Re: [OE-core] [PATCH 1/2] tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

2011-07-22 Thread Cui, Dexuan
Cui, Dexuan wrote on 2011-07-22: > Saul Wold wrote on 2011-07-22: >> There seems to be a compile issue with this patch. Hi Saul, Lianhao and I have made the v2 patches and did tests. I sent out the patches just now. Please review them. Thanks,

Re: [OE-core] Add basic PowerPC core tune config (bug?)

2011-07-28 Thread Cui, Dexuan
Saul Wold wrote on 2011-07-28: > On 07/27/2011 10:25 PM, Kumar Gala wrote: >> For some reason when I get to do_rootfs for core-image-sato when using >> rpms I run into an issue in that: >> >> ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}} >> >> Isn't expanding or taking the assignment in >> meta/conf

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-02 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-03: > On 08/02/2011 04:43 AM, Richard Purdie wrote: >> On Tue, 2011-08-02 at 14:08 +0800, Dexuan Cui wrote: >>> [YOCTO #671] >> > For a patch to address a relatively benign bug I thought the standard > procedure would be for it to await feedback for more than 5 hours.

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-03 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-03: > On 08/02/2011 11:46 PM, Cui, Dexuan wrote: >> Hi Darren, thanks for the suggestion! I considered the idea too, >> however, if we use the idea, it looks not that simple to gracefully >> and concisely handle the case if a user (by accident o

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-04 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-04: > As for a patch, I'm on Jury duty all this week and only get to a very > small percentage of my tasks. I would appreciate if you would try to > put one together using the above source snippet, with the suggested > changes from Paul of course. Then just send it to t

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-04 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-04: > On 08/04/2011 12:37 AM, Cui, Dexuan wrote: > Please remember to include a description of the problem and the > approach taken to fix it. This eliminates wasted time trying to > decipher it later or by people unfamiliar with the history. This is impor

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-04 Thread Cui, Dexuan
Phil Blundell wrote on 2011-08-04: > On Thu, 2011-08-04 at 22:49 +0800, Cui, Dexuan wrote: >> +BDIR=`readlink -f "$BDIR"` >> +if [ -z "$BDIR" ]; then >> +PARENTDIR=`dirname "$1"` >> +

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-08 Thread Cui, Dexuan
Cui, Dexuan wrote on 2011-08-04: > Darren Hart wrote on 2011-08-04: >> On 08/04/2011 12:37 AM, Cui, Dexuan wrote: Please remember to include a >> description of the problem and the approach taken to fix it. This >> eliminates wasted time trying to decipher it later or by peop

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-09 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-09: > On 08/08/2011 07:13 PM, Cui, Dexuan wrote: >> From 593e3506f4d4d9f6030100eac8c8e0af7f8ce3eb Mon Sep 17 00:00:00 2001 >> From: Dexuan Cui Date: Thu, 04 Aug 2011 06:53:20 >> + Subject: scripts/oe-buildenv-internal: improve the error &

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-09 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-09: > On 08/09/2011 07:04 AM, Cui, Dexuan wrote: >> Hi Darren, thanks a lot for all the suggestions! I appreciate your >> efforts to help to make the patch better. Below is the updated patch >> (also pasted at the end of the mail): >> http:

Re: [OE-core] [PATCH V2] bluez4: Added new recipe 4.96 and removed 4.82 version

2011-08-15 Thread Cui, Dexuan
Saul Wold wrote on 2011-08-16: > On 08/12/2011 01:04 AM, Noor, Ahsan wrote: >> From: Noor Ahsan >> * Added new recipe 4.96 and removed 4.82 version and its files. >> Signed-off-by: Noor Ahsan > Merged into OE-Core The patch causes a failure: NOTE: package bluez-hcidump-2.0-r0: task do_compile: Fai

Re: [OE-core] [PATCH V2] bluez4: Added new recipe 4.96 and removed 4.82 version

2011-08-15 Thread Cui, Dexuan
Martin Jansa wrote on 2011-08-16: > On Tue, Aug 16, 2011 at 10:40:38AM +0800, Cui, Dexuan wrote: >> Saul Wold wrote on 2011-08-16: >>> On 08/12/2011 01:04 AM, Noor, Ahsan wrote: >>>> From: Noor Ahsan >>>> * Added new recipe 4.96 and removed 4.82 versi

Re: [OE-core] [PATCH V2] bluez4: Added new recipe 4.96 and removed 4.82 version

2011-08-16 Thread Cui, Dexuan
Cui, Dexuan wrote on 2011-08-16: > Martin Jansa wrote on 2011-08-16: >> On Tue, Aug 16, 2011 at 10:40:38AM +0800, Cui, Dexuan wrote: >>> Saul Wold wrote on 2011-08-16: >>>> On 08/12/2011 01:04 AM, Noor, Ahsan wrote: >>>>> From: Noor Ahsan >>>&

Re: [OE-core] [PATCH 5/5] tcf-agent: Add openssl to DEPENDS

2011-08-16 Thread Cui, Dexuan
Khem Raj wrote on 2011-08-17: > It ends in errors like below otherwise > > | framework/channel_tcp.c:34:27: fatal error: openssl/ssl.h: No such > file or directory > | compilation terminated. > | make: *** [obj/GNU/Linux/arm/Debug/framework/channel_tcp.o] Error 1 > | make: *** Waiting for unfinish

Re: [OE-core] [PATCH 0/5] patches to fix deb packaging: bug 1070

2011-09-06 Thread Cui, Dexuan
Saul Wold wrote on 2011-09-07: > It's possible that one of your patches is causing this Multiple .bb files now. > Did you test with multiple PACKAGE_CLASSES set? > > ERROR: Multiple .bb files are due to be built which each provide > virtual/update-alternatives-native > (virtual:native:/srv/home/po

Re: [OE-core] Recent xserver-kdrive failure and util-macros update

2012-01-04 Thread Cui, Dexuan
Xiaofeng Yan wrote on 2012-01-04: > On 2012年01月04日 15:28, Saul Wold wrote: >> >> We seem to have a relatively new failure in xserver-kdrive, which >> appeared in the last set of change. I tried to run though a bisect >> but was not able to find the problem. >> >> The problem seems to be related t

Re: [OE-core] [PATCH 1/1] distro_tracking_fields.inc: upgrade tcf-agent

2012-01-09 Thread Cui, Dexuan
Sorry, please use the new commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/manual_check&id=54282a3d4109fe4e97f0acf3b848dc04e68c7d7f (I have "force" pushed to my dcui/manual_check already) In the old commit MANUAL_CHECK_DATE, the year is 2011 and now it's 2012! :-)

Re: [OE-core] [RFC PATCH 1/1] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-17 Thread Cui, Dexuan
Darren Hart wrote on 2012-01-13: > Hi Dexuan, > > Please include a complete patch header. Much of your 0/1 content can > go here. (Sorry for the late reply! I overlooked the mails...) Ok, I'll pay attention to this in future. > Comments below... > > On 01/10/2012 10:53 AM, Dexuan Cui wrote: >> S

Re: [OE-core] [RFC PATCH 1/1] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
Darren Hart wrote on 2012-01-17: > On 01/17/2012 01:35 AM, Cui, Dexuan wrote: >> Darren Hart wrote on 2012-01-13: >> So, I think here we should change the = to ?= like the below -APPEND >> = "root=/dev/sda2" >> +APPEND ?= "root=/dev/sda2" >> A

Re: [OE-core] [RFC PATCH 1/1][v2] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
Saul Wold wrote on 2012-01-19: > On 01/18/2012 06:18 AM, Dexuan Cui wrote: >> The self-hosted-image work needs a live-bootable and r/w-able image >> format. The existing .iso isn't ok since it's readonly. The existing >> .hddimg is not a good choice, since it has a two-option(boot, install) >> sysl

Re: [OE-core] [RFC PATCH 1/1][v2] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
Saul Wold wrote on 2012-01-19: >> +if [ "${NOVMDK}" != "1" ] ; then > Why make this a "double negative", Why not have a CREATE_VMDK check? > >> +${STAGING_BINDIR_NATIVE}/qemu-img convert -O vmdk \ >> +${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect \ >> +

Re: [OE-core] [RFC PATCH 1/1][v2] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
Darren Hart wrote on 2012-01-19: > On 01/18/2012 06:18 AM, Dexuan Cui wrote: >> The self-hosted-image work needs a live-bootable and r/w-able image >> format. The existing .iso isn't ok since it's readonly. The existing >> .hddimg is not a good choice, since it has a two-option(boot, install) >> sy

Re: [OE-core] [PATCH 1/1] image_types: ensure .rootfs.ext3 is created before vmdk is created.

2012-03-08 Thread Cui, Dexuan
Saul Wold wrote on 2012-03-09: > On 03/08/2012 11:19 PM, Dexuan Cui wrote: >> In the case of self-hosted-image.bb, IMAGE_FSTYPES = "vmdk", so the >> variables alltypes and subimages don't contain ext3, and >> .rootfs.ext3 won't be created, and finally the generated .hddimg and >> .vmdk don't have a

Re: [OE-core] [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source

2012-03-18 Thread Cui, Dexuan
Koen Kooi wrote on 2012-03-18: > > Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven: > >> [YOCTO #2065] > > What does that mean? Sorry, I should have made it more clear. :-) It means bug 2065 is addressed by the patch: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2065 T

Re: [OE-core] [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source

2012-03-18 Thread Cui, Dexuan
Koen Kooi wrote on 2012-03-18: > > Op 18 mrt. 2012, om 10:52 heeft Cui, Dexuan het volgende geschreven: > >> Koen Kooi wrote on 2012-03-18: >>> >>> Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven: >>> >>>> [YOCTO #2065]

Re: [OE-core] [oe-core][PATCHv3 01/31] xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite

2011-10-11 Thread Cui, Dexuan
Glad to see the patches to upgrade xserver and libx11. Good work! :-) BTW, we also need to upgrade meta-intel's side since BSP can't build now: http://bugzilla.pokylinux.org/show_bug.cgi?id=1670 I'm working on this bug. Thanks, -- Dexuan > -Original Message- > From: openembedded-core-bo

Re: [OE-core] [oe-core][PATCHv3 01/31] xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite

2011-10-12 Thread Cui, Dexuan
On Behalf Of > Cui, Dexuan > Sent: Wednesday, October 12, 2011 11:49 AM > To: Patches and discussions about the oe-core layer > Cc: Martin Jansa > Subject: Re: [OE-core] [oe-core][PATCHv3 01/31] xserver-xf86(-dri)-lite: > rename > to xserver-xorg and xserver-xorg-lite > >

Re: [OE-core] [PATCH 1/1] bash: make job control really work

2011-11-02 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-01: > On Tue, 2011-11-01 at 16:05 +0800, Dexuan Cui wrote: >> It turns out 9393ff833f44570fd5f500bc9de6c72db94b0296 didn't really >> fix the bug. >> >> This patch is made and tested after I read the link below >> http://www.mail-archive.com/bug-bash@gnu.org/msg03107

Re: [OE-core] [PATCH 1/1] bash: make job control really work

2011-11-02 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-02: > On Wed, 2011-11-02 at 15:10 +0800, Cui, Dexuan wrote: >> Richard Purdie wrote on 2011-11-01: >>> On Tue, 2011-11-01 at 16:05 +0800, Dexuan Cui wrote: > I had a go at this problem myself and it took a bit of figuring out. > The pr

Re: [OE-core] [CONSOLIDATED PULL 17/17] python: skip setup.py 'import check' when cross-compiling

2011-11-09 Thread Cui, Dexuan
How I wish I could notice the patch this morning so I could save 1 day! Anyway, thanks TomZ for the patch! :-) Thanks, -- Dexuan > -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf > Of Saul

Re: [OE-core] [CONSOLIDATED PULL 17/17] python: skip setup.py 'import check' when cross-compiling

2011-11-09 Thread Cui, Dexuan
Zanussi, Tom wrote on 2011-11-09: > On Wed, 2011-11-09 at 02:34 -0800, Cui, Dexuan wrote: >> How I wish I could notice the patch this morning so I could save 1 day! >> > > ??? Can you please explain what you mean? I meant I spent 1 day on debugging the same issue and got

Re: [OE-core] [CONSOLIDATED PULL 17/17] python: skip setup.py 'import check' when cross-compiling

2011-11-09 Thread Cui, Dexuan
Zanussi, Tom wrote on 2011-11-10: > On Wed, 2011-11-09 at 16:57 -0800, Cui, Dexuan wrote: >> Zanussi, Tom wrote on 2011-11-09: >>> On Wed, 2011-11-09 at 02:34 -0800, Cui, Dexuan wrote: >>>> How I wish I could notice the patch this morning so I could save 1 day! >

Re: [OE-core] [PATCH 2/4] gcc-package-target.inc: add the symbol link /lib/cpp

2011-11-24 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-24: > On Thu, 2011-11-24 at 18:08 +0800, Dexuan Cui wrote: >> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc >> +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc >> @@ -122,6 +122,8 @@ do_install () { >> ln -sf ${TARGET_PREFIX}g++ g++ >> ln -sf

Re: [OE-core] [PATCH 2/4] gcc-package-target.inc: add the symbol link /lib/cpp

2011-11-24 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-25: > On Thu, 2011-11-24 at 23:37 +0800, Cui, Dexuan wrote: >> Richard Purdie wrote on 2011-11-24: >>> On Thu, 2011-11-24 at 18:08 +0800, Dexuan Cui wrote: >>>> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc >>>> +

Re: [OE-core] [CONSOLIDATED PULL 00/23] Scooping up Patches

2011-11-29 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-29: >> The following changes since commit >> 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939: >> >> getVar/setVar cleanups (2011-11-26 22:42:00 +) >> are available in the git repository at: >> git://git.openembedded.org/openembedded-core-contrib sgw/stage > http://

Re: [OE-core] [PATCH 4/8] libxfont: upgrade from 1.4.3 to 1.4.4

2011-12-01 Thread Cui, Dexuan
Khem Raj wrote on 2011-12-01: > On Wed, Nov 30, 2011 at 6:12 AM, Dexuan Cui > wrote: >> updated LIC_FILES_CHKSUM: >> only Copyright holder change in COPYING -- no actual license change. >> >> Signed-off-by: Dexuan Cui --- >>  .../{libxfont_1.4.3.bb => libxfont_1.4.4.bb}       |    8 +++-  1

Re: [OE-core] [PATCH 3/8] lzo: upgrade from 2.05 to the latest version 2.06

2011-12-01 Thread Cui, Dexuan
Khem Raj wrote on 2011-12-01: > On Wed, Nov 30, 2011 at 6:12 AM, Dexuan Cui > wrote: >> Signed-off-by: Dexuan Cui >> --- >>  .../lzo/{lzo-2.05 => lzo-2.06}/acinclude.m4        |    0 >>  .../lzo/{lzo-2.05 => lzo-2.06}/autoconf.patch      |    9 - >>  --- >>  diff --git a/configure.ac b/co

Re: [OE-core] [PATCH 6/8] xcb-util: upgrade from 0.3.6 to 0.3.8

2011-12-01 Thread Cui, Dexuan
Khem Raj wrote on 2011-12-01: > On Wed, Nov 30, 2011 at 6:12 AM, Dexuan Cui > wrote: >> updated LIC_FILES_CHKSUM since the code was re-organized, but the >> license remains the same. >> --- /dev/null >> +++ b/meta/recipes-graphics/xcb/xcb-util_0.3.8.bb >> @@ -0,0 +1,9 @@ >> > +"file://src/xcb_aux

Re: [OE-core] [PATCH 3/3] runqemu-ifup, runqemu-internal: be wiser when locating the network tools

2011-12-01 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-01: > On Thu, 2011-12-01 at 17:21 +0800, Dexuan Cui wrote: >> When working on the self-hosted-image work, I found the PATH >> variable in the >> Level-1 target doesn't have /sbin and /usr/sbin, so "runqemu" can't >> run properly since the tools are installeld at /sbi

Re: [OE-core] [PATCH 1/3] make: expand MAKEFLAGS before we re-exec after rebuilding makefiles.

2011-12-01 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-01: > On Thu, 2011-12-01 at 10:22 +0100, Koen Kooi wrote: >> Op 1 dec. 2011, om 10:21 heeft Dexuan Cui het volgende geschreven: >> >>> This patch was got from the upstream cvs repo of make to fix the >>> bug of >>> make-3.82: http://savannah.gnu.org/bugs/?30723 >>>

Re: [OE-core] [PATCH 6/8] xcb-util: upgrade from 0.3.6 to 0.3.8

2011-12-01 Thread Cui, Dexuan
Martin Jansa wrote on 2011-12-01: > On Wed, Nov 30, 2011 at 10:12:32PM +0800, Dexuan Cui wrote: >> updated LIC_FILES_CHKSUM since the code was re-organized, but the >> license remains the same. >> >> meta/recipes-graphics/xcb/xcb-util_0.3.6.bb | 18 -- >> meta/recipes-graphics/

Re: [OE-core] [PATCH 0/8] [Dexuan]: upgrades for 7 recipes

2011-12-01 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-01: > On Wed, 2011-11-30 at 22:12 +0800, Dexuan Cui wrote: >> The following changes since commit >> 00d121aad3a4263bc0e3a004a3a479e6352e063d: >> >> clutter-box2d: drop unbuildable clutter-box2d-1.6_0.10.0 >> (2011-11-30 22:06:00 +0800) >> >> are available in the

[OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists

2011-12-04 Thread Cui, Dexuan
Hi, recently, I found meta-toolchain-gmae failed to build on poky master if I use ipk packaging(I didn't try rpm/deb): task do_populate_sdk: Failed | Configuring avahi-dev. | Configuring task-core-standalone-gmae-sdk-target. | Configuring libtelepathy-dbg. | Configuring task-core-standalone-gmae

Re: [OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists

2011-12-05 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-05: > On Mon, 2011-12-05 at 15:35 +0800, Cui, Dexuan wrote: >> Hi, recently, I found meta-toolchain-gmae failed to build on poky >> master if I use ipk packaging(I didn't try rpm/deb): >> >> task do_populate_sdk: Failed >> >

Re: [OE-core] [PATCH 4/9] consolekit: fix sdk generation issues

2011-12-15 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-15: > On Tue, 2011-12-13 at 20:19 +0400, Dmitry Eremin-Solenikov wrote: >> Currently sdk generation might fail with the following error: >> | Collected errors: >> | * extract_archive: Cannot create symlink from ./var/log to >> 'volatile/log': File exists. >> ERROR:

Re: [OE-core] [PATCH 4/9] consolekit: fix sdk generation issues

2011-12-15 Thread Cui, Dexuan
Koen Kooi wrote on 2011-12-15: > > Op 15 dec. 2011, om 15:58 heeft Richard Purdie het volgende geschreven: > >> On Tue, 2011-12-13 at 20:19 +0400, Dmitry Eremin-Solenikov wrote: >>> Currently sdk generation might fail with the following error: >>> | Collected errors: >>> | * extract_archive: Can

  1   2   >