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

[libmysql 8.0.34] build failure #42302

Closed
druidfund opened this issue Nov 22, 2024 · 4 comments
Closed

[libmysql 8.0.34] build failure #42302

druidfund opened this issue Nov 22, 2024 · 4 comments
Assignees
Labels
category:question This issue is a question

Comments

@druidfund
Copy link

Operating system

CentOS 8.5

Compiler

GCC 8.5

Steps to reproduce the behavior

vcpkg install libmysql

Failure logs

in "/opt/vcpkg/buildtrees/libmysql/config-x64-linux-out.log"

-- This is .el8. as found from 'rpm -qf /'
-- Looking for a devtoolset compiler
CMake Warning at CMakeLists.txt:394 (MESSAGE):
  Could not find devtoolset compiler/linker in /opt/rh/gcc-toolset-12


CMake Warning at CMakeLists.txt:396 (MESSAGE):
  You need to install the required packages:

   yum install gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ gcc-toolset-12-binutils gcc-toolset-12-annobin-annocheck gcc-toolset-12-annobin-plugin-gcc



CMake Error at CMakeLists.txt:398 (MESSAGE):
  Or you can set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER explicitly.


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

Additional context

the default gcc version of centos8.* is gcc8.*, is there any way to fix this for those that can not upgrade gcc or centos version?

@druidfund druidfund added the category:port-bug The issue is with a library, which is something the port should already support label Nov 22, 2024
@jimwang118
Copy link
Contributor

jimwang118 commented Nov 22, 2024

The error message indicates that the compiler was not obtained. Have you installed multiple versions of the compiler?

@druidfund
Copy link
Author

druidfund commented Nov 22, 2024

The error message indicates that the compiler was not obtained. Have you installed multiple versions of the compiler?

gcc 8.5 only, and can not upgrade for some reason

@dg0yt
Copy link
Contributor

dg0yt commented Nov 22, 2024

That package is nasty. We already build with FORCE_UNSUPPORTED_COMPILER for Windows. The same control would relax constraints for other platforms.

@druidfund
Copy link
Author

That package is nasty. We already build with FORCE_UNSUPPORTED_COMPILER for Windows. The same control would relax constraints for other platforms.

thanks a lot, it works by build with FORCE_UNSUPPORTED_COMPILER !

@jimwang118 jimwang118 added category:question This issue is a question and removed category:port-bug The issue is with a library, which is something the port should already support labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants