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

Dbld readd centos6 support #2860

Merged
merged 4 commits into from
Nov 28, 2019
Merged

Conversation

bazsi
Copy link
Collaborator

@bazsi bazsi commented Aug 3, 2019

Just recently someone was trying to compile/run syslog-ng on RHEL6, so albeit I've dropped support
for it in dbld, it is still in use. So I've decided to go back and understand why I've felt that it was so difficult to support. With our glib compat code, it turned out not that difficult, even though we had a lot of warnings.

With warnings fixed, this actually improves the code, so here it comes as a PR. I've added the bits independent of centos6 into a separate PR #2971.

This depends on #2859 so putting it into WIP until that one is merged.

Now all dependencies are in, so this is also ready to go in.

@bazsi bazsi changed the title Dbld readd centos6 support WIP: Dbld readd centos6 support Aug 3, 2019
@kira-syslogng
Copy link
Contributor

Build FAILURE

@bazsi
Copy link
Collaborator Author

bazsi commented Aug 21, 2019 via email

@furiel
Copy link
Collaborator

furiel commented Aug 21, 2019

Is there a specific platform you test it on? Because I would include it
only there.

This time of writing, only ubuntu xenial. Besides that, it might worth leaving in devshell too.

@bazsi bazsi force-pushed the dbld-readd-centos6-support branch from ac518fc to e8ea727 Compare August 29, 2019 13:29
@bazsi
Copy link
Collaborator Author

bazsi commented Aug 29, 2019

I have now rebased this work on the latest dbld-jenkinsfile branch.

Is there a specific platform you test it on? Because I would include it
only there.

This time of writing, only ubuntu xenial. Besides that, it might worth leaving in devshell too.

With that rebase, I've limited the installation of "hy" in these images.

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@bazsi
Copy link
Collaborator Author

bazsi commented Oct 29, 2019

rebased against current master.

@kira-syslogng
Copy link
Contributor

Build SUCCESS

This reverts commit 896556d.

Signed-off-by: Balazs Scheidler <[email protected]>
It does not seem to be used and fails to install on CentOS6

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
@kira-syslogng
Copy link
Contributor

Build SUCCESS

@bazsi bazsi changed the title WIP: Dbld readd centos6 support Dbld readd centos6 support Nov 22, 2019
@gaborznagy
Copy link
Collaborator

@kira-syslogng Build packages please.

@kira-syslogng
Copy link
Contributor

Package Build SUCCESS

Packages are available at https://ci.syslog-ng.com/jenkins/job/kira-dbld-pull-requests/615/artifact/

centos-7)
python -m pip install --upgrade pip==9.0.3
;;
*)
python -m pip install --upgrade pip
;;
esac
filter_packages_by_platform /helpers/pip_packages.manifest | xargs python -m pip install -U
filter_packages_by_platform /helpers/pip_packages.manifest | xargs pip install -U
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain this change? Why do we need to use pip install instead of python -m pip install?

@bazsi
Copy link
Collaborator Author

bazsi commented Nov 27, 2019 via email

@furiel furiel merged commit f3cbf14 into syslog-ng:master Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants