HEADS UP: <utmp.h> gone. All welcome <utmpx.h>.

Rainer Hurling rhurlin at gwdg.de
Sat Jan 16 09:04:31 UTC 2010


On 13.01.2010 20:42 (UTC+1), Ed Schouten wrote:
 > [..snip..]
> I've noticed there is some breakage in ports, but it shouldn't be too
> serious. I've seen cases where an application includes<utmp.h>, even
> though it doesn't use anything provided by that header. In other cases
> they used fields like UT_NAMESIZE to derive the maximum user name length
> supported by the system, which is clearly not what this definition was
> intended for. I've incremented __FreeBSD_version to 900007 to identify
> the import of utmpx. In case a certain port breaks badly, let me know
> and I'm willing to take a look at it.
>
> Be sure to give it a try and report any issues. Thanks!
>

After updating my system i tried to rebuild Xorg ports. All went fine 
until it has to compile x11/sessreg.

It seems that the configure script does not find struct 
'utmpx.ut_syslen' and so the build process falls back to utmp?

Could you please take a look if this is an issue of the new interface.

This is on 9.0-CURRENT (amd64).

Thanks in advance,
Rainer


More information about the freebsd-ports mailing list