Skip to content

[MISC] 8.4 - Fix rock building#73

Merged
sinclert-canonical merged 3 commits into8.4-24.04from
sinclert/fix-rockcraft-8.4
Mar 26, 2026
Merged

[MISC] 8.4 - Fix rock building#73
sinclert-canonical merged 3 commits into8.4-24.04from
sinclert/fix-rockcraft-8.4

Conversation

@sinclert-canonical
Copy link
Copy Markdown
Contributor

@sinclert-canonical sinclert-canonical commented Mar 20, 2026

This PR fixed rock building of the charmed MySQL 8.4 rock, in order to unlock further development.

Seems like something changed, either in the rockcraft or in the core24 snaps since the last time we built the rock, so that now package collisions in the first defined part crash the build process. I did a full audit of what is needed and by who, running the following commands:

# Within my local shell
sudo rockcraft pack
sudo rockcraft.skopeo --insecure-policy copy oci-archive:charmed-mysql_8.4.8_amd64.rock docker-daemon:sinclert/charmed-mysql:8.4-test
sudo docker run --rm -it sinclert/charmed-mysql:8.4-test &
sudo docker exec -it <container ID> bash

# Within the container shell
$ which logrotate
> ...
$ ldd /usr/bin/mysql
> ...
$ ldd /usr/bin/mysqlsh
> ...
$ ldd /usr/bin/mysqlrouter
> ...
$ ldd /usr/sbin/mysqld
> ...

Review process:

  • [Required] c566ede, unless committed the build process crashes.
  • [Optional] 750ee65, cleanup of packages not required for the mysqld 8.4 binary to be fully linked.
  • [Required] 6f61c2b, unless committed the build process crashes.

@sinclert-canonical sinclert-canonical added the bug Something isn't working as expected label Mar 20, 2026
@sinclert-canonical sinclert-canonical merged commit f4283cf into 8.4-24.04 Mar 26, 2026
107 of 126 checks passed
@sinclert-canonical sinclert-canonical deleted the sinclert/fix-rockcraft-8.4 branch March 26, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants