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

pin_subpackage fails when package declared further down is referenced #1245

Closed
borchero opened this issue Dec 9, 2024 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@borchero
Copy link

borchero commented Dec 9, 2024

Using rattler-build from main on darwin-aarch64, the following recipe where test1 is referenced from test2 but declared after

recipe:
  name: test-split
  version: v1

build:
  number: 0
  noarch: python

source:
  path: ./

outputs:
  - package:
      name: test2
    requirements:
      run:
        - ${{ pin_subpackage('test1', exact=True) }}
  - package:
      name: test1

results in a stackoverflow:

thread 'main' has overflowed its stack
fatal runtime error: stack overflow
[1]    82318 abort      '/Users/borchero/Downloads/rattler-build-aarch64-apple-darwin 2/rattler-build

When declaring test1 before test2, the build works.

@pavelzw pavelzw added the bug Something isn't working label Dec 9, 2024
@wolfv
Copy link
Member

wolfv commented Dec 9, 2024

Thanks! I'll take a look right now.

@borchero
Copy link
Author

borchero commented Dec 9, 2024

Thanks a lot @wolfv! Let me know if I should test some build on the recipe that prompted my last few issues 😄

@wolfv
Copy link
Member

wolfv commented Dec 10, 2024

Fixed in #1250

@wolfv wolfv closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants