Re: [yocto] [PATCH] Added missing CPPFLAGS/CFLAGS/LDFLAGS in sample recipe for morty branch

2017-07-30 Thread Pierre FICHEUX

Hi,

So do you want a new patch with LDFLAGS only?

regards

--
Pierre FICHEUX -/- CTO Smile-ECS, France -\- pierre.fich...@smile.fr
http://www.smile.fr
http://ingenierie.openwide.fr
I would love to change the world, but they won't give me the source 
code


Le 2017-07-26 08:06, Einar Vading a écrit :

On Mon, Jul 17, 2017 at 4:48 PM, Leonardo Sandoval
 wrote:


On Mon, 2017-07-17 at 15:30 +0100, Burton, Ross wrote:


On 17 July 2017 at 15:04, Leonardo Sandoval
 wrote:
         master has the second line (LDFLAGS) but not the first one
         (CPPFLAGS and
         CFLAGS) so the problem may also be present on master. Would
         you mind
         checking this and sent patches to the poky mailing list?


The GNU_HASH warning is triggered by ignoring LDFLAGS.


Got it, so definitely LDFLAGS var is missing, not sure if the rest 
are

necessary for this simple hello world recipe.
Leo


I had this problem to and IIRC i fixed it by moving the LDFLAGS
variable to the end of the line

+          ${CC} helloworld.o -o helloworld  ${LDFLAGS}





Ross


Einar 

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] extensible SDK build failure

2017-07-30 Thread Russell Peterson
Hello, all.

I’m trying to build the eSDK for my platform and I just can’t figure out why 
dnf can’t find kernel-devsrc.  It’s there, I added it.  The “normal SDK” uses 
it and builds fine.  Just no luck with the eSDK.
Any help out there?  Poky is pyro.  aarch64 SoC target platform with an x86 
build host (CentOS 7.3).  Basically I just bitbake -c do_populate_sdk_ext 
core-image-full.  I do have a linux kernel recipe that pulls the kernel from 
the standard kernel.org  repo.

ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Could not invoke dnf. Command 
'/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/dnf
 -y -c 
/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.3.1/sysroots/none/etc/dnf/dnf.conf
 
--setopt=reposdir=/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.3.1/sysroots/none/etc/yum.repos.d
 
--repofrompath=oe-repo,/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-rootfs-repo
 
--installroot=/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/sdk/image/opt/poky/2.3.1/sysroots/none
 
--setopt=logdir=/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp
 --nogpgcheck install kernel-devsrc' returned 1:
Added oe-repo repo from 
file:///scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-rootfs-repo
 

Last metadata expiration check: 0:00:01 ago on Sun Jul 30 01:38:48 2017 UTC.
No package kernel-devsrc available.
Error: Unable to find a match
 
ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Function failed: 
do_populate_sdk
ERROR: Logfile of failure stored in: 
/scratch/russell/yocto-00dc025f/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/temp/log.do_populate_sdk.4836
ERROR: Task 
(/labhome/russell/src/bf/poky/meta/recipes-core/meta/buildtools-tarball.bb:do_populate_sdk)
 failed with exit code '1'-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Icecc configuration on ubuntu ?

2017-07-30 Thread Riko Ho

Dear Yocto Team Member,

I've been reading :
https://www.openembedded.org/wiki/Using_IceCC

on this part :
...
use icecc service provided by your distribution (e.g. in ubuntu set 
ICECC_SCHEDULER_HOST in /etc/icecc/icecc.conf and enable START_ICECC in 
/etc/default/icecc) ...

What should I fill with this configuration ?
===

# ICECC_SCHEDULER_HOST=""
ICECC_SCHEDULER_HOST=""

===
Is it my Host Ip Address or my hostname ?

Thank you,


**
*

/***/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/***/

*
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] DEBUG: automake-native: class native found in blacklist, disable icecc ?

2017-07-30 Thread Riko Ho

Dear Yocto Team Member,

I tried

#:~/poky/build$ bitbake core-image-minimal

Is my auto make disabled with icecc ?

How to make it enable ? thanks.

Here's the messages:

==

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: automake-native-1.15-r0 do_compile: oe_runmake failed
ERROR: automake-native-1.15-r0 do_compile: Function failed: do_compile 
(log file is located at 
/home/bianchi77/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.7351)
ERROR: Logfile of failure stored in: 
/home/bianchi77/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.7351

Log data follows:
| DEBUG: automake-native: class native found in blacklist, disable icecc
| DEBUG: automake-native: class native found in blacklist, disable icecc
| DEBUG: automake-native: class native found in blacklist, disable icecc
| DEBUG: Executing shell function do_compile
| NOTE: make -j 10
| ERROR: oe_runmake failed
| : && /home/bianchi77/poky/build/tmp/hosttools/mkdir -p doc && { 
PATH='/home/bianchi77/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/build/t/wrap:'$PATH 
&& export PATH; } && /usr/bin/env perl ../automake-1.15/doc/help2man 
--output=doc/automake-1.15.1 automake-1.15

| help2man: can't get `--help' info from automake-1.15
| Try `--no-discard-stderr' if option outputs to stderr
| Makefile:3687: recipe for target 'doc/automake-1.15.1' failed
| make: *** [doc/automake-1.15.1] Error 255
| ERROR: Function failed: do_compile (log file is located at 
/home/bianchi77/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.7351)
ERROR: Task 
(virtual:native:/home/bianchi77/poky/meta/recipes-devtools/automake/automake_1.15.bb:do_compile) 
failed with exit code '1'
NOTE: Tasks Summary: Attempted 230 tasks of which 194 didn't need to be 
rerun and 1 failed.


Summary: 1 task failed:
virtual:native:/home/bianchi77/poky/meta/recipes-devtools/automake/automake_1.15.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


--
*

/***/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/***/

*
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] build for terasic de10 nano kit?

2017-07-30 Thread Takashi Matsuzawa
Hello.
I recently purchased Terasic DE10-Nano Kit board, and I wonder how I can build 
Linux image for it.
(Though it comes with binary SD card.)

I can see below, and I tried meta-de10-nano/REDME.md steps (priecisely it is 
not yocto?), but I met errors during bitbake.

https://01.org/meta-de10-nano
https://github.com/01org/meta-de10-nano

And I can see below.
I would love to see the steps that I can try. Or any comminity mailing list 
that I can check such tips?

https://bugzilla.yoctoproject.org/show_bug.cgi?id=11629


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto