← Back to issue list

build: constrain protobuf

View original Github issue

Metadata

Project
rockcraft
Number
#1096
Type
pull request
State
merged
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Merged to constrain the protobuf dependency version, resolving s390x build segfaults caused by protobuf 6.33.*. Approved after review and CI validation.

Suggested action:

No scores available.

Issue body

Version 6.33.* segfaults in s390x when building on Launchpad: ``` Building bash-completion :: + python3 -m craft_cli.completion rockcraft rockcraft.cli:get_app_info :: /tmp/tmpuxak9d5b/scriptlet.sh: line 6: 29574 Segmentation fault (core dumped) python3 -m craft_cli.completion rockcraft rockcraft.cli:get_app_info > $CRAFT_PART_INSTALL/completion.sh 'override-build' in part 'bash-completion' failed with code 139. ``` dmesg output: ``` [ 2101.323998] User process fault: interruption code 0010 ilc:2 in _message.cpython-312-s390x-linux-gnu.so[3ff7e500000+104000] [ 2101.324020] Failing address: 0000000000000000 TEID: 0000000000000800 [ 2101.324023] Fault in primary space mode while using user ASCE. ``` That `_message` shared library is from protobuf. This GH issue seems to match: https://github.com/protocolbuffers/protobuf/issues/24103 So once that's resolved we should try the new protobuf version. <!-- Describe your changes --> --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to constrain the protobuf dependency version, resolving s390x build segfaults caused by protobuf 6.33.*. Approved after review and CI validation.
qwen3.6-35b-a3b-mtp-q6 Merged. Constrained protobuf version to prevent s390x build segfaults triggered by release 6.33.*. Temporary workaround applied pending upstream resolution in protobuf issue #24103.
qwen3.6-35b-a3b-mtp-q6 Merged to resolve s390x build segfaults by constraining the protobuf dependency version, avoiding the crash in 6.33.* until upstream fixes it.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2614 build(deps): downgrade protobuf for s390x segfault charmcraft merged Merged to downgrade protobuf and fix an s390x segfault. Approved by two reviewers and passed core CI checks. Changes affect two files with minor dependency version adjustments.
80%
#2597 build(deps): bump protobuf from 6.31.1 to 6.33.5 in /tests/spread/ubuntu-25.10/test-cmd charmcraft closed Closed without merging. Maintainers updated .github/dependabot.yml to exclude the tests/spread directory from dependency scanning, preventing future protobuf update PRs for that path.
72%
#6012 build(deps): bump protobuf from 6.33.4 to 6.33.5 snapcraft closed Superseded by PR #6011. The protobuf version bump will be merged into main when the hotfix/8.14 branch is merged. Dependabot will skip future updates for this release.
70%