Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12246] New: host-policycoreutils-graph-depends fails
@ 2019-09-21 14:16 bugzilla at busybox.net
  2019-09-21 14:16 ` [Buildroot] [Bug 12246] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-09-21 14:16 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12246

            Bug ID: 12246
           Summary: host-policycoreutils-graph-depends fails
           Product: buildroot
           Version: 2019.08
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: thomas.petazzoni at free-electrons.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

$ make host-policycoreutils-graph-depends
Getting dependency tree...
Traceback (most recent call last):
  File "/home/thomas/projets/buildroot/support/scripts/graph-depends", line
357, in <module>
    sys.exit(main())
  File "/home/thomas/projets/buildroot/support/scripts/graph-depends", line
341, in main
    dict_deps = remove_extra_deps(dict_deps, rootpkg, args.transitive,
arrow_dir)
  File "/home/thomas/projets/buildroot/support/scripts/graph-depends", line
170, in remove_extra_deps
    if d not in deps[rootpkg]:
KeyError: 'host-policycoreutils'
make[1]: *** [package/policycoreutils/policycoreutils.mk:100:
host-policycoreutils-graph-depends] Error 1
make: *** [Makefile:84: _all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12246] host-policycoreutils-graph-depends fails
  2019-09-21 14:16 [Buildroot] [Bug 12246] New: host-policycoreutils-graph-depends fails bugzilla at busybox.net
@ 2019-09-21 14:16 ` bugzilla at busybox.net
  2019-09-21 15:18 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-09-21 14:16 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12246

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12246] host-policycoreutils-graph-depends fails
  2019-09-21 14:16 [Buildroot] [Bug 12246] New: host-policycoreutils-graph-depends fails bugzilla at busybox.net
  2019-09-21 14:16 ` [Buildroot] [Bug 12246] " bugzilla at busybox.net
@ 2019-09-21 15:18 ` bugzilla at busybox.net
  2019-09-21 15:58 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-09-21 15:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12246

--- Comment #1 from Arnout Vandecappelle <arnout@mind.be> ---
That is most likely due to a circular dependency. The issue is that circular
dependencies are no longer handles properly by graph-depends since we use
show-info.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12246] host-policycoreutils-graph-depends fails
  2019-09-21 14:16 [Buildroot] [Bug 12246] New: host-policycoreutils-graph-depends fails bugzilla at busybox.net
  2019-09-21 14:16 ` [Buildroot] [Bug 12246] " bugzilla at busybox.net
  2019-09-21 15:18 ` bugzilla at busybox.net
@ 2019-09-21 15:58 ` bugzilla at busybox.net
  2019-09-21 16:13 ` bugzilla at busybox.net
  2024-06-15 14:51 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-09-21 15:58 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12246

--- Comment #2 from Yann E. MORIN <yann.morin.1998@free.fr> ---
(In reply to Thomas Petazzoni from comment #0)
As you already found, the issue is because the package is not enabled (it is a
host package without a config.in option), and is also not in the dependency
chain of any other package.

The proposal I have is to add a check to graph-depends, that checks that the
requested root package is indeed enabled, and if not, inform the user rather
than spew a traceback.

(In reply to Arnout Vandecappelle from comment #1)
> circular dependencies are no longer handles properly by graph-depends
Yes they are:
https://git.buildroot.org/buildroot/tree/support/scripts/graph-depends#n133 and
https://git.buildroot.org/buildroot/tree/support/scripts/graph-depends#n337

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12246] host-policycoreutils-graph-depends fails
  2019-09-21 14:16 [Buildroot] [Bug 12246] New: host-policycoreutils-graph-depends fails bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-09-21 15:58 ` bugzilla at busybox.net
@ 2019-09-21 16:13 ` bugzilla at busybox.net
  2024-06-15 14:51 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-09-21 16:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12246

--- Comment #3 from Arnout Vandecappelle <arnout@mind.be> ---
(In reply to Yann E. MORIN from comment #2)
>>  circular dependencies are no longer handles properly by graph-depends

> Yes they are: https://git.buildroot.org/buildroot/tree/support/scripts/graph-depends#n133 and https://git.buildroot.org/buildroot/tree/support/scripts/graph-depends#n337

The code is there, but you don't get that far because 'make show-info' fails if
there is a circular dependency. For any package involved in the loop,
_FINAL_RECURSIVE_DEPENDENCIES will trigger a circular dependency error from
make. So show-info never prints anything.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12246] host-policycoreutils-graph-depends fails
  2019-09-21 14:16 [Buildroot] [Bug 12246] New: host-policycoreutils-graph-depends fails bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-09-21 16:13 ` bugzilla at busybox.net
@ 2024-06-15 14:51 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-06-15 14:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12246

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-06-15 14:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-21 14:16 [Buildroot] [Bug 12246] New: host-policycoreutils-graph-depends fails bugzilla at busybox.net
2019-09-21 14:16 ` [Buildroot] [Bug 12246] " bugzilla at busybox.net
2019-09-21 15:18 ` bugzilla at busybox.net
2019-09-21 15:58 ` bugzilla at busybox.net
2019-09-21 16:13 ` bugzilla at busybox.net
2024-06-15 14:51 ` bugzilla

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