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

Fixes for valgrind and rawhide static builds #315

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

danrodrig
Copy link
Contributor

Suppressed Valgrind realloc size zero errors from duktape library used by
libproxy starting with version 0.5.
Lower the level below 3 in static builds to avoid failures due to
incompatible-pointer-types.
Recent json-c versions solved calloc-transposed-args related warnings
which started showing in Fedora 40.

Note that the latest json-c version is 0.17 and requires cmake 3.9 or
higher for building, which complicates the CentOS 7 support.
Copy link
Contributor

@StykMartin StykMartin left a comment

Choose a reason for hiding this comment

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

Checking Rawhide. We are almost aligned.

  • json-c-devel x86_64 0.17-1.fc40 fedora 151.1 KiB
  • openssl-devel x86_64 1:3.1.4-1.fc40 fedora 4.1 MiB

@danrodrig
Copy link
Contributor Author

danrodrig commented Jan 25, 2024

Checking Rawhide. We are almost aligned.

  • json-c-devel x86_64 0.17-1.fc40 fedora 151.1 KiB
  • openssl-devel x86_64 1:3.1.4-1.fc40 fedora 4.1 MiB

For json-c I didn't jump to 0.7 because CentOS 7. It can be built with cmake3 from epel but it needs tweaking to use it. And as CentOS 7 will be gone in June, I didn't bothered. I mentioned in the commit.

For OpenSSL the current supported series are 3.0, 3.1 and 3.2. Rawhide is using 3.1.4, the version here, 1.1.1w, is out of support. https://www.openssl.org/source/
I vaguely recall that we tried to bump it back in the day, and there was some issue somewhere...

@StykMartin StykMartin merged commit d5d7b8a into restraint-harness:master Jan 25, 2024
26 checks passed
@danrodrig danrodrig deleted the fix-static-rawhide branch January 25, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants