Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 19:36:32 GMT
From:      Josh Carroll <josh.carroll@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164647: security/sudo port does not compile on FreeBSD 8.2/amd64 due to missing utmpx.h
Message-ID:  <201201301936.q0UJaWfQ043963@red.freebsd.org>
Resent-Message-ID: <201201301940.q0UJeEhW083138@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164647
>Category:       ports
>Synopsis:       security/sudo port does not compile on FreeBSD 8.2/amd64 due to missing utmpx.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 30 19:40:14 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Josh Carroll
>Release:        FreeBSD 8.2-RELEASE-p2 / amd64
>Organization:
n/a
>Environment:
FreeBSD pflog.net 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #0 r: Mon Jan 16 09:41:53 PST 2012     root@pflog.net:/usr/obj/usr/src/sys/PFLOG  amd64
>Description:
The security/sudo port does not compile properly on FreeBSD 8.2-RELEASE/amd64. It appears to be looking for and expecting a utmpx.h, which I think is something in 9.0 and newer perhaps?

./boottime.c:49:21: error: utmpx.h: No such file or directory
./boottime.c: In function 'get_boottime':
./boottime.c:110: error: storage size of 'key' isn't known
./boottime.c:113: error: 'BOOT_TIME' undeclared (first use in this function)
./boottime.c:113: error: (Each undeclared identifier is reported only once
./boottime.c:113: error: for each function it appears in.)
./boottime.c:115: warning: assignment makes pointer from integer without a cast
./boottime.c:116: error: dereferencing pointer to incomplete type
./boottime.c:117: error: dereferencing pointer to incomplete type
*** Error code 1


>How-To-Repeat:
Attempt to build the sudo-1.8.3p2 security/sudo port on 8.2-RELEASE.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201301936.q0UJaWfQ043963>