Wednesday, February 15, 2012

Patch for TAHI's v6eval on FreeBSD after the switch to utmpx

After FreeBSD made the switch to utmpx, which you can read about here:

Certain programs, like the TAHI organizations v6eval package will fail to compile.   This means the recent 9.0-RELEASE of FreeBSD will no longer work out of the box.  This really only required a minor change to get it working.  I've published a patch here.



EDIT: ed@ kindly worked up a functional patch that works with utmpx's binary format, this might explain why sometimes your child processes are left hanging after a run:

Thanks Ed!


  1. Hi Mark,

    Though that patch does fix the build, it doesn't make v6eval do the right thing. The utx.* files cannot be parsed by hand, as the entries stored inside are not of the same form as struct utmpx. A simple 's/utmp/utmpx/g' is not sufficient.

    Earlier today I wrote this patch:

    I'll see if I can get it committed one of these days.