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

wolfictl text messages could be more helpful. #1201

Open
smoser opened this issue Sep 23, 2024 · 2 comments
Open

wolfictl text messages could be more helpful. #1201

smoser opened this issue Sep 23, 2024 · 2 comments
Labels
enhancement New feature or request needs-triage applied to all new customer/user issues. Removed after triage occurs.

Comments

@smoser
Copy link
Member

smoser commented Sep 23, 2024

I was recently trying to debug a cycle reported by wolfictl in wolfi-dev/os#28993. There is an internal slack discussion here. I was using melange at b4ef7f5.

I made a seemingly unrelated change here that resulted in wolfictl text failing with message like:

$ burl=https://packages.wolfi.dev/bootstrap/stage3
$ wolfictl text --pipeline-dir=./pipelines \
    -r$burl -k$burl/wolfi-signing.rsa.pub   2>&1 |
     tee out.log

2024/09/20 15:12:20 ERRO
  unresolvable cycle:
    py3-pygments:2.18.0-r1@local ->
    py3-supported-hatchling:1.25.0-r2@local,
  caused by:
    py3-supported-hatchling:1.25.0-r2@local ->
    py3-hatchling:1.25.0-r2@local ->
    git:2.46.1-r0@local ->
    curl-dev:8.10.1-r0@local ->
    libpsl-dev:0.21.5-r3@local ->
    libpsl:0.21.5-r3@local ->
    gtk-doc:1.34.0-r0@local ->
    py3-pygments:2.18.0-r1@local


Error: unable to build graph:
   unable to re-add original edge with new dep still causes cycle
       gtk-doc:1.34.0-r0@local -> py3-supported-hatchling
   unable to build graph:
       unable to re-add original edge with new dep still causes cycle
       gtk-doc:1.34.0-r0@local -> py3-supported-hatchling

The output made me suspect that somehow git-bootstrap was not being considered. I'm fairly certain that assessment was wrong.

I'm not sure what was the actual problem, but it was fixed with this change (removing uses-strip from py3-pluggy). I got to that change just by dropping dependencies in packages and then re-running and repeating that cycle.

Some better output would probably help debug this. I'm not sure what said output would look like.

@smoser smoser added enhancement New feature or request needs-triage applied to all new customer/user issues. Removed after triage occurs. labels Sep 23, 2024
@xnox
Copy link
Member

xnox commented Oct 5, 2024

I wonder if lack of pigments provides did it.

And priority zero was not considered.

@xnox
Copy link
Member

xnox commented Oct 14, 2024

I do wonder if strip is this build-cycle which is now should be broken with this update wolfi-dev/os#29169 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage applied to all new customer/user issues. Removed after triage occurs.
Projects
None yet
Development

No branches or pull requests

2 participants