manticoresearch icon indicating copy to clipboard operation
manticoresearch copied to clipboard

Local build error 6.3.2

Open lld1995 opened this issue 1 year ago • 5 comments

Bug Description:

/data/manticoresearch/src/replication/wsrep_v25.cpp:359:8: error: declaration of ‘using Status_e = enum class RAW25::Status_e’ changes meaning of ‘Status_e’ [-fpermissive] 359 | using Status_e = Status_e; | ^~~~~~~~ /data/manticoresearch/src/replication/wsrep_v25.cpp:18:12: note: ‘Status_e’ declared here as ‘enum class RAW25::Status_e’ 18 | enum class Status_e : int { | ^~~~~~~~

/data/manticoresearch/src/replication/wsrep_v31.cpp:418:8: error: declaration of ‘using Status_e = enum class RAW31::Status_e’ changes meaning of ‘Status_e’ [-fpermissive] 418 | using Status_e = Status_e; | ^~~~~~~~ /data/manticoresearch/src/replication/wsrep_v31.cpp:18:12: note: ‘Status_e’ declared here as ‘enum class RAW31::Status_e’ 18 | enum class Status_e : int { | ^~~~~~~~

But 6.2.12 is compile success

Manticore Search Version:

master

Operating System Version:

ubuntu20.04

Have you tried the latest development version?

None

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • [ ] Implementation completed
  • [ ] Tests developed
  • [ ] Documentation updated
  • [ ] Documentation reviewed
  • [ ] Changelog updated

lld1995 avatar Jul 09 '24 08:07 lld1995

Are you using our special docker image for builds? https://manual.manticoresearch.com/Installation/Compiling_from_sources#Building-using-CI-Docker

If so, pls provide a full instruction to reproduce. If not, pls consider using it.

sanikolaev avatar Jul 11 '24 06:07 sanikolaev

Are you using our special docker image for builds? https://manual.manticoresearch.com/Installation/Compiling_from_sources#Building-using-CI-Docker

If so, pls provide a full instruction to reproduce. If not, pls consider using it.

mkdir build && cd build cmake .. make -j16 Linux user-Super-Server 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

cmake version 3.29.0-rc2

gcc version 10.5.0 (Ubuntu 10.5.0-1ubuntu1~20.04)

lld1995 avatar Jul 11 '24 06:07 lld1995

We don't use gcc for our builds. Is there any problem with using our special docker image for builds?

sanikolaev avatar Jul 11 '24 08:07 sanikolaev

We don't use gcc for our builds. Is there any problem with using our special docker image for builds?

I build on local system 6.2.12 is passed,but when i use >6.3, the errors come out

lld1995 avatar Jul 11 '24 08:07 lld1995

Okay. If you prefer to continue building outside of Docker, you'll need to determine what changes were made in our build Docker image since version 6.2.12. This will help you understand how to update your local environment. The relevant files, including the Dockerfile, are open source and available at https://github.com/manticoresoftware/manticoresearch/blob/master/dist/build_dockers/cross/external_toolchain/Dockerfile, along with other files in the directory at https://github.com/manticoresoftware/manticoresearch/tree/master/dist/build_dockers/cross.

sanikolaev avatar Jul 11 '24 11:07 sanikolaev

@tomatolog pls update the changelog

sanikolaev avatar Nov 05 '24 10:11 sanikolaev

updated changelog

tomatolog avatar Nov 05 '24 11:11 tomatolog