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

MDBF-883 - CentOS 7 bintar compatibility with old buildbot #684

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

RazvanLiviuVarzaru
Copy link
Collaborator

@RazvanLiviuVarzaru RazvanLiviuVarzaru commented Jan 16, 2025

As part of the MDBF, I am preparing several (manual) changes to the centos-7-bintar container image, one of which will bump GnuTLS version to 3.7.x, as in buildbot.mariadb.net

GNUTLS_NO_SIGNAL flag was introduced in GnuTLS 3.4.x so there's no need to disable the macro anymore. (the flag is not present in buildbot.mariadb.net configuration)

More on that, from my tests << 10.11 >> (thanks @cvicentiu for help) disabling the macro will cause the compilation to fail when using the newer GnuTLS (static library).
<command-line>:0:18: error: expected identifier before numeric constant.

Important notes:
This code change should only be deployed in Production when the updated centos7-bintar is published in quay, in this order:

  • deploy code changes
  • stop master-docker-nonstandard (where the builder is defined)
  • update image on quay
  • start master-docker-nonstandard

I will probably deploy this change manually because there are some pending
other changes which need to be tested and given the BLOCKER
status of the MDBF, it should be deployed ASAP.

As part of the MDBF, I am preparing several (manual) changes
to the centos-7-bintar container image, one of which will bump
GnuTLS version to 3.7.x, as in buildbot.mariadb.net

GNUTLS_NO_SIGNAL flag was introduced in GnuTLS 3.4.x so there's no
need to disable the macro anymore. (the flag is not present in buildbot.mariadb.net)

More on that, from my tests (10.11), disabling the macro will cause the compilation to fail
when using the newer GnuTLS (static library).
<command-line>:0:18: error: expected identifier before numeric constant.

Important notes:
This code change should only be deployed in Production when the updated centos7-bintar is published in quay, in this order:
  - deploy code changes
  - stop master-docker-nonstandard (where the builder is defined)
  - update image on quay
  - start master-docker-nonstandard

  I will probably deploy this change manually because there are some pending
  other changes which need to be tested and given the BLOCKER
  status of the MDBF, it should be deployed ASAP.
Copy link
Member

@grooverdan grooverdan left a comment

Choose a reason for hiding this comment

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

I see from MDBF task that the gnutls is a static library build so this looks acceptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants