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

[dev.icinga.com #10615] Build fails on SLES 11 SP3 with GCC 4.8 #3656

Closed
icinga-migration opened this issue Nov 12, 2015 · 3 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Nov 12, 2015

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10615

Created by jflach on 2015-11-12 13:40:24 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2015-11-21 03:50:03 +00:00)
Target Version: 2.4.1
Last Update: 2015-11-26 08:52:14 +00:00 (in Redmine)

Icinga Version: 2.4.0
Backport?: Already backported
Include in Changelog: 1

[ 52%] Building CXX object lib/config/CMakeFiles/config.dir/config_unity.cpp.o
cd /root/rpmbuild/BUILD/icinga2/lib/config && /opt/ccache/c++   -Doverride= -DI2_CONFIG_BUILD -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fvisibility-inlines-hidden -std=c++0x -O2 -g -fPIC -I/usr/include/boost153 -I/root/rpmbuild/BUILD/icinga2/third-party/yajl/include -I/root/rpmbuild/BUILD/icinga2 -I/root/rpmbuild/BUILD/icinga2/lib -I/root/rpmbuild/BUILD/icinga2/lib/config   -o CMakeFiles/config.dir/config_unity.cpp.o -c /root/rpmbuild/BUILD/icinga2/lib/config/config_unity.cpp
/usr/include/c++/4.3/ext/new_allocator.h: In member function 'void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, _Args&& ...) [with _Args = int, _Tp = icinga::Expression*]':
/usr/include/c++/4.3/bits/stl_deque.h:1178:   instantiated from 'void std::deque<_Tp, _Alloc>::push_back(_Args&& ...) [with _Args = int, _Tp = icinga::Expression*, _Alloc = std::allocator]'
/usr/include/c++/4.3/bits/stl_stack.h:196:   instantiated from 'void std::stack<_Tp, _Sequence>::push(_Args&& ...) [with _Args = int, _Tp = icinga::Expression*, _Sequence = std::deque >]'
config_parser.yy:342:   instantiated from here
/usr/include/c++/4.3/ext/new_allocator.h:114: error: invalid conversion from 'int' to 'icinga::Expression*'
make[2]: *** [lib/config/CMakeFiles/config.dir/config_parser.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
config_lexer.ll: In function 'int yylex(YYSTYPE*, icinga::CompilerDebugInfo*, void*)':
config_lexer.ll:248: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
make[2]: Leaving directory `/root/rpmbuild/BUILD/icinga2'
make[1]: *** [lib/config/CMakeFiles/config.dir/all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/icinga2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.2996 (%build)

Changesets

2015-11-21 03:46:13 +00:00 by (unknown) 5991a87

Build fix for SLES 11 (with -std=c++11)

fixes #10615

2015-11-21 03:46:57 +00:00 by (unknown) f2be32e

Build fix for SLES 11 (with -std=c++11)

fixes #10615
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 21, 2015

Updated by gbeutner on 2015-11-21 03:47:08 +00:00

  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.4.1
  • Backport? changed from TBD to Yes
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 21, 2015

Updated by Anonymous on 2015-11-21 03:50:03 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 5991a87.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 26, 2015

Updated by mfriedrich on 2015-11-26 08:52:14 +00:00

  • Subject changed from Build fails on sles 11 sp3 to Build fails on SLES 11 SP3 with GCC 4.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.