Skip to content

BUG 🐞: build fails due to no btrfs header #69

@russkel

Description

@russkel

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

↳ go version
go version go1.24.5 linux/amd64

↳ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.2 LTS
Release:	24.04
Codename:	noble

↳ go install github.com/ajayd-san/gomanagedocker@main

# github.com/proglottis/gpgme
# [pkg-config --cflags  -- gpgme]
Package gpgme was not found in the pkg-config search path.
Perhaps you should add the directory containing `gpgme.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gpgme', required by 'virtual:world', not found
# github.com/containers/storage/drivers/btrfs
../go/pkg/mod/github.com/containers/storage@v1.55.0/drivers/btrfs/version.go:7:10: fatal error: btrfs/version.h: No such file or directory
    7 | #include <btrfs/version.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

Expected behavior
Installs correctly.

Desktop (please complete the following information):

↳ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.2 LTS
Release:	24.04
Codename:	noble

Linux 6.11.0-1025-oem #25-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun 26 07:31:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions