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
[BIKESHED] curl license file location #33781
Comments
Do we need it? (lib)curl is already part of stage2 base-chroot, and stage0 base-chroot isn't used for anything but producing stage1. https://github.com/void-linux/void-packages/runs/4021578772?check_suite_focus=true#step:3:35 |
i'd sooner be in favor of removing network access from the chroot than further depending on it |
@Chocimier I want the binary in the ethereal masterdir, I can just add it there, but I'm not sure if there's a problem with doing that if it will cause curl to be picked up in places it shouldn't be. @q66 I encourage you to try. I don't care about calling curl from inside of xbps-src's managed chroots, I only care about having the binary available. |
if you don't care about calling it, why have it available in the first place? |
Purpose of A smaller package is easier to build / maintain (could depend only on OpenSSL), and it would always be available, but without a library and with a different executable name to avoid any silliness in configure scripts from picking it up. |
What @ericonr proposes looks fine, but it's discussion on solution when problem wasn't stated. Requested bikeshedding: why not to install [regular] curl after xbps-src is done? |
@Chocimier the use case is to POST package files and logs back after builds complete. In this case installing curl after xbps-src is done would result in it being installed for every build, which while a relatively trivial load on the internal mirror would be slow and inefficient over using a pre-cached filesystem image that already includes curl. This could also be done as a package that is not depended on by anything and gets added to the ethereal masterdir during a build step to keep it out of local chroots and environments where its presence is not required. |
I think the most important detail here is for bootstrapping builders. You can't install |
libcurl is in stage 2 chroot, so it's built definitely. If we want to provide it in builders, we can put current |
Anyway, I notice license is distributed with |
not particularly, arguably it's not required to ship the license files at all (e.g. Alpine does not ship them, with the claim being that the SPDX tags are enough) but even then, the distribution of the software includes all subpackages, it should not be necessary to include the license in all of them |
I'm not advocate to include the license in all of them, but ship the license with libcurl instead of curl |
I think that's reasonable. |
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it. |
We also update the rtmp configure arg for the preferred format. This version currently fails tests on i686 due to memory exhaustion in the multithreaded test: URL: none lib3026.c:67 Couldn't create thread, errno 11 Moving the license to libcurl is more correct, since it can be used without the main curl package. Fixes: #33781 Co-authored-by: Érico Nogueira <erico.erc@gmail.com>
We also update the rtmp configure arg for the preferred format. This version currently fails tests on i686 due to memory exhaustion in the multithreaded test: URL: none lib3026.c:67 Couldn't create thread, errno 11 Moving the license to libcurl is more correct, since it can be used without the main curl package. Fixes: void-linux/void-packages#33781 Co-authored-by: Érico Nogueira <erico.erc@gmail.com> void-linux/void-packages@af67bfc
We also update the rtmp configure arg for the preferred format. This version currently fails tests on i686 due to memory exhaustion in the multithreaded test: URL: none lib3026.c:67 Couldn't create thread, errno 11 Moving the license to libcurl is more correct, since it can be used without the main curl package. Fixes: void-linux#33781 Co-authored-by: Érico Nogueira <erico.erc@gmail.com>
In re-imagining what build infrastructure around xbps-src looks like, having the ability to run lots of things inside the ethereal chroot becomes appealing. Everything I've wanted to do so far has worked, but for doing an HTTP post of files it would be ideal to have curl in the chroot. Thoughts on adding a
chroot-curl
?The text was updated successfully, but these errors were encountered: