[vcpkg] Add missing autoconf dependencies to osx provisioning#17227
[vcpkg] Add missing autoconf dependencies to osx provisioning#17227dg0yt wants to merge 4 commits intomicrosoft:masterfrom
Conversation
|
I added gettext also to osx, as suggest in #17057. So similar changes are done to linux and osx now I would like to add that wile gettext/autopoint don't have significant dependencies (m4 on linux), gtk-doc-tools/gtk-doc come with a longer list on Ubuntu and macOS. And for gettext, there is also a port. |
|
You may want to split out linux and osx, since osx is a lot easier to update (and I can personally do it). |
The changes for linux will go to a separate PR.
This PR is now reduced to osx (matching my initial branch naming). Linux is in #17278. Looing forward to see the autoconf backlog being resolved. |
|
cool, thanks @dg0yt. I will try this out soon. |
|
@Neumann-A, I noticed that you have already added feature 'tools' which contains autopoint to gettext port by PR #17278, is it possible to replace 'brew install gettext' on osx or linux? |
|
@PhoebeHui You can try it but I don't exactly know how it interacts which the whole m4 stuff which is normally needed. Just put the corresponding binary on |
|
On Linux, the gettext port is empty at the moment: vcpkg/ports/gettext/portfile.cmake Lines 1 to 7 in b1e352c Regarding build time, it might be possible to create a separate feature for |
"for autopoint" |
|
Verified it on macOS platform, and it works. however, the gettext doesn't work on linux, and building gettext[tools] is also a bit time consuming, we may consider to install gettext on pipeline test machines? @strega-nil, what do you think? Verified:
|
|
|
|
I'm playing with the gettext port on Linux, but it is relevant for osx as well: I was able to establish an pure "autopoint" feature, running configure in Given that this "build" just consists of configuring the |
Works for me, for windows/linux/osx/mingw. Looking at the The autopoint solution pattern could work for gtkdocize, too: it is a script which runs during autoconf and doesn't come with direct dependencies. However there is no |
|
Huh on my machine it is as fast as installing other packages. It needs 10 seconds to install the package and dependencies. |
I need to do this in Azure Pipelines, and it takes more than one minute: And now I see that it also pulls in |
Yes, I concerned to install gtk-doc on osx test machines, I'm not sure if it would cause conflicts with these packages which installed by vcpkg. |
It is already installed on some machines. Otherwise the pipelines would not fail randomly based on the machine they run on. |
|
I have no clue if there is any interest in offering a lightweight |
|
I think this is good; however, I'd prefer to roll this into PR #17376 |
|
Thanks. |
|
Assuming that
|
There was a problem hiding this comment.
LGTM, though this will be blocked until we reprovision OSX.
I also do very much like fast solutions :) and if we can get effectively identical results while doing less work I'm all for it.
Finally, if gettext tools can be made fast enough, building our own copies of the tools would be better than needing the system copies.
|
Today I would rather propose to not merge this. It solves issues in CI but not for users, and better solutions start to get merged.
|
|
@dg0yt So please close this issue or change it to draft. |
What does your PR fix?
This PR is to install dependencies which are required by autoconf when building ports such as libtasn1 or libidn2. The lack of these dependencies breaks a number of PRs (e.g. [vcpkg/scripts/make] determine whether to use automake wrappers #17215, [vcpkg] Don't override pkg-config prefix #17205, [vcpkg] Fix lib uuid handling for x64-mingw-dynamic #17137, [libtasn1] build failure in osx pipeline #17098, [libidn2] build failure on osx pipeline #17057).
Which triplets are supported/not supported? Have you updated the CI baseline?
linux,osxDoes your PR follow the maintainer guide?
-/-