Skip to contentSkip to conversation

db: Upgrade to 6.0.35

PATCH Superseded Aníbal Limón 3 participants 5 messages Sep 28, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 db: Upgrade to 6.0.35

The SRC_URI was changed to point gentoo distfiles because now Oracle request authorization for download the source code [1], there are no changes in the LICENSE since version 6.0.20 when the LICENSE changes to AGPL-3 [2], also the md5sum was review to be sure that is the same.

This minor upgrade fix an issue related to multiple rpm instances querying the database [3].

The bugfixes related are,

- Fixed a bug that may lead to a crash when opening multiple environments in a multi-threaded program.
- Fixed a bug where closing a panic environment raised access violation and crashed the program.

For see the complete list of changes mostly bugfixes between 6.0.30 and 6.0.35 [4].

[1] http://download.oracle.com/otn/berkeley-db/db-6.0.35.tar.gz
[2] http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html#idp509784
[3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10157#c0
[4] http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html#idp503384

[YOCTO #10157]

---
 meta/recipes-support/db/{db_6.0.30.bb => db_6.0.35.bb} | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-support/db/{db_6.0.30.bb => db_6.0.35.bb} (95%)
meta/recipes-support/db/db_6.0.35.bb renamed from meta/recipes-support/db/db_6.0.30.bb +3 -4
similarity index 95%
rename from meta/recipes-support/db/db_6.0.30.bb
rename to meta/recipes-support/db/db_6.0.35.bb
index 072cbdf..32afbe8 100644
@@ -18,16 +18,15 @@ RCONFLICTS_${PN} = "db3"
 PR = "r1"
 
 # Note, when upgraded to 6.1.x, a patch in RPM will need to be removed to activate db 6.1 support.
-
-SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz \
+SRC_URI = "http://distfiles.gentoo.org/distfiles/db-${PV}.tar.gz \
            file://arm-thumb-mutex_db5.patch \
            file://fix-parallel-build.patch \
            file://Makefile-let-libso_target-depend-on-bt_rec.patch \
            file://Makefile-let-libdb-6.0.la-depend-os_map.l.patch \
            "
 
-SRC_URI[md5sum] = "ad28eb86ad3203b5422844db179c585b"
-SRC_URI[sha256sum] = "608e4b1cf390e9bf54c0ef00c5bd9ca76d36e2261b9f4d33d54516f3f6a20fd2"
+SRC_URI[md5sum] = "c65a4d3e930a116abaaf69edfc697f25"
+SRC_URI[sha256sum] = "24421affa8ae436fe427ae4f5f2d1634da83d3d55a5ad6354a98eeedb825de55"
 
 # Exclude NC versions which lack AES encryption
 UPSTREAM_CHECK_REGEX = "db-(?P<pver>\d+\.\d+(\.\d+)?).tar"
Signature · 1 line
2.1.4
#1 lore raw

meta/recipes-support/db/db_6.0.35.bb RCONFLICTS_${PN} = "db3" · line 19

Quoted 3 lines · Aníbal Limón
meta/recipes-support/db/db_6.0.35.bb renamed from meta/recipes-support/db/db_6.0.30.bb +0 -0
@@ -18,16 +18,15 @@ RCONFLICTS_${PN} = "db3"
 PR = "r1"
 

Remove this PR please.

meta/recipes-support/db/db_6.0.35.bb RCONFLICTS_${PN} = "db3" · line 21

Quoted 6 lines
(quoted diff) +0 -0
 # Note, when upgraded to 6.1.x, a patch in RPM will need to be removed to

activate db 6.1 support.

meta/recipes-support/db/db_6.0.35.bb renamed from meta/recipes-support/db/db_6.0.30.bb +1 -2
-
-SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz \
+SRC_URI = "http://distfiles.gentoo.org/distfiles/db-${PV}.tar.gz \

What is distfiles.gentoo.org's policy when db-6.0.36 is released? Could the tarball be deleted the day after we release? In general we've been either using snapshot.debian.org or pointing directly at the yoctoproject.org source mirror for tarballs we can't rely upon over time.

Ross

#2 lore raw

Related to the db recipe. There are also the patches that needs to be regenerated as the same patches are applied for the two current versions. At least on Ubuntu 16.06 the same patch can't be applied anymore on the two versions as the lines where to apply the patches differs too much.

Quoted 23 lines · Ross

On 28 September 2016 at 17:06, Aníbal Limón <[email protected] <mailto:[email protected]>> wrote:

    @@ -18,16 +18,15 @@ RCONFLICTS_${PN} = "db3"
     PR = "r1"

Remove this PR please.

     # Note, when upgraded to 6.1.x, a patch in RPM will need to be
    removed to activate db 6.1 support.
    -
    -SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz
    <http://download.oracle.com/berkeley-db/db-$%7BPV%7D.tar.gz> \
    +SRC_URI = "http://distfiles.gentoo.org/distfiles/db-${PV}.tar.gz
    <http://distfiles.gentoo.org/distfiles/db-$%7BPV%7D.tar.gz> \

What is distfiles.gentoo.org <http://distfiles.gentoo.org>'s policy when db-6.0.36 is released? Could the tarball be deleted the day after we release? In general we've been either using snapshot.debian.org <http://snapshot.debian.org> or pointing directly at the yoctoproject.org <http://yoctoproject.org> source mirror for tarballs we can't rely upon over time.

Ross

#3 lore raw
Quoted 4 lines · Julien Gueytat

Related to the db recipe. There are also the patches that needs to be regenerated as the same patches are applied for the two current versions. At least on Ubuntu 16.06 the same patch can't be applied anymore on the two versions as the lines where to apply the patches differs too much.

This is a quite strange, i'm wondering why can't be applied, i expect if a patch fails in configure/compile stages not at patch apply.

Could you put here the error log please?

alimon

Quoted 35 lines · Ross
Quoted 30 lines

On 28 September 2016 at 17:06, Aníbal Limón <[email protected] <mailto:[email protected]>> wrote:

    @@ -18,16 +18,15 @@ RCONFLICTS_${PN} = "db3"
     PR = "r1"

Remove this PR please.

     # Note, when upgraded to 6.1.x, a patch in RPM will need to be
    removed to activate db 6.1 support.
    -
    -SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz
    <http://download.oracle.com/berkeley-db/db-$%7BPV%7D.tar.gz> \
    +SRC_URI = "http://distfiles.gentoo.org/distfiles/db-${PV}.tar.gz
    <http://distfiles.gentoo.org/distfiles/db-$%7BPV%7D.tar.gz> \

What is distfiles.gentoo.org <http://distfiles.gentoo.org>'s policy when db-6.0.36 is released? Could the tarball be deleted the day after we release? In general we've been either using snapshot.debian.org <http://snapshot.debian.org> or pointing directly at the yoctoproject.org <http://yoctoproject.org> source mirror for tarballs we can't rely upon over time.

Ross

#4 lore raw
In reply to Burton, Ross
Quoted 10 lines · Ross

meta/recipes-support/db/db_6.0.35.bb RCONFLICTS_${PN} = "db3" · line 19

Quoted 3 lines · Aníbal Limón
meta/recipes-support/db/db_6.0.35.bb renamed from meta/recipes-support/db/db_6.0.30.bb +0 -0
@@ -18,16 +18,15 @@ RCONFLICTS_${PN} = "db3"
 PR = "r1"
 

Remove this PR please.

Quoted 11 lines

meta/recipes-support/db/db_6.0.35.bb RCONFLICTS_${PN} = "db3" · line 21

Quoted 6 lines
(quoted diff) +0 -0
 # Note, when upgraded to 6.1.x, a patch in RPM will need to be removed to

activate db 6.1 support.

meta/recipes-support/db/db_6.0.35.bb renamed from meta/recipes-support/db/db_6.0.30.bb +1 -2
-
-SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz \
+SRC_URI = "http://distfiles.gentoo.org/distfiles/db-${PV}.tar.gz \

What is distfiles.gentoo.org's policy when db-6.0.36 is released? Could the tarball be deleted the day after we release? In general we've been either using snapshot.debian.org or pointing directly at the yoctoproject.org source mirror for tarballs we can't rely upon over time.

The gentoo distfiles source mirror has older versions of Berkeley DB hosted so i don't think they will remove the tarballs.

Also if the get fails using gentoo source mirror the next step will be use yp source mirror that is default enabled.

Cheers,
alimon

Quoted 3 lines

Ross