From 441977d076e5c0aeace44ba65d301b5c6c61d59f Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sat, 21 Feb 2015 00:41:50 -0500 Subject: QA: fix build and runtime warnings oe-core now warns on detected missing runtime and build time warnings. So we update our recipes to have these missingn deps (largely bash). Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/nodejs/nodejs_0.8.18.bbappend | 1 + meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-cinder_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-glance_git.bb | 2 +- meta-openstack/recipes-devtools/python/python-heat_git.bb | 3 +++ meta-openstack/recipes-devtools/python/python-horizon_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-keystone_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb | 1 + meta-openstack/recipes-devtools/python/python-neutron_git.bb | 2 ++ meta-openstack/recipes-devtools/python/python-nova_git.bb | 1 + meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb | 2 ++ meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb | 1 + meta-openstack/recipes-devtools/python/python-swift_git.bb | 1 + meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.4.bb | 1 + meta-openstack/recipes-support/memcached/memcached_1.4.17.bb | 2 +- meta-openstack/recipes-support/tgt/tgt_git.bb | 2 ++ 16 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 meta-openstack/recipes-devtools/nodejs/nodejs_0.8.18.bbappend (limited to 'meta-openstack') diff --git a/meta-openstack/recipes-devtools/nodejs/nodejs_0.8.18.bbappend b/meta-openstack/recipes-devtools/nodejs/nodejs_0.8.18.bbappend new file mode 100644 index 0000000..d98052a --- /dev/null +++ b/meta-openstack/recipes-devtools/nodejs/nodejs_0.8.18.bbappend @@ -0,0 +1 @@ +RDEPENDS_${PN} += " bash" diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb index 48051dd..5c6fbbb 100644 --- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb +++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb @@ -138,6 +138,8 @@ PACKAGES += "${SRCNAME}-agent-notification" PACKAGES += "${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" PACKAGES += " ${SRCNAME}-reseller" +RDEPENDS_${SRCNAME}-tests += " bash" + ALLOW_EMPTY_${SRCNAME}-setup = "1" ALLOW_EMPTY_${SRCNAME}-reseller = "1" ALLOW_EMPTY_${SRCNAME}-tests = "1" diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb index 4769a82..a51d27a 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb @@ -161,6 +161,8 @@ pkg_postinst_${SRCNAME}-setup () { PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" ALLOW_EMPTY_${SRCNAME}-setup = "1" +RDEPENDS_${SRCNAME}-tests += " bash" + FILES_${PN} = "${libdir}/* /etc/tgt" FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh \ diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb index f7ae43c..b1d97c4 100644 --- a/meta-openstack/recipes-devtools/python/python-glance_git.bb +++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb @@ -205,7 +205,7 @@ RDEPENDS_${SRCNAME} = "${PN} \ RDEPENDS_${SRCNAME}-api = "${SRCNAME}" RDEPENDS_${SRCNAME}-registry = "${SRCNAME}" RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" -RDEPENDS_${SRCNAME}-tests = "python-psutil qpid-python" +RDEPENDS_${SRCNAME}-tests = "python-psutil qpid-python bash" INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-registry" INITSCRIPT_NAME_${SRCNAME}-api = "glance-api" diff --git a/meta-openstack/recipes-devtools/python/python-heat_git.bb b/meta-openstack/recipes-devtools/python/python-heat_git.bb index dc989b5..8718147 100644 --- a/meta-openstack/recipes-devtools/python/python-heat_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heat_git.bb @@ -133,6 +133,9 @@ PACKAGES += "${SRCNAME}-tests ${SRCNAME}-templates ${SRCNAME}-common ${SRCNAME}- PACKAGES += "${SRCNAME}-setup" PACKAGES += "${SRCNAME}-cfn" +RDEPENDS_${SRCNAME}-tests += " bash" + + ALLOW_EMPTY_${SRCNAME}-setup = "1" ALLOW_EMPTY_${SRCNAME}-templates = "1" ALLOW_EMPTY_${SRCNAME}-cfn = "1" diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb index d7545c8..bf7f959 100644 --- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb +++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb @@ -133,6 +133,8 @@ do_install_append() { PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache ${SRCNAME}-standalone" +RDEPENDS_${SRCNAME}-tests += " bash" + FILES_${PN} = "${libdir}/*" FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index 5db4cc0..35fdaef 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb @@ -283,6 +283,8 @@ RDEPENDS_${PN} += " \ python-oauthlib \ " +RDEPENDS_${SRCNAME}-tests += " bash" + PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" PACKAGECONFIG[OpenLDAP] = ",,,python-ldap python-keystone-hybrid-backend" diff --git a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb index c001dcf..df1ed22 100644 --- a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb @@ -52,6 +52,7 @@ FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \ " RDEPENDS_${SRCNAME}-tests += " \ python-httpretty \ + bash \ " MONITOR_CHECKS_${PN} += "\ diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index c29ccee..4166189 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb @@ -204,6 +204,8 @@ PACKAGES += " \ FILES_${PN} = "${libdir}/*" FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" +RDEPENDS_${SRCNAME}-tests += " bash" + FILES_${SRCNAME} = " \ ${bindir}/neutron-db-manage \ diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 6afe3bd..aa677ae 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb @@ -342,6 +342,7 @@ RDEPENDS_${SRCNAME}-ec2 = "postgresql sudo ${SRCNAME}-common" RDEPENDS_${SRCNAME}-tests = " \ python-coverage \ + bash \ " INITSCRIPT_PACKAGES = "${SRCNAME}-compute ${SRCNAME}-consoleauth ${SRCNAME}-novncproxy ${SRCNAME}-spicehtml5proxy" diff --git a/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb b/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb index 9c646e4..4af6459 100644 --- a/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb +++ b/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb @@ -24,6 +24,8 @@ export HOST_SYS inherit autotools autotools-brokensep distutils +DEPENDS += " gmp" + # We explicitly call distutils_do_install, since we want it to run, but # *don't* want the autotools install to run, since this package doesn't # provide a "make install" target. diff --git a/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb b/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb index c3d4dce..b60322f 100644 --- a/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb +++ b/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb @@ -20,6 +20,7 @@ inherit setuptools DEPENDS += " \ python-pip \ + libpcre \ " # RDEPENDS_default: diff --git a/meta-openstack/recipes-devtools/python/python-swift_git.bb b/meta-openstack/recipes-devtools/python/python-swift_git.bb index de21ab6..03e5e40 100644 --- a/meta-openstack/recipes-devtools/python/python-swift_git.bb +++ b/meta-openstack/recipes-devtools/python/python-swift_git.bb @@ -172,6 +172,7 @@ RDEPENDS_${PN} += " \ python-xattr \ python-pbr \ python-dnspython \ + bash \ " RDEPENDS_${SRCNAME} = "${PN}" diff --git a/meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.4.bb b/meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.4.bb index 5f6c7c8..6237900 100644 --- a/meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.4.bb +++ b/meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.4.bb @@ -49,4 +49,5 @@ INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME_${BPN} = "cloud-init" RDEPENDS_${PN} = "sysklogd \ + python \ " diff --git a/meta-openstack/recipes-support/memcached/memcached_1.4.17.bb b/meta-openstack/recipes-support/memcached/memcached_1.4.17.bb index 5d37df0..6097693 100644 --- a/meta-openstack/recipes-support/memcached/memcached_1.4.17.bb +++ b/meta-openstack/recipes-support/memcached/memcached_1.4.17.bb @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" inherit autotools DEPENDS += "libevent" -RDEPENDS_${PN} += "perl perl-module-posix perl-module-autoloader perl-module-tie-hash" +RDEPENDS_${PN} += "bash perl perl-module-posix perl-module-autoloader perl-module-tie-hash" SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz \ file://configure.patch" diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb index 8be9fe4..2871c04 100644 --- a/meta-openstack/recipes-support/tgt/tgt_git.bb +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb @@ -31,6 +31,8 @@ do_install() { } RDEPENDS_${PN} = " \ + bash \ + libaio \ libconfig-general-perl \ perl-module-english \ perl-module-tie-hash-namedcapture \ -- cgit v1.2.3-54-g00ecf