-
Notifications
You must be signed in to change notification settings - Fork 584
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
RPM packaging updates #5189
RPM packaging updates #5189
Conversation
Icinga 2 does not build with 1.41: /usr/include/boost/range/const_iterator.hpp:37:58: error: no type named 'const_iterator' in 'class boost::intrusive_ptr<icinga::Array>' ... /usr/include/boost/thread/locks.hpp:269:22: error: cannot bind 'boost::unique_lock<boost::mutex>' lvalue to 'boost::unique_lock<boost::mutex>&&' fixes #5188 This also refs #5177 as a partial fix for the dependencies, when not using Icinga's boost packages.
So you don't have to modify the environment.
Please don't merge this yet. I was wondering why we previously did this: @gunnarbeutner ?
I dropped the lines for now - it builds at least on CentOS6. |
AFAIK that's only necessary on el5, but I did not test that. |
@dnsmichi Tested build on EL5 without this changes, against EPEL Boost + Icinga Boost So I guess we could drop it for now - unless @gunnarbeutner has objections... |
I don't know why exactly we've added such, but it could be related to a broken boost version on el5/6 which was then resolved with 1.53 from packages.icinga.com. As said earlier, I wasn't aware that we depend on our own boost rpms for older RHEL versions. Might be a good time to clean things up after ~3 years :-) |
If so it would be a runtime error, I tested the build against 1.48 (EPEL) |
g++ is too old, and the newer binary is suffixed.
Please review and merge, this has been tested nearly everywhere. Changes are already applied to https://github.com/icinga/icinga-packaging/tree/rpm/snapshot |
Thanks, looks good 👍 e669e99 is already fixed in master (separate PR), I'm leaving that out. |
Created a separate issue for the suse g++ compiler version, just a cosmetic change - #5218. |
Rebased, reworded and merged to master, thanks. |
fixes #5177 - correcting Boost dependencies against EPEL and/or Icinga Repo
fixes #5188 - Depending on a newer release package