Can you please do an exp-run of head with the patch at https://reviews.freebsd.org/D23822
Buildworld fails to complete:
/zpoudriere/jails/headi386PR244383/usr/src/sys/./sys/pioctl.h:45:2: error: "<sys/pioctl.h> is deprecated, ptrace() should be used instead" [-Werror,-W#warnings]
#warning "<sys/pioctl.h> is deprecated, ptrace() should be used instead"
sys/pioctl.h isn't even included in anywhere in world (I've done a make tinderbox of the later change to remove the header outright and it only removes #include statements from the kernel, not userland). I'll see if I can reproduce, but it would be handy to have more context in the error (e.g. what file failed to compile)
(In reply to John Baldwin from comment #2)
It's definitely reproducible, but with multiple make jobs the context was lost
Ok, sorry for that. The breakage was in libsysdecode where the list of headers to #include in ioctl.c is computed at build time (and is why the branch with removal built fine). I've updated the patch to ignore the #warning which fixed the world build for me. Can you please re-test with the updated patch in the review? Thanks
Exp-run looks fine.