Package version updates
cover Package version updates
This patchset contains package version updates for puzzles, tremor, rpm and db.
The following changes since commit 07cbc407d84f2f8f5fee430902039aa7cef65db4:
meta-yocto-bsp: mpc8315e-rdb: Set KERNEL_DEVICETREE to mpc8315erdb.dtb (2015-08-14 08:30:35 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib akanavin/package-version-updates
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/package-version-updates
Alexander Kanavin (5):
package_regex.inc: fix regexes for adwaita-icon-theme, cairo and dhcp
puzzles: switch svn for git, as upstream has done the same
tremor: update to 20150107 (svn r19427)
db: update to 6.1.26
rpm: update to 5.4.15
meta/conf/distro/include/package_regex.inc | 5 +-
...atch => 0001-disable-external-key-server.patch} | 26 +++++++++--
...atement-is-not-working-properly-inside-o.patch} | 33 ++++++++------
...-db5-and-db6.-db6-is-licensed-under-AGPL.patch} | 53 +++++++++++++---------
.../rpm/rpm/rpm-payload-use-hashed-inode.patch | 20 --------
...broken-logic-for-ghost-avoidance-Mark-Hat.patch | 38 ----------------
meta/recipes-devtools/rpm/rpm_5.4+cvs.bb | 1 -
.../rpm/{rpm_5.4.14.bb => rpm_5.4.15.bb} | 13 +++---
.../obsolete_automake_macros.patch | 0
.../tremor-arm-thumb2.patch | 0
.../{tremor_20120314.bb => tremor_20150107.bb} | 2 +-
.../puzzles/files/puzzles_x32_abi_time.patch | 30 ------------
.../puzzles/{puzzles_r10286.bb => puzzles_git.bb} | 9 ++--
.../db/{db_6.0.30.bb => db_6.1.26.bb} | 14 +++---
14 files changed, 94 insertions(+), 150 deletions(-)
rename meta/recipes-devtools/rpm/rpm/{rpm-macros.in-disable-external-key-server.patch => 0001-disable-external-key-server.patch} (55%)
rename meta/recipes-devtools/rpm/rpm/{rpm-lua-fix-print.patch => 0002-Lua-print-statement-is-not-working-properly-inside-o.patch} (81%)
rename meta/recipes-devtools/rpm/rpm/{rpm-db5-or-db6.patch => 0003-Support-both-db5-and-db6.-db6-is-licensed-under-AGPL.patch} (83%)
delete mode 100644 meta/recipes-devtools/rpm/rpm/verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch
rename meta/recipes-devtools/rpm/{rpm_5.4.14.bb => rpm_5.4.15.bb} (97%)
rename meta/recipes-multimedia/tremor/{tremor-20120314 => tremor}/obsolete_automake_macros.patch (100%)
rename meta/recipes-multimedia/tremor/{tremor-20120314 => tremor}/tremor-arm-thumb2.patch (100%)
rename meta/recipes-multimedia/tremor/{tremor_20120314.bb => tremor_20150107.bb} (90%)
delete mode 100644 meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
rename meta/recipes-sato/puzzles/{puzzles_r10286.bb => puzzles_git.bb} (87%)
rename meta/recipes-support/db/{db_6.0.30.bb => db_6.1.26.bb} (89%)Signature · 1 line
2.1.4
PATCH 1/5 package_regex.inc: fix regexes for adwaita-icon-theme, cairo and dhcp
--- meta/conf/distro/include/package_regex.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta/conf/distro/include/package_regex.inc +4 -1
@@ -32,7 +32,7 @@ REGEX_URI_pn-sqlite3="http://www.sqlite.org/" REGEX_pn-sqlite3="releaselog/${COMMON_REGEX}.html" REGEX_URI_pn-dhcp = "ftp://ftp.isc.org/isc/dhcp/" -REGEX_pn-dhcp="(?P<pver>\d+\.\d+\.(\d+?))" +REGEX_pn-dhcp="(?P<pver>\d+\.\d+\.(\d+?))/" REGEX_pn-foomatic-filters = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz" REGEX_pn-xdg-utils = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)"
@@ -42,6 +42,8 @@ REGEX_pn-libtheora = "libtheora-(?P<pver>\d+(\.\d)+)\.(tar\.gz|tgz)" REGEX_pn-iputils="iputils-(?P<pver>s\d+).tar" REGEX_pn-nettle = "nettle-(?P<pver>\d+(\.\d+)+)\.tar" +REGEX_pn-cairo = "cairo-(?P<pver>\d+(\.\d+)+)\.tar" + # Exclude NC versions which lack AES encryption REGEX_pn-db = "db-(?P<pver>\d+\.\d+(\.\d+)?).tar"
@@ -224,6 +226,7 @@ REGEX_pn-clutter-1.0 = "${GNOME_STABLE}" REGEX_pn-clutter-gtk-1.0 = "${GNOME_STABLE}" REGEX_pn-clutter-gst-3.0 = "${GNOME_STABLE}" REGEX_pn-cogl-1.0 = "${GNOME_STABLE}" +REGEX_pn-adwaita-icon-theme = "${GNOME_STABLE}" # not GNOME related but uses same even-minor-release-is-stable logic REGEX_pn-dbus = "${GNOME_STABLE}"
Signature · 1 line
2.1.4
PATCH 2/5 puzzles: switch svn for git, as upstream has done the same
In reply to Alexander KanavinAlso, drop puzzles_x32_abi_time.patch as it has been merged upstream
---
.../puzzles/files/puzzles_x32_abi_time.patch | 30 ----------------------
.../puzzles/{puzzles_r10286.bb => puzzles_git.bb} | 9 ++++---
2 files changed, 5 insertions(+), 34 deletions(-)
delete mode 100644 meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch
rename meta/recipes-sato/puzzles/{puzzles_r10286.bb => puzzles_git.bb} (87%)meta/recipes-sato/puzzles/files/puzzles_x32_abi_time.patch deleted +0 -30
@@ -1,30 +0,0 @@ -Fix printf's for time_t value add castings because ISOC90 -don't support long long int that is used in x32 ABI for -time_t. - -Upstream-Status: Backport - -Signed-off-by: Aníbal Limón <[email protected]> - ---- a/magnets.c 2015-03-15 11:57:39.106674811 +0000 -+++ b/magnets.c 2015-03-15 11:57:58.638674795 +0000 -@@ -2562,7 +2562,7 @@ - goto done; - } - s = new_game(NULL, p, desc); -- printf("%s:%s (seed %ld)\n", id, desc, seed); -+ printf("%s:%s (seed %ld)\n", id, desc, (long) seed); - if (aux) { - /* We just generated this ourself. */ - if (verbose || print) { ---- a/signpost.c 2015-03-15 11:58:52.866674751 +0000 -+++ b/signpost.c 2015-03-15 11:59:08.190674738 +0000 -@@ -2393,7 +2393,7 @@ - } - } - -- sprintf(newseed, "%lu", time(NULL)); -+ sprintf(newseed, "%lu", (unsigned long) time(NULL)); - seedstr = dupstr(newseed); - - if (id || !stdin_desc) {
meta/recipes-sato/puzzles/puzzles_git.bb renamed from meta/recipes-sato/puzzles/puzzles_r10286.bb +5 -4
@@ -2,7 +2,6 @@ SUMMARY = "Simon Tatham's Portable Puzzle Collection" HOMEPAGE = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" DEPENDS = "gtk+ libxt" -MOD_PV = "${@d.getVar('PV',1)[1:]}" # The libxt requires x11 in DISTRO_FEATURES REQUIRED_DISTRO_FEATURES = "x11"
@@ -10,12 +9,14 @@ REQUIRED_DISTRO_FEATURES = "x11" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=33bcd4bce8f3c197f2aefbdbd2d299bc" -SRC_URI = "svn://svn.tartarus.org/sgt;module=puzzles;rev=${MOD_PV} \ +SRC_URI = "git://git.tartarus.org/simon/puzzles.git \ file://fix-compiling-failure-with-option-g-O.patch \ - file://puzzles_x32_abi_time.patch \ " +SRCREV = "c296301a06ce49b87c954c9d15452521dfeddf1a" +PE = "1" +PV = "0.0+git${SRCPV}" -S = "${WORKDIR}/${BPN}" +S = "${WORKDIR}/git" inherit autotools-brokensep distro_features_check
Signature · 1 line
2.1.4
PATCH 3/5 tremor: update to 20150107 (svn r19427)
In reply to Alexander Kanavin---
.../tremor/{tremor-20120314 => tremor}/obsolete_automake_macros.patch | 0
.../tremor/{tremor-20120314 => tremor}/tremor-arm-thumb2.patch | 0
.../tremor/{tremor_20120314.bb => tremor_20150107.bb} | 2 +-
3 files changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/tremor/{tremor-20120314 => tremor}/obsolete_automake_macros.patch (100%)
rename meta/recipes-multimedia/tremor/{tremor-20120314 => tremor}/tremor-arm-thumb2.patch (100%)
rename meta/recipes-multimedia/tremor/{tremor_20120314.bb => tremor_20150107.bb} (90%)meta/recipes-multimedia/tremor/tremor/obsolete_automake_macros.patch renamed from meta/recipes-multimedia/tremor/tremor-20120314/obsolete_automake_macros.patch +0 -0
meta/recipes-multimedia/tremor/tremor/tremor-arm-thumb2.patch renamed from meta/recipes-multimedia/tremor/tremor-20120314/tremor-arm-thumb2.patch +0 -0
meta/recipes-multimedia/tremor/tremor_20150107.bb renamed from meta/recipes-multimedia/tremor/tremor_20120314.bb +1 -1
@@ -8,7 +8,7 @@ DEPENDS = "libogg" SRCDATE = "${PV}" PR = "r1" -SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=18221;protocol=http \ +SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=19427;protocol=http \ file://obsolete_automake_macros.patch;striplevel=0 \ file://tremor-arm-thumb2.patch \ "
Signature · 1 line
2.1.4
PATCH 4/5 db: update to 6.1.26
In reply to Alexander KanavinTo avoid breaking rpm, this patch needs to be applied together with the patch that updates rpm to 5.4.15.
The include directory manipulation during install was updated to match oe-core customizations to rpm's configure.ac.
---
meta/recipes-support/db/{db_6.0.30.bb => db_6.1.26.bb} | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
rename meta/recipes-support/db/{db_6.0.30.bb => db_6.1.26.bb} (89%)meta/recipes-support/db/db_6.1.26.bb renamed from meta/recipes-support/db/db_6.0.30.bb +7 -7
@@ -21,8 +21,8 @@ SRC_URI += "file://arm-thumb-mutex_db5.patch;patchdir=.. \ file://Makefile-let-libso_target-depend-on-bt_rec.patch \ " -SRC_URI[md5sum] = "ad28eb86ad3203b5422844db179c585b" -SRC_URI[sha256sum] = "608e4b1cf390e9bf54c0ef00c5bd9ca76d36e2261b9f4d33d54516f3f6a20fd2" +SRC_URI[md5sum] = "9525aa57a282d49e5d1bf5e48ffa8a56" +SRC_URI[sha256sum] = "dd1417af5443f326ee3998e40986c3c60e2a7cfb5bfa25177ef7cadb2afb13a6" LIC_FILES_CHKSUM = "file://../LICENSE;md5=1ec8b0b17cc31513fe35ab10716f8490"
@@ -92,11 +92,11 @@ do_compile_prepend() { } do_install_append() { - mkdir -p ${D}/${includedir}/db60 - mv ${D}/${includedir}/db.h ${D}/${includedir}/db60/. - mv ${D}/${includedir}/db_cxx.h ${D}/${includedir}/db60/. - ln -s db60/db.h ${D}/${includedir}/db.h - ln -s db60/db_cxx.h ${D}/${includedir}/db_cxx.h + mkdir -p ${D}/${includedir}/db-6.1 + mv ${D}/${includedir}/db.h ${D}/${includedir}/db-6.1/. + mv ${D}/${includedir}/db_cxx.h ${D}/${includedir}/db-6.1/. + ln -s db-6.1/db.h ${D}/${includedir}/db.h + ln -s db-6.1/db_cxx.h ${D}/${includedir}/db_cxx.h # The docs end up in /usr/docs - not right. if test -d "${D}/${prefix}/docs"
Signature · 1 line
2.1.4
PATCH 5/5 rpm: update to 5.4.15
In reply to Alexander KanavinThis update also requires that db is updated to 6.1 version.
Patch updates:
- verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch has been merged to upstream
- rpm-macros.in-disable-external-key-server.patch, rpm-lua-fix-print.patch and rpm-db5-or-db6.patch have been ported to the new upstream release. A better explanation for when db5 is preferred has been provided.
- rpm-payload-use-hashed-inode.patch - a portion of this patch is now in upstream, so that portion has been removed from the patch
- rpm-db5-or-db6.patch has been dropped from the latest-cvs recipe. That recipe is intended for tracking upstream developments, and for that use case it shouldn't matter that db6 is under AGPLv3.
---
...atch => 0001-disable-external-key-server.patch} | 26 +++++++++--
...atement-is-not-working-properly-inside-o.patch} | 33 ++++++++------
...-db5-and-db6.-db6-is-licensed-under-AGPL.patch} | 53 +++++++++++++---------
.../rpm/rpm/rpm-payload-use-hashed-inode.patch | 20 --------
...broken-logic-for-ghost-avoidance-Mark-Hat.patch | 38 ----------------
meta/recipes-devtools/rpm/rpm_5.4+cvs.bb | 1 -
.../rpm/{rpm_5.4.14.bb => rpm_5.4.15.bb} | 13 +++---
7 files changed, 77 insertions(+), 107 deletions(-)
rename meta/recipes-devtools/rpm/rpm/{rpm-macros.in-disable-external-key-server.patch => 0001-disable-external-key-server.patch} (55%)
rename meta/recipes-devtools/rpm/rpm/{rpm-lua-fix-print.patch => 0002-Lua-print-statement-is-not-working-properly-inside-o.patch} (81%)
rename meta/recipes-devtools/rpm/rpm/{rpm-db5-or-db6.patch => 0003-Support-both-db5-and-db6.-db6-is-licensed-under-AGPL.patch} (83%)
delete mode 100644 meta/recipes-devtools/rpm/rpm/verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch
rename meta/recipes-devtools/rpm/{rpm_5.4.14.bb => rpm_5.4.15.bb} (97%)meta/recipes-devtools/rpm/rpm/0001-disable-external-key-server.patch renamed from meta/recipes-devtools/rpm/rpm/rpm-macros.in-disable-external-key-server.patch +21 -5
@@ -1,4 +1,7 @@ -disable external key server +From c4538118f86e3474da38022818c06f729014f7e8 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Thu, 13 Aug 2015 17:42:20 +0300 +Subject: [PATCH 1/3] disable external key server Upstream-Status: Pending
@@ -12,16 +15,29 @@ it's easy enough to do by enabling the necessary macros. Signed-off-by: yzhu1 <[email protected]> Signed-off-by: Mark Hatle <[email protected]> + +Signed-off-by: Alexander Kanavin <[email protected]> +--- + macros/macros.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/macros/macros.in b/macros/macros.in +index 23c267e..7076371 100644 --- a/macros/macros.in +++ b/macros/macros.in -@@ -546,8 +546,8 @@ $_arbitrary_tags_tests Foo:Bar +@@ -562,10 +562,10 @@ $_arbitrary_tags_tests Foo:Bar + # Horowitz Key Protocol server configuration # +-%_hkp_keyserver hkp://keys.rpm5.org ++#%_hkp_keyserver hkp://keys.rpm5.org #%_hkp_keyserver hkp://keys.n3npq.net --%_hkp_keyserver hkp://pool.sks-keyservers.net + #%_hkp_keyserver hkp://pool.sks-keyservers.net -%_hkp_keyserver_query %{_hkp_keyserver}/pks/lookup?op=get&search= -+#%_hkp_keyserver hkp://pool.sks-keyservers.net +#%_hkp_keyserver_query %{_hkp_keyserver}/pks/lookup?op=get&search= - %_nssdb_path /etc/pki/nssdb + # NSS_InitContext() parameter configuration +-- +2.1.4 +
meta/recipes-devtools/rpm/rpm/0002-Lua-print-statement-is-not-working-properly-inside-o.patch renamed from meta/recipes-devtools/rpm/rpm/rpm-lua-fix-print.patch +18 -15
@@ -1,4 +1,8 @@ -Lua 'print' statement is not working properly inside of RPM 5 +From 05e17309a7ee3af56956715a310ede968b4f58b7 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Thu, 13 Aug 2015 17:46:10 +0300 +Subject: [PATCH 2/3] Lua 'print' statement is not working properly inside of + RPM 5 The print statement should capture the output and send it to the script processing engine, and not display it directly to the screen.
@@ -9,19 +13,15 @@ Upstream-Status: backport (patchset 17671 from rpm5.org) Signed-off-by: Mark Hatle <[email protected]> -Index: rpm-5.4.14/CHANGES -=================================================================== ---- rpm-5.4.14.orig/CHANGES -+++ rpm-5.4.14/CHANGES -@@ -1,3 +1,4 @@ -+ - jbj: lua: fix: resurrect output capture with lua-5.2. - - jbj: verify: fix: broken logic for %ghost avoidance (Mark Hatle). - - 5.4.13 -> 5.4.14: -Index: rpm-5.4.14/rpmio/rpmlua.c -=================================================================== ---- rpm-5.4.14.orig/rpmio/rpmlua.c -+++ rpm-5.4.14/rpmio/rpmlua.c +Signed-off-by: Alexander Kanavin <[email protected]> +--- + rpmio/rpmlua.c | 29 ++++++++++++++++++----------- + 1 file changed, 18 insertions(+), 11 deletions(-) + +diff --git a/rpmio/rpmlua.c b/rpmio/rpmlua.c +index 04ca1bb..eb365a0 100644 +--- a/rpmio/rpmlua.c ++++ b/rpmio/rpmlua.c @@ -175,7 +175,7 @@ rpmlua rpmluaNew(void) }; /*@=readonlytrans =nullassign @*/
@@ -74,7 +74,7 @@ Index: rpm-5.4.14/rpmio/rpmlua.c rpmluaSetData(lua, "lua", lua); /* load all standard RPM Lua script files */ -@@ -351,6 +354,9 @@ void rpmluaSetVar(rpmlua _lua, rpmluav v +@@ -351,6 +354,9 @@ void rpmluaSetVar(rpmlua _lua, rpmluav var) #if defined(LUA_GLOBALSINDEX) if (lua->pushsize == 0) lua_pushvalue(L, LUA_GLOBALSINDEX);
@@ -102,3 +102,6 @@ Index: rpm-5.4.14/rpmio/rpmlua.c if ((size_t)(lua->printbufused+sl+1) > lua->printbufsize) { lua->printbufsize += sl+512; lua->printbuf = (char *) xrealloc(lua->printbuf, lua->printbufsize); +-- +2.1.4 +
meta/recipes-devtools/rpm/rpm/0003-Support-both-db5-and-db6.-db6-is-licensed-under-AGPL.patch renamed from meta/recipes-devtools/rpm/rpm/rpm-db5-or-db6.patch +32 -21
118 lines not on this page · raw message
meta/recipes-devtools/rpm/rpm/rpm-payload-use-hashed-inode.patch +0 -20
@@ -124,23 +124,3 @@ Index: rpm-5.4.14/build/files.c } ui32 = fl->totalFileSize; -Index: rpm-5.4.14/lib/fsm.c -=================================================================== ---- rpm-5.4.14.orig/lib/fsm.c -+++ rpm-5.4.14/lib/fsm.c -@@ -904,6 +904,7 @@ int fsmMapAttrs(IOSM_t fsm) - - if (fi && i >= 0 && i < (int) fi->fc) { - mode_t perms = (S_ISDIR(st->st_mode) ? fi->dperms : fi->fperms); -+ ino_t finalInode = (fi->finodes ? (ino_t)fi->finodes[i] : 0); - mode_t finalMode = (fi->fmodes ? (mode_t)fi->fmodes[i] : perms); - dev_t finalRdev = (dev_t)(fi->frdevs ? fi->frdevs[i] : 0); - rpmuint32_t finalMtime = (fi->fmtimes ? fi->fmtimes[i] : 0); -@@ -943,6 +944,7 @@ int fsmMapAttrs(IOSM_t fsm) - if ((S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode)) - && st->st_nlink == 0) - st->st_nlink = 1; -+ st->st_ino = finalInode; - st->st_rdev = finalRdev; - st->st_mtime = finalMtime; - }
meta/recipes-devtools/rpm/rpm/verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 9e7b72ee0c994609975981e135fc18d0387aefb6 Mon Sep 17 00:00:00 2001 -From: jbj <jbj> -Date: Wed, 14 May 2014 21:19:41 +0000 -Subject: [PATCH] - verify: fix: broken logic for %ghost avoidance (Mark - Hatle). - -Upstream-status: backport - -Signed-off-by: Mark Hatle <[email protected]> ---- - CHANGES | 1 + - lib/verify.c | 3 +-- - 2 files changed, 2 insertions(+), 2 deletions(-) - -Index: rpm-5.4.14/CHANGES -=================================================================== ---- rpm-5.4.14.orig/CHANGES -+++ rpm-5.4.14/CHANGES -@@ -1,3 +1,5 @@ -+ - jbj: verify: fix: broken logic for %ghost avoidance (Mark Hatle). -+ - 5.4.13 -> 5.4.14: - - mooney: use __sun instead of __sun__ in #define (lp#1243472). - - mooney: rpmconstant: ensure linkage w Oracle Studio 12.3 (lp#1243469). -Index: rpm-5.4.14/lib/verify.c -=================================================================== ---- rpm-5.4.14.orig/lib/verify.c -+++ rpm-5.4.14/lib/verify.c -@@ -588,8 +588,7 @@ uint32_t fc = rpmfiFC(fi); - continue; - - /* If not verifying %ghost, skip ghost files. */ -- /* XXX the broken!!! logic disables %ghost queries always. */ -- if (!(FF_ISSET(qva->qva_fflags, GHOST) && FF_ISSET(fflags, GHOST))) -+ if (!FF_ISSET(qva->qva_fflags, GHOST) && FF_ISSET(fflags, GHOST)) - continue; - - /* Gather per-file data into a carrier. */
meta/recipes-devtools/rpm/rpm_5.4+cvs.bb +0 -1
@@ -106,7 +106,6 @@ SRC_URI = "cvs://[email protected]/cvs;tag=rpm-5_4;module=rpm \ file://rpm-hardlink-segfault-fix.patch \ file://rpm-payload-use-hashed-inode.patch \ file://rpm-fix-logio-cp.patch \ - file://rpm-db5-or-db6.patch \ file://rpm-rpmpgp-fix.patch \ file://rpm-disable-Wno-override-init.patch \ file://rpm-realpath.patch \
meta/recipes-devtools/rpm/rpm_5.4.15.bb renamed from meta/recipes-devtools/rpm/rpm_5.4.14.bb +6 -7
@@ -42,7 +42,7 @@ DEPENDS = "libpcre attr acl popt ossp-uuid file byacc-native" # rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed # in order to extract the distribution SRPM into a format we can extract... -SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.14-0.20131024.src.rpm;extract=rpm-5.4.14.tar.gz \ +SRC_URI = "http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm;extract=rpm-5.4.15.tar.gz \ file://rpm-log-auto-rm.patch \ file://rpm-db-reduce.patch \ file://perfile_rpmdeps.sh \
@@ -82,19 +82,18 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.14-0.20131024.src.rpm;e file://rpm-platform-file-fix.patch \ file://rpm-lsb-compatibility.patch \ file://rpm-tag-generate-endian-conversion-fix.patch \ - file://verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch \ file://rpm-hardlink-segfault-fix.patch \ file://rpm-payload-use-hashed-inode.patch \ file://rpm-fix-logio-cp.patch \ - file://rpm-db5-or-db6.patch \ file://rpm-disable-Wno-override-init.patch \ file://rpmqv_cc_b_gone.patch \ file://rpm-realpath.patch \ file://0001-using-poptParseArgvString-to-parse-the-_gpg_check_pa.patch \ file://no-ldflags-in-pkgconfig.patch \ - file://rpm-lua-fix-print.patch \ file://rpm-check-rootpath-reasonableness.patch \ - file://rpm-macros.in-disable-external-key-server.patch \ + file://0001-disable-external-key-server.patch \ + file://0002-Lua-print-statement-is-not-working-properly-inside-o.patch \ + file://0003-Support-both-db5-and-db6.-db6-is-licensed-under-AGPL.patch \ " # Uncomment the following line to enable platform score debugging
@@ -102,8 +101,8 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.14-0.20131024.src.rpm;e # to process certain package feeds. #SRC_URI += "file://rpm-debug-platform.patch" -SRC_URI[md5sum] = "25093d399a0b5d1342d24900a91b347d" -SRC_URI[sha256sum] = "676e3ab41f72e3b504e04109cfb565a300742f56a7da084f202013b30eeae467" +SRC_URI[md5sum] = "d53782842ac11b3100a43fb2958c9bc0" +SRC_URI[sha256sum] = "d4ae5e9ed5df8ab9931b660f491418d20ab5c4d72eb17ed9055b80b71ef6c4ee" inherit autotools gettext
Signature · 1 line
2.1.4
Re: [PATCH 5/5] rpm: update to 5.4.15
Quoted 10 lines · Alexander Kanavin
This update also requires that db is updated to 6.1 version.
Patch updates:
- verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch has been merged to upstream
- rpm-macros.in-disable-external-key-server.patch, rpm-lua-fix-print.patch and rpm-db5-or-db6.patch have been ported to the new upstream release. A better explanation for when db5 is preferred has been provided.
Quoted 8 lines
- rpm-payload-use-hashed-inode.patch - a portion of this patch is now in upstream, so that portion has been removed from the patch
- rpm-db5-or-db6.patch has been dropped from the latest-cvs recipe. That recipe is intended for tracking upstream developments, and for that use case it shouldn't matter that db6 is under AGPLv3.
Signed-off-by Alexander Kanavin <[email protected]>
Not sure what this was tested with but a simple "bitbake core-image-minimal" breaks after this (and the db) change with licensing failures.
The autobuilder exploded with failures like:
which are due to the installed manifest file listing installed packages being empty.
Cheers,
Richard
Re: [PATCH 5/5] rpm: update to 5.4.15
Quoted 10 lines · Richard Purdie
Not sure what this was tested with but a simple "bitbake core-image-minimal" breaks after this (and the db) change with licensing failures.
The autobuilder exploded with failures like:
which are due to the installed manifest file listing installed packages being empty.
I tested by running 'bitbake world' (which completed fine), but I wasn't aware that 'world' doesn't include any images (why not?).
I'll investigate what is happening.
Alex
Re: [PATCH 5/5] rpm: update to 5.4.15
Quoted 7 lines · Alexander Kanavin
Quoted 6 lines · Richard Purdie
Not sure what this was tested with but a simple "bitbake core-image-minimal" breaks after this (and the db) change with licensing failures.
The autobuilder exploded with failures like:
Quoted 7 lines
Quoted 4 lines
which are due to the installed manifest file listing installed packages being empty.
I tested by running 'bitbake world' (which completed fine), but I wasn't aware that 'world' doesn't include any images (why not?).
Rightly or wrongly we explicitly exclude images from world since in most use cases the images take an age and are annoying in that context.
Quoted 1 line
I'll investigate what is happening.
Thanks,
Richard
Re: [PATCH 5/5] rpm: update to 5.4.15
In reply to Richard PurdieQuoted 6 lines
The autobuilder exploded with failures like:
which are due to the installed manifest file listing installed packages being empty.
After spending some time with this issue I have to give up (for now). Rpm seems to install the packages without any errors, but the database of what is installed isn't updated correctly (rootfs/var/lib/rpm/Packages is empty, but there are also __db.00N files in the same directory which weren't there when the previous rpm version was in use). Then when rpm is later asked to provide a list of installed packages, it returns nothing and image build breaks down.
If there are any rpm specialists around, feel free to pick it up:
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/package-version-updates-rpm-db-incomplete
Regards,
Alex