Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] conan graph build-order --order=configuration raising with stacktrace #15534

Closed
AbrilRBS opened this issue Jan 25, 2024 · 0 comments · Fixed by #15538
Closed

[bug] conan graph build-order --order=configuration raising with stacktrace #15534

AbrilRBS opened this issue Jan 25, 2024 · 0 comments · Fixed by #15538
Assignees
Milestone

Comments

@AbrilRBS
Copy link
Member

AbrilRBS commented Jan 25, 2024

Environment details

  • Operating System+version: Latest macos
  • Conan version: 2.1.0-dev
  • Python version: 3.11

Steps to reproduce

Running conan graph build-order --requires=ffmpeg/6.1 --order=configuration currently raises with an stack trace. I'm investigating with @jcar87

Logs

======== Computing the build order ========
ERROR: Traceback (most recent call last):
  File "/Users/ruben/coding/build-tools/venv/lib/python3.11/site-packages/conan/cli/cli.py", line 281, in main
    cli.run(args)
  File "/Users/ruben/coding/build-tools/venv/lib/python3.11/site-packages/conan/cli/cli.py", line 191, in run
    command.run(self._conan_api, args[0][1:])
  File "/Users/ruben/coding/build-tools/venv/lib/python3.11/site-packages/conan/cli/command.py", line 158, in run
    sub.run(conan_api, parser, *args)
  File "/Users/ruben/coding/build-tools/venv/lib/python3.11/site-packages/conan/cli/command.py", line 174, in run
    self._format(parent_parser, info, *args)
  File "/Users/ruben/coding/build-tools/venv/lib/python3.11/site-packages/conan/cli/command.py", line 98, in _format
    formatter(info)
  File "/Users/ruben/coding/build-tools/venv/lib/python3.11/site-packages/conan/cli/commands/graph.py", line 44, in cli_build_order
    for package_level in item['packages']:
                         ~~~~^^^^^^^^^^^^
KeyError: 'packages'

ERROR: 'packages'
@memsharded memsharded self-assigned this Jan 25, 2024
@AbrilRBS AbrilRBS self-assigned this Jan 25, 2024
@memsharded memsharded assigned AbrilRBS and unassigned AbrilRBS and memsharded Jan 25, 2024
@memsharded memsharded added this to the 2.1 milestone Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants