Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SDL build is failing when ENABLE_LOG=OFF #2341

Closed
vkushnirenko-luxoft opened this issue Jul 12, 2018 · 1 comment
Closed

SDL build is failing when ENABLE_LOG=OFF #2341

vkushnirenko-luxoft opened this issue Jul 12, 2018 · 1 comment
Labels

Comments

@vkushnirenko-luxoft
Copy link
Contributor

Bug Report

SDL build is failing when ENABLE_LOG=OFF

Reproduction Steps
  1. Check out commit af97446 from current develop
  2. Build with cmake .. -DENABLE_LOG=OFF, and make
  3. Build has failed
Expected Behavior

SDL build should be OK with ENABLE_LOG=OFF

Observed Behavior

SDL build has failed

16:29:51 Scanning dependencies of target HMI_API
16:29:51 [  5%] Building CXX object src/components/interfaces/CMakeFiles/HMI_API.dir/HMI_API_schema.cc.o
16:30:07 In file included from /home/jenkins/workspace/develop_weekly_multibuild/ENABLE_LOG/OFF/POLICY/HTTP/label/build/build/src/components/interfaces/HMI_API_schema.cc:49:0:
16:30:07 /home/jenkins/workspace/develop_weekly_multibuild/ENABLE_LOG/OFF/POLICY/HTTP/label/build/src/components/smart_objects/include/smart_objects/enum_schema_item.h: In member function ���NsSmartDeviceLink::NsSmartObjects::Errors::eType NsSmartDeviceLink::NsSmartObjects::TEnumSchemaItem<EnumType>::validate(const NsSmartDeviceLink::NsSmartObjects::SmartObject&, rpc::ValidationReport*)���:
16:30:07 /home/jenkins/workspace/develop_weekly_multibuild/ENABLE_LOG/OFF/POLICY/HTTP/label/build/src/components/smart_objects/include/smart_objects/enum_schema_item.h:242:12: error: no match for ���operator<<��� (operand types are ���std::stringstream {aka std::basic_stringstream<char>}��� and ���const char [21]���)
16:30:07      stream << "Invalid enum value: " << Object.asInt();
16:30:07             ^
16:30:07 /home/jenkins/workspace/develop_weekly_multibuild/ENABLE_LOG/OFF/POLICY/HTTP/label/build/src/components/smart_objects/include/smart_objects/enum_schema_item.h:242:12: note: candidate is:
16:30:07 In file included from /usr/include/c++/4.9/string:52:0,
16:30:07                  from /usr/include/c++/4.9/stdexcept:39,
16:30:07                  from /usr/include/c++/4.9/array:38,
16:30:07                  from /usr/include/c++/4.9/tuple:39,
16:30:07                  from /usr/include/c++/4.9/bits/stl_map.h:63,
16:30:07                  from /usr/include/c++/4.9/map:61,
16:30:07                  from /home/jenkins/workspace/develop_weekly_multibuild/ENABLE_LOG/OFF/POLICY/HTTP/label/build/build/src/components/interfaces/HMI_API_schema.cc:39:
16:30:07 /usr/include/c++/4.9/bits/basic_string.h:2771:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
16:30:07      operator<<(basic_ostream<_CharT, _Traits>& __os,
16:30:07      ^
16:30:07 /usr/include/c++/4.9/bits/basic_string.h:2771:5: note:   template argument deduction/substitution failed:
16:30:07 In file included from /home/jenkins/workspace/develop_weekly_multibuild/ENABLE_LOG/OFF/POLICY/HTTP/label/build/build/src/components/interfaces/HMI_API_schema.cc:49:0:
16:30:07 /home/jenkins/workspace/develop_weekly_multibuild/ENABLE_LOG/OFF/POLICY/HTTP/label/build/src/components/smart_objects/include/smart_objects/enum_schema_item.h:242:15: note:   ���std::stringstream {aka std::basic_stringstream<char>}��� is not derived from ���std::basic_ostream<_CharT, _Traits>���
16:30:07      stream << "Invalid enum value: " << Object.asInt();
OS & Version Information
  • OS/Version: Ubuntu 14.04 (docker)
  • SDL Core Version: Commit af97446 from develop branch
Test Case, Sample Code, and / or Example App

http://opensdl-jenkins.luxoft.com:8080/job/develop_weekly_multibuild/ENABLE_LOG=OFF,POLICY=HTTP,label=build/26/consoleFull

@jacobkeeler
Copy link
Contributor

Closing with the merge of #2531

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants