Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 21:29:41 GMT
From:      subbsd <subbsd@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144439: ftp/proftpd doesn't compile with __FreeBSD_version >= 900007
Message-ID:  <201003022129.o22LTfQk009913@www.freebsd.org>
Resent-Message-ID: <201003022130.o22LU2c9016736@freefall.freebsd.org>

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

>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@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:



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