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

incorrect Bazel dev_dependency setup #2370

Open
lalten opened this issue Nov 15, 2024 · 0 comments · May be fixed by #2371
Open

incorrect Bazel dev_dependency setup #2370

lalten opened this issue Nov 15, 2024 · 0 comments · May be fixed by #2371

Comments

@lalten
Copy link
Contributor

lalten commented Nov 15, 2024

Required information

The MODULE.bazel specifies some dependencies to be dev_dependency = True but there are publicly visible (and needed) BUILD targets that end up depending on them.
Since transitive dev_dependencies do not become visible to the root module this effectively makes it impossible to actually depend on @iceoryx as a third-party dep in Bzlmod unless patched.

Operating system:
E.g. Ubuntu 18.04 LTS

Compiler version:
E.g. GCC 7.4.0

Eclipse iceoryx version:
E.g. v1.2.3 or main branch

Observed result or behaviour:
A clear and precise description of the observed result.

Expected result or behaviour:
What do you expect to happen?

Conditions where it occurred / Performed steps:
Describe how one can reproduce the bug.

Additional helpful information

If there is a core dump, please run the following command and add the output to the issue in a separate comment

gdb --batch \
   --ex "shell printf '\n\033[33m#### Local Variables ####\033[m\n'"  --ex "info locals" \
   --ex "shell printf '\n\033[33m#### Threads ####\033[m\n'"          --ex "info threads" \
   --ex "shell printf '\n\033[33m#### Shared Libraries ####\033[m\n'" --ex "info sharedlibrary" \
   --ex "shell printf '\n\033[33m#### Stack Frame ####\033[m\n'"      --ex "info frame" \
   --ex "shell printf '\n\033[33m#### Register ####\033[m\n'"         --ex "info register" \
   --ex "shell printf '\n\033[33m#### Backtrace ####\033[m'"          --ex "thread apply all bt" \
   --core coreDumpFile binaryFile
lalten added a commit to lalten/iceoryx that referenced this issue Nov 15, 2024
@lalten lalten linked a pull request Nov 15, 2024 that will close this issue
21 tasks
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.

1 participant