aptkey is deprecated and fails in Debian Trixie#244
Open
sir-ragna wants to merge 1 commit into
Open
coqbot-app / GitLab CI job pre-commit (pull request)
failed
May 27, 2026 in 0s
Test has failed on GitLab CI
This job has failed. If you need to, you can restart it directly in the GitHub interface using the "Re-run" button.
We show below the last 40 lines of the trace from GitLab (the complete trace is available here).
Details
2026-05-27T15:31:30.883819Z 01O [INFO] Initializing environment for https://github.com/shellcheck-py/shellcheck-py.
2026-05-27T15:31:31.109669Z 01O [INFO] Initializing environment for https://github.com/adrienverge/yamllint.
2026-05-27T15:31:31.434243Z 01O [INFO] Initializing environment for https://github.com/warpnet/salt-lint.
2026-05-27T15:31:31.781611Z 01O [INFO] Initializing environment for https://github.com/myint/rstcheck.
2026-05-27T15:31:32.323565Z 01O [INFO] Initializing environment for https://github.com/saltstack-formulas/mirrors-rst-lint.
2026-05-27T15:31:32.629584Z 01O [INFO] Initializing environment for https://github.com/saltstack-formulas/mirrors-rst-lint:pygments==2.9.0.
2026-05-27T15:31:32.864673Z 01O [INFO] Installing environment for https://github.com/rubocop-hq/rubocop.
2026-05-27T15:31:32.864676Z 01O [INFO] Once installed this environment will be reused.
2026-05-27T15:31:32.864677Z 01O [INFO] This may take a few minutes...
2026-05-27T15:32:19.571374Z 01O An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/ruby', '/usr/bin/gem', 'install', '--no-document', '--no-format-executable', 'rubocop-1.30.1.gem')
2026-05-27T15:32:19.571382Z 01O return code: 1
2026-05-27T15:32:19.571383Z 01O expected return code: 0
2026-05-27T15:32:19.571383Z 01O stdout:
2026-05-27T15:32:19.571384Z 01O Successfully installed unicode-display_width-2.6.0
2026-05-27T15:32:19.571386Z 01O Successfully installed ruby-progressbar-1.13.0
2026-05-27T15:32:19.571386Z 01O Building native extensions. This could take a while...
2026-05-27T15:32:19.571387Z 01O
2026-05-27T15:32:19.571388Z 01O stderr:
2026-05-27T15:32:19.571388Z 01O ERROR: Error installing rubocop-1.30.1.gem:
2026-05-27T15:32:19.571389Z 01O ERROR: Failed to build gem native extension.
2026-05-27T15:32:19.571390Z 01O
2026-05-27T15:32:19.571390Z 01O current directory: /builds/saltstack-formulas/php-formula/.cache/pre-commit/reposgaxoz_g/rbenv-system/gems/gems/prism-1.9.0/ext/prism
2026-05-27T15:32:19.571391Z 01O /usr/bin/ruby -I /usr/lib/ruby/2.7.0 -r ./siteconf20260527-388-1xzto92.rb extconf.rb
2026-05-27T15:32:19.571392Z 01O mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
2026-05-27T15:32:19.571393Z 01O
2026-05-27T15:32:19.571394Z 01O You might have to install separate package for the ruby development
2026-05-27T15:32:19.571395Z 01O environment, ruby-dev or ruby-devel for example.
2026-05-27T15:32:19.571395Z 01O
2026-05-27T15:32:19.571396Z 01O extconf failed, exit code 1
2026-05-27T15:32:19.571397Z 01O
2026-05-27T15:32:19.571397Z 01O Gem files will remain installed in /builds/saltstack-formulas/php-formula/.cache/pre-commit/reposgaxoz_g/rbenv-system/gems/gems/prism-1.9.0 for inspection.
2026-05-27T15:32:19.571418Z 01O Results logged to /builds/saltstack-formulas/php-formula/.cache/pre-commit/reposgaxoz_g/rbenv-system/gems/extensions/x86_64-linux-musl/2.7.0/prism-1.9.0/gem_make.out
2026-05-27T15:32:19.571419Z 01O
2026-05-27T15:32:19.571428Z 01O Check the log at /builds/saltstack-formulas/php-formula/.cache/pre-commit/pre-commit.log
2026-05-27T15:32:19.752238Z 00O
2026-05-27T15:32:19.752243Z 00O+
2026-05-27T15:32:19.753504Z 00O+Cleaning up project directory and file based variables
2026-05-27T15:32:20.254659Z 00O
2026-05-27T15:32:20.254663Z 00O+
2026-05-27T15:32:20.273743Z 00O ERROR: Job failed: exit code 3
Loading