I am trying to build valgrind using bitbake. Sometime recently I was trying to build gmp also using bitbake and these two activties are interleaved.
Now when I switch between these two activities (i.e building valgrind and building gmp), bitbake is mixing things up as follows. Could anyone help me on how to get rid of this behavior. As it can be seen, when I use "bitbake valgrind" it is trying to pull gmp code and is failing. What should I doing to do a clean build? I thought bitbake take the package name and confines its tasks only to that package and should never look at the .bb file of another package, right?
--------------------------------------------------------------------------------------------------------------------------------------------------
anilss@anilss:~/Linaro/tools/OEBldEnv/jenkins-setup/openembedded-core$ . oe-init-build-env ../build
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support
You can also run generated qemu images with a command like 'runqemu qemux86'
anilss@anilss:~/Linaro/tools/OEBldEnv/jenkins-setup/build$ bitbake valgrind
Loading cache: 100% |#############################################################################################| ETA: 00:00:00
Loaded 2090 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################| Time: 00:00:04
Parsing of 1647 .bb files complete (1644 cached, 3 parsed). 2089 targets, 80 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/anilss/Linaro/tools/OEBldEnv/jenkins-setup/meta-linaro/meta-linaro-toolchain/recipes-core/eglibc/eglibc_2.18.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.18 of eglibc not available (for item virtual/libc)
NOTE: versions of eglibc available: 2.19
NOTE: preferred version 2.18 of eglibc not available (for item eglibc-dbg)
NOTE: versions of eglibc available: 2.19
NOTE: preferred version 2.18 of eglibc not available (for item libsegfault)
NOTE: versions of eglibc available: 2.19
NOTE: preferred version 2.18 of eglibc not available (for item eglibc-dev)
NOTE: versions of eglibc available: 2.19
NOTE: preferred version 2.18 of eglibc not available (for item eglibc)
NOTE: versions of eglibc available: 2.19
NOTE: preferred version 2.18 of eglibc not available (for item virtual/aarch64-oe-linux-libc-for-gcc)
NOTE: versions of eglibc available: 2.19
NOTE: preferred version 2.18 of eglibc-initial not available (for item virtual/aarch64-oe-linux-libc-initial)
NOTE: versions of eglibc-initial available: 2.19
NOTE: preferred version 2.18 of eglibc not available (for item virtual/libiconv)
NOTE: versions of eglibc available: 2.19
Build Configuration:
BB_VERSION = "1.21.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-13.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "genericarmv8"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "aarch64"
meta-oe
meta-filesystems
meta-initramfs
meta-webserver
meta-networking
meta-gnome = "(nobranch):c95e155780a0cf3a8fb59a2f86db6367d18116fc"
meta-aarch64
meta-bigendian
meta-linaro
meta-linaro-toolchain = "(nobranch):762394cc968b8229f594f22b3eb4fc69828a64dc"
meta-virtualization = "(nobranch):20accf6d7cf8330f26be3718c96edf6dae14b4f0"
meta-browser = "(nobranch):dc2b7ef7dffb19d4cdf72b3c8f441c0963d40643"
meta = "(nobranch):c325b1470c2e009c6b228aa0720bff05452716e4"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL hg://gmplib.org/repo/gmp-5.1/;rev=15452;module=gmp-5.1, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 255, output:
warning: gmplib.org certificate with fingerprint 64:e1:c3:b7:86:18:4d:1e:bd:ca:43:a5:cd:f0:a0:82:85:1b:71:75 not verified (check hostfingerprints or web.cacerts config setting)
abort: HTTP Error 404: Not Found
ERROR: Function failed: Fetcher failure for URL: 'hg://gmplib.org/repo/gmp-5.1/;rev=15452;module=gmp-5.1'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/anilss/Linaro/tools/OEBldEnv/jenkins-setup/build/tmp-eglibc/work/x86_64-linux/gmp-native/5.1.1-hg/temp/log.do_fetch.32486
ERROR: Task 330 (virtual:native:/home/anilss/Linaro/tools/OEBldEnv/jenkins-setup/openembedded-core/meta/recipes-support/gmp/gmp_5.1.1_hg.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 514 tasks of which 510 didn't need to be rerun and 1 failed.
No currently running tasks (514 of 741)
Summary: 1 task failed:
virtual:native:/home/anilss/Linaro/tools/OEBldEnv/jenkins-setup/openembedded-core/meta/recipes-support/gmp/gmp_5.1.1_hg.bb, do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
anilss@anilss:~/Linaro/tools/OEBldEnv/jenkins-setup/build$