* [m-c-s][PATCH 1/3] tgt: pass required CFLAGS
@ 2016-03-18 20:50 Mark Asselstine
2016-03-18 20:50 ` [m-c-s][PATCH 2/3] openstackchef: add missing parameter to getVar Mark Asselstine
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Mark Asselstine @ 2016-03-18 20:50 UTC (permalink / raw)
To: meta-virtualization, bruce.ashfield
The tgt Makefile has several CFLAGS (defines) that need to be
set. Since we overwrite the CFLAGS by exporting CFLAGS and passing
'-e' to make, we need to include these in our defined CFLAGS.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
meta-openstack/recipes-support/tgt/tgt_git.bb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb
index a5df710..ac240f0 100644
--- a/meta-openstack/recipes-support/tgt/tgt_git.bb
+++ b/meta-openstack/recipes-support/tgt/tgt_git.bb
@@ -4,9 +4,8 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://scripts/tgtd.spec;beginline=7;endline=7;md5=21c19ea7dad04648b9c2f791b6e29b4c"
DEPENDS = "sg3-utils"
-SRCREV = "ab51727a361bf296b1c2036375b5e45479059921"
-PV = "1.0.60+git${SRCPV}"
-PR = "r0"
+SRCREV = "eca74a72d2595f126a020111943928c3ea9e6fe8"
+PV = "1.0.63+git${SRCPV}"
SRC_URI = "git://github.com/fujita/tgt.git \
file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \
@@ -20,6 +19,8 @@ CONFFILES_${PN} += "${sysconfdir}/tgt/targets.conf"
inherit update-rc.d
+CFLAGS += ' -I. -DUSE_SIGNALFD -DUSE_TIMERFD -D_GNU_SOURCE -DTGT_VERSION=\\"1.0.63\\" -DBSDIR=\\"${libdir}/backing-store\\"'
+
do_compile() {
oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts
}
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread* [m-c-s][PATCH 2/3] openstackchef: add missing parameter to getVar 2016-03-18 20:50 [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Mark Asselstine @ 2016-03-18 20:50 ` Mark Asselstine 2016-03-18 20:50 ` [m-c-s][PATCH 3/3] python: satisfy setup.py 'setup_requires' Mark Asselstine ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: Mark Asselstine @ 2016-03-18 20:50 UTC (permalink / raw) To: meta-virtualization, bruce.ashfield Builds are failing with: File: 'openstackchef_inc.bbclass', lineno: 624, function: deploychef_add_file_to_FILES_PN 0620: pkg_files = "FILES_%s" % pkg 0621: ldata.setVar("OVERRIDES", "%s:%s" % (pkg_files, overrides)) 0622: bb.data.update_data(ldata) 0623: *** 0624: dest_base = d.getVar('CHEF_TEMPLATE_BASE') 0625: pkg_imagedir = d.getVar('CHEF_ROOTFS_BASE', True) 0626: #Add the packages image base directory if it does not already exist 0627: if re.search(pkg_imagedir, files) == None: 0628: #All the directory and all files in it Exception: TypeError: getVar() takes at least 3 arguments (2 given) Add the required parameter to fix the build. Chef is planned to be removed from this layer in the near future, so this change is not tested. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> --- meta-openstack/classes/openstackchef_inc.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-openstack/classes/openstackchef_inc.bbclass b/meta-openstack/classes/openstackchef_inc.bbclass index 9574008..b8757be 100644 --- a/meta-openstack/classes/openstackchef_inc.bbclass +++ b/meta-openstack/classes/openstackchef_inc.bbclass @@ -621,7 +621,7 @@ def deploychef_add_file_to_FILES_PN(d, conf_file=None): ldata.setVar("OVERRIDES", "%s:%s" % (pkg_files, overrides)) bb.data.update_data(ldata) - dest_base = d.getVar('CHEF_TEMPLATE_BASE') + dest_base = d.getVar('CHEF_TEMPLATE_BASE', True) pkg_imagedir = d.getVar('CHEF_ROOTFS_BASE', True) #Add the packages image base directory if it does not already exist if re.search(pkg_imagedir, files) == None: -- 2.1.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [m-c-s][PATCH 3/3] python: satisfy setup.py 'setup_requires' 2016-03-18 20:50 [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Mark Asselstine 2016-03-18 20:50 ` [m-c-s][PATCH 2/3] openstackchef: add missing parameter to getVar Mark Asselstine @ 2016-03-18 20:50 ` Mark Asselstine 2016-03-18 21:18 ` Mark Asselstine 2016-03-21 14:21 ` [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Bruce Ashfield 2016-03-21 14:24 ` Bruce Ashfield 3 siblings, 1 reply; 6+ messages in thread From: Mark Asselstine @ 2016-03-18 20:50 UTC (permalink / raw) To: meta-virtualization, bruce.ashfield Python setuptools will attempt to satisfy the packages defined as 'setup_requires' in setup.py by first looking for the package availability locally and ultimately by downloading it from PyPI. This is actually a huge security hole and packages should move to using pip instead, but this is another story that the upstream packages have to address. This also disregards BB_NO_NETWORK and may prove to introduce host contamination. The best approach is to ensure we have the -native version of the 'setup_requires' packages present such that setup.py will not attempt to complete the download from PyPI. Make 'pbr' -native available and for packages which we have identified as having 'setup_requires' include 'pbr' add the necessary python-pbr-native DEPENDS. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> --- meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-heat_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-heatclient_git.bb | 5 +++++ .../recipes-devtools/python/python-keystoneclient_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-oslo.config_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-oslo.log_git.bb | 5 +++++ .../recipes-devtools/python/python-oslo.serialization_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb | 4 ++++ .../recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-swiftclient_git.bb | 5 +++++ .../recipes-devtools/python/python-testscenarios_0.5.0.bb | 5 +++++ meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb | 8 ++++++-- meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb | 5 +++++ 21 files changed, 105 insertions(+), 2 deletions(-) diff --git a/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb b/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb index c241ab4..2c9341f 100644 --- a/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb +++ b/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb @@ -19,6 +19,11 @@ DEPENDS += "\ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += "python-prettytable \ python-cmd2 \ python-pbr \ diff --git a/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb b/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb index c2b79e4..ac40e9d 100644 --- a/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb +++ b/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb @@ -25,6 +25,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += "python-testtools \ python-pbr \ " diff --git a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb index f9edf6d..22dc854 100644 --- a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb @@ -24,6 +24,11 @@ inherit setuptools monitor rmargparse FILES_${PN} += "${datadir}/${SRCNAME}" +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} = "gmp \ python-warlock \ python-pyopenssl \ diff --git a/meta-openstack/recipes-devtools/python/python-heat_git.bb b/meta-openstack/recipes-devtools/python/python-heat_git.bb index c2b2da7..e5c9b09 100644 --- a/meta-openstack/recipes-devtools/python/python-heat_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heat_git.bb @@ -167,6 +167,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-heatclient \ python-sqlalchemy \ diff --git a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb index 10428c2..26d86be 100644 --- a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb @@ -9,6 +9,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} +="python-cliff \ python-httplib2 \ python-iso8601 \ diff --git a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb index 495f1e3..0b67e40 100644 --- a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb @@ -25,6 +25,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-iso8601 \ python-prettytable \ diff --git a/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb b/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb index 5ae891b..9ba93df 100644 --- a/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb +++ b/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb @@ -19,6 +19,11 @@ DEPENDS += "\ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += "\ python-pbr \ " diff --git a/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb b/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb index 6d58573..7eb948e 100644 --- a/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb +++ b/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb @@ -20,6 +20,11 @@ DEPENDS += "\ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-pbr \ python-fixtures \ diff --git a/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb index abd3269..9eaec3c 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb @@ -19,6 +19,11 @@ DEPENDS += " \ python-pip \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-pbr \ python-netaddr \ diff --git a/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb index 3543cae..28285ad 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb @@ -19,6 +19,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + # RDEPENDS_default: RDEPENDS_${PN} += " \ bash \ diff --git a/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb index 84aab41..55d6317 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb @@ -21,6 +21,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + # RDEPENDS_default: RDEPENDS_${PN} += " \ python-babel \ diff --git a/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb index d4f7fe0..b290863 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb @@ -19,6 +19,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + # RDEPENDS_default: RDEPENDS_${PN} += " \ bash \ diff --git a/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb index 32b1cc3..1bf11f4 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb @@ -20,6 +20,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + # RDEPENDS_default: RDEPENDS_${PN} += " \ python-pbr \ diff --git a/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb index a833f6c..3bacd7c 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb @@ -20,6 +20,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + # RDEPENDS_default: RDEPENDS_${PN} += " \ python-pbr \ diff --git a/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb b/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb index fdf80b3..2018a1b 100644 --- a/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb +++ b/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb @@ -21,6 +21,10 @@ DEPENDS += " \ python-pip \ " +DEPENDS_class-native += "" + # RDEPENDS_default: RDEPENDS_${PN} += " \ " + +BBCLASSEXTEND = "native" diff --git a/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb b/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb index 32ecdb3..5c3636e 100644 --- a/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb +++ b/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb @@ -20,6 +20,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += "python-sqlalchemy \ python-decorator \ python-tempita \ diff --git a/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb b/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb index bdacb14..0029c2a 100644 --- a/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb +++ b/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb @@ -20,6 +20,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-pbr \ python-argparse \ diff --git a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb index 1c506a8..5f423c4 100644 --- a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb @@ -24,6 +24,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += " \ python-simplejson \ python-pbr \ diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb index 994b6b5..a777b31 100644 --- a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb +++ b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb @@ -20,6 +20,11 @@ DEPENDS += "\ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += "\ python-testtools \ python-pbr \ diff --git a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb index fe03a5f..3138aae 100644 --- a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb +++ b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb @@ -16,10 +16,14 @@ SRC_URI[sha256sum] = "8afd6400fb4e75adb0b29bd09695ecb2024cd7befab4677a58c147701a S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools - DEPENDS += " \ python-pbr \ -" + " + +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " RDEPENDS_${PN} += "\ python-extras \ diff --git a/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb b/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb index 523c3df..db89474 100644 --- a/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb +++ b/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb @@ -20,6 +20,11 @@ DEPENDS += " \ python-pbr \ " +# Satisfy setup.py 'setup_requires' +DEPENDS += " \ + python-pbr-native \ + " + RDEPENDS_${PN} += "\ python-pbr \ " -- 2.1.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [m-c-s][PATCH 3/3] python: satisfy setup.py 'setup_requires' 2016-03-18 20:50 ` [m-c-s][PATCH 3/3] python: satisfy setup.py 'setup_requires' Mark Asselstine @ 2016-03-18 21:18 ` Mark Asselstine 0 siblings, 0 replies; 6+ messages in thread From: Mark Asselstine @ 2016-03-18 21:18 UTC (permalink / raw) To: meta-virtualization@yoctoproject.org, Bruce Ashfield On Fri, Mar 18, 2016 at 4:50 PM, Mark Asselstine <mark.asselstine@windriver.com> wrote: > Python setuptools will attempt to satisfy the packages defined as > 'setup_requires' in setup.py by first looking for the package > availability locally and ultimately by downloading it from PyPI. This > is actually a huge security hole and packages should move to using pip > instead, but this is another story that the upstream packages have to > address. This also disregards BB_NO_NETWORK and may prove to introduce > host contamination. > > The best approach is to ensure we have the -native version of the > 'setup_requires' packages present such that setup.py will not attempt > to complete the download from PyPI. > > Make 'pbr' -native available and for packages which we have identified > as having 'setup_requires' include 'pbr' add the necessary > python-pbr-native DEPENDS. > > Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> > --- Bruce, I have to make python-pbr-native DEPEND on python, so don't push this one, I will get you an update with the needed change. Mark > meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-glanceclient_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-heat_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-heatclient_git.bb | 5 +++++ > .../recipes-devtools/python/python-keystoneclient_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-oslo.config_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-oslo.context_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-oslo.log_git.bb | 5 +++++ > .../recipes-devtools/python/python-oslo.serialization_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb | 4 ++++ > .../recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-swiftclient_git.bb | 5 +++++ > .../recipes-devtools/python/python-testscenarios_0.5.0.bb | 5 +++++ > meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb | 8 ++++++-- > meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb | 5 +++++ > 21 files changed, 105 insertions(+), 2 deletions(-) > > diff --git a/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb b/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb > index c241ab4..2c9341f 100644 > --- a/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb > +++ b/meta-openstack/recipes-devtools/python/python-cliff_1.15.0.bb > @@ -19,6 +19,11 @@ DEPENDS += "\ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += "python-prettytable \ > python-cmd2 \ > python-pbr \ > diff --git a/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb b/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb > index c2b79e4..ac40e9d 100644 > --- a/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb > +++ b/meta-openstack/recipes-devtools/python/python-fixtures_1.3.1.bb > @@ -25,6 +25,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += "python-testtools \ > python-pbr \ > " > diff --git a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb > index f9edf6d..22dc854 100644 > --- a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb > @@ -24,6 +24,11 @@ inherit setuptools monitor rmargparse > > FILES_${PN} += "${datadir}/${SRCNAME}" > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} = "gmp \ > python-warlock \ > python-pyopenssl \ > diff --git a/meta-openstack/recipes-devtools/python/python-heat_git.bb b/meta-openstack/recipes-devtools/python/python-heat_git.bb > index c2b2da7..e5c9b09 100644 > --- a/meta-openstack/recipes-devtools/python/python-heat_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-heat_git.bb > @@ -167,6 +167,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += " \ > python-heatclient \ > python-sqlalchemy \ > diff --git a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb > index 10428c2..26d86be 100644 > --- a/meta-openstack/recipes-devtools/python/python-heatclient_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-heatclient_git.bb > @@ -9,6 +9,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} +="python-cliff \ > python-httplib2 \ > python-iso8601 \ > diff --git a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb > index 495f1e3..0b67e40 100644 > --- a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb > @@ -25,6 +25,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += " \ > python-iso8601 \ > python-prettytable \ > diff --git a/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb b/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb > index 5ae891b..9ba93df 100644 > --- a/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb > +++ b/meta-openstack/recipes-devtools/python/python-lockfile_0.10.2.bb > @@ -19,6 +19,11 @@ DEPENDS += "\ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += "\ > python-pbr \ > " > diff --git a/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb b/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb > index 6d58573..7eb948e 100644 > --- a/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb > +++ b/meta-openstack/recipes-devtools/python/python-mox3_0.9.0.bb > @@ -20,6 +20,11 @@ DEPENDS += "\ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += " \ > python-pbr \ > python-fixtures \ > diff --git a/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb > index abd3269..9eaec3c 100644 > --- a/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-oslo.config_git.bb > @@ -19,6 +19,11 @@ DEPENDS += " \ > python-pip \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += " \ > python-pbr \ > python-netaddr \ > diff --git a/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb > index 3543cae..28285ad 100644 > --- a/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-oslo.context_git.bb > @@ -19,6 +19,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > # RDEPENDS_default: > RDEPENDS_${PN} += " \ > bash \ > diff --git a/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb > index 84aab41..55d6317 100644 > --- a/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb > @@ -21,6 +21,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > # RDEPENDS_default: > RDEPENDS_${PN} += " \ > python-babel \ > diff --git a/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb > index d4f7fe0..b290863 100644 > --- a/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-oslo.log_git.bb > @@ -19,6 +19,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > # RDEPENDS_default: > RDEPENDS_${PN} += " \ > bash \ > diff --git a/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb > index 32b1cc3..1bf11f4 100644 > --- a/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-oslo.serialization_git.bb > @@ -20,6 +20,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > # RDEPENDS_default: > RDEPENDS_${PN} += " \ > python-pbr \ > diff --git a/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb > index a833f6c..3bacd7c 100644 > --- a/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb > @@ -20,6 +20,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > # RDEPENDS_default: > RDEPENDS_${PN} += " \ > python-pbr \ > diff --git a/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb b/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb > index fdf80b3..2018a1b 100644 > --- a/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb > +++ b/meta-openstack/recipes-devtools/python/python-pbr_1.8.1.bb > @@ -21,6 +21,10 @@ DEPENDS += " \ > python-pip \ > " > > +DEPENDS_class-native += "" > + > # RDEPENDS_default: > RDEPENDS_${PN} += " \ > " > + > +BBCLASSEXTEND = "native" > diff --git a/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb b/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb > index 32ecdb3..5c3636e 100644 > --- a/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb > +++ b/meta-openstack/recipes-devtools/python/python-sqlalchemy-migrate_0.9.7.bb > @@ -20,6 +20,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += "python-sqlalchemy \ > python-decorator \ > python-tempita \ > diff --git a/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb b/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb > index bdacb14..0029c2a 100644 > --- a/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb > +++ b/meta-openstack/recipes-devtools/python/python-stevedore_1.9.0.bb > @@ -20,6 +20,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += " \ > python-pbr \ > python-argparse \ > diff --git a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb > index 1c506a8..5f423c4 100644 > --- a/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb > +++ b/meta-openstack/recipes-devtools/python/python-swiftclient_git.bb > @@ -24,6 +24,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += " \ > python-simplejson \ > python-pbr \ > diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb > index 994b6b5..a777b31 100644 > --- a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb > +++ b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb > @@ -20,6 +20,11 @@ DEPENDS += "\ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += "\ > python-testtools \ > python-pbr \ > diff --git a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb > index fe03a5f..3138aae 100644 > --- a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb > +++ b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb > @@ -16,10 +16,14 @@ SRC_URI[sha256sum] = "8afd6400fb4e75adb0b29bd09695ecb2024cd7befab4677a58c147701a > S = "${WORKDIR}/${SRCNAME}-${PV}" > > inherit setuptools > - > DEPENDS += " \ > python-pbr \ > -" > + " > + > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > > RDEPENDS_${PN} += "\ > python-extras \ > diff --git a/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb b/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb > index 523c3df..db89474 100644 > --- a/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb > +++ b/meta-openstack/recipes-devtools/python/python-wsme_0.7.0.bb > @@ -20,6 +20,11 @@ DEPENDS += " \ > python-pbr \ > " > > +# Satisfy setup.py 'setup_requires' > +DEPENDS += " \ > + python-pbr-native \ > + " > + > RDEPENDS_${PN} += "\ > python-pbr \ > " > -- > 2.1.4 > > -- > _______________________________________________ > meta-virtualization mailing list > meta-virtualization@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-virtualization ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [m-c-s][PATCH 1/3] tgt: pass required CFLAGS 2016-03-18 20:50 [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Mark Asselstine 2016-03-18 20:50 ` [m-c-s][PATCH 2/3] openstackchef: add missing parameter to getVar Mark Asselstine 2016-03-18 20:50 ` [m-c-s][PATCH 3/3] python: satisfy setup.py 'setup_requires' Mark Asselstine @ 2016-03-21 14:21 ` Bruce Ashfield 2016-03-21 14:24 ` Bruce Ashfield 3 siblings, 0 replies; 6+ messages in thread From: Bruce Ashfield @ 2016-03-21 14:21 UTC (permalink / raw) To: Mark Asselstine, meta-virtualization On 2016-03-18 4:50 PM, Mark Asselstine wrote: > The tgt Makefile has several CFLAGS (defines) that need to be > set. Since we overwrite the CFLAGS by exporting CFLAGS and passing > '-e' to make, we need to include these in our defined CFLAGS. Patches 1 and 3 of the series have been merged to master. Bruce > > Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> > --- > meta-openstack/recipes-support/tgt/tgt_git.bb | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb > index a5df710..ac240f0 100644 > --- a/meta-openstack/recipes-support/tgt/tgt_git.bb > +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb > @@ -4,9 +4,8 @@ LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://scripts/tgtd.spec;beginline=7;endline=7;md5=21c19ea7dad04648b9c2f791b6e29b4c" > DEPENDS = "sg3-utils" > > -SRCREV = "ab51727a361bf296b1c2036375b5e45479059921" > -PV = "1.0.60+git${SRCPV}" > -PR = "r0" > +SRCREV = "eca74a72d2595f126a020111943928c3ea9e6fe8" > +PV = "1.0.63+git${SRCPV}" > > SRC_URI = "git://github.com/fujita/tgt.git \ > file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \ > @@ -20,6 +19,8 @@ CONFFILES_${PN} += "${sysconfdir}/tgt/targets.conf" > > inherit update-rc.d > > +CFLAGS += ' -I. -DUSE_SIGNALFD -DUSE_TIMERFD -D_GNU_SOURCE -DTGT_VERSION=\\"1.0.63\\" -DBSDIR=\\"${libdir}/backing-store\\"' > + > do_compile() { > oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts > } > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [m-c-s][PATCH 1/3] tgt: pass required CFLAGS 2016-03-18 20:50 [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Mark Asselstine ` (2 preceding siblings ...) 2016-03-21 14:21 ` [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Bruce Ashfield @ 2016-03-21 14:24 ` Bruce Ashfield 3 siblings, 0 replies; 6+ messages in thread From: Bruce Ashfield @ 2016-03-21 14:24 UTC (permalink / raw) To: Mark Asselstine, meta-virtualization On 2016-03-18 4:50 PM, Mark Asselstine wrote: > The tgt Makefile has several CFLAGS (defines) that need to be > set. Since we overwrite the CFLAGS by exporting CFLAGS and passing > '-e' to make, we need to include these in our defined CFLAGS. Correction: patches 1 & 2 were merged! Bruce > > Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> > --- > meta-openstack/recipes-support/tgt/tgt_git.bb | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb > index a5df710..ac240f0 100644 > --- a/meta-openstack/recipes-support/tgt/tgt_git.bb > +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb > @@ -4,9 +4,8 @@ LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://scripts/tgtd.spec;beginline=7;endline=7;md5=21c19ea7dad04648b9c2f791b6e29b4c" > DEPENDS = "sg3-utils" > > -SRCREV = "ab51727a361bf296b1c2036375b5e45479059921" > -PV = "1.0.60+git${SRCPV}" > -PR = "r0" > +SRCREV = "eca74a72d2595f126a020111943928c3ea9e6fe8" > +PV = "1.0.63+git${SRCPV}" > > SRC_URI = "git://github.com/fujita/tgt.git \ > file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \ > @@ -20,6 +19,8 @@ CONFFILES_${PN} += "${sysconfdir}/tgt/targets.conf" > > inherit update-rc.d > > +CFLAGS += ' -I. -DUSE_SIGNALFD -DUSE_TIMERFD -D_GNU_SOURCE -DTGT_VERSION=\\"1.0.63\\" -DBSDIR=\\"${libdir}/backing-store\\"' > + > do_compile() { > oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts > } > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-03-21 14:24 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-03-18 20:50 [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Mark Asselstine 2016-03-18 20:50 ` [m-c-s][PATCH 2/3] openstackchef: add missing parameter to getVar Mark Asselstine 2016-03-18 20:50 ` [m-c-s][PATCH 3/3] python: satisfy setup.py 'setup_requires' Mark Asselstine 2016-03-18 21:18 ` Mark Asselstine 2016-03-21 14:21 ` [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Bruce Ashfield 2016-03-21 14:24 ` Bruce Ashfield
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.