ports/163941: proftpd compile failure with mod_shaper
Matthew Pounsett
matt at conundrum.com
Mon Jan 9 06:20:10 UTC 2012
>Number: 163941
>Category: ports
>Synopsis: proftpd compile failure with mod_shaper
>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 09 06:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Matthew Pounsett
>Release: 8.2-RELEASE-p4
>Organization:
>Environment:
FreeBSD kaywinnit.conundrum.com 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #1: Tue Nov 1 13:59:39 UTC 2011 root at kaywinnit.conundrum.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
proftpd port fails to compile at mod_shaper. This problem is not described in UPDATING, and I can't find any open PR related to this problem. ports tree was updated five minutes ago using portsnap. proftpd was attempted to be built using 'portupgrade -r proftpd'
cc -I/usr/local/include -DHAVE_CONFIG_H -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/include -O2 -pipe -DHAVE_OPENSSL -I/usr/local/include -fno-strict-aliasing -Wall -c mod_shaper.c
mod_shaper.c:49:3: error: #error "Controls support required (use --enable-ctrls)"
mod_shaper.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'shaper_acttab'
mod_shaper.c: In function 'shaper_handle_shaper':
mod_shaper.c:1639: warning: implicit declaration of function 'pr_ctrls_check_acl'
mod_shaper.c:1639: error: 'shaper_acttab' undeclared (first use in this function)
mod_shaper.c:1639: error: (Each undeclared identifier is reported only once
mod_shaper.c:1639: error: for each function it appears in.)
mod_shaper.c: In function 'set_shaperctrlsacls':
mod_shaper.c:1790: warning: implicit declaration of function 'pr_ctrls_parse_acl'
mod_shaper.c:1790: warning: assignment makes pointer from integer without a cast
mod_shaper.c:1802: warning: implicit declaration of function 'pr_ctrls_set_module_acls'
mod_shaper.c:1802: error: 'shaper_acttab' undeclared (first use in this function)
mod_shaper.c:1803: warning: assignment makes pointer from integer without a cast
mod_shaper.c: In function 'shaper_restart_ev':
mod_shaper.c:2182: error: 'shaper_acttab' undeclared (first use in this function)
mod_shaper.c:2183: error: 'ctrls_acl_t' undeclared (first use in this function)
mod_shaper.c:2184: warning: implicit declaration of function 'pr_ctrls_init_acl'
mod_shaper.c: In function 'shaper_init':
mod_shaper.c:2245: error: 'shaper_acttab' undeclared (first use in this function)
mod_shaper.c:2246: error: 'ctrls_acl_t' undeclared (first use in this function)
mod_shaper.c: At top level:
mod_shaper.c:2275: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'shaper_acttab'
gmake[1]: *** [mod_shaper.o] Error 1
gmake[1]: Leaving directory `/usr/ports/ftp/proftpd/work/proftpd-1.3.3g/modules'
gmake: *** [modules] Error 2
*** Error code 1
Stop in /usr/ports/ftp/proftpd.
*** Error code 1
Stop in /usr/ports/ftp/proftpd.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120109-84050-1dcetky-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=proftpd-1.3.3e UPGRADE_PORT_VER=1.3.3e make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! ftp/proftpd (proftpd-1.3.3e) (compiler error)
>How-To-Repeat:
> cat /var/db/ports/proftpd/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for proftpd-1.3.3g_2
_OPTIONS_READ=proftpd-1.3.3g_2
WITHOUT_BAN=true
WITHOUT_CLAMAV=true
WITHOUT_CTRLS=true
WITHOUT_DYNMASQ=true
WITHOUT_EXEC=true
WITHOUT_HTMLDOCS=true
WITH_IFSESSION=true
WITH_IPV6=true
WITHOUT_LDAP=true
WITHOUT_LDAP_TLS=true
WITHOUT_MYSQL=true
WITH_NLS=true
WITHOUT_ODBC=true
WITH_OPENSSL=true
WITH_PGSQL=true
WITH_QUOTA=true
WITHOUT_QUOTATAB_RADIUS=true
WITH_SHAPER=true
WITHOUT_SQLITE=true
WITH_RADIUS=true
WITH_RATIO=true
WITH_README=true
WITH_REWRITE=true
WITHOUT_TLS_SHMCACHE=true
WITHOUT_TDS=true
WITH_SFTP=true
WITH_SFTP_SQL=true
WITHOUT_SFTP_PAM=true
WITHOUT_SITE_MISC=true
WITH_SQL_PASSWD=true
WITHOUT_UNIQUE=true
WITH_WRAP=true
WITHOUT_WRAP_FILE=true
WITHOUT_WRAP_SQL=true
> cat /etc/make.conf
MAKEFLAGS="-j5"
WITHOUT_X11="yes"
# added by use.perl 2011-07-01 13:20:49
PERL_VERSION=5.12.3
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list