Both Yocto Dizzy & Fido Builds Fail

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

redknight106
Posts: 12
Joined: Sun Aug 09, 2015 6:10 pm

Both Yocto Dizzy & Fido Builds Fail

Sat Sep 12, 2015 6:35 pm

Hello all :)

I've been spending the last 2 weeks on and off trying to build the Poky for AT91 with no luck when bitbaking atmel-qt5-demo-image for both dizzy and fido versions.

The Yocto build instructions I have been using is listed at linux4sam/bin/view/Linux4SAM/PokyBuild# ... y_for_AT91. Which I have found to be wrong and out of date thanks to 'wpd' on this forum when trying to build from 'dizzy'.

The answer from his post under: discussions/viewtopic.php/f,12/t,24987.html was to change all 'dizzy' branches to 'fido' apart from 'meta-qt5' which stays as the master branch.

Which I must say didn't work :(

I was also Informed by 'nferre' who was on the same post that the README file in meta-atmel repository is usually more up-to-date in terms of instructions:

https://github.com/linux4sam/meta-atmel ... ido/README

Which I followed and once again failed :( I have included at the bottom of this post.

Now for those playing at home I am trying to build poky from Ubuntu 14.04 which is running from Virtualbox. and yes I'm new to Linux.

Apart from downloading this package: sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm

Is there anything else I need to install before building poky.

I've also noticed that on some instructions I've seen people have just typed "-b fido" at the end of 'git clone git://git.yoctoproject.org/poky' for example is this a good alternative then downloading poky for example and then checking out 'origin/fido'. is this fine ?

What I really trying to say is, what is the 100% correct method for bitbaking atmel-qt5-demo-image from poky. As I'm surprised I've had so many issues.

Thank you for your time.

Code: Select all

Build Configuration:
BB_VERSION        = "1.26.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "sama5d4-xplained"
DISTRO            = "poky-atmel"
DISTRO_VERSION    = "1.8"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa5"
TARGET_FPU        = "vfp-neon"
meta-atmel        = "my_branch:816fd57da220e05d10af19b1386d70d513fda5c9"
meta-qt5          = "my_branch:90919b9d86988e7da01fa2c0a07246b5b5600a5d"
meta              
meta-yocto        
meta-yocto-bsp    = "my_branch:b50596d8f6e858e2e733f2d9913a19c6f3cd5863"
meta-oe           
meta-networking   
meta-python       
meta-ruby         = "my_branch:10d3c8f85280a0bf867a8e4f84bcda81c290d28e"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-3.1.1.tar.bz2, attempting MIRRORS if available
WARNING: /home/redknight/poky/build-atmel/tmp/work/sama5d4_xplained-poky-linux-gnueabi/fbset-modes/0.1.0-r6/fbset-modes-0.1.0 ('S') doesn't exist, please set 'S' to a proper value
WARNING: Failed to fetch URL ftp://metalab.unc.edu/pub/Linux/utils/file/stat-3.3.tar.gz, attempting MIRRORS if available
WARNING: /home/redknight/poky/build-atmel/tmp/work/all-poky-linux/atmel-qt-demo-init/1.1-r2/atmel-qt-demo-init-1.1 ('S') doesn't exist, please set 'S' to a proper value
ERROR: Function failed: do_install (log file is located at /home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/temp/log.do_install.9242)
ERROR: Logfile of failure stored in: /home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/temp/log.do_install.9242
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| NOTE: make -j 3 DESTDIR=/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/image install
| echo '1.17-6-g6c0b-mod' | cmp -s - git-version || echo '1.17-6-g6c0b-mod' > git-version
| pandoc -s -t man \
| 	-V title="MXT-APP" \
| 	-V section="1" \
| 	-V description="\"mxt-app 1.17-6-g6c0b-mod\"" \
| 	/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/git/README.md -o man1/mxt-app.1
| /bin/bash: pandoc: command not found
| make: [man1/mxt-app.1] Error 127 (ignored)
| echo '1.17-6-g6c0b-mod' | cmp -s - git-version || echo '1.17-6-g6c0b-mod' > git-version
| pandoc -s -t man \
| 	-V title="MXT-APP" \
| 	-V section="1" \
| 	-V description="\"mxt-app 1.17-6-g6c0b-mod\"" \
| 	/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/git/README.md -o man1/mxt-app.1
| /bin/bash: pandoc: command not found
| make[1]: [man1/mxt-app.1] Error 127 (ignored)
|  /bin/mkdir -p '/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/image/usr/bin'
|  /bin/mkdir -p '/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/image/usr/share/man/man1'
|  /usr/bin/install -c -m 644 /home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/git/man1/mxt-app.1 '/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/image/usr/share/man/man1'
| /usr/bin/install: cannot stat '/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/git/man1/mxt-app.1': No such file or directory
| make[1]: *** [install-man1] Error 1
| make[1]: *** Waiting for unfinished jobs....
|   ./arm-poky-linux-gnueabi-libtool   --mode=install /usr/bin/install -c mxt-app '/home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/image/usr/bin'
| arm-poky-linux-gnueabi-libtool: install: /usr/bin/install -c mxt-app /home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/image/usr/bin/mxt-app
| make: *** [install-am] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/redknight/poky/build-atmel/tmp/work/cortexa5hf-vfp-neon-poky-linux-gnueabi/obp-utils/git-r0/temp/log.do_install.9242)
ERROR: Task 622 (/home/redknight/poky/meta-atmel/recipes-utils/obp-utils/obp-utils_git.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2782 tasks of which 1608 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/redknight/poky/meta-atmel/recipes-utils/obp-utils/obp-utils_git.bb, do_install
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
nferre
Site Admin
Posts: 166
Joined: Wed Feb 14, 2007 11:17 am

Re: Both Yocto Dizzy & Fido Builds Fail

Mon Sep 14, 2015 3:20 pm

On my side, I did a full build from start of a fido distribution with this configuration:

Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "sama5d4-xplained"
DISTRO = "poky-atmel"
DISTRO_VERSION = "1.8"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa5"
TARGET_FPU = "vfp-neon"
meta-atmel = "my_branch:e158d5e409e72bcd843be1af738634213aed88fd"
meta-qt5 = "my_branch:90919b9d86988e7da01fa2c0a07246b5b5600a5d"
meta
meta-yocto
meta-yocto-bsp = "my_branch:b50596d8f6e858e2e733f2d9913a19c6f3cd5863"
meta-oe
meta-networking
meta-python
meta-ruby
meta-multimedia = "my_branch:10d3c8f85280a0bf867a8e4f84bcda81c290d28e"

All went well and I have a "poky-atmel" QT5 distribution ready to go...

Bye,
redknight106
Posts: 12
Joined: Sun Aug 09, 2015 6:10 pm

Re: Both Yocto Dizzy & Fido Builds Fail

Mon Sep 14, 2015 3:48 pm

Hmm well that's interesting to hear, are you creating Yocto on a virtual machine and also did you install any other packages bar from

gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm

I'll have another go tonight on ubuntu 12.04

Thank you for the reply :)
nferre
Site Admin
Posts: 166
Joined: Wed Feb 14, 2007 11:17 am

Re: Both Yocto Dizzy & Fido Builds Fail

Mon Sep 14, 2015 4:55 pm

Hi,

It's a Linux machine, not a virtual machine.

I do think that it's not related with the version of my Ubuntu. I mean it must work on 14.04 as well.

Bye,
nferre
Site Admin
Posts: 166
Joined: Wed Feb 14, 2007 11:17 am

Re: Both Yocto Dizzy & Fido Builds Fail

Mon Sep 14, 2015 5:46 pm

Hit from my colleague: can you try with installing pandoc?

apt-get install pandoc
redknight106
Posts: 12
Joined: Sun Aug 09, 2015 6:10 pm

Re: Both Yocto Dizzy & Fido Builds Fail

Mon Sep 14, 2015 6:00 pm

I'll install pandoc, thank you for the tip.

just as something I've noticed on your build Conf you have

meta-multimedia = "my_branch:10d3c8f85280a0bf867a8e4f84bcda81c290d28e"

but on mine I have:

meta-ruby = "my_branch:10d3c8f85280a0bf867a8e4f84bcda81c290d28e"

Have I missed something as I don't have meta-multimedia

Thank you for your time.
nferre
Site Admin
Posts: 166
Joined: Wed Feb 14, 2007 11:17 am

Re: Both Yocto Dizzy & Fido Builds Fail

Mon Sep 14, 2015 6:18 pm

Yes, I've just updated the README with this patch:

https://github.com/linux4sam/meta-atmel ... 213aed88fd

the Linux4SAM documentation is always a bit late compared to the README file...

Bye,
redknight106
Posts: 12
Joined: Sun Aug 09, 2015 6:10 pm

Re: Both Yocto Dizzy & Fido Builds Fail

Mon Sep 14, 2015 6:27 pm

Thank you again for that nferre. I'm now bitbaking, I'll keep you informed if it worked or failed
nferre
Site Admin
Posts: 166
Joined: Wed Feb 14, 2007 11:17 am

Re: Both Yocto Dizzy & Fido Builds Fail

Tue Sep 15, 2015 4:29 pm

Hi,

I've just updated the procedure in both the README file and linux4SAM.org website.

I hope that it will make things clear.

Thanks for your feedback. Bye,

Return to “Linux”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest