texlive-bin: Rebuild with current runtime and compiler#21290
Merged
mmuetzel merged 4 commits intomsys2:masterfrom Jul 2, 2024
Merged
texlive-bin: Rebuild with current runtime and compiler#21290mmuetzel merged 4 commits intomsys2:masterfrom
mmuetzel merged 4 commits intomsys2:masterfrom
Conversation
7 tasks
Contributor
|
Those errors look like what you would get from g++ if the C++ language standard was not set to C++11 or newer. |
Collaborator
Author
|
Aaah. Doesn't ICU require C++17 now? Edit: That seems to be the case indeed: https://icu.unicode.org/download/75 |
Collaborator
Author
|
That seems to have done the trick (at least for me locally in the MINGW64 environment). |
cf32f9b to
bf4df77
Compare
See: https://icu.unicode.org/download/75 Also append the flag that changes the C++ standard to `CXX` instead of `CXXFLAGS` so that configure test involving only the preprocessor (not the compiler) are using the same standard. Fix typos.
|
That looks like a lot of effort, considering similar fixes might also be necessary for other packages. Maybe we could have another go on this one msys2/msys2-runtime#213 @lazka? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an attempt to fix some build errors of the texlive-bin package. It is based on the changes from #19921.
It works around the issue with the conversion of path lists (msys2/msys2-runtime#208) by manually converting the respective paths from relative to absolute using
cygpath.It also cherry-picks some fixes from upstream and uses the
-Wno-error=incompatible-pointer-typeswork-around to avoid some build errors with GCC 14.It still fails with errors (in an ICU header iiuc). Maybe, someone has hints how to fix that or would like to continue from here.
It fails with errors like the following for me locally: