Page MenuHomeFreeBSD

devel/py-libzfs: Fix build on FreeBSD head with compressed ZFS send/recv
ClosedPublic

Authored by woodsb02 on Jun 4 2017, 3:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 15 2026, 11:24 PM
Unknown Object (File)
Jan 8 2026, 6:35 AM
Unknown Object (File)
Dec 27 2025, 8:04 AM
Unknown Object (File)
Dec 15 2025, 7:25 AM
Unknown Object (File)
Nov 19 2025, 5:04 AM
Unknown Object (File)
Nov 14 2025, 3:20 AM
Unknown Object (File)
Nov 12 2025, 2:45 AM
Unknown Object (File)
Nov 1 2025, 3:08 AM
Subscribers

Details

Summary
Test Plan

poudriere testport passes on FreeBSD 10, 11, 12 amd64

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

woodsb02 edited the summary of this revision. (Show Details)

LGTM! But please, give sometime for @wg make the review of it too, he is the maintainer of this port.

Thanks!

This revision is now accepted and ready to land.Jun 4 2017, 3:27 AM

Thanks for the patch. I was wondering if we could push this upstream instead, its less work in general. I do have rw access to it so I'll try to do that the next few days.

In D11037#228956, @wg wrote:

Thanks for the patch. I was wondering if we could push this upstream instead, its less work in general. I do have rw access to it so I'll try to do that the next few days.

If it only takes a few days I don't see a problem with that. However, if it takes a while, we might want to just add the patch locally to the ports tree in the mean time, as it is preventing the iocage package from being available on FreeBSD head.

Note that if this goes upstream, it will need to include additional detection in the patch to discover the correct number of arguments for the lzc_send_space function as this patch is not backwards compatible to systems which do not yet have the compressed ZFS send/recv code. Currently this is being handled in this review by only including these py-libzfs patches on newer FreeBSD versions (after compressed send/recv was added).

This revision was automatically updated to reflect the committed changes.

I have updated the upstream and the port (r442781) with the 12-current build fix. I have not committed the mountpoint patch because I do not believe that is the right solution for anything, it should be returning encoded (bytes).