
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

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.