BUILD_CAUSE=UPSTREAMTRIGGER BUILD_CAUSE_UPSTREAMTRIGGER=true BUILD_DISPLAY_NAME=#1572 BUILD_ID=1572 BUILD_NUMBER=1572 BUILD_TAG=jenkins-tcwg-abe-test-label=tcwg-x86_64-build,test=testsuite-1572 BUILD_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1572/ EXECUTOR_NUMBER=0 GERRIT_BRANCH=master GERRIT_CHANGE_COMMIT_MESSAGE=manifest(): Skip packages when using default system version The loop which iterates over gcc, binutils and ${clibrary} expects the sources of all these packages to be available so that we can copy information into the manifest. However, this is not true when building a single package (eg with --build gcc), leading to spurious error messages in the logs, such as: fatal: cannot change to 'default': No such file or directory fatal: cannot change to 'log': No such file or directory which happen because 'binutils' is defined to 'default' and 'clibrary' to 'auto' in global.sh, leading to incorrect definition of srcdir. This patch explicitly skips 'default' and '' values for srcdir. Change-Id: I7caaf52f0b727e10fc15a322389062999b9b755f GERRIT_CHANGE_ID=I7caaf52f0b727e10fc15a322389062999b9b755f GERRIT_CHANGE_NUMBER=46664 GERRIT_CHANGE_OWNER=\"Christophe Lyon\" GERRIT_CHANGE_OWNER_EMAIL=christophe.lyon@linaro.org GERRIT_CHANGE_OWNER_NAME=Christophe Lyon GERRIT_CHANGE_PRIVATE_STATE=false GERRIT_CHANGE_SUBJECT=manifest(): Skip packages when using default system version GERRIT_CHANGE_URL=https://review.linaro.org/c/toolchain/abe/+/46664 GERRIT_CHANGE_WIP_STATE=false GERRIT_EVENT_ACCOUNT=\"Christophe Lyon\" GERRIT_EVENT_ACCOUNT_EMAIL=christophe.lyon@linaro.org GERRIT_EVENT_ACCOUNT_NAME=Christophe Lyon GERRIT_EVENT_HASH=-734844321 GERRIT_EVENT_TYPE=patchset-created GERRIT_HOST=review.linaro.org GERRIT_NAME=review.linaro.org GERRIT_PATCHSET_NUMBER=3 GERRIT_PATCHSET_REVISION=bc8ed3d22ed2b7ea2804bab8e6399a2f03d25b14 GERRIT_PATCHSET_UPLOADER=\"Christophe Lyon\" GERRIT_PATCHSET_UPLOADER_EMAIL=christophe.lyon@linaro.org GERRIT_PATCHSET_UPLOADER_NAME=Christophe Lyon GERRIT_PORT=29418 GERRIT_PROJECT=toolchain/abe GERRIT_REFSPEC=refs/changes/64/46664/3 GERRIT_SCHEME=ssh GERRIT_TOPIC= GERRIT_VERSION=3.8.1 HOME=/home/tcwg-buildslave HOSTNAME=build-03 HUDSON_HOME=/var/jenkins_home HUDSON_SERVER_COOKIE=bd3c6a001cafdac9 HUDSON_URL=https://ci.linaro.org/ JENKINS_HOME=/var/jenkins_home JENKINS_SERVER_COOKIE=bd3c6a001cafdac9 JENKINS_URL=https://ci.linaro.org/ JOB_BASE_NAME=label=tcwg-x86_64-build,test=testsuite JOB_NAME=tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite JOB_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/ LANG=en_US.UTF-8 LOGNAME=tcwg-buildslave MAIL=/var/mail/tcwg-buildslave NODE_LABELS=tcwg-build tcwg-x86_64-cam tcwg-x86_64-build-03 tcwg-parallel-jobs tcwg-x86_64 tcwg tcwg-x86_32-build tcwg-x86_64-2-cam tcwg-x86_64-build NODE_NAME=tcwg-x86_64-build-03 PATH=/home/tcwg-buildslave/bin:/home/tcwg-buildslave/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin PWD=/home/tcwg-buildslave ROOT_BUILD_CAUSE=SCMTRIGGER ROOT_BUILD_CAUSE_SCMTRIGGER=true RUN_ARTIFACTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1572/display/redirect?page=artifacts RUN_CHANGES_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1572/display/redirect?page=changes RUN_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1572/display/redirect RUN_TESTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=testsuite/1572/display/redirect?page=tests SHELL=/bin/bash SHLVL=0 SUDO_COMMAND=/bin/bash -c java -jar /home/tcwg-buildslave/jenkins-workdir-tcwg-x86_64-build-03/agent.jar -jnlpUrl https://ci.linaro.org/computer/tcwg-x86_64-build-03/slave-agent.jnlp -noReconnect -secret @jenkins/tcwg-x86_64-build-03.secret -workDir /home/tcwg-buildslave/jenkins-workdir-tcwg-x86_64-build-03 SUDO_GID=0 SUDO_UID=0 SUDO_USER=root TERM=xterm USER=tcwg-buildslave _=/usr/bin/java dryrun=false label=tcwg-x86_64-build scripts_branch=master test=testsuite test_list=cross_build native_build testsuite abe-tests abe-tests-checkout