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

curl: properly handle zstd support rather than just shutting it off #3338

Closed
wants to merge 1 commit into from

Conversation

Spudz76
Copy link
Contributor

@Spudz76 Spudz76 commented Aug 23, 2020

Fixes package libcurl build issue :

Package libcurl is missing dependencies for the following libraries:
libzstd.so.1

Previous patch by Hans Dedecker dedeckeh@gmail.com took the easy way out :)

Suggested-by: Syrone Wong wong.syrone@gmail.com
Signed-off-by: Tony Butler spudz76@gmail.com

Package libcurl is missing dependencies for the following libraries:
libzstd.so.1

Previous patch by Hans Dedecker <dedeckeh@gmail.com> took the easy way
out :)

Suggested-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Tony Butler <spudz76@gmail.com>
@dedeckeh
Copy link
Contributor

dedeckeh commented Aug 23, 2020

NACK, packages in the core repo (curl in this case) cannot depend on packages outside the core repo (zstd in packages repo in this case). Either zstd must be move to the core repo or curl must be moved to the packages repo; but since we want to move more packages to the feeds repo I don't think a consensus will be found to move zstd to the core the repo. So I did not take the easy way out taking the above into account as I wanted to deblock the situation.

@dedeckeh dedeckeh added core packages pull request/issue for core (in-tree) packages blocked pull request blocked by/waiting for another change labels Aug 23, 2020
@Spudz76
Copy link
Contributor Author

Spudz76 commented Aug 23, 2020

Cool, yet another open source project forcing me to keep my own tree of patches.

So how about make a curl-full then, in packages repo, and apply every workable feature to it. Then I can uninstall base curl because I don't need to save space, and want zstd support, but don't want to maintain my own pile of patches.

Also remove all weird features core doesn't need curl to do so that it is painfully obvious if you want a curl that does everything you need to install packages feed and use curl-full instead. Similar to how vim works.

@BKPepe
Copy link
Member

BKPepe commented Aug 24, 2020

By default it is disabled, wouldn't it be sufficient to have it more documented for example: Enable zstd support (requires packages feed)?

@dedeckeh
Copy link
Contributor

@BKPepe Documenting it more won't fix the issue that curl needs to depend on the external package zstd. But this discussion fits into the bigger picture of which packages do we want to move to packages feed and/or which packages from feeds/packages need to be moved to the core repo as core packages depend on it.

@neheb
Copy link
Contributor

neheb commented Aug 24, 2020

Why is curl in base? scripts/download.pl uses host not target curl.

@aparcar
Copy link
Member

aparcar commented Aug 26, 2020

Related #3351

@dedeckeh
Copy link
Contributor

Closing this PR as curl is moved to packages (openwrt/packages#13214)

@dedeckeh dedeckeh closed this Aug 27, 2020
@Spudz76 Spudz76 deleted the curl-add-zstd branch August 27, 2020 19:06
@Spudz76 Spudz76 restored the curl-add-zstd branch December 6, 2022 09:12
@Spudz76 Spudz76 deleted the curl-add-zstd branch December 6, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked pull request blocked by/waiting for another change core packages pull request/issue for core (in-tree) packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants