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

[python3] build failure #13741

Closed
chenming-wu opened this issue Sep 25, 2020 · 11 comments · Fixed by #14510
Closed

[python3] build failure #13741

chenming-wu opened this issue Sep 25, 2020 · 11 comments · Fixed by #14510
Assignees
Labels
depends:upstream-changes Waiting on a change to the upstream project requires:repro The issue is not currently repro-able

Comments

@chenming-wu
Copy link

chenming-wu commented Sep 25, 2020

Host Environment

  • OS: MacOS (Big Sur beta8)
  • Compiler: Clang

To Reproduce
Steps to reproduce the behavior:
./vcpkg install python3

Failure logs
-Cut and past the appropriate build messages from the console output.
-Please attach any additional failure logs mentioned in the console output.
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:141 (message):
Command failed: /Users/jast/vcpkg/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean-x64-osx-release/configure --prefix=/Users/jast/vcpkg/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean-x64-osx-release/../../make-build-x64-osx-release --with-openssl=/Users/jast/vcpkg/installed/x64-osx "CPPFLAGS=-I/Users/jast/vcpkg/installed/x64-osx/include -framework CoreFoundation" LDFLAGS=-L/Users/jast/vcpkg/installed/x64-osx/lib LIBS=-liconv
Working Directory: /Users/jast/vcpkg/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean-x64-osx-release
See logs for more information:
/Users/jast/vcpkg/buildtrees/python3/config-x64-osx-rel-out.log
/Users/jast/vcpkg/buildtrees/python3/config-x64-osx-rel-err.log

Call Stack (most recent call first):
ports/python3/portfile.cmake:125 (vcpkg_execute_build_process)
scripts/ports.cmake:79 (include)

Error: Building package python3:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with ./vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: python3:x64-osx
Vcpkg version: 2020.06.15-unknownhash

Additionally, attach any relevant sections from the log files above.

The following packages will be built and installed:
GNU nano 2.0.6 File: /Users/jast/vcpkg/buildtrees/python3/config-x64-osx-rel-err.log

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
configure: error: in /Users/jast/vcpkg/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean-x64-osx-release': configure: error: cannot compute sizeof (long double) See config.log' for more details

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

@chenming-wu chenming-wu changed the title [<port name>] build failure [python3] build failure Sep 25, 2020
@JackBoosY JackBoosY self-assigned this Sep 25, 2020
@JackBoosY JackBoosY added the requires:repro The issue is not currently repro-able label Sep 25, 2020
@JackBoosY
Copy link
Contributor

Could you provide the full log?
/Users/jast/vcpkg/buildtrees/python3/config-x64-osx-rel-out.log
/Users/jast/vcpkg/buildtrees/python3/config-x64-osx-rel-err.log

Thanks.

@JackBoosY JackBoosY added the requires:more-information This Issue requires more information to solve label Sep 25, 2020
@chenming-wu
Copy link
Author

@chenming-wu
Copy link
Author

@JackBoosY Sure, already uploaded.

@JackBoosY
Copy link
Contributor

configure: error: cannot compute sizeof (long double)

@JackBoosY JackBoosY removed the requires:more-information This Issue requires more information to solve label Sep 27, 2020
@chenming-wu
Copy link
Author

Is there any workaround to fix this error? @JackBoosY

@JackBoosY
Copy link
Contributor

@chenming-wu My osx machine has problem, waiting for fix it.

@JackBoosY
Copy link
Contributor

@chenming-wu Can you provide the log /Users/jast/vcpkg/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean-x64-osx-release/config.log?

@JackBoosY JackBoosY added the requires:more-information This Issue requires more information to solve label Oct 13, 2020
@chenming-wu
Copy link
Author

config.log

@JackBoosY
Copy link
Contributor

clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
Should not be compatible with the beta version of macOS.

@JackBoosY JackBoosY added depends:upstream-changes Waiting on a change to the upstream project and removed requires:more-information This Issue requires more information to solve labels Oct 14, 2020
@chenming-wu
Copy link
Author

chenming-wu commented Oct 14, 2020

Will upgrade cpython to the latest version solve this problem? See python/cpython#21113

@JackBoosY
Copy link
Contributor

@chenming-wu Maybe, you can have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends:upstream-changes Waiting on a change to the upstream project requires:repro The issue is not currently repro-able
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants