Skip to content

Update build instructions for bubblewrap#746

Open
tredondo wants to merge 1 commit into
containers:mainfrom
tredondo:patch-1
Open

Update build instructions for bubblewrap#746
tredondo wants to merge 1 commit into
containers:mainfrom
tredondo:patch-1

Conversation

@tredondo
Copy link
Copy Markdown

@tredondo tredondo commented May 5, 2026

Fixes "WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated."

Add lipcap dep, and fix `meson setup` warning

Signed-off-by: Ted Robertson <10043369+tredondo@users.noreply.github.com>
Comment thread README.md

If you need to build bubblewrap from source, you can do this with meson:
If you need to build bubblewrap from source, first make sure you
have `lipcap-dev` installed, then use meson:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Typo (“libcap”), but libcap-dev is a distro-specific package name.

Comment thread README.md

If you need to build bubblewrap from source, you can do this with meson:
If you need to build bubblewrap from source, first make sure you
have `lipcap-dev` installed, then use meson:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fedora does not provide libcap-dev, can I build bubblewrap on Fedora?
(Rhetorical question)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, that. I'd prefer a distro-neutral instruction:

Suggested change
have `lipcap-dev` installed, then use meson:
have `libcap` development files installed, then use meson:

or more generically

Suggested change
have `lipcap-dev` installed, then use meson:
have the build-time dependencies installed, then use meson:

Or just fix the mesonmeson setup and don't say anything about the required libraries, because Meson will tell you if they're missing anyway, and "you need the dependencies before you can build a project" is a universal fact about building any project. It scales poorly if every project is expected to teach new developers the basics of compiling software.

Comment thread README.md

If you need to build bubblewrap from source, you can do this with meson:
If you need to build bubblewrap from source, first make sure you
have `lipcap-dev` installed, then use meson:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, that. I'd prefer a distro-neutral instruction:

Suggested change
have `lipcap-dev` installed, then use meson:
have `libcap` development files installed, then use meson:

or more generically

Suggested change
have `lipcap-dev` installed, then use meson:
have the build-time dependencies installed, then use meson:

Or just fix the mesonmeson setup and don't say anything about the required libraries, because Meson will tell you if they're missing anyway, and "you need the dependencies before you can build a project" is a universal fact about building any project. It scales poorly if every project is expected to teach new developers the basics of compiling software.

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.

4 participants