Fail to build of start kc.sh because of invalid CRC

I installed Keycloak some while ago and everything worked fine. I just transitioned to keycloak 7.0.1 on Archlinux, which uses the new Quarkus:

$ kc.sh --version
Keycloak 17.0.1
JVM: 11.0.15 (Oracle Corporation OpenJDK 64-Bit Server VM 11.0.15+3)
OS: Linux 5.16.10-arch1-1 amd64

Then when I run the build command (or start as well), I get this cryptic error:

$ sudo kc.sh -cf /etc/keycloak/keycloak.conf --verbose build
Updating the configuration and installing your custom providers, if any. Please wait.
2022-04-05 13:07:35,705 INFO  [io.quarkus.deployment.QuarkusAugmentor] (main) Quarkus augmentation completed in 7270ms
ERROR: Failed to run 'build' command.
Error details:
picocli.CommandLine$ExecutionException: Failed to update server configuration.
        at org.keycloak.quarkus.runtime.Messages.cliExecutionError(Messages.java:51)
        at org.keycloak.quarkus.runtime.cli.command.AbstractCommand.executionError(AbstractCommand.java:36)
        at org.keycloak.quarkus.runtime.cli.command.Build.run(Build.java:81)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at org.keycloak.quarkus.runtime.cli.Picocli.parseAndRun(Picocli.java:84)
        at org.keycloak.quarkus.runtime.KeycloakMain.main(KeycloakMain.java:77)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:60)
        at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:31)
Caused by: java.lang.ExceptionInInitializerError
        at org.keycloak.quarkus.runtime.configuration.Configuration.getRawPersistedProperty(Configuration.java:73)
        at org.keycloak.quarkus.runtime.configuration.Configuration.getBuildTimeProperty(Configuration.java:53)
        at org.keycloak.quarkus.runtime.Environment.isDevMode(Environment.java:140)
        at org.keycloak.quarkus.runtime.cli.command.Build.run(Build.java:76)
        ... 16 more
Caused by: java.lang.RuntimeException: Failed to load persisted properties from /usr/share/java/keycloak/bin/../lib/quarkus/generated-bytecode.jar
        at org.keycloak.quarkus.runtime.configuration.PersistedConfigSource.loadPersistedConfig(PersistedConfigSource.java:120)
        at org.keycloak.quarkus.runtime.configuration.PersistedConfigSource.readProperties(PersistedConfigSource.java:72)
        at org.keycloak.quarkus.runtime.configuration.PersistedConfigSource.<init>(PersistedConfigSource.java:47)
        at org.keycloak.quarkus.runtime.configuration.PersistedConfigSource.<clinit>(PersistedConfigSource.java:44)
        ... 20 more
Caused by: java.util.zip.ZipException: invalid entry CRC (expected 0x81e73451 but got 0xcb9a7073)
        at java.base/java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:410)
        at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:199)
        at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:143)
        at java.base/java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)
        at org.keycloak.quarkus.runtime.configuration.PersistedConfigSource.loadPersistedConfig(PersistedConfigSource.java:114)
        ... 23 more

I have really no idea what to look for to continue here. I tried computing the crc32 of various files on my filesystem in hopes of finding where that not expected CRC came from but with no luck.

Any idea what’s going on?