Skip to content

[apr apr-util] Apr and apr-util for non windows systems#8579

Merged
strega-nil merged 22 commits intomicrosoft:masterfrom
stephen-webb:apr-for-non-windows-systems
May 6, 2020
Merged

[apr apr-util] Apr and apr-util for non windows systems#8579
strega-nil merged 22 commits intomicrosoft:masterfrom
stephen-webb:apr-for-non-windows-systems

Conversation

@stephen-webb
Copy link
Contributor

The apr and apr-util CMakeLists.txt is Windows only

@msftclas
Copy link

msftclas commented Oct 13, 2019

CLA assistant check
All CLA requirements met.

@stephen-webb
Copy link
Contributor Author

This PR may address issue #6571 and is a prerequisite for issue #6125

@JackBoosY
Copy link
Contributor

/azp run

@PhoebeHui PhoebeHui self-assigned this Jan 14, 2020
@PhoebeHui PhoebeHui changed the title Apr and apr-util for non windows systems [apr apr-util] Apr and apr-util for non windows systems Jan 15, 2020
@JackBoosY
Copy link
Contributor

Needs to rerun test after #9752 merged.

@PhoebeHui
Copy link
Contributor

@stephen-webb, thanks for updates!

The CI test failed on windows, linux and OSX, could you take a look?

@stephen-webb
Copy link
Contributor Author

The CI fails because apr-util-unix is being built by the Windows systems and apr-util-windows is being built by the Linux and OSX systems.

I have moved apr-util-unix and apr-util-windows back into apr-util and used a conditional inside ports.cmake

@stephen-webb
Copy link
Contributor Author

Most CI build failures are due to openMAMA failing. APR and APR-UTIL builds succeeded except x64-windows-static which reported:
2020-02-11T03:52:38.2175510Z -- Downloading https://www.apache.org/dist/apr/apr-1.7.0.tar.bz2...
2020-02-11T03:53:08.7265036Z -- Downloading https://www.apache.org/dist/apr/apr-1.7.0.tar.bz2... Failed. Status: 35;"SSL connect error"

The failure must be network related as x86-windows did not have a download issue. It reported:
2020-02-11T03:51:55.7940655Z -- Downloading https://www.apache.org/dist/apr/apr-1.7.0.tar.bz2...
2020-02-11T03:52:22.9621198Z -- Extracting source C:/vsts/_work/3/s/downloads/apr-1.7.0.tar.bz2

@JackBoosY
Copy link
Contributor

@stephen-webb I also cannot use this link to download the source code on my machine. Can you replace the source url?

@JackBoosY
Copy link
Contributor

/azp run

@stephen-webb
Copy link
Contributor Author

Which link do you think needs to be changed?
Note: All links are the official release archives.

@JackBoosY
Copy link
Contributor

@stephen-webb Forgot it. I will restart ci test after #10051 merged.

@JackBoosY
Copy link
Contributor

/azp run

@JackBoosY
Copy link
Contributor

Seems have build failures, can you resolve them?

Thanks.

@stephen-webb
Copy link
Contributor Author

The failure do not relate to my changes - they are from other ports.

@stephen-webb
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 8579 in repo microsoft/vcpkg

@JackBoosY
Copy link
Contributor

/azp run

@JackBoosY
Copy link
Contributor

Still have some regressions.

@stephen-webb
Copy link
Contributor Author

stephen-webb commented Mar 10, 2020

Once again, the failures are in other ports! activemq-cpp, aliyun-oss-c-sd, openmama

These ports need to be excluded from linux and osx until they have an implementation for these platforms.

Too many ports in vcpkg are Windows only. I guess I have to use conan.io (despite my preference for a cmake/C++ based package manager).

@JackBoosY
Copy link
Contributor

@stephen-webb Sorry, I forgot that.
Please remove apr:x64-linux=fail and apr:x64-osx=fail, and add the following code to
VCPKG_PATH/scripts/ci.baseline.txt:

activemq-cpp:x64-linux=fail
activemq-cpp:x64-osx=fail
aliyun-oss-c-sdk:x64-linux=fail
aliyun-oss-c-sdk:x64-osx=fail
openmama:x64-linux=fail
openmama:x64-osx=fail

Thanks.

@strega-nil strega-nil force-pushed the apr-for-non-windows-systems branch from 34f825d to 2b6f6a8 Compare May 1, 2020 18:22
@JackBoosY
Copy link
Contributor

JackBoosY commented May 6, 2020

LGTM.
@strega-nil Ready to merge now.

@strega-nil
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@strega-nil
Copy link
Contributor

Alright, let's merge!

@strega-nil strega-nil merged commit 9614c6a into microsoft:master May 6, 2020
@stephen-webb stephen-webb deleted the apr-for-non-windows-systems branch May 6, 2020 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants