Re: Trying to create OpenDDS recipe
Paul Ourada
Hi Darren -
Thanks for getting back to me. I have been able to get a lot further with the recipe. It turns out that the problem is in the makefiles for OpenDDS. I'll detail further below. Paul E. Ourada Sr. Principal Software Engineer Covidien, Energy-based Devices 5920 Longbow Drive Boulder, CO 80301 paul.ourada@... www.covidien.com Main: 303-530-2300 Ofc: 303-581-6940 Fax: 303-581-6741 Hi Paul,On 07/19/2011 07:41 AM, Ourada, Paul wrote: I hope this is the correct place to post this. If not, please let me This is the right place. In the future please don't reply to an existingI guess I thought that changing the subject would have fixed that. Guess the mail list s/w is smarter than that. :)
Is there a reason you are overriding configure and compile? These appearI had tried that initially. The configuration file is already supplied, so running autotools to create the configure script is not necessary, but running ./configure is. Is there a better way to do that? : : << most of the compiler command line gobblety-gook snipped>> -DTAO_IDL_PREPROCESSOR=\"i586-poky-linux-g++ The thing that is puzzling me is that --sysroot seems to be pointing in I see unistd.h missing, not features.h.You're right, it was complaining about unistd.h, but it turns out that the real culprit was the TAO_IDL_PREPROCESSOR macro above. When I compared it to what was being emitted in the Ubuntu compile, I saw that the long, nasty, compound, double-quoted thing should have just been "i586-poky-linux-g++." TAO_ID_PREPROCESSOR was being assigned the value of ${CXX}. It appears that instead of pre-pending the ${CPPFLAGS} variable, yocto/poky recipes were appending the cross-compile build variables to ${CXX}. I patched the OpenDDS makefile(s) to look for the first word in the ${CXX} macro, and substituted that in the assignment of TAO_IDL_PREPROCESSOR. Dunno if that's the "right" way to do it, or if there's a bug in ${CXX} assignment? Anyway, I think that I'm getting there w/the recipe. I'm sure that there are some things I'm doing wrong. For instance, I'm no longer cd'ing to ${S}, as OE already takes me there. I'm also using oe_runmake in do_compile(). I expect that I'll be running some version of "make install" at some point. I'm sure I'll have more questions as I go along. Thanks for helping an OE/Yocto N00b! Paul
|
|
Re: Trying to create OpenDDS recipe
Darren Hart <dvhart@...>
Hi Paul,
On 07/19/2011 07:41 AM, Ourada, Paul wrote: I hope this is the correct place to post this. If not, please let meThis is the right place. In the future please don't reply to an existing post as your message then gets threaded with the one you replied to (likely why you didn't receive a response so far - that I see anyway). Is there a reason you are overriding configure and compile? These appear to be autoconf projects, which should just work for recipes using autotools.bbclass. This is better - the pastebin isn't as reliable, and having it inline to review and for future reference is much preferred. Do you see unistd.h under /opt/yocto/poky-5.0.1-build/tmp/sysroots/qemux86 ? | compilation terminated.I see unistd.h missing, not features.h. -- Darren -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
|
|
Re: [OE-core] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
Kumar Gala <galak@...>
On Jul 28, 2011, at 2:04 PM, Phil Blundell wrote:
On Thu, 2011-07-28 at 20:54 +0200, Martin Jansa wrote:Ok, maybe we want:this change causes ERROR here with nokia900:It isn't totally obvious to me that it needs to be an error for -PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" +PACKAGE_ARCHS = "all any noarch ${TUNE_PKGARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" instead as we redefine PACKAGE_ARCH in different places. - k
|
|
Re: [OE-core] mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
Phil Blundell <philb@...>
On Thu, 2011-07-28 at 20:54 +0200, Martin Jansa wrote:
this change causes ERROR here with nokia900:It isn't totally obvious to me that it needs to be an error for PACKAGE_ARCHS to contain dupes. AFAIK there is no reason that it couldn't simply be uniquified before use. p.
|
|
Re: mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
Martin Jansa
On Thu, Jul 28, 2011 at 01:43:45PM -0500, Kumar Gala wrote:
this change causes ERROR here with nokia900: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: armv7a-vfp-neon Regards, -- Martin 'JaMa' Jansa jabber: Martin.Jansa@...
|
|
Re: mpc8315e-rdb core-image-minimal fails (PACKAGE_ARCHS question)
Kumar Gala <galak@...>
On Jul 28, 2011, at 11:05 AM, Saul Wold wrote:
On 07/28/2011 08:45 AM, Kumar Gala wrote:so in conf/bitbake.confI think I know the cause, let me dig up the change that is related. What bit is looking for just ppc603e?This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted. PACKAGE_ARCH = "${TUNE_PKGARCH}" MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}" PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}" PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" Shouldn't PACKAGE_ARCHS be: PACKAGE_ARCHS = "all any noarch ${PACKAGE_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" - k
|
|
Re: [OE-core] [PATCH] Switch to using perl-native for various packages instead of host perl
McClintock Matthew-B29882 <B29882@...>
On Wed, Jul 27, 2011 at 10:22 PM, Saul Wold <sgw@...> wrote:
On 07/26/2011 12:22 PM, Matthew McClintock wrote:Why do we let the host perl in the path for target installs at all? IsMatthew, there some precedence for what can be used from the host machine and what can not? -M
|
|
Re: mpc8315e-rdb core-image-minimal fails
Kumar Gala <galak@...>
I have, it doesn't help. I believe its partly due to how we are appending to TUNE_PKGARCH, but what's not clear to me is what case is failing and looking for just ppc603e instead of powerpcppc603e
toggle quoted messageShow quoted text
- k
On Jul 28, 2011, at 11:05 AM, Saul Wold wrote:
On 07/28/2011 08:45 AM, Kumar Gala wrote:I think I know the cause, let me dig up the change that is related. What bit is looking for just ppc603e?This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted.
|
|
Re: mpc8315e-rdb core-image-minimal fails
Saul Wold <sgw@...>
On 07/28/2011 08:45 AM, Kumar Gala wrote:
I think I know the cause, let me dig up the change that is related. What bit is looking for just ppc603e?This might also be related to the PACKAGE_EXTRA_ARCHS issue, please try the patch that Koen posted. Thanks Sau! - k
|
|
Re: mpc8315e-rdb core-image-minimal fails
Kumar Gala <galak@...>
I think I know the cause, let me dig up the change that is related. What bit is looking for just ppc603e?
toggle quoted messageShow quoted text
- k
On Jul 28, 2011, at 10:42 AM, Crossley, Malcolm (GE Intelligent Platforms) wrote:
Hi Kumar,
|
|
Re: mpc8315e-rdb core-image-minimal fails
Crossley, Malcolm (GE Intelligent Platforms) <Malcolm.Crossley@...>
Hi Kumar,
toggle quoted messageShow quoted text
I'm just debugging the same issue. It's caused by folder for the target specific packages being mis-named "powerpcppc603e" instead of "ppc603e" which the rpm package bbclass is expecting. I haven't figured out why this is happening yet but I have a workaround which is to move ${BUILD_DIR}/deploy/rpm/powerpcppc603e to ${BUILD_DIR}/deploy/rpm/ppc603e. I will let you know as soon as I find the cause. Regards Malcolm
-----Original Message-----
From: yocto-bounces@... [mailto:yocto-bounces@...] On Behalf Of Kumar Gala Sent: 28 July 2011 15:26 To: Patches and discussions about the oe-core layer Cc: Yocto discussion list Subject: [yocto] mpc8315e-rdb core-image-minimal fails Anyone got any ideas about the following: | ERROR: Function 'do_rootfs' failed (see /local/home/galak/git/poky/build/tmp/work/mpc8315e_rdb-poky-linux/core-i mage-minimal-1.0-r0/temp/log.do_rootfs.19834 for fu rther information) | Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/mpc8315e_rdb... | total: 1 0.000000 MB 1.573137 secs | fingerprint: 816 0.004148 MB 0.062215 secs | install: 272 0.000000 MB 0.384963 secs | dbadd: 272 0.000000 MB 0.375238 secs | dbget: 1111 0.000000 MB 0.003093 secs | dbput: 272 1.315744 MB 0.302582 secs | readhdr: 2721 2.573624 MB 0.178385 secs | hdrload: 1360 3.828344 MB 0.007262 secs | hdrget: 49259 0.000000 MB 0.048944 secs | Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.111129 secs | fingerprint: 18 0.000024 MB 0.000280 secs | install: 6 0.000000 MB 0.044466 secs | dbadd: 6 0.000000 MB 0.039504 secs | dbget: 19 0.000000 MB 0.000103 secs | dbput: 6 0.018916 MB 0.006250 secs | readhdr: 61 0.038096 MB 0.000212 secs | hdrload: 33 0.063864 MB 0.000327 secs | hdrget: 983 0.000000 MB 0.001306 secs | Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/all... | Processing task-core-boot... | error: Failed dependencies: | tinylogin is needed by task-core-boot-1.0-r7.mpc8315e_rdb | busybox is needed by task-core-boot-1.0-r7.mpc8315e_rdb | modutils-initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb | initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb | update-alternatives-cworth is needed by task-core-boot-1.0-r7.mpc8315e_rdb | udev is needed by task-core-boot-1.0-r7.mpc8315e_rdb | sysvinit is needed by task-core-boot-1.0-r7.mpc8315e_rdb | netbase is needed by task-core-boot-1.0-r7.mpc8315e_rdb | base-passwd is needed by task-core-boot-1.0-r7.mpc8315e_rdb | console-tools is needed by keymaps-1.0-r19.mpc8315e_rdb | initscripts is needed by keymaps-1.0-r19.mpc8315e_rdb | /bin/sh is needed by keymaps-1.0-r19.mpc8315e_rdb NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal. bb, do_rootfs) failed with exit code '1' ERROR: '/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal. bb' failed - k _______________________________________________ yocto mailing list yocto@... https://lists.yoctoproject.org/listinfo/yocto
|
|
mpc8315e-rdb core-image-minimal fails
Kumar Gala <galak@...>
Anyone got any ideas about the following:
| ERROR: Function 'do_rootfs' failed (see /local/home/galak/git/poky/build/tmp/work/mpc8315e_rdb-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.19834 for fu rther information) | Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/mpc8315e_rdb... | total: 1 0.000000 MB 1.573137 secs | fingerprint: 816 0.004148 MB 0.062215 secs | install: 272 0.000000 MB 0.384963 secs | dbadd: 272 0.000000 MB 0.375238 secs | dbget: 1111 0.000000 MB 0.003093 secs | dbput: 272 1.315744 MB 0.302582 secs | readhdr: 2721 2.573624 MB 0.178385 secs | hdrload: 1360 3.828344 MB 0.007262 secs | hdrget: 49259 0.000000 MB 0.048944 secs | Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.111129 secs | fingerprint: 18 0.000024 MB 0.000280 secs | install: 6 0.000000 MB 0.044466 secs | dbadd: 6 0.000000 MB 0.039504 secs | dbget: 19 0.000000 MB 0.000103 secs | dbput: 6 0.018916 MB 0.006250 secs | readhdr: 61 0.038096 MB 0.000212 secs | hdrload: 33 0.063864 MB 0.000327 secs | hdrget: 983 0.000000 MB 0.001306 secs | Generating solve db for /local/home/galak/git/poky/build/tmp/deploy/rpm/all... | Processing task-core-boot... | error: Failed dependencies: | tinylogin is needed by task-core-boot-1.0-r7.mpc8315e_rdb | busybox is needed by task-core-boot-1.0-r7.mpc8315e_rdb | modutils-initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb | initscripts is needed by task-core-boot-1.0-r7.mpc8315e_rdb | update-alternatives-cworth is needed by task-core-boot-1.0-r7.mpc8315e_rdb | udev is needed by task-core-boot-1.0-r7.mpc8315e_rdb | sysvinit is needed by task-core-boot-1.0-r7.mpc8315e_rdb | netbase is needed by task-core-boot-1.0-r7.mpc8315e_rdb | base-passwd is needed by task-core-boot-1.0-r7.mpc8315e_rdb | console-tools is needed by keymaps-1.0-r19.mpc8315e_rdb | initscripts is needed by keymaps-1.0-r19.mpc8315e_rdb | /bin/sh is needed by keymaps-1.0-r19.mpc8315e_rdb NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' ERROR: '/local/home/galak/git/poky/meta/recipes-core/images/core-image-minimal.bb' failed - k
|
|
examples / docs on utilizing an external toolchain
Kumar Gala <galak@...>
It seems like there is a way to use a prebuilt toolchain with poky but no real details.
Some refs in the docs like: POKYMODE Toolchain selector. It can be external toolchain built from Poky or few supported combinations of upstream GCC or CodeSourcery Labs toolchain. But grepping the code there doesn't seem to be any actual use of POKYMODE. There seems to be some references even on the autobuilder about this 'nightly-external-toolchain'. So wondering what the details where on how to configure things to use an external toolchain. - k
|
|
Re: [OE-core] [PATCH] Switch to using perl-native for various packages instead of host perl
Saul Wold <sgw@...>
On 07/26/2011 12:22 PM, Matthew McClintock wrote:
Several builds are using perl on the host instead of perl built byMatthew, Thanks for submitting this. A similar fix was recently rejected, as we are looking at a different way to accomplish this. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-July/006439.html for more details. Thanks Sau! Signed-off-by: Matthew McClintock<msm@...>
|
|
first stage not building in parallel?
Kumar Gala <galak@...>
Is it normal that the first stage (native) portion does not seem to either deal with BB_NUMBER_THREADS or PARALLEL_MAKE?
- k
|
|
Re: [PATCH] Update TERMCMD message to align with previous change
Saul Wold <sgw@...>
On 07/27/2011 09:18 AM, Paul Eggleton wrote:
On Wednesday 27 July 2011 17:09:09 Saul Wold wrote:Saul has not woken up completely yet and thought that Paul made that change, thanks for speaking up!Matthew,Hmm, actually I missed the default to xterm change and thus did not alter that Sau! Cheers,
|
|
Re: [PATCH] Update TERMCMD message to align with previous change
Richard Purdie
On Wed, 2011-07-27 at 17:18 +0100, Paul Eggleton wrote:
On Wednesday 27 July 2011 17:09:09 Saul Wold wrote:Agreed, patch merged to master, thanks.Matthew,Hmm, actually I missed the default to xterm change and thus did not alter that Richard
|
|
Re: [PATCH] Update TERMCMD message to align with previous change
Paul Eggleton
On Wednesday 27 July 2011 17:09:09 Saul Wold wrote:
Matthew,Hmm, actually I missed the default to xterm change and thus did not alter that aspect of the comments. Therefore I think we should apply this. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre
|
|
Re: [PATCH] Update TERMCMD message to align with previous change
Saul Wold <sgw@...>
On 07/26/2011 12:22 PM, Matthew McClintock wrote:
A previous patch changed the default TERM to use xterm. This updatesMatthew, Paul Eggelton recently made a similar change so I am going to drop this one. In the future Sau!
|
|
Re: BSP in meta layer vs poky
Richard Purdie
On Wed, 2011-07-27 at 09:23 -0500, Kumar Gala wrote:
I was wondering what distinction qualified for a BSP existing in aThe original criteria for what we included was: * One board per architecture * Should be available to a general developer in a relatively cost effective manner (sub $1000?) * Lets us test functionality of the architecture Trying to find a PPC board we could easily obtain was quite tricky. We stuck to one board per architecture for fairness reasons and also resources since the Yocto project isn't resourced to maintain BSPs. We're definitely open to discussions about changes there but it does need to be a high level discussion, likely at the advisory board level. Note that some of Yocto's developers and the QA team have those reference board for test purposes so if we do change we'd need to update their hardware. Cheers, Richard
|
|