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

[ZOOKEEPER-4641] GH CI fails with 'error: implicit declaration of function ‘FIPS_mode’ [-Werror=implicit-function-declaration]' #1951

Closed
wants to merge 1 commit into from

Conversation

eolivelli
Copy link
Contributor

@eolivelli eolivelli commented Dec 7, 2022

Modifications:

  • remove the block, as it is used only for debug

More details here:
https://issues.apache.org/jira/browse/ZOOKEEPER-4641

…ction ‘FIPS_mode’ [-Werror=implicit-function-declaration]'

Modifications:
- remove the block, as it is used only for debug
Copy link
Contributor

@anmolnar anmolnar left a comment

Choose a reason for hiding this comment

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

Approved.
It doesn't even compile?

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

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

I don't feel too strongly about it, but perhaps a more appropriate fix is:

#include <openssl/crypto.h>

I wonder why it was compiling before and stopped now.

@eolivelli
Copy link
Contributor Author

@cnauroth
I am sorry I think I have pushed this patch to master branch by mistake.
The patch had been approved, I think there is no need to git revert.

wonder why it was compiling before and stopped now.

This is because we use -Werror and as long as the C compiler is upgraded we find more warnings, that are considered errors, this is why sometimes builds start to fail without anyone doing anything.

@eolivelli eolivelli closed this Dec 12, 2022
@eolivelli eolivelli reopened this Dec 12, 2022
@eolivelli
Copy link
Contributor Author

@cnauroth actually I hadn't pushed the patch to this repository but to my fork master branch.
So the patch is still here open for review

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

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

+1

Thank you, @eolivelli .

Copy link
Contributor

@symat symat left a comment

Choose a reason for hiding this comment

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

LGTM
should I merge this? (it seems blocking all CI runs e.g. on master)

@symat
Copy link
Contributor

symat commented Dec 14, 2022

I re-triggered the failing CI runs (there was also a failure in C-client tests, but I think I saw that particular error before and it is an unrelated flaky)

@eolivelli
Copy link
Contributor Author

@symat I think that we should merge this an then follow up on the flaky test.

@ztzg maybe you could also help here ?

@symat
Copy link
Contributor

symat commented Dec 15, 2022

I agree, the patch is already helping - at least the C client can be compiled now :)
Merging it now to all active branches (even to branch-3.6, in case if we will need an other RC)

@asfgit asfgit closed this in 50d5722 Dec 15, 2022
asfgit pushed a commit that referenced this pull request Dec 15, 2022
…ion FIPS_mode

Modifications:
- remove the block, as it is used only for debug

More details here:
https://issues.apache.org/jira/browse/ZOOKEEPER-4641

Author: Enrico Olivelli <enrico.olivelli@datastax.com>

Reviewers: Andor Molnar <andor@apache.org>, Chris Nauroth <cnauroth@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes #1951 from eolivelli/fix/ZOOKEEPER-4641

(cherry picked from commit 50d5722)
Signed-off-by: Mate Szalay-Beko <symat@apache.org>
asfgit pushed a commit that referenced this pull request Dec 15, 2022
…ion FIPS_mode

Modifications:
- remove the block, as it is used only for debug

More details here:
https://issues.apache.org/jira/browse/ZOOKEEPER-4641

Author: Enrico Olivelli <enrico.olivelli@datastax.com>

Reviewers: Andor Molnar <andor@apache.org>, Chris Nauroth <cnauroth@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes #1951 from eolivelli/fix/ZOOKEEPER-4641

(cherry picked from commit 50d5722)
Signed-off-by: Mate Szalay-Beko <symat@apache.org>
asfgit pushed a commit that referenced this pull request Dec 15, 2022
…ion FIPS_mode

Modifications:
- remove the block, as it is used only for debug

More details here:
https://issues.apache.org/jira/browse/ZOOKEEPER-4641

Author: Enrico Olivelli <enrico.olivelli@datastax.com>

Reviewers: Andor Molnar <andor@apache.org>, Chris Nauroth <cnauroth@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes #1951 from eolivelli/fix/ZOOKEEPER-4641

(cherry picked from commit 50d5722)
Signed-off-by: Mate Szalay-Beko <symat@apache.org>
asfgit pushed a commit that referenced this pull request Dec 16, 2022
…ion FIPS_mode

Modifications:
- remove the block, as it is used only for debug

More details here:
https://issues.apache.org/jira/browse/ZOOKEEPER-4641

Author: Enrico Olivelli <enrico.olivelli@datastax.com>

Reviewers: Andor Molnar <andor@apache.org>, Chris Nauroth <cnauroth@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes #1951 from eolivelli/fix/ZOOKEEPER-4641

(cherry picked from commit 50d5722)
Signed-off-by: Mate Szalay-Beko <symat@apache.org>
abhilash1in pushed a commit to linkedin/zookeeper that referenced this pull request Jun 14, 2023
…ion FIPS_mode

Modifications:
- remove the block, as it is used only for debug

More details here:
https://issues.apache.org/jira/browse/ZOOKEEPER-4641

Author: Enrico Olivelli <enrico.olivelli@datastax.com>

Reviewers: Andor Molnar <andor@apache.org>, Chris Nauroth <cnauroth@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1951 from eolivelli/fix/ZOOKEEPER-4641
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