Patchwork [00/18] autodetected dependencies

login
register
mail settings
Submitter Martin Jansa
Date July 24, 2013, 12:02 p.m.
Message ID <cover.1374667312.git.Martin.Jansa@gmail.com>
Download mbox
Permalink /patch/54305/
State Accepted, archived
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib jansa/deps

Comments

Martin Jansa - July 24, 2013, 12:02 p.m.
The following changes since commit ac5d20f4adac69ea1702694fb50849c9e465b443:

  systemd: Remove systemd_unitdir if systemd is not in distro features (2013-07-23 07:49:54 -0700)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib jansa/deps
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/deps

Martin Jansa (18):
  test-dependencies: add simple script to detect missing or autoenabled
    dependencies
  gst-plugins-bad: add few more PACKAGECONFIGs
  xkeyboard-config: add missing dependency on util-macros
  ccache: add zlib dependency
  cups: add PACKAGECONFIG for acl
  directfb: add PACKAGECONFIG for jpeg2000
  distcc: add PACKAGECONFIG for popt
  grub: add PACKAGECONFIG for grub-mount
  mailx: remove support for autodetection of krb5
  minicom: add configure option and PACKAGECONFIG for lockdev
  ltp: add acl, openssl dependency
  patch: add PACKAGECONFIG for attr
  python-imaging: add PACKAGECONFIG for lcms
  socat: add PACKAGECONFIG for tcp-wrappers
  sudo: add PACKAGECONFIG for zlib
  gstreamer1.0-plugins-good: add PACKAGECONFIG for v4l
  gst-plugins-good: add PACKAGECONFIG for jpeg, wavpack, gdkpixbuf, v4l,
    bzip2, orc
  gettext: disable nls when INHIBIT_DEFAULT_DEPS is set

 meta/classes/gettext.bbclass                       |   4 +-
 meta/recipes-bsp/grub/grub_2.00.bb                 |   3 +
 meta/recipes-connectivity/socat/socat_1.7.2.2.bb   |   3 +
 meta/recipes-devtools/ccache/ccache.inc            |   2 +
 meta/recipes-devtools/distcc/distcc_3.1.bb         |   4 +-
 meta/recipes-devtools/patch/patch.inc              |   3 +
 .../allow.to.disable.some.features.patch           |  65 ++++++
 .../python/python-imaging_1.1.7.bb                 |  10 +-
 meta/recipes-extended/cups/cups16.inc              |   1 +
 meta/recipes-extended/ltp/ltp_20130503.bb          |   2 +-
 .../explicitly.disable.krb5.support.patch          |  46 ++++
 meta/recipes-extended/mailx/mailx_12.5.bb          |   1 +
 .../minicom-2.6.2/allow.to.disable.lockdev.patch   |  21 ++
 meta/recipes-extended/minicom/minicom_2.6.2.bb     |   7 +-
 meta/recipes-extended/sudo/sudo.inc                |   3 +
 meta/recipes-graphics/directfb/directfb.inc        |   3 +
 .../xorg-lib/xkeyboard-config_2.9.bb               |   2 +-
 .../gstreamer/gst-plugins-bad_0.10.23.bb           |  10 +
 .../gstreamer/gst-plugins-good_0.10.31.bb          |  12 +-
 .../gstreamer/gstreamer1.0-plugins-good.inc        |   2 +-
 scripts/test-dependencies.sh                       | 256 +++++++++++++++++++++
 21 files changed, 449 insertions(+), 11 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch
 create mode 100644 meta/recipes-extended/mailx/mailx-12.5/explicitly.disable.krb5.support.patch
 create mode 100644 meta/recipes-extended/minicom/minicom-2.6.2/allow.to.disable.lockdev.patch
 create mode 100755 scripts/test-dependencies.sh
Martin Jansa - July 24, 2013, 4:50 p.m.
My biggest build with 20+ layers included finally finished today (after
many days because there was hw issue on server where it was running, so
it was slower then it should be).

The results are a bit messy because:
1) It had only some fixes from my last "autodetected dependencies"
   patchsets for oe-core and meta-oe
2) It was started when oe-core/master had broken boost, so many packages
   failed because of boost
3) It was started when oe-core/master had issues with qt-mobility (not sure if
   all were fixed already)
4) It wasn't using latest version of test-dependencies script
5) It was using complete buildhistory repo which had many stalled
   packages like task-* and couple of architectures.

But at least it will allow me to restrict recipes to rebuild from 1900 to
only 256 which were failing in this build.

It was tested only for qemuarm.

Complete logs are here:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/

Interesting parts
11 recipes failed in world build:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/failed.world

101 recipes failed in minimal build (8 caused by boost):
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/failed.min

216 packages (160 recipes) doesn't have deterministic dependencies
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/failed.dependencies

Next results should be more interesting, because many issues are already
fixed by change I've sent today to oe-core and oe-devel ML, but not all,
because they were detected in build without x11 in DISTRO_FEATURES and
without some layers (like meta-browser meta-efl meta-gnome meta-gpe
meta-initramfs meta-webserver meta-xfce).

Cheers,
Chris Larson - July 24, 2013, 6:26 p.m.
On Wed, Jul 24, 2013 at 9:50 AM, Martin Jansa <martin.jansa@gmail.com>wrote:

> My biggest build with 20+ layers included finally finished today (after
> many days because there was hw issue on server where it was running, so
> it was slower then it should be).
>
> The results are a bit messy because:
> 1) It had only some fixes from my last "autodetected dependencies"
>    patchsets for oe-core and meta-oe
> 2) It was started when oe-core/master had broken boost, so many packages
>    failed because of boost
> 3) It was started when oe-core/master had issues with qt-mobility (not
> sure if
>    all were fixed already)
> 4) It wasn't using latest version of test-dependencies script
> 5) It was using complete buildhistory repo which had many stalled
>    packages like task-* and couple of architectures.
>
> But at least it will allow me to restrict recipes to rebuild from 1900 to
> only 256 which were failing in this build.
>
> It was tested only for qemuarm.
>
> Complete logs are here:
>
> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/
>
> Interesting parts
> 11 recipes failed in world build:
>
> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/failed.world
>
> 101 recipes failed in minimal build (8 caused by boost):
>
> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/failed.min
>
> 216 packages (160 recipes) doesn't have deterministic dependencies
>
> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/test-dependencies-2013-07-24/failed.dependencies
>
> Next results should be more interesting, because many issues are already
> fixed by change I've sent today to oe-core and oe-devel ML, but not all,
> because they were detected in build without x11 in DISTRO_FEATURES and
> without some layers (like meta-browser meta-efl meta-gnome meta-gpe
> meta-initramfs meta-webserver meta-xfce).
>

I just wanted to say, this is some impressive work, nicely done. I'm amazed
at how many recipes still don't have deterministic dependencies, even after
all these years :)