ports/144439: ftp/proftpd doesn't compile with __FreeBSD_version >= 900007

subbsd subbsd at gmail.com
Tue Mar 2 21:30:02 UTC 2010


>Number:         144439
>Category:       ports
>Synopsis:       ftp/proftpd doesn't compile with  __FreeBSD_version >= 900007
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 21:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     subbsd
>Release:        9.0 CURRENT amd64
>Organization:
>Environment:
FreeBSD localhost.my.domain 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Sun Feb 28 23:05:13 MSK 2010     root at localhost.my.domain:/usr/obj/usr/src/sys/GENERIC-NODEBUG  amd64
>Description:
According http://lists.freebsd.org/pipermail/freebsd-current/2010-January/014893.html FreeBSD changes utmp -> utmx 

So, when __FreeBSD_version >= 900007 compile is broken: 

In file included from ../include/conf.h:241,
                 from log.c:31:
/usr/include/sys/termios.h:3:2: warning: #warning "this file includes <sys/termios.h> which is deprecated, use <termios.h> instead"
log.c: In function 'log_wtmp':
log.c:58: error: storage size of 'ut' isn't known
log.c:130: error: 'WTMP_FILE' undeclared (first use in this function)
log.c:130: error: (Each undeclared identifier is reported only once
log.c:130: error: for each function it appears in.)
log.c:58: warning: unused variable 'ut'
gmake[1]: *** [log.o] Error 1
gmake[1]: Leaving directory `/usr/ports/ftp/proftpd/work/proftpd-1.3.2e/src'
gmake: *** [src] Error 2
*** Error code 1

Stop in /usr/ports/ftp/proftpd.
*** Error code 1

Stop in /usr/ports/ftp/proftpd.

>How-To-Repeat:

>Fix:


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



More information about the freebsd-ports-bugs mailing list