Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2025

This PR contains the following updates:

Package Type Update Change
alpine container minor 3.18 -> 3.23

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

close #763

@renovate renovate bot requested a review from mensfeld as a code owner December 11, 2025 02:42
@mensfeld mensfeld force-pushed the renovate/alpine-3.x branch from b5eef78 to 4df7801 Compare December 11, 2025 13:28
Alpine 3.23 ships with GCC 15, which uses C23 as the default language
standard. In C23, empty parentheses `()` in function declarations mean
"no arguments" (like C++) instead of "unspecified arguments" (C17 and
earlier).

Several dependencies (MIT Kerberos 1.21.3, Cyrus SASL 2.1.28) use
old-style K&R declarations that conflict with proper prototypes,
causing build errors like:

  error: conflicting types for 'ss_delete_info_dir'; have 'void(void)'
  error: too many arguments to function 'MD5_memcpy'; expected 0

This fix adds -std=gnu17 globally in setup_musl_compiler() to force
C17 semantics for all dependency builds. This is fully backwards
compatible since GCC 8-14 already used gnu17 as the default.
@mensfeld mensfeld force-pushed the renovate/alpine-3.x branch from 4df7801 to 1ff179d Compare December 11, 2025 13:29
@renovate
Copy link
Contributor Author

renovate bot commented Dec 11, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@mensfeld mensfeld merged commit 27213bd into master Dec 11, 2025
157 of 177 checks passed
@mensfeld mensfeld deleted the renovate/alpine-3.x branch December 11, 2025 20:04
mensfeld added a commit to karafka/karafka-rdkafka that referenced this pull request Dec 12, 2025
* Update alpine Docker tag to v3.23

* Fix Kerberos build on Alpine 3.23+ (GCC 15/C23)

Alpine 3.23 ships with GCC 15, which uses C23 as the default language
standard. In C23, empty parentheses `()` in function declarations mean
"no arguments" (like C++) instead of "unspecified arguments" (C17 and
earlier).

Several dependencies (MIT Kerberos 1.21.3, Cyrus SASL 2.1.28) use
old-style K&R declarations that conflict with proper prototypes,
causing build errors like:

  error: conflicting types for 'ss_delete_info_dir'; have 'void(void)'
  error: too many arguments to function 'MD5_memcpy'; expected 0

This fix adds -std=gnu17 globally in setup_musl_compiler() to force
C17 semantics for all dependency builds. This is fully backwards
compatible since GCC 8-14 already used gnu17 as the default.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

Kerberos compilation issue on Alpine

2 participants