angstrom bitbake systemd-gnome-image fails

Hello Everyone,

Trying to rebuild angstrom. I followed the intstructions on http://www.angstrom-distribution.org/.

It fails on a task far down the line of a number of tasks…

Any idea/help would be great!

My setup is a virtual machine on VMware. Ubuntu 12.10 latest updates.

x86_64-linux-libtool: install: ranlib /home/bennylima/setup-scripts/build/tmp-an
gstrom_v2013_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/image/home/ben
nylima/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/x86_64-linux/us
r/lib/libwmf.a
x86_64-linux-libtool: install: warning: remember to run x86_64-linux-libtool -- finish /home/bennylima/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots /x86_64-linux/usr/lib' make[3]: Leaving directory /home/bennylima/setup-scripts/build/tmp-angstrom_v20
13_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/libwmf-0.2.8.4/src’
make[2]: *** [install-am] Error 2
make[2]: Leaving directory /home/bennylima/setup-scripts/build/tmp-angstrom_v20 13_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/libwmf-0.2.8.4/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory /home/bennylima/setup-scripts/build/tmp-angstrom_v20
13_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/libwmf-0.2.8.4/src’
make: *** [install-recursive] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_install (see /home/bennylima/setup-scripts/build/tmp-
angstrom_v2013_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/temp/log.do_
install.57042 for further information)
bennylima@ubuntu:~/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/temp$ ls

log.do_install.57042 (19.5 KB)

Hello Everyone,

Trying to rebuild angstrom. I followed the intstructions on http://www.angstrom-distribution.org/.

It fails on a task far down the line of a number of tasks…

Any idea/help would be great!

My setup is a virtual machine on VMware. Ubuntu 12.10 latest updates.

x86_64-linux-libtool: install: ranlib /home/bennylima/setup-scripts/build/tmp-an
gstrom_v2013_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/image/home/ben
nylima/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/x86_64-linux/us
r/lib/libwmf.a
x86_64-linux-libtool: install: warning: remember to run x86_64-linux-libtool -- finish /home/bennylima/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots /x86_64-linux/usr/lib' make[3]: Leaving directory /home/bennylima/setup-scripts/build/tmp-angstrom_v20
13_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/libwmf-0.2.8.4/src’
make[2]: *** [install-am] Error 2
make[2]: Leaving directory /home/bennylima/setup-scripts/build/tmp-angstrom_v20 13_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/libwmf-0.2.8.4/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory /home/bennylima/setup-scripts/build/tmp-angstrom_v20
13_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/libwmf-0.2.8.4/src’
make: *** [install-recursive] Error 1
ERROR: oe_runmake failed
ERROR: Function failed: do_install (see /home/bennylima/setup-scripts/build/tmp-
angstrom_v2013_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/temp/log.do_
install.57042 for further information)
bennylima@ubuntu:~/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/x86_64-linux/libwmf-native/0.2.8.4-r3/temp$ ls

Not sure why you are running bitbake from this folder. You should run your bitbake command from ~/setup-scripts folder.
Try the following:
bitbake –c clean libwmf
Bitbake –c build libwmf
If this succeeds, then run your original bitbake command again.

Regards,
John

I have seen the issue where everything builds as it should and just as the bitbake operation is about to complete the final steps of packing the rootfs it will fail.

I have seen the issue where everything builds as it should and just as the bitbake operation is about to complete the final steps of packing the rootfs it will fail.

I haven’t seen that before. What branch are you on? Have you updated the repo and oebb?

Regards,
John

John,

I think I may have found a solution to the problem over the weekend. I have been executing the command “./oebb.sh config beaglebone” then the environment script then the bitbake command. That is when it fails. Over the weekend I went to Angstrom and ran the steps exactly as described on their website. First thing I noticed that was different was that under beaglebone the kernel version is 3.8 and under beagleboard it is 3.2. I have to check I have not check to see if my dev computer has completed the build yet but I am hopeful. Oh yeah I did a fresh clone of the setup scripts this weekend so they should be the latest.

John,

I think I may have found a solution to the problem over the weekend. I have been executing the command “./oebb.sh config beaglebone” then the environment script then the bitbake command. That is when it fails. Over the weekend I went to Angstrom and ran the steps exactly as described on their website. First thing I noticed that was different was that under beaglebone the kernel version is 3.8 and under beagleboard it is 3.2. I have to check I have not check to see if my dev computer has completed the build yet but I am hopeful. Oh yeah I did a fresh clone of the setup scripts this weekend so they should be the latest.

Hi Daniel,

I think you should do the following:
git checkout angstrom-v2013.12-yocto1.5
MACHINE=beaglebone .oebb.sh config beaglebone
. environment-angstrom-v2013.12
You may have to delete your build folder.

Now run your regular bitbake command.

Regards,
John

Ok I will give that a try as I now the scripts pull v2013.06 that is if one follows the steps on Angstrom exactly.

John,

That was the trick. I was able to successfully build systemd-image last night.
Thanks for the advice!

Can I see someone's log of a successful build based in the angstrom instructions to make sure I have the interpretation of commands correct?

I don't see my previous replies for some reason.

I've built the kernel successfully, but gnome image success eludes me.

Thanks,
Benny

Hello Everyone,

I tried again. However, I did not use the instructions from the angstrom. I used the instructions previously listed:

Hi Daniel,

I think you should do the following:
git checkout angstrom-v2013.12-yocto1.5
MACHINE=beaglebone .oebb.sh config beaglebone
. environment-angstrom-v2013.12
You may have to delete your build folder.

Now run your regular bitbake command.

  • show quoted text -

This seemed to work. The big difference is that in the git/checkout angstrom command, it is specifying a specific yocto stream. The previous instruction for angstrom would set the yocto stream to whatever is current, followed by a request to update. This has failed 3 times out of the 3 I’ve attempted (ubuntu 12.04, 12.10, 13.04 etc).

If I executed the above commands without an update, it worked out. So I think it did… Can anyone confirm if the commands being run directly from the angstrom distribution sight, when run without modification, work correctly, or possibly the distribution is broke? Yocto 1.5 is working though?

I’ve attached the log.

Setup for beaglebone completed
bennylima@ubuntu:~/setup-scripts$ . environment-angstrom-v2013.12
bennylima@ubuntu:~/setup-scripts$ ls
conf environment-angstrom-v2013.12 oebb.sh README scripts sources
bennylima@ubuntu:~/setup-scripts$ MACHINE=beaglebone ./oebb.sh bitbake systemd-gnome-image
Using environment-angstrom-v2013.12 to setup needed variables. It is recommended to do ‘. environment-angstrom-v2013.12’ and run ‘bitbake something’ without using ./oebb.sh as wrapper
Executing: MACHINE=beaglebone bitbake systemd-gnome-image
NOTE: Started PRServer with DBfile: /home/bennylima/setup-scripts/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 38011, PID: 7515
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/.la ${libdir}/.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/.o ${libdir}/${BPN}/.la ${base_libdir}/*.la) replaces original key FILES_mono-xsp-dev ( /usr/lib/pkgconfig/xsp.pc /usr/lib/pkgconfig/xsp-2.pc ).
WARNING: Unable to get checksum for mono SRC_URI entry Makefile.am.diff: file could not be found
WARNING: Unable to get checksum for mono SRC_URI entry config.in.diff: file could not be found
WARNING: Unable to get checksum for mono SRC_URI entry Makefile.diff: file could not be found
WARNING: Unable to get checksum for mono-native SRC_URI entry Makefile.am.diff: file could not be found
WARNING: Unable to get checksum for mono-native SRC_URI entry config.in.diff: file could not be found
WARNING: Unable to get checksum for mono-native SRC_URI entry Makefile.diff: file could not be found
Parsing recipes: 100% |#############################################################| Time: 00:01:56
Parsing of 3057 .bb files complete (0 cached, 3057 parsed). 3547 targets, 176 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/bennylima/setup-scripts/sources/meta-angstrom/recipes-core/systemd/systemd_206.bbappend
/home/bennylima/setup-scripts/sources/meta-openembedded/meta-systemd/oe-core/recipes-core/systemd/systemd_206.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = “1.20.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “Ubuntu-13.10”
TARGET_SYS = “arm-angstrom-linux-gnueabi”
MACHINE = “beaglebone”
DISTRO = “angstrom”
DISTRO_VERSION = “v2013.12”
TUNE_FEATURES = “armv7a vfp thumb neon callconvention-hard”
TARGET_FPU = “vfp-neon”
meta-angstrom = “angstrom-v2013.12-yocto1.5:8fcd781b777a7a94f2b97514c9691a2b5c74eaf2”
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs
toolchain-layer
meta-multimedia
meta-networking
meta-webserver
meta-ruby
meta-filesystems
meta-perl = “angstrom-staging-yocto1.5:1f79c7fbc394044b61f9650838bc45740490acac”
meta-kde = “master:f45abfd4d87b0132a2565499392d2d49f465d847”
meta-opie = “master:b241408b31c2ffd941b8b38bd385136ef675a703”
meta-java = “master:9dfb7ecb87e67052e94641d6e02907c582264217”
meta-browser = “master:fc3969f63bda343c38c40a23f746c560c4735f3e”
meta-mono = “master:ac286b1682e6bcc486ceb30ef90a936949bbfeab”
meta-qt5 = “dora:cefaba69a785c5221463f0eb496b749d5ddf8a5a”
meta-systemd = “angstrom-staging-yocto1.5:1f79c7fbc394044b61f9650838bc45740490acac”
meta-ros = “master:028d9ac86d1d1cb4222865bf78038084c0a06dd1”
meta-beagleboard-extras
common-bsp = “dora:82c7bf4a9bb81e46838d54cba878353b724c12e3”
meta-ti = “angstrom-staging-yocto1.5:9b7a2f66fa3e8889f9ec49d1794ad068f7f76cdf”
meta-fsl-arm = “dora:af392c22bf6b563525ede4a81b6755ff1dd2c1c6”
meta-fsl-arm-extra = “dora:07ad83db0fb67c5023bd627a61efb7f474c52622”
meta-nslu2 = “master:392b7799314a49b00f20a1bef004f9b0a0c9c364”
meta-htc
meta-nokia
meta-openmoko
meta-palm = “master:537d0c2ab41284012e1ba79716b085a861a6812a”
meta-handheld = “master:5b5e68a93aae1016f5ac1d057a721b2dbf30b8d8”
meta-intel
meta-sugarbay
meta-crownbay
meta-emenlow
meta-fri2
meta-jasperforest
meta-n450 = “dora:5da644641027c2b0ffa0c40255a19878a054dcf2”
meta-allwinner = “master:e6415635f6144d48691ccd2ec9fc23ad6f87a177”
meta-raspberrypi = “master:0537685dc76d28808f6333dcb191bb1afce0e02f”
meta-minnow = “dora:2b0254c3213406554da43c3d0e0e0ab0d1deb02d”
meta-linaro
meta-linaro-toolchain
meta-aarch64 = “dora:8aaf10d8dda34bc02d4ef62d0501b83603b6f827”
meta = “angstrom-staging-yocto1.5:661bded82a0e8493b0788fdfe76ed3d9a625e8fa”

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-1.4.8.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/apr/apr-util-1.5.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.10.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://pkg-shadow.alioth.debian.org/releases/shadow-4.1.4.3.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.3/libpng-1.6.3.tar.xz, attempting MIRRORS if available
WARNING: QA Issue: linux-mainline: Files/directories were installed but not shipped
/lib/firmware/sb16
/lib/firmware/korg
/lib/firmware/sb16/ima_adpcm_init.csp
/lib/firmware/sb16/ima_adpcm_playback.csp
/lib/firmware/sb16/mulaw_main.csp
/lib/firmware/sb16/ima_adpcm_capture.csp
/lib/firmware/sb16/alaw_main.csp
/lib/firmware/korg/k1212.dsp
WARNING: Failed to fetch URL http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.24/libbonobo-2.24.3.tar.bz2;name=archive, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-1.4.tar.bz2, attempting MIRRORS if available
WARNING: orc-native: No generic license file exists for: orc in any provider
WARNING: orc: No generic license file exists for: orc in any provider
WARNING: nss: No generic license file exists for: MPL1.1 in any provider
WARNING: nss: No generic license file exists for: GPL in any provider
WARNING: nss: No generic license file exists for: LGPL in any provider
WARNING: The recipe nss is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/bennylima/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/beaglebone/usr/lib/libssl.a
Matched in manifest-beaglebone-openssl
Please verify which package should provide the above files.
WARNING: Failed to fetch URL http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.24/libgnomeui-2.24.3.tar.bz2;name=archive, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.iana.org/tz/releases/tzcode2013d.tar.gz;name=tzcode, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.iana.org/tz/releases/tzdata2013d.tar.gz;name=tzdata, attempting MIRRORS if available
WARNING: Failed to fetch URL http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/2.31/gnome-icon-theme-2.31.0.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.7/libgdata-0.7.1.tar.bz2;name=archive, attempting MIRRORS if available
WARNING: gnome-panel: No generic license file exists for: GFDLv1.1 in any provider
WARNING: Failed to fetch URL http://www.kernel.org/pub/linux/bluetooth/openobex-1.5.tar.gz, attempting MIRRORS if available
WARNING: imagemagick: No generic license file exists for: ImageMagick in any provider
WARNING: asio: No generic license file exists for: Boost in any provider
WARNING: asio: No generic license file exists for: Software in any provider
WARNING: asio: No generic license file exists for: License in any provider
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/n/netbase/netbase_5.1.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.xinetd.org/xinetd-2.3.15.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.30/gnome-terminal-2.30.2.tar.bz2;name=archive, attempting MIRRORS if available
NOTE: Tasks Summary: Attempted 7057 tasks of which 399 didn’t need to be rerun and all succeeded.
NOTE: Writing buildhistory

*** Please tell me who you are.

Run

git config --global user.email “you@example.com
git config --global user.name “Your Name”

to set your account’s default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got ‘bennylima@ubuntu.(none)’)

*** Please tell me who you are.

Run

git config --global user.email “you@example.com
git config --global user.name “Your Name”

to set your account’s default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got ‘bennylima@ubuntu.(none)’)

Summary: There were 37 WARNING messages shown.
bennylima@ubuntu:~/setup-scripts$

20140121045913.log (1.75 MB)

Hello Everyone,

I tried again. However, I did not use the instructions from the angstrom. I used the instructions previously listed:

Hi Daniel,

I think you should do the following:
git checkout angstrom-v2013.12-yocto1.5
MACHINE=beaglebone .oebb.sh config beaglebone
. environment-angstrom-v2013.12
You may have to delete your build folder.

Now run your regular bitbake command.

  • show quoted text -

This seemed to work. The big difference is that in the git/checkout angstrom command, it is specifying a specific yocto stream. The previous instruction for angstrom would set the yocto stream to whatever is current, followed by a request to update. This has failed 3 times out of the 3 I’ve attempted (ubuntu 12.04, 12.10, 13.04 etc).

If I executed the above commands without an update, it worked out. So I think it did… Can anyone confirm if the commands being run directly from the angstrom distribution sight, when run without modification, work correctly, or possibly the distribution is broke? Yocto 1.5 is working though?

angstrom-v2013.12-yocto1.5 is the most up to date branch. You should update the repo and update the meta layers as follows:

In you Angstrom folder do the following:

git pull
This updates the git repo
. environment-angstrom-v2013.12
./oebb.sh update
This updates the meta layers

Now you should run your bitbake command to build a new image.

Regards,
John