Bug 273569

Summary: sysutils/docker [Patch] PAX cannot encode Devminor
Product: Ports & Packages Reporter: Adam Labus <adam.labuznik>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: bofh, joneum
Priority: --- Flags: bugzilla: maintainer-feedback? (joneum)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Two concatenated patches made with makepatch none

Description Adam Labus 2023-09-04 19:01:48 UTC
Created attachment 244637 [details]
Two concatenated patches made with makepatch

Currently, the docker port is completely unusable on ZFS, because the docker client mandates the use of the PAX tar format, which causes the following issue:

ERRO[0000] Can't add file /usr/home/hackerman/Desktop/Docker/i4industry_v2/src to tar: archive/tar: cannot encode header: Format specifies PAX; and PAX cannot encode Devminor=4294902015

I wasn't able to replicate this issue in my own GO tar utility, but switching to ext solved it.
A rather naive solution is just to replace it with FormatGNU like in the patch (it seems to work, based on a quick testing). I assume most FreeBSD people use ZFS, in which case any patch is better than none.
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-03-11 10:33:22 UTC
What you have done here is you have submitted raw patches to the dists and that does not work like that. When you have your patches you should generate patches by make makepatch which will actually modify the patch files located in files directory. You should submit a git formatted patch of the ports tree not the patch to the dists itself.
Comment 2 Jochen Neumeister freebsd_committer freebsd_triage 2024-09-13 14:51:50 UTC
Over to new maintainer.