Page MenuHomeFreeBSD

sysutils/fusefs-lkl: update to 4.16
ClosedPublic

Authored by vishwin on Jun 28 2018, 6:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 3:52 PM
Unknown Object (File)
Sat, Apr 13, 8:08 AM
Unknown Object (File)
Sat, Mar 30, 4:35 PM
Unknown Object (File)
Sat, Mar 30, 4:34 PM
Unknown Object (File)
Sat, Mar 30, 4:34 PM
Unknown Object (File)
Sat, Mar 30, 4:34 PM
Unknown Object (File)
Sat, Mar 30, 4:34 PM
Unknown Object (File)
Sat, Mar 30, 4:34 PM
Subscribers

Details

Summary

Upstream rebased LKL to Linux 4.16 on 14 May. They also removed all git tags, so the version is now based on the Linux kernel's Makefile and date of the git revision.

The Makefile no longer accepts specific targets, as all targets are specified in the Targets file and all built. The non-FUSE targets are removed for this port to prevent them from building.

Test Plan

Passed poudriere testport. Mounted an xfs filesystem and successfully manipulated files in it.

Diff Detail

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

Event Timeline

Remove stray/leftover commented Makefile target

Looks pretty good to me, thanks! Some questions below.

sysutils/fusefs-lkl/Makefile
6 ↗(On Diff #44575)

This line can be dropped when it is zero, I think.

sysutils/fusefs-lkl/files/patch-Targets
7–14 ↗(On Diff #44575)

These probably do not take significant build time relative to LKL itself, right? Maybe just delete them in a post-build Makefile target? That's much easier to maintain across new version than patches (in my experience).

sysutils/fusefs-lkl/files/patch-scripts_headers__install.sh
8 ↗(On Diff #44575)

Maybe rebase on ea9a4f45cd36bcefd0256e0a2a685b1384b5596b or later instead of this patch?

sysutils/fusefs-lkl/files/patch-scripts_link-vmlinux.sh
9–11 ↗(On Diff #44575)

Maybe this change can be upstreamed, like https://github.com/lkl/linux/pull/444 ?

sysutils/fusefs-lkl/files/patch-Targets
7–14 ↗(On Diff #44575)

fs2tar fails to build because it contains an #include <argp.h>, which only the linux-*-devtools port provides in our linuxulator hierarchy (this build expects the header in the standard hierarchy). Trying to change the include paths to include our linuxulator hierarchy would also modify this file and unnecessarily pull in the linux ports.

One cannot build these targets individually anymore without removing targets from this file.

sysutils/fusefs-lkl/files/patch-Targets
7–14 ↗(On Diff #44575)

Ok, I'm satisfied with this explanation. Thanks!

Rebase on current revision. gsed and gnustat patches are still needed to build properly; upstream claimed fixed but tested against a docker environment with CircleCI, not poudriere.

Remove stray commented line again.

You probably do not need the sed and stat patches, and should probably be using BINARY_ALIAS.

If you can drop the two patches that just change program names to use the gnu programs via mat's suggestion, great. If not, it looks good as-is to me.

This revision is now accepted and ready to land.Jun 29 2018, 3:21 PM

Use BINARY_ALIAS. How did I miss this part of the handbook?

This revision now requires review to proceed.Jun 29 2018, 4:42 PM
This revision is now accepted and ready to land.Jun 30 2018, 4:06 AM

Note that I'm not a committer (yet), so I can't commit this myself.

This revision was automatically updated to reflect the committed changes.