-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[base64] Add new port #25091
[base64] Add new port #25091
Conversation
d101abe
to
b2be724
Compare
@BurningEnlightenment, thanks for your PR! feel free to ping us if the PR is ready for review. |
Will do, I'm currently waiting for upstream to fix the last issue and to official release 0.5.0 this may take another week or two |
@BurningEnlightenment Is work still being done for this PR? |
The 0.5.0 release has been delayed due to a critical bug affecting code generation for Apple's M1 architecture. We cannot properly use the 0.4.0 release due to lack of a cmake project and Windows issues. So either we add an unoffcial prerelease version or wait until things have been sorted out upstream. Sorry for the inconveniences. |
Closing this PR. Please reopen it if it is no longer blocked. |
@Adela0814 The release finally happened and I updated the port. Can you reopen this or do I need to submit a new PR? |
If this PR is ready for review, please feel free to reopen it. |
@Adela0814 I don't have a button to reopen it. I guess that I am missing rights to do it and a maintainer has to reopen it. |
b2be724
to
d13f98e
Compare
@Adela0814 thanks. This is ready for review now. |
d13f98e
to
6a41fe4
Compare
6a41fe4
to
007b38b
Compare
007b38b
to
b50d306
Compare
b50d306
to
ee6c484
Compare
I'm concerned about the names this port wants stepping on things that are already taken. In particular:
Is the port trying to take any of these names? It's also concerning that "base64 library c++" doesn't include this library anywhere even on the first page. Would you be willing to accept renaming to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed:
bion@BION-TR:~/vcpkg$ ./vcpkg install base64
Computing installation plan...
The following packages will be built and installed:
base64[core]:x64-linux -> 0.5.0
Detecting compiler hash for triplet x64-linux...
Restored 0 package(s) from /home/bion/.cache/vcpkg/archives in 5.591 us. Use --debug to see more details.
Installing 1/1 base64:x64-linux...
Building base64[core]:x64-linux...
-- Using cached aklomp-base64-9ae5ad37720bc94e90719566de48e2444b96b642.tar.gz.
-- Extracting source /mnt/c/Dev/vcpkg-downloads/aklomp-base64-9ae5ad37720bc94e90719566de48e2444b96b642.tar.gz
-- Using source at /home/bion/vcpkg/buildtrees/base64/src/444b96b642-5dd27aa75a.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /home/bion/vcpkg/packages/base64_x64-linux/share/base64/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: "/home/bion/.cache/vcpkg/archives/bb/bbd78b9528f6cd67b6760712f878f5c7e2c25188e3d1d0ea23107fd6342b899a.zip"
The following files are already installed in /home/bion/vcpkg/installed/x64-linux and are in conflict with base64:x64-linux
Installed by turbobase64:x64-linux
debug/lib/libbase64.a
lib/libbase64.a
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+base64
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[base64]+Build+error
Include '[base64] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-07-21-a0e87e227afb536c62188c11ad029954f28fdb22
vcpkg-scripts version: ee6c48459 2022-08-22 (12 hours ago)
bion@BION-TR:~/vcpkg
@BillyONeal I feared as much regarding name clashes with other libraries. I'm open wrt changing the directory layout and/or port naming as long as the cmake configs and targets stay compatible. What would be your suggestion for the library name clash? A subdirectory?
It does come up second place if you search for base64 c simd and it got way more stars on github than turbobase and lemires base64 implementation combined (as can be seen by this search querry: base64 simd). |
Given linkers' behavior I think the name of the lib needs to change :(. Yes, upstream may hate this :( :(
Sure but we aren't talking about a port named |
I'm a bit undecided, but I will probably retract this port. I should be fine adding the port to my own registry as is, since using Regarding
The turbobase port uses a custom CMake buildsystem instead of the upstream autotools based one. So shouldn't these paths be
instead? Or has that ship sailed due to backward compat? |
I think that would be a reasonable change (the ship has not sailed IMO). |
In that case, it should be moved to the |
I decided to migrate the port to my registry and put this PR on hold until upstream makes a decision wrt its naming. @BillyONeal I'm wondering: Is there some protocol/guideline for ports changing names? |
We end up having to leave the old name and make it an empty port that has a dependency on whatever the new name is. We've done it but we try to avoid doing so for hopefully apparent reasons :) |
Describe the pull request
What does your PR fix?
Fixes [New Port Request] base64 #25090
Which triplets are supported/not supported? Have you updated the CI baseline?
all, No
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
TODO list
bin/
aklomp/base64#89