Skip to content
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

[openssl] Update openssl 1.1.1g - continued from PR #11003 #11882

Merged
merged 7 commits into from
Jun 29, 2020

Conversation

Septarius
Copy link
Contributor

@Septarius Septarius commented Jun 11, 2020

Describe the pull request
Applies the suggestions from the review of PR #11003 to a rebased branch based off of PR #11003.

@ghost
Copy link

ghost commented Jun 11, 2020

CLA assistant check
All CLA requirements met.

@NancyLi1013 NancyLi1013 self-assigned this Jun 11, 2020
@NancyLi1013 NancyLi1013 added the category:port-update The issue is with a library, which is requesting update new revision label Jun 11, 2020
@Septarius
Copy link
Contributor Author

Console log for x64_linux regression

There were no log files in the artifact even though it mentions them in the console log as being at: /mnt/vcpkg-ci/buildtrees/apr-util/build-x64-linux-dbg-err.log

It failed on ports/apr-util/portfile.cmake:78 vcpkg_install_make()

2020-06-11T05:05:08.9279850Z Starting package 6/449: apr-util:x64-linux
2020-06-11T05:05:08.9280356Z Building package apr-util[core]:x64-linux...
2020-06-11T05:05:08.9280799Z Could not locate cached archive: /archives/5d/5d121f9e4dd32ff8ddf098d9185938b2ba8ebdd3.zip
2020-06-11T05:05:13.4321382Z -- Downloading http://archive.apache.org/dist/apr/apr-util-1.6.1.tar.bz2...
2020-06-11T05:05:13.4322328Z -- Extracting source /mnt/vcpkg-ci/downloads/apr-util-1.6.1.tar.bz2
2020-06-11T05:05:13.4323007Z -- Using source at /mnt/vcpkg-ci/buildtrees/apr-util/src/apr-util-1-a62665826e
2020-06-11T05:05:13.4323527Z -- Configuring apr-util
2020-06-11T05:05:13.4323978Z -- Configuring x64-linux-dbg
2020-06-11T05:05:13.4324420Z -- Configuring x64-linux-rel
2020-06-11T05:05:13.4324865Z -- Building x64-linux-dbg
2020-06-11T05:05:13.4325246Z CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
2020-06-11T05:05:13.4325838Z     Command failed: /usr/bin/make V=1 -j 17 -f Makefile all
2020-06-11T05:05:13.4326460Z     Working Directory: /mnt/vcpkg-ci/buildtrees/apr-util/x64-linux-dbg
2020-06-11T05:05:13.4326846Z     See logs for more information:
2020-06-11T05:05:13.4327389Z       /mnt/vcpkg-ci/buildtrees/apr-util/build-x64-linux-dbg-err.log
2020-06-11T05:05:13.4327683Z 
2020-06-11T05:05:13.4327941Z Call Stack (most recent call first):
2020-06-11T05:05:13.4328317Z   scripts/cmake/vcpkg_build_make.cmake:200 (vcpkg_execute_build_process)
2020-06-11T05:05:13.4328713Z   scripts/cmake/vcpkg_install_make.cmake:24 (vcpkg_build_make)
2020-06-11T05:05:13.4329285Z   ports/apr-util/portfile.cmake:78 (vcpkg_install_make)
2020-06-11T05:05:13.4329645Z   scripts/ports.cmake:76 (include)
2020-06-11T05:05:13.4329882Z 
2020-06-11T05:05:13.4330055Z 
2020-06-11T05:05:13.5229116Z Error: Building package apr-util:x64-linux failed with: BUILD_FAILED
2020-06-11T05:05:13.5230591Z Elapsed time for package apr-util:x64-linux: 4.593 s

Log of local Ubuntu 20.04 build

Elapsed time for package openssl:x64-linux: 11.95 ms
Starting package 5/5: apr-util:x64-linux
Building package apr-util[core]:x64-linux...
-- Downloading http://archive.apache.org/dist/apr/apr-util-1.6.1.tar.bz2...
-- Extracting source /home/vcpkgbuilder/vcpkg/downloads/apr-util-1.6.1.tar.bz2
-- Using source at /home/vcpkgbuilder/vcpkg/buildtrees/apr-util/src/apr-util-1-a62665826e
-- Configuring apr-util
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing x64-linux-dbg
-- Installing x64-linux-rel
-- Installing: /home/vcpkgbuilder/vcpkg/packages/apr-util_x64-linux/share/apr-util/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package apr-util[core]:x64-linux... done
Installing package apr-util[core]:x64-linux...
Installing package apr-util[core]:x64-linux... done
Elapsed time for package apr-util:x64-linux: 8.844 s

Full log here
https://gist.github.com/Septarius/694106b0a9c43e696a5e93e6fc0e543c

@Septarius
Copy link
Contributor Author

Console log for x64_osx regression

There were no log files in the artifact even though it mentions them in the console log as being at: /Users/vagrant/Data/buildtrees/apr-util/build-x64-osx-dbg-err.log

It failed on ports/apr-util/portfile.cmake:78 vcpkg_install_make()

2020-06-11T05:09:17.5313600Z Starting package 6/400: apr-util:x64-osx
2020-06-11T05:09:17.5314230Z Building package apr-util[core]:x64-osx...
2020-06-11T05:09:17.5314700Z Could not locate cached archive: /Users/vagrant/Data/archives/c0/c011c9247600d1c57afefaa9cdd97fcd57a53ab3.zip
2020-06-11T05:09:48.0279690Z -- Using cached /Users/vagrant/Data/downloads/apr-util-1.6.1.tar.bz2
2020-06-11T05:09:48.0280740Z -- Extracting source /Users/vagrant/Data/downloads/apr-util-1.6.1.tar.bz2
2020-06-11T05:09:48.0281260Z -- Using source at /Users/vagrant/Data/buildtrees/apr-util/src/apr-util-1-a62665826e
2020-06-11T05:09:48.0281660Z -- Configuring apr-util
2020-06-11T05:09:48.0282110Z -- apr-util requires pkg-config from the system package manager (example: "sudo apt-get install pkg-config")
2020-06-11T05:09:48.0282520Z -- Configuring x64-osx-dbg
2020-06-11T05:09:48.0282930Z -- Configuring x64-osx-rel
2020-06-11T05:09:48.0283320Z -- Building x64-osx-dbg
2020-06-11T05:09:48.0283500Z CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
2020-06-11T05:09:48.0284670Z     Command failed: /usr/bin/make V=1 -j 6 -f Makefile all
2020-06-11T05:09:48.0285410Z     Working Directory: /Users/vagrant/Data/buildtrees/apr-util/x64-osx-dbg
2020-06-11T05:09:48.0285720Z     See logs for more information:
2020-06-11T05:09:48.0286710Z       /Users/vagrant/Data/buildtrees/apr-util/build-x64-osx-dbg-err.log
2020-06-11T05:09:48.0286960Z 
2020-06-11T05:09:48.0287100Z Call Stack (most recent call first):
2020-06-11T05:09:48.0287220Z   scripts/cmake/vcpkg_build_make.cmake:200 (vcpkg_execute_build_process)
2020-06-11T05:09:48.0287360Z   scripts/cmake/vcpkg_install_make.cmake:24 (vcpkg_build_make)
2020-06-11T05:09:48.0287760Z   ports/apr-util/portfile.cmake:78 (vcpkg_install_make)
2020-06-11T05:09:48.0289050Z   scripts/ports.cmake:76 (include)
2020-06-11T05:09:48.0289210Z 
2020-06-11T05:09:48.0289350Z 
2020-06-11T05:09:48.5137930Z Error: Building package apr-util:x64-osx failed with: BUILD_FAILED
2020-06-11T05:09:48.5139270Z Elapsed time for package apr-util:x64-osx: 31 s

@Septarius
Copy link
Contributor Author

Septarius commented Jun 12, 2020

I am not sure the cause of this build failure. The console output isn't very helpful tracking it down and we are missing the CI's make command's log files.

The only obvious difference in the CI log vs the local log is the local GCC is 9.3 vs 7.5 .

EDIT:
The failure log readme.txt says if the console output is missing to ask vcpkg team about tombstone removal for abi tag 5d121f9e4dd32ff8ddf098d9185938b2ba8ebdd3.

There is output but not from the make command so maybe it is a different issue.

crackedmind and others added 4 commits June 11, 2020 21:52
The suggested changes from PR microsoft#11003

Along with one additional to remove the deprecated vcpkg_test_cmake from openssl-uwp\portfile.cmake as well.
@Septarius
Copy link
Contributor Author

Rebased to fix conflict with PR #11344. Will see if the CI build succeeds now.

@Septarius
Copy link
Contributor Author

Septarius commented Jun 13, 2020

The x64_linux regressions are gone we have new ones in their place.

arm64_windows regressions

soundtouch and tinyfiledialogs
Should be fixed by PR #11896

x86_windows regressions

geographiclib
Should be fixed by PR #11896

x64_osx regressions

Improvement over the last regression we have error logs in the artifact

config-x64-osx-dbg-err.log

configure: WARNING: unrecognized options: --disable-silent-rules, --enable-static, --disable-shared
./../src/apr-util-1-a62665826e/configure: line 4089: cd: /Volumes/data/work/2/s/installed/x64-osx/build-1: No such file or directory
cp: /apr_rules.mk: No such file or directory
configure: WARNING: unrecognized options: --disable-silent-rules, --enable-static, --disable-shared

build-x64-osx-dbg-err.log

Makefile:50: /Volumes/data/buildtrees/apr-util/x64-osx-dbg/build/rules.mk: No such file or directory
make: *** No rule to make target `/Volumes/data/buildtrees/apr-util/x64-osx-dbg/build/rules.mk'.  Stop.

I don't believe that the changes in this PR are causing the above error lines since there is no mention of OpenSSL in there.

I found on my successful local Linux build that installed/x64-linux/build-1 exists and there is an apr_rules.mk file in there installed from the apr package per its log.
Could it be that the CI's cached apr package is missing that folder?

@NancyLi1013
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@NancyLi1013
Copy link
Contributor

Hi @Septarius
Could you please merge the latest commit on master to this PR?

@Septarius
Copy link
Contributor Author

@NancyLi1013 Merged from upstream/master

@NancyLi1013
Copy link
Contributor

@Septarius
Thanks for your update.
LGTM now. The current regressions are not related with this PR. So you can ignore them. We will rerun this PR once fixed.

@BillyONeal
Copy link
Member

Could it be that the CI's cached apr package is missing that folder?

Yes, that means some other port is playing "is that already present? If not copy over it" games

@Septarius Septarius marked this pull request as ready for review June 26, 2020 15:58
@Septarius
Copy link
Contributor Author

PR #12067 fixed the build errors. Thanks everyone for the assistance getting this ready!

@vicroms
Copy link
Member

vicroms commented Jun 26, 2020

Thanks for the PR!

@NancyLi1013 NancyLi1013 added the info:reviewed Pull Request changes follow basic guidelines label Jun 28, 2020
@vicroms vicroms merged commit 3c34afc into microsoft:master Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[openssl] update to 1.1.1g - CVE-2019-1563 & CVE-2019-1551
5 participants