Skip to content

Fix RPM regressions for Pyro

Peter Kjellerstedt openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25gtk+3: Update the patches to work with old versions of patchmeta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch meta/recipes-gnome/gtk+/gtk+3/0002-Do-not-try-to-initialize-GL-without-libGL.patch meta/recipes-gnome/gtk+/gtk+3/0003-Add-disable-opengl-configure-option.patch +1 more+207 -890 replies
2/25package_manager.py: Generate correct RPM package names againmeta/lib/oe/package_manager.py+3 -30 replies
3/25libxml2: move python module to Python 3meta/recipes-core/libxml/libxml2_2.9.4.bb+4 -40 replies
4/25libxml2: Make ptest run the Python tests if Python support is enabledmeta/recipes-core/libxml/libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch meta/recipes-core/libxml/libxml2_2.9.4.bb+108 -20 replies
5/25insane.bbclass: Report all file-rdeps errors, not just the firstmeta/classes/insane.bbclass+1 -10 replies
6/25insane.bbclass: Improve the handling of runtime file dependenciesmeta/classes/insane.bbclass+10 -60 replies
7/25buildhistory.bbclass: Improve the generated depends.dot filemeta/classes/buildhistory.bbclass+11 -40 replies
8/25toaster.bbclass: Simplify parsing of depends.dotmeta/classes/toaster.bbclass+13 -150 replies
9/25toaster.bbclass: Ignore some dependencies in toaster_buildhistory_dump()meta/classes/toaster.bbclass+8 -00 replies
10/25rpm: Simplify the creation of wrappers for the native toolsmeta/recipes-devtools/rpm/rpm_git.bb+19 -540 replies
11/25rpm: Create a wrapper for the native rpmdeps toolmeta/recipes-devtools/rpm/rpm_git.bb+1 -00 replies
12/25rpm: Do not require that ELF binaries are executable to be identifiablemeta/recipes-devtools/rpm/files/0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch meta/recipes-devtools/rpm/rpm_git.bb+33 -00 replies
13/25rpm: Use conditional to access %{_docdir} in macros.inmeta/recipes-devtools/rpm/files/0012-Use-conditional-to-access-_docdir-in-macros.in.patch meta/recipes-devtools/rpm/rpm_git.bb+37 -00 replies
14/25rpm: Add a new option --alldeps to rpmdepsmeta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch meta/recipes-devtools/rpm/rpm_git.bb+153 -00 replies
15/25insane.bbclass: Ignore perl as dependency for nativesdk packagesmeta/classes/insane.bbclass+1 -10 replies
16/25perl: Do not generate file dependencies for perl-ptestmeta/recipes-devtools/perl/perl-ptest.inc+4 -00 replies
17/25rpm: Add dependencies on bash, perl and python3-coremeta/recipes-devtools/rpm/rpm_git.bb+5 -00 replies
18/25git: Do not install git cvsserver and git svn by defaultmeta/recipes-devtools/git/git.inc+21 -00 replies
19/25texinfo: Avoid a problem with a dependency on perl(Locale::gettext_xs)meta/recipes-extended/texinfo/texinfo_6.3.bb+6 -02 replies
20/25package_rpm.bbclass: Filter out unwanted file deps for nativesdk packagesmeta/classes/package_rpm.bbclass+23 -20 replies
21/25bind: Use correct python interpreter pathmeta/recipes-connectivity/bind/bind_9.10.3-P3.bb+1 -10 replies
22/25ltp: Skip the filedependency scanmeta/recipes-extended/ltp/ltp_20170116.bb+5 -00 replies
23/25rpm: Disable perl dependency generationmeta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch meta/recipes-devtools/rpm/rpm_git.bb+33 -00 replies
24/25libcheck: fix file-rdeps QA issuemeta/recipes-support/libcheck/libcheck_0.10.0.bb+0 -10 replies
25/25package.bbclass: Restore functionality to detect RPM dependenciesmeta/classes/package.bbclass meta/lib/oe/package.py+50 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [pyro][PATCH 00/25] Fix RPM regressions for Pyro

These are the backported changes from master that re-adds support for having rpm generating file dependencies.

The only change compared to master is in the last patch. There I have added a new variable called ENABLE_RPM_FILEDEPS_FOR_PYRO. Unless it is set to "1", the RPM file dependency machinery will not be activated. This should make it possible to integrate these changes to Pyro, without risking that they break builds for anyone who do not expect the dependency requirements to change. The name of the variable was chosen to clearly indicate that this only affects Pyro.

The first patch in the series is strictly not related to the RPM changes, but since I cannot build core-image-sato without it, I included it here to make my life a little easier.

//Peter

The following changes since commit 9842f64154e633c198b201fae01dbab1fb04c74e:

rootfs-postcommands.bbclass: Prevent linking testdata to itself (2017-08-29 12:22:06 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib pkj/rpm_regressions-pyro
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/rpm_regressions-pyro

Alexander Kanavin (1):
libxml2: move python module to Python 3

Mark Hatle (2):
ltp: Skip the filedependency scan
rpm: Disable perl dependency generation

Martin Jansa (1):
libcheck: fix file-rdeps QA issue

Peter Kjellerstedt (20):
gtk+3: Update the patches to work with old versions of patch package_manager.py: Generate correct RPM package names again
libxml2: Make ptest run the Python tests if Python support is enabled insane.bbclass: Report all file-rdeps errors, not just the first insane.bbclass: Improve the handling of runtime file dependencies buildhistory.bbclass: Improve the generated depends.dot file toaster.bbclass: Simplify parsing of depends.dot toaster.bbclass: Ignore some dependencies in
toaster_buildhistory_dump()
rpm: Simplify the creation of wrappers for the native tools
rpm: Create a wrapper for the native rpmdeps tool
rpm: Do not require that ELF binaries are executable to be
identifiable
rpm: Use conditional to access %{_docdir} in macros.in
rpm: Add a new option --alldeps to rpmdeps
insane.bbclass: Ignore perl as dependency for nativesdk packages
perl: Do not generate file dependencies for perl-ptest
rpm: Add dependencies on bash, perl and python3-core
git: Do not install git cvsserver and git svn by default
texinfo: Avoid a problem with a dependency on perl(Locale::gettext_xs) package_rpm.bbclass: Filter out unwanted file deps for nativesdk
packages
package.bbclass: Restore functionality to detect RPM dependencies

Richard Purdie (1):
bind: Use correct python interpreter path

 meta/classes/buildhistory.bbclass                  |  15 +-
 meta/classes/insane.bbclass                        |  20 +-
 meta/classes/package.bbclass                       |  11 +-
 meta/classes/package_rpm.bbclass                   |  25 +-
 meta/classes/toaster.bbclass                       |  36 +--
 meta/lib/oe/package.py                             |  60 +++--
 meta/lib/oe/package_manager.py                     |   6 +-
 meta/recipes-connectivity/bind/bind_9.10.3-P3.bb   |   2 +-
 ...run-the-python-tests-if-python-is-enabled.patch |  99 ++++++++
 meta/recipes-core/libxml/libxml2_2.9.4.bb          |  17 +-
 meta/recipes-devtools/git/git.inc                  |  21 ++
 meta/recipes-devtools/perl/perl-ptest.inc          |   4 +
 .../rpm/files/0001-perl-disable-auto-reqs.patch    |  32 +++
 ...ire-that-ELF-binaries-are-executable-to-b.patch |  32 +++
 ...onditional-to-access-_docdir-in-macros.in.patch |  36 +++
 .../0013-Add-a-new-option-alldeps-to-rpmdeps.patch | 152 ++++++++++++
 meta/recipes-devtools/rpm/rpm_git.bb               |  83 +++----
 meta/recipes-extended/ltp/ltp_20170116.bb          |   5 +
 meta/recipes-extended/texinfo/texinfo_6.3.bb       |   6 +
 .../gtk+/gtk+3/0001-Hardcoded-libtool.patch        |  12 +-
 ...Do-not-try-to-initialize-GL-without-libGL.patch |   8 +-
 .../0003-Add-disable-opengl-configure-option.patch | 268 +++++++++++++++------
 ...4-configure.ac-Fix-wayland-protocols-path.patch |   8 +-
 meta/recipes-support/libcheck/libcheck_0.10.0.bb   |   1 -
 24 files changed, 756 insertions(+), 203 deletions(-)
 create mode 100644 meta/recipes-core/libxml/libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0012-Use-conditional-to-access-_docdir-in-macros.in.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch
Signature · 1 line
2.12.0