Skip to content

abd_os.h include path issues #17390

Closed
@pfmooney

Description

@pfmooney

System information

Type Version/Name
Distribution Name Arch Linux
Distribution Version n/a
Kernel Version n/a
Architecture x86_64
OpenZFS Version 2.3.2

Describe the problem you're observing

After updating to OpenZFS 2.3.x, I've been unable to build pivy, which had some ZFS-related header dependencies. Specifically, it is unable to locate abd_os.h, following the reorganization done in 5b9e695.

Other ZFS headers include abd_os.h expect to do so via a sys/abd_os.h path, but the install configuration for those headers (post-reorganization) does not include the sys path component:

https://github.com/openzfs/zfs/blob/zfs-2.3.2/lib/libzpool/include/Makefile.am#L1-L4

Furthermore, if libzpooldir was updated to include the sys path component, so those headers were installed with an expected path, they still would not be discoverable as a necessary include directory via pkg-config.

Describe how to reproduce the problem

Attempt to build pivy on a Linux system with OpenZFS 2.3.x installed.

Metadata

Metadata

Assignees

Labels

Type: DefectIncorrect behavior (e.g. crash, hang)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions