Skip to content

Test on ubuntu 24.04, 26.04, and fix build failures - #1017

Open
agrare wants to merge 4 commits into
libgit2:masterfrom
agrare:test_on_ubuntu_2404_2604
Open

agrare wants to merge 4 commits into
libgit2:masterfrom
agrare:test_on_ubuntu_2404_2604

Conversation

@agrare

@agrare agrare commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

With ubuntu-latest moving to 26.04 starting today I think it would be a good idea to test with the current set of supported LTS versions.

https://github.blog/changelog/2026-09-17-ubuntu-26-generally-available-and-latest-migration/

While testing this I ran into a number of issues:

  1. Ruby 3.1 is unavailable on ubuntu 26.04
Downloading Ruby
  https://github.com/ruby/ruby-builder/releases/download/ruby-3.1.7/ruby-3.1.7-ubuntu-26.04-x64.tar.gz
  Took   0.21 seconds
Error: Error: Unavailable version 3.1.7 for ruby on ubuntu-26.04
          You can request it at https://github.com/ruby/setup-ruby/issues
          Cause: Unexpected HTTP response: 404
  1. [[: not found in script/travisbuild
+ ssh -V
+ [[ OpenSSH_8.9p1 Ubuntu-3ubuntu0.18, OpenSSL 3.0.2 15 Mar 2022 == OpenSSH_6* ]]
./script/travisbuild: 50: [[: not found
  1. Build failures on 24.04 and 26.04 due to missing libraries
/opt/hostedtoolcache/Ruby/3.4.11/x64/lib/ruby/3.4.0/mkmf.rb:528:in 'MakeMakefile#try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.

@agrare agrare changed the title Test on ubuntu 24.04 26.04 and fix build failures Test on ubuntu 24.04, 26.04, and fix build failures Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant