<div dir="ltr">Erm, two problems. One of the runs failed to configure rpm (<a href="http://errors.yoctoproject.org/Errors/Details/54813/">http://errors.yoctoproject.org/Errors/Details/54813/</a>).<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 March 2016 at 11:10, Burton, Ross <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One problem - target rpmresolve now fails to link:<div><br></div><div><div>| rpmresolve.c: In function 'getPackageStr':</div><div>| /data/poky-master/tmp-glibc/sysroots/qemux86/usr/include/rpm/rpmdb.h:1427:13: warning: implicit declaration of function 'rpmioFreePoolItem' [-Wimplicit-function-declaration]</div><div>| ((rpmmi)rpmioFreePoolItem((rpmioItem)(_mi), __FUNCTION__, __FILE__, __LINE__))</div><div>| ^</div><div>| rpmresolve.c:54:11: note: in expansion of macro 'rpmmiFree'</div><div>| (void)rpmmiFree(mi);</div><div>| ^</div><div>| rpmresolve.c: In function 'printDepList':</div><div>| rpmresolve.c:297:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]</div><div>| prov = names[k];</div><div>| ^</div><div>| rpmresolve.c: In function 'main':</div><div>| rpmresolve.c:388:5: warning: implicit declaration of function 'rpmcliInit' [-Wimplicit-function-declaration]</div><div>| rpmcliInit(argc, argv, NULL);</div><div>| ^</div><div>| /data/poky-master/tmp-glibc/sysroots/qemux86/usr/lib/../lib/librpmdb.so: undefined reference to `_ITM_WaWU4'</div><div>| /data/poky-master/tmp-glibc/sysroots/qemux86/usr/lib/../lib/librpmio.so: undefined reference to `_ITM_beginTransaction'</div><div>| /data/poky-master/tmp-glibc/sysroots/qemux86/usr/lib/../lib/librpmdb.so: undefined reference to `_ITM_RfWU4'</div><div>| /data/poky-master/tmp-glibc/sysroots/qemux86/usr/lib/../lib/librpmio.so: undefined reference to `_ITM_commitTransaction'</div><div>| /data/poky-master/tmp-glibc/sysroots/qemux86/usr/lib/../lib/librpmio.so: undefined reference to `_ITM_RU4'</div><div>| /data/poky-master/tmp-glibc/sysroots/qemux86/usr/lib/../lib/librpmio.so: undefined reference to `_ITM_WU4'</div><div>| collect2: error: ld returned 1 exit status</div></div><div><br></div><div>The warnings are not great, but the fails are critical.</div><div><br></div><div>Interestingly rpmresolve-native works fine.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Ross</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 7 March 2016 at 17:59, Mark Hatle <span dir="ltr"><<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">v4:<br>
* Move large patches to externally downloaded<br>
- Included in a commit to be testable, but that commit should not be merged<br>
* Disable default stack-protector for popt<br>
* Fix AddErase API breakage<br>
* Break popt header dependency<br>
* Allow popt to be built internal (does not yet work, note caveat in recipe)<br>
* Update 'security_flags.inc' to know about RPM<br>
* rpmresolve remove unnecessary -lpopt<br>
<br>
V3:<br>
* Update rpm-db5-or-db6.patch to remove potential host contamination<br>
* Update rpm-disable-auto-stack-protector.patch to only disable the stack protector<br>
* Add new patch: rpm-atomic-ops.patch<br>
- Disable atomic operations in bson when the architecture does not support them<br>
* Add new patch: rpm-gnu-atomic.patch<br>
- Dynamically detect and disable when -fgnu-tm/libitm support is not available<br>
* Add new patch: rpm-tagname-type.patch and rpm-python-tagname.patch<br>
- Fix rpm-python legacy API regressions<br>
* Add new patch: rpm-disable-blaketest.patch<br>
- Disable building the blake test apps, they appear to have dep issues in large<br>
parallel builds.<br>
* Update db-6.0.30 to make it clear that when it is updated, to also update RPM5.<br>
<br>
V2:<br>
Fixed three issues<br>
- Added Apache 2.0 license for specific mongodb code<br>
<br>
- Switch SSE usage dynamically in rpmio/keccak.c<br>
See rpm-keccak-sse-intrin.patch<br>
<br>
- Add support for architectures that do not support sync_add_and_fetch_8<br>
See rpm-atomic-ops.patch<br>
<br>
All of those changes are made in patch 1/3.<br>
<br>
This has been built for all of the qemu* BSPs.<br>
<br>
V1:<br>
There is not yet an official RPM 5.4.16 release, however one will be coming<br>
soon. Until then, 4 distinct patches are used to upgrade RPM 5.4.15 to<br>
5.4.16. These patches are part of the commit (compressed w/ .xz). However<br>
I am not sending them as part of the email as it's not very interesting<br>
to review base64. :P<br>
<br>
Many of the OE patches have been sent to the RPM 5 maintainer, and may be<br>
part of the official 5.4.16 release. When that release happens I expect a<br>
simple rebase to remove the unnecessary patches.<br>
<br>
The following changes since commit 380ee36811939d947024bf78de907e3c071b834f:<br>
<br>
image creation: allow overriding .rootfs suffix (2016-03-07 17:16:53 +0000)<br>
<br>
are available in the git repository at:<br>
<br>
git://<a href="http://git.openembedded.org/openembedded-core-contrib" rel="noreferrer" target="_blank">git.openembedded.org/openembedded-core-contrib</a> mhatle/rpm-5.4.16<br>
<a href="http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=mhatle/rpm-5.4.16" rel="noreferrer" target="_blank">http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=mhatle/rpm-5.4.16</a><br>
<br>
Mark Hatle (7):<br>
rpm: Uprev to rpm-5.4.16 (pre) and rpm-5.4+cvs to current CVS head<br>
security_flags.inc: Special flags are needed for RPM<br>
rpm: Enable specific crypto and digest settings via variables<br>
rpm: A number of the patches have been submitted upstream<br>
rpmresolve: It is not necessary to manually specify -lpopt<br>
db: remove the NO_UPDATE_REASON and replace it a comment about RPM<br>
rpm: Temporarily provide the RPM patches (NOT NOT MERGE)<br>
<br>
meta/conf/distro/include/security_flags.inc | 2 +<br>
meta/lib/oe/package_manager.py | 14 +-<br>
.../rpm/rpm/0001-define-EM_AARCH64.patch | 2 +-<br>
...arseArgvString-to-parse-the-_gpg_check_pa.patch | 2 +-<br>
.../beecrypt-5.4.15-to-5.4.16-20160225.patch.gz | Bin 0 -> 42815 bytes<br>
meta/recipes-devtools/rpm/rpm/debugedit-segv.patch | 48 +-<br>
...debugedit-valid-file-to-fix-segment-fault.patch | 2 +-<br>
.../rpm/rpm/fstack-protector-configure-check.patch | 21 -<br>
.../rpm/rpm/header-include-fix.patch | 12 +-<br>
.../rpm/rpm/lua-5.4.15-to-5.4.16-20160225.patch.gz | Bin 0 -> 269940 bytes<br>
.../rpm/rpm/makefile-am-exec-hook.patch | 2 +-<br>
.../rpm/popt-disable-auto-stack-protector.patch | 27 +<br>
.../rpm/rpm/python-rpm-rpmsense.patch | 32 +-<br>
.../rpm/rpm/rpm-5.4.15-to-5.4.16-20160225.patch.gz | Bin 0 -> 2239384 bytes<br>
meta/recipes-devtools/rpm/rpm/rpm-atomic-ops.patch | 73 ++<br>
meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch | 2 +-<br>
meta/recipes-devtools/rpm/rpm/rpm-db5-or-db6.patch | 43 +-<br>
meta/recipes-devtools/rpm/rpm/rpm-db60.patch | 56 +<br>
.../rpm/rpm/rpm-disable-Wno-override-init.patch | 32 -<br>
.../rpm/rpm/rpm-disable-auto-stack-protector.patch | 24 +<br>
.../rpm/rpm/rpm-disable-blaketest.patch | 28 +<br>
.../rpm/rpm/rpm-fix-logio-cp.patch | 2 +-<br>
.../rpm/rpm/rpm-fix-parseEmbedded.patch | 27 +<br>
meta/recipes-devtools/rpm/rpm/rpm-gnu-atomic.patch | 61 ++<br>
.../rpm/rpm/rpm-hardlink-segfault-fix.patch | 2 +-<br>
.../rpm/rpm/rpm-keccak-sse-intrin.patch | 27 +<br>
...ction.c-fix-file-conflicts-for-mips64-N32.patch | 2 +-<br>
meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch | 2 +-<br>
.../rpm/rpm/rpm-lsb-compatibility.patch | 2 +-<br>
.../rpm/rpm/rpm-lua-fix-print.patch | 104 --<br>
...rpm-macros.in-disable-external-key-server.patch | 16 +-<br>
.../rpm/rpm/rpm-mongodb-sasl.patch | 69 ++<br>
meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch | 2 +-<br>
...b-before-verifyscript-to-avoid-null-point.patch | 2 +-<br>
.../rpm/rpm/rpm-packageorigin.patch | 2 +-<br>
.../rpm/rpm/rpm-payload-use-hashed-inode.patch | 22 +-<br>
.../rpm/rpm/rpm-pkgconfigdeps.patch | 10 +-<br>
.../rpm/rpm/rpm-platform-file-fix.patch | 2 +-<br>
meta/recipes-devtools/rpm/rpm/rpm-platform.patch | 2 +-<br>
meta/recipes-devtools/rpm/rpm/rpm-platform2.patch | 4 +-<br>
meta/recipes-devtools/rpm/rpm/rpm-py-init.patch | 16 +-<br>
.../rpm/rpm/rpm-python-AddErase.patch | 35 +<br>
.../rpm/rpm/rpm-python-restore-origin.patch | 49 +<br>
.../rpm/rpm/rpm-python-tagname.patch | 24 +<br>
.../rpm/rpm/rpm-remove-sykcparse-decl.patch | 14 -<br>
meta/recipes-devtools/rpm/rpm/rpm-resolvedep.patch | 2 +-<br>
.../rpm/rpm/rpm-rpmdb-grammar.patch | 124 +++<br>
.../rpm/rpm/rpm-rpmfc.c-fix-for-N32-MIPS64.patch | 2 +-<br>
.../rpm/rpm/rpm-rpmio-headers.patch | 19 +<br>
meta/recipes-devtools/rpm/rpm/rpm-rpmpgp-fix.patch | 67 --<br>
.../recipes-devtools/rpm/rpm/rpm-rpmpgp-popt.patch | 26 +<br>
.../rpm/rpm/rpm-scriptletexechelper.patch | 29 +-<br>
.../rpm/rpm/rpm-syck-fix-gram.patch | 1081 ++++++++++++++++++++<br>
.../rpm-tag-generate-endian-conversion-fix.patch | 2 +-<br>
.../rpm/rpm/rpm-tagname-type.patch | 25 +<br>
.../rpm/rpm/rpm-tools-mtree-LDFLAGS.patch | 2 +-<br>
meta/recipes-devtools/rpm/rpm/rpmatch.patch | 32 +-<br>
.../recipes-devtools/rpm/rpm/rpmqv_cc_b_gone.patch | 27 +-<br>
.../rpm/syck-5.4.15-to-5.4.16-20160225.patch.gz | Bin 0 -> 4837 bytes<br>
meta/recipes-devtools/rpm/rpm/uclibc-support.patch | 38 +-<br>
...broken-logic-for-ghost-avoidance-Mark-Hat.patch | 38 -<br>
meta/recipes-devtools/rpm/rpm_5.4+<a href="http://cvs.bb" rel="noreferrer" target="_blank">cvs.bb</a> | 302 +++++-<br>
.../rpm/{<a href="http://rpm_5.4.14.bb" rel="noreferrer" target="_blank">rpm_5.4.14.bb</a> => <a href="http://rpm_5.4.16.bb" rel="noreferrer" target="_blank">rpm_5.4.16.bb</a>} | 197 +++-<br>
meta/recipes-devtools/rpm/<a href="http://rpmresolve_1.0.bb" rel="noreferrer" target="_blank">rpmresolve_1.0.bb</a> | 2 +-<br>
meta/recipes-support/db/<a href="http://db_6.0.30.bb" rel="noreferrer" target="_blank">db_6.0.30.bb</a> | 2 +-<br>
65 files changed, 2368 insertions(+), 569 deletions(-)<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/beecrypt-5.4.15-to-5.4.16-20160225.patch.gz<br>
delete mode 100644 meta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/lua-5.4.15-to-5.4.16-20160225.patch.gz<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/popt-disable-auto-stack-protector.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-5.4.15-to-5.4.16-20160225.patch.gz<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-atomic-ops.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-db60.patch<br>
delete mode 100644 meta/recipes-devtools/rpm/rpm/rpm-disable-Wno-override-init.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-disable-auto-stack-protector.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-disable-blaketest.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-fix-parseEmbedded.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-gnu-atomic.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-keccak-sse-intrin.patch<br>
delete mode 100644 meta/recipes-devtools/rpm/rpm/rpm-lua-fix-print.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-mongodb-sasl.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-python-AddErase.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-python-restore-origin.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-python-tagname.patch<br>
delete mode 100644 meta/recipes-devtools/rpm/rpm/rpm-remove-sykcparse-decl.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-rpmdb-grammar.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-rpmio-headers.patch<br>
delete mode 100644 meta/recipes-devtools/rpm/rpm/rpm-rpmpgp-fix.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-rpmpgp-popt.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-syck-fix-gram.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-tagname-type.patch<br>
create mode 100644 meta/recipes-devtools/rpm/rpm/syck-5.4.15-to-5.4.16-20160225.patch.gz<br>
delete mode 100644 meta/recipes-devtools/rpm/rpm/verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch<br>
rename meta/recipes-devtools/rpm/{<a href="http://rpm_5.4.14.bb" rel="noreferrer" target="_blank">rpm_5.4.14.bb</a> => <a href="http://rpm_5.4.16.bb" rel="noreferrer" target="_blank">rpm_5.4.16.bb</a>} (81%)<br>
<span><font color="#888888"><br>
--<br>
2.5.0<br>
<br>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>