-
Notifications
You must be signed in to change notification settings - Fork 162
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
TEST_DEPENDS aren't taken from packages #1131
Comments
I don't see how this could work without #355. The problem with Poudriere is not that it "simply does not run
For what it's worth I plan to tackle this (#355) after I merge in #822 in the coming weeks. |
No, my dependency is built by a previous As for #355, I already implemented the hooking at the framework level via So, in this case really just need |
Yes, you're right, Poudriere also doesn't queue TEST_DEPENDS. But even just having |
Here' is a hack that fixed things for me: arrowd@7ac7541 |
@arrowd I see several packages failing to build because the test-depends aren't queued by poudriere-devel yet. And those fail because we do not - by default - permit builds to fetch anything (more precisely, to resolve DNS after the fetch stage) |
Yes, hacked it up a bit, see my previous comment. But this is either not an ideal solution and a more substantial work has to be done on the Poudriere side. |
Before we had the bits in place we have this year, I used to hack my Makefiles with (edited:) We can't currently separate build-deps from test-deps when building packages, or did I miss some recent development? |
This is actually an interesting idea! I will try to find time to play with it, thanks. |
We can now after very recent changes. I need to put out a PoC for a proper Edit: commit 48f74bf |
When Poudriere 3.4.1 installs
{BUILD,LIB}_DEPENDS
it passesUSE_PACKAGE_DEPENDS_ONLY=1
to force using packages:Turns out this is not the case for
TEST_DEPENDS
during thepackage
phase:This leads to
The
make test
stage gets hooked into thepackage
phase viaMk/Features/testing.mk
that I've added recently.I guess, this can easily be fixed by making Poudriere pass
USE_PACKAGE_DEPENDS_ONLY=1
for thepackage
phase?The text was updated successfully, but these errors were encountered: