Skip to contentSkip to conversation

cppzmq: 4.2.3 update

PATCH Superseded Justin Bronder 3 participants 10 messages Feb 26, 2018 – Mar 2, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 cppzmq: 4.2.3 update

---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +2 -2
index a64745c94..9e8ad5151 100644
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"
+SRCREV = "v${PV}"
 
 SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
Signature · 1 line
2.13.6
#1 lore raw

PATCH 2/2 zeromq: 4.2.3 update

---
 .../zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb}                     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb} (78%)
meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb renamed from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb +3 -3
similarity index 78%
rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
index e126f3239..71d7e7cbf 100644
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
 PACKAGECONFIG ??= "libsodium"
 PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
 
-SRC_URI = "http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz \
+SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
     file://run-ptest \
 "
-SRC_URI[md5sum] = "c89db4dbc0b90c34c9f4983cbff6d321"
-SRC_URI[sha256sum] = "02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
+SRC_URI[md5sum] = "c4e18bd0584ccd34213f152c11f54d6c"
+SRC_URI[sha256sum] = "8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0"
 
 S = "${WORKDIR}/zeromq-${PV}"
 
Signature · 1 line
2.13.6
#2 lore raw

Re: [meta-oe][PATCH 2/2] zeromq: 4.2.3 update

Quoted 1 line · Justin Bronder

can you provide high-lights of what is in the update?

- armin

Quoted 27 lines
---
 .../zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb}                     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb} (78%)
meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb renamed from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb +3 -3
similarity index 78%
rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
index e126f3239..71d7e7cbf 100644
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
 PACKAGECONFIG ??= "libsodium"
 PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
 
-SRC_URI = "http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz \
+SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
     file://run-ptest \
 "
-SRC_URI[md5sum] = "c89db4dbc0b90c34c9f4983cbff6d321"
-SRC_URI[sha256sum] = "02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
+SRC_URI[md5sum] = "c4e18bd0584ccd34213f152c11f54d6c"
+SRC_URI[sha256sum] = "8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0"
 
 S = "${WORKDIR}/zeromq-${PV}"
 
#3 lore raw

Re: zeromq: 4.2.3 update

Quoted 5 lines · On 27/02/18 21:52 -0800, akuster808 wrote:
Quoted 1 line · Justin Bronder

can you provide high-lights of what is in the update?

Just getting to 4.2 brings in quite a bit [1] with 4.2.3 providing a lot of bug fixes. The claim from upstream, validated by my own limited use, is that 4.2 is backwards compatible all the way to 2.2.0 [2].

1. https://github.com/zeromq/libzmq/releases/tag/v4.2.0
2. http://zeromq.org/intro:get-the-software

Quoted 30 lines

- armin

Quoted 27 lines
---
 .../zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb}                     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-connectivity/zeromq/{zeromq_4.1.6.bb => zeromq_4.2.3.bb} (78%)
meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb renamed from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb +3 -3
similarity index 78%
rename from meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
rename to meta-oe/recipes-connectivity/zeromq/zeromq_4.2.3.bb
index e126f3239..71d7e7cbf 100644
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
 PACKAGECONFIG ??= "libsodium"
 PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
 
-SRC_URI = "http://github.com/zeromq/zeromq4-1/releases/download/v${PV}/zeromq-${PV}.tar.gz \
+SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
     file://run-ptest \
 "
-SRC_URI[md5sum] = "c89db4dbc0b90c34c9f4983cbff6d321"
-SRC_URI[sha256sum] = "02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
+SRC_URI[md5sum] = "c4e18bd0584ccd34213f152c11f54d6c"
+SRC_URI[sha256sum] = "8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0"
 
 S = "${WORKDIR}/zeromq-${PV}"
 
Signature · 1 line
Justin Bronder
#4 lore raw
In reply to Justin Bronder
Quoted 10 lines · Justin Bronder
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +0 -0
index a64745c94..9e8ad5151 100644

meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb LICENSE = "MIT" · line 7

Quoted 6 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +1 -2
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"

If the recipe is renamed to cppzmq_4.2.3.bb, will that work too?

- armin

Quoted 4 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +1 -0
+SRCREV = "v${PV}"
 
 SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
#5 lore raw
Quoted 16 lines · On 27/02/18 21:51 -0800, akuster808 wrote:
Quoted 13 lines · Justin Bronder
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +0 -0
index a64745c94..9e8ad5151 100644
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
Quoted 4 lines

meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb LICENSE = "MIT" · line 7

Quoted 3 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +1 -2
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"

If the recipe is renamed to cppzmq_4.2.3.bb, will that work too?

Keep the patch and also rename? Yeah, I'd find that more clear but I wasn't sure if using the git checkout (and hence _git suffix) was a feature so I didn't want to change it.

Quoted 7 lines

- armin

Quoted 4 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +1 -0
+SRCREV = "v${PV}"
 
 SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
Signature · 1 line
Justin Bronder
#6 lore raw
In reply to Justin Bronder

Hi Justin,

Quoted 10 lines · On Mon, 26 Feb 2018 15:16:04 -0500 Justin Bronder <[email protected]>…
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +0 -0
index a64745c94..9e8ad5151 100644

meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb LICENSE = "MIT" · line 8

Quoted 7 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +2 -2
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"
+SRCREV = "v${PV}"

we usually don't use tags in SRCREV, because tags may change over time, and therefore bitbake has to query the server each time it parses the recipe, IIRC.

Regards,
Andreas

#7 lore raw
Quoted 18 lines · Andreas Oberritter

Hi Justin,

Quoted 13 lines · On Mon, 26 Feb 2018 15:16:04 -0500 Justin Bronder <[email protected]>…
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +0 -0
index a64745c94..9e8ad5151 100644
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
Quoted 7 lines

meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb LICENSE = "MIT" · line 8

Quoted 4 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +2 -2
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"
+SRCREV = "v${PV}"

we usually don't use tags in SRCREV, because tags may change over time, and therefore bitbake has to query the server each time it parses the recipe, IIRC.

Ok. Should I submit a v2 with the file rename that akuster808 suggested and pulling a tarball instead?

Signature · 1 line
Justin Bronder
#8 lore raw
Quoted 27 lines · On Thu, 1 Mar 2018 10:47:02 -0500 Justin Bronder <[email protected]>…
Quoted 18 lines · Andreas Oberritter

Hi Justin,

Quoted 13 lines · On Mon, 26 Feb 2018 15:16:04 -0500 Justin Bronder <[email protected]>…
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +0 -0
index a64745c94..9e8ad5151 100644
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
Quoted 7 lines

meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb LICENSE = "MIT" · line 8

Quoted 4 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +2 -2
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"
+SRCREV = "v${PV}"  

we usually don't use tags in SRCREV, because tags may change over time, and therefore bitbake has to query the server each time it parses the recipe, IIRC.

Quoted 2 lines

Ok. Should I submit a v2 with the file rename that akuster808 suggested and pulling a tarball instead?

I'd say keep the filename and just update PV to 4.2.3+git${SRCPV} in v2. This reduces the number of changed lines in case SRCREV gets advanced to a commit between 4.2.3 and a future release.

Regards,
Andreas

#9 lore raw
Quoted 30 lines · Andreas Oberritter
Quoted 27 lines · On Thu, 1 Mar 2018 10:47:02 -0500 Justin Bronder <[email protected]>…
Quoted 25 lines · Andreas Oberritter

Hi Justin,

Quoted 10 lines · On Mon, 26 Feb 2018 15:16:04 -0500 Justin Bronder <[email protected]>…
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +0 -0
index a64745c94..9e8ad5151 100644

meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb LICENSE = "MIT" · line 8

Quoted 7 lines
meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb +2 -2
@@ -4,8 +4,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
 DEPENDS = "zeromq"
 
-SRCREV = "68a7b09cfce01c4c279fba2cf91686fcfc566848"
-PV = "4.1.5+git${SRCPV}"
+PV = "4.2.3"
+SRCREV = "v${PV}"  

we usually don't use tags in SRCREV, because tags may change over time, and therefore bitbake has to query the server each time it parses the recipe, IIRC.

Quoted 6 lines
Quoted 2 lines

Ok. Should I submit a v2 with the file rename that akuster808 suggested and pulling a tarball instead?

I'd say keep the filename and just update PV to 4.2.3+git${SRCPV} in v2. This reduces the number of changed lines in case SRCREV gets advanced to a commit between 4.2.3 and a future release.

Thanks, v2 sent.

Signature · 1 line
Justin Bronder