Skip to content

Build for ubuntu resolute - #126

Open
vulpine wants to merge 3 commits into
masterfrom
u/smatthew/build_for_resolute
Open

Build for ubuntu resolute#126
vulpine wants to merge 3 commits into
masterfrom
u/smatthew/build_for_resolute

Conversation

@vulpine

@vulpine vulpine commented Aug 10, 2026

Copy link
Copy Markdown

We require nerve-tools for resolute hosts which install nerve. This adds the appropriate tox targets, Dockerfiles, etc.

I verified this built for both jammy and resolute.

I'm not 100% certain re the pin for virtualenv in requirements-bootstrap.txt; resolute includes 20.36.1 which we don't have on our internal Pypi. Perhaps the correct solution is to mirror that.

Comment thread requirements-bootstrap.txt Outdated
@vulpine

vulpine commented Aug 12, 2026

Copy link
Copy Markdown
Author

This still isn't working, due to Ruby changes:

4.657 extconf.rb:61:in `block in <main>': undefined method `exists?' for class File
4.657 (NoMethodError)
4.657
4.657     unless File.exists?('c')
4.657                ^^^^^^^^
4.657 Did you mean?  exist?
4.657 	from extconf.rb:55:in `chdir'
4.657 	from extconf.rb:55:in `<main>'
4.657 Building zkc.
4.657
4.657 extconf failed, exit code 1
4.657
4.657 Gem files will remain installed in /var/lib/gems/3.3.0/gems/zookeeper-1.4.11 for
4.657 inspection.
4.657 Results logged to
4.657 /var/lib/gems/3.3.0/extensions/x86_64-linux-gnu/3.3.0/zookeeper-1.4.11/gem_make.out

Zookeeper 1.4.11 includes the old 'File.exists?` method which no longer exists in modern Ruby, which Resolute includes. Possible options I suppose would be to either:

  1. fork the nerve commit we use to permit newer zookeeper gems;
  2. fork the zookeeper version and fix the bug;
  3. use rbenv or similar to use an earlier ruby on Resolute.

@vulpine
vulpine requested a review from nemacysts August 12, 2026 16:14
@nemacysts

Copy link
Copy Markdown
Member

@vulpine we already have a nerve fork, so updating https://github.com/Yelp/nerve should be fine if that's your preferred option!

@vulpine

vulpine commented Aug 18, 2026

Copy link
Copy Markdown
Author

Using the current version of Yelp/nerve gets us further! We're now tantalisingly close but blocked on the availability of paasta-tools:

echo "installing paasta-tools (dependency of nerve-tools.)"
+ echo 'installing paasta-tools (dependency of nerve-tools.)'
installing paasta-tools (dependency of nerve-tools.)
. /etc/lsb-release
+ . /etc/lsb-release
DISTRIB_ID=Ubuntu
++ DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=26.04
++ DISTRIB_RELEASE=26.04
DISTRIB_CODENAME=resolute
++ DISTRIB_CODENAME=resolute
DISTRIB_DESCRIPTION="Ubuntu 26.04 LTS"
++ DISTRIB_DESCRIPTION='Ubuntu 26.04 LTS'
PAASTA_VERSION=1.47.0
+ PAASTA_VERSION=1.47.0
PAASTA_DEB_NAME=paasta-tools_${PAASTA_VERSION}.${DISTRIB_CODENAME}1_amd64.deb
+ PAASTA_DEB_NAME=paasta-tools_1.47.0.resolute1_amd64.deb
wget "https://github.com/Yelp/paasta/releases/download/v${PAASTA_VERSION}/${PAASTA_DEB_NAME}"
+ wget https://github.com/Yelp/paasta/releases/download/v1.47.0/paasta-tools_1.47.0.resolute1_amd64.deb
--2026-08-18 10:58:43--  https://github.com/Yelp/paasta/releases/download/v1.47.0/paasta-tools_1.47.0.resolute1_amd64.deb
Resolving github.com (github.com)... 140.82.116.4
Connecting to github.com (github.com)|140.82.116.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-08-18 10:58:43 ERROR 404: Not Found.

@vulpine

vulpine commented Aug 18, 2026

Copy link
Copy Markdown
Author

@nemacysts I think the final piece of the puzzle I need for nerve-tools is for the Resolute deb to be available on the Assets for https://github.com/Yelp/paasta/releases/tag/v1.60.0 but I'm not familiar enough with the github actions to be sure -- is it just a case of ensuring that the make release Make target there creates a Resolute deb?

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.

2 participants