You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "roanhe-ts (via GitHub)" <gi...@apache.org> on 2023/06/10 16:10:14 UTC

[GitHub] [doris] roanhe-ts opened a new issue, #20665: [Bug] aws-sdk compile error makes build doris from scratch failed

roanhe-ts opened a new issue, #20665:
URL: https://github.com/apache/doris/issues/20665

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   doris master, commit id 44e20d9087980a7beee8b20d2ccdea6c096909df
   
   ### What's Wrong?
   
   when building doris through build.sh, meet cmake error like:
   
   ```cmake
   CMake Error at CMakeLists.txt:185 (include):
     include could not find requested file:
   
       AwsFindPackage
   
   
   CMake Error at CMakeLists.txt:197 (add_subdirectory):
     add_subdirectory given source "crt/aws-crt-cpp" which is not an existing
     directory.
   ...
   
   CMake Error at aws-cpp-sdk-core/CMakeLists.txt:516 (aws_use_package):
     Unknown CMake command "aws_use_package".
   ```
   
   ### What You Expected?
   
   should build succeed
   
   ### How to Reproduce?
   
   Just download doris to a new Linux environment, and run build.sh, this error should be reproduced. 
   
   A more direct way:
   1. rm -rf thirdparty/src/aws-sdk-cpp-1.9.272/
   2. cd thirdyparty
   3. sh build-thirdparty.sh -j 99 --continue aws_sdk
   
   
   
   ### Anything Else?
   
   The reason is that prefetch_crt_dependency.sh of aws-skd tar.gz file will download outdated deps of aws-skd, which make cmake file not work. 
   
   See details: https://github.com/aws/aws-sdk-cpp/issues/1648
   
   Possible solution:
   1. do not clone .tar.gz of aws-sdk, use git clone git clone --recurse-submodules --branch 1.9.272 instead
   2. upgrade aws-sdk from 1.9.x to 1.10.x, which fixed compile problem in https://github.com/aws/aws-sdk-cpp/issues/1888
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] zhiqiang-hhhh commented on issue #20665: [Bug] aws-sdk compile error makes build doris from scratch failed

Posted by "zhiqiang-hhhh (via GitHub)" <gi...@apache.org>.
zhiqiang-hhhh commented on issue #20665:
URL: https://github.com/apache/doris/issues/20665#issuecomment-1596384938

   I have tried to reproduce the compile error, but failed. 
   
   Closed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] hzjhjjyy commented on issue #20665: [Bug] aws-sdk compile error makes build doris from scratch failed

Posted by "hzjhjjyy (via GitHub)" <gi...@apache.org>.
hzjhjjyy commented on issue #20665:
URL: https://github.com/apache/doris/issues/20665#issuecomment-1597927122

   I also encountered this problem when building, and finally running the prefetch_crt_dependency.sh script manually after the aws-sdk-cpp was unpacked during the build, and then solved the problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] adonis0147 commented on issue #20665: [Bug] aws-sdk compile error makes build doris from scratch failed

Posted by "adonis0147 (via GitHub)" <gi...@apache.org>.
adonis0147 commented on issue #20665:
URL: https://github.com/apache/doris/issues/20665#issuecomment-1586798919

   Hi @zhiqiang-hhhh, I think the solution #2 is better than #1.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] zhiqiang-hhhh closed issue #20665: [Bug] aws-sdk compile error makes build doris from scratch failed

Posted by "zhiqiang-hhhh (via GitHub)" <gi...@apache.org>.
zhiqiang-hhhh closed issue #20665: [Bug] aws-sdk compile error makes build doris from scratch failed
URL: https://github.com/apache/doris/issues/20665


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] HackToday commented on issue #20665: [Bug] aws-sdk compile error makes build doris from scratch failed

Posted by "HackToday (via GitHub)" <gi...@apache.org>.
HackToday commented on issue #20665:
URL: https://github.com/apache/doris/issues/20665#issuecomment-1610744580

   This can happens with curl download with certificates issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org