[xerces-c] fixed issue #9654#9702
Conversation
ports/xerces-c/portfile.cmake
Outdated
There was a problem hiding this comment.
Could you please update
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/xerces-c RENAME copyright)
as
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)?
|
Hi @mitza-oci thanks for this PR. |
|
Have existed PR #9655. |
|
It seems that there is something wrong with osx pipeline. |
|
Related #9726. |
Is there anything left to do before merging this? vcpkg's xerces-c has been broken for some time and our downstream project's CI depends on it. |
|
|
How is it working on master? Unless there is a cached download? xerces-c cannot be downloaded from the URL used: Because xerces-c has broken on master for a while, we can't determine if this failure on Apple macOS is new to this PR (shouldn't be). |
|
Hi @mitza-oci |
The above is for master, not my branch. When using master, xerces-c cannot be downloaded. So the CI build indicating "success" on master is not accurate -- my guess is that the CI is using a cached download.
I can't reproduce the error locally and I'm not set up to use vcpkg on Apple macOS. This PR as-is restores vcpkg's xerces-c package to a useable state. Someone who knows the macOS-specific code in xalan/xerces should continue to fix any remaining errors. This is what I see on macOS, vcpkg fails to bootstrap: I don't see anything in vcpkg documentation indicating the minimum macOS version required. |
|
Looks like the issue was already fixed in #9726 which made almost the exact same change to |
|
@mitza-oci |
|
The package writes to both |
|
The *.cmake files such as *target.cmake, *config.cmake should be in share/xercesc, which is decided by |
I'm seeing |
Looks like that was a local change, which I reverted. |
|
Looks like the error in |
|
You're right, I'll trigger a rebuild |
Thank you, looks like it worked. |
Using first attempt and review suggestions from #9655
Describe the pull request
What does your PR fix? Fixes issue [xerces-c] https://github.com/apache/xerces-c/archive/Xerces-C_3_2_2.tar.gz no longer exist #9654
Which triplets are supported/not supported? Have you updated the CI baseline?
No change to existing xerces-c port
Does your PR follow the maintainer guide?
AFAIK