-
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
[guile] Added guile port #26336
[guile] Added guile port #26336
Conversation
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for guile have changed but the version was not updated
version: 3.0.8#1
old SHA: 2cc19e8916fff51419747a2e9865743427f530da
new SHA: 99bfa48e99617de3d61b694585a4c12452c1f9ed
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
Please do not add empty usage file. |
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/guile/vcpkg.json b/ports/guile/vcpkg.json
index 941aa2c..97fa0b9 100644
--- a/ports/guile/vcpkg.json
+++ b/ports/guile/vcpkg.json
@@ -4,8 +4,8 @@
"description": "GNU's programming and extension language",
"homepage": "https://www.gnu.org/software/guile/",
"documentation": "https://www.gnu.org/software/guile/manual/",
- "supports": "linux",
"license": "LGPL-3.0-or-later",
+ "supports": "linux",
"dependencies": [
"bdwgc",
"libunistring"
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout d293ac220dd126165d24907b6f07e6b658b3329f -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 0f0d086..c8fc876 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2758,7 +2758,7 @@
},
"guile": {
"baseline": "3.0.8",
- "port-version": 1
+ "port-version": 0
},
"guilite": {
"baseline": "2022-05-05",
diff --git a/versions/g-/guile.json b/versions/g-/guile.json
index 3deac21..500126c 100644
--- a/versions/g-/guile.json
+++ b/versions/g-/guile.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "76a4347fc7a2d962674de8f006974a34423a6e3d",
+ "version": "3.0.8",
+ "port-version": 0
+ },
{
"git-tree": "99bfa48e99617de3d61b694585a4c12452c1f9ed",
"version": "3.0.8",
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for guile have changed but the version was not updated
version: 3.0.8
old SHA: 24a34ad3dbc6fe5c13c1b7c97f282d121ae6df5b
new SHA: 76a4347fc7a2d962674de8f006974a34423a6e3d
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
Building this port fails with the following output: |
9c27b19
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for guile have changed but the version was not updated
version: 3.0.8
old SHA: 76a4347fc7a2d962674de8f006974a34423a6e3d
new SHA: 0f41c7303e1186595d21d6918ec4f6cc8eb99f9c
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
I'll certainly add What other build error do you get with update: I've got a pure nix-shell working and am now able to recreate the error |
Approved since I didn't see any major problems. However, given that we had a failure due to missing
Since there seem to be indications that this is related 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.
I just checked and gettext
does produce autopoint; the port needs to be hooked up to that. Probably missing a vcpkg_add_to_path
?
The updates to the port manifest now solve the autopoint binary problem. In my first draft of the port I had missed this dependency (and others) because I was not running the port in an isolated environment. |
I don't see where it is hooked up. There is |
Re this review, setting the correct dependencies in the manifest seem to have added it to the path. When I tested it in my local environment this worked. If this is not correct I can certainly add the directory to the path manually, I just want to make sure I'm on the right page. |
I see. Hmmm.... I don't see where it's doing that. Let me ask around briefly.. |
If the build instead wants to run a tool from a |
The gettext port does install the autopoint binary, so in that case what is the correct way to get that tools directory added to the path? |
You don't have to deal with |
I have (re)checked in my isolated environment, without the autopoint binary present system-wide, and without manually adding the tools directory to the path, it does appear to be getting the correct autopoint binary. I think @dg0yt is correct, and having the tools feature on the dependency is all that's required. |
.. we are relying on it in other ports. |
4d2fcf1
@BillyONeal @Cheney-W is there anything else that can be done for this? in it's current state the ports dependencies are correctly configured to use the gettext-provided autopoint binary, as far as I can tell this works fully. |
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.
The quotes are important to prevent errors if the path contains spaces. vcpkg_copy_pdbs
does nothing on non Windows platforms so it isn't really a problem.
SHA512 7b2728e849a3ee482fe9a167dd76cc4835e911cc94ca0724dd51e8a813a240c6b5d2de84de16b46469ab24305b5b153a3c812fec942e007d3310bba4d1cf947d | ||
) | ||
|
||
vcpkg_extract_source_archive(GUILE_SOURCES ARCHIVE ${GUILE_ARCHIVE}) |
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.
vcpkg_extract_source_archive(GUILE_SOURCES ARCHIVE ${GUILE_ARCHIVE}) | |
vcpkg_extract_source_archive(GUILE_SOURCES ARCHIVE "${GUILE_ARCHIVE}") |
Please add quotes.
AUTOCONFIG | ||
) | ||
vcpkg_install_make() | ||
vcpkg_copy_pdbs() |
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.
vcpkg_copy_pdbs() | |
vcpkg_copy_pdbs() |
This is only needed on Windows, so you can safely remove it.
Thank you! |
Describe the pull request
What does your PR fix?
Fixes [New Port Request] Guile #11252
Which triplets are supported/not supported? Have you updated the CI baseline?
This port currently only supports linux platforms.
Guile is notoriously tricky to build on non-GNU platforms so this isn't really a surprise to me. I believe these triples will be supportable with further patching/test work, but that is not something I'm able to do for this initial port.
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