Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/6 v3] Detect and fix circular dependencies (branch yem/fixes)
@ 2016-02-07 21:34 Yann E. MORIN
  2016-02-07 21:34 ` [Buildroot] [PATCH 1/6 v3] package/avahi: break circular dependencies Yann E. MORIN
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Yann E. MORIN @ 2016-02-07 21:34 UTC (permalink / raw)
  To: buildroot

Hello All!

We currently have two circular dependencies:
    cups -> avahi -> libglade -> libgtk2 -> cups
    cups -> avahi -> libgtk3 -> cups

This series fixes those two loops (by cutting the avahi -> libgtk{2,3}
dependency).

It also adds support for detecting future such circular dependencies,
and makes the graph-depends script robust in such a situation.


Changes v2 -> v3:
  - break the loop on avahi -> libgtk{2,3}  (Thomas)
  - consistency in variables and options  (Thomas)

Changes v1 -> v2:
  - optimise the loop detection  (Thomas, Arnout)
  - add timings for the new check  (Thomas)
  - actually fix the two loops
  - enhance graph-depends to only check dependencies


Regards,
Yann E. MORIN.


The following changes since commit b5ad2ce5a35a7909307de806b9606c560b5cb85d:

  fio: depends on BR2_TOOLCHAIN_HAS_SYNC_4 (2016-02-07 22:23:52 +0100)

are available in the git repository at:

  git://git.busybox.net/~ymorin/git/buildroot yem/fixes

for you to fetch changes up to f0509ca9d1287b071a0cb1d965ead2bccdac5bc1:

  core: add a make target to check the dependencies (2016-02-07 22:31:30 +0100)

----------------------------------------------------------------
Yann E. MORIN (6):
      package/avahi: break circular dependencies
      support/graph-depends: add option to specify output file
      core: catch failures in graph-depends
      support/graph-depends: detect circular dependencies
      support/graph-depends: teach it to only check dependencies
      core: add a make target to check the dependencies

 Makefile                      | 10 ++++++--
 package/avahi/avahi.mk        | 15 ++----------
 package/pkg-generic.mk        |  8 ++++---
 support/scripts/graph-depends | 56 ++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 65 insertions(+), 24 deletions(-)

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-07 22:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-07 21:34 [Buildroot] [PATCH 0/6 v3] Detect and fix circular dependencies (branch yem/fixes) Yann E. MORIN
2016-02-07 21:34 ` [Buildroot] [PATCH 1/6 v3] package/avahi: break circular dependencies Yann E. MORIN
2016-02-07 21:34 ` [Buildroot] [PATCH 2/6 v3] support/graph-depends: add option to specify output file Yann E. MORIN
2016-02-07 21:34 ` [Buildroot] [PATCH 3/6 v3] core: catch failures in graph-depends Yann E. MORIN
2016-02-07 21:34 ` [Buildroot] [PATCH 4/6 v3] support/graph-depends: detect circular dependencies Yann E. MORIN
2016-02-07 21:34 ` [Buildroot] [PATCH 5/6 v3] support/graph-depends: teach it to only check dependencies Yann E. MORIN
2016-02-07 21:34 ` [Buildroot] [PATCH 6/6 v3] core: add a make target to check the dependencies Yann E. MORIN
2016-02-07 22:28 ` [Buildroot] [PATCH 0/6 v3] Detect and fix circular dependencies (branch yem/fixes) Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox