Skip to content

Suggest libtirpc-dev for Ubuntu builds - #19103

Merged
behlendorf merged 1 commit into
openzfs:masterfrom
adilger:b_libtirpc_msg
Sep 14, 2026
Merged

behlendorf merged 1 commit into
openzfs:masterfrom
adilger:b_libtirpc_msg

Conversation

@adilger

@adilger adilger commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

A minimal Ubuntu install does not include libtirpc and ./configure fails with
"... try installing libtirpc-devel", but that package is named libtirpc-dev on Ubuntu.

Fix the error message to mention both package names.

Motivation and Context

Improve usability for users building zfs on newly-installed systems.

Description

Improve error message printed by configure script.

How Has This Been Tested?

Ran ./configure to see new message.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist

@behlendorf

Copy link
Copy Markdown
Contributor

Rebasing on the latest master commits and force updating the PR will sort out the CI.

@behlendorf behlendorf added Type: Building Indicates an issue related to building binaries Status: Code Review Needed Ready for review and testing labels Sep 11, 2026
@adilger

adilger commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

Rebasing on the latest master commits and force updating the PR will sort out the CI.

The tree was updated just before the PR was pushed?

@behlendorf

behlendorf commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

No, but your branch seems to based off 431083f which was from Mar 28, 2023. It looks like you local master branch just needs to be pulled to catch up. :)

$ git log --oneline adilger/b_libtirpc_msg -3
72f6a4a86c (adilger/b_libtirpc_msg) Suggest libtirpc-dev for Ubuntu builds
431083f75b (adilger/master) Fixes in persistent error log
65d10bd87c Fix short-lived txg caused by autotrim

A minimal Ubuntu install does not include libtirpc and ./configure
fails with "... try installig libtirpc-devel", but that package is
named libtirpc-dev on Ubuntu.

Fix the error message to mention both package names.

Signed-off-by: Andreas Dilger <adilger@thelustrecollective.com>
@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Sep 11, 2026
@behlendorf
behlendorf merged commit 04424a5 into openzfs:master Sep 14, 2026
47 of 48 checks passed
lundman pushed a commit to openzfsonwindows/openzfs that referenced this pull request Sep 27, 2026
A minimal Ubuntu install does not include libtirpc and ./configure
fails with "... try installig libtirpc-devel", but that package is
named libtirpc-dev on Ubuntu.

Fix the error message to mention both package names.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andreas Dilger <adilger@thelustrecollective.com>
Closes openzfs#19103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Accepted Ready to integrate (reviewed, tested) Type: Building Indicates an issue related to building binaries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants