Skip to content

Make the build script work on Debian sid#1111

Merged
matty0ung merged 3 commits intoBrewtarget:mainfrom
trahay:main
May 4, 2026
Merged

Make the build script work on Debian sid#1111
matty0ung merged 3 commits intoBrewtarget:mainfrom
trahay:main

Conversation

@trahay
Copy link
Copy Markdown
Contributor

@trahay trahay commented May 3, 2026

Hi,
When building brewtarget on my Debian sid laptop, I had to change a few things to make bt work:

  • add missing package dependencies
  • fix getLinuxDistroInfo because lsb_release -a returns 'n/a' on Debian sid, which makes parsing the version number crash.

trahay added 2 commits May 3, 2026 11:36
…, which makes parse() crash. Since major and minor versions are mostly used for logging, let's use dummy values if this happens
Copy link
Copy Markdown
Member

@matty0ung matty0ung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Always good to get things running on more distros.

(I had run lsb_release -a on my Debian Trixie box, where it works fine, but didn't know it's problematic on Sid.)

I think you want to lose the 'break' line as it, err, breaks things. 😸 Otherwise looks good.

@matty0ung matty0ung merged commit cd7e27a into Brewtarget:main May 4, 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.

2 participants