Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 246391

Summary: net-ftp/proftpd-1.3.2_rc2 fails with USE shaper
Product: Gentoo Linux Reporter: onip <follettoonip>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: heltem+gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description onip 2008-11-11 12:38:30 UTC
Log error

rame-pointer -DHAVE_OPENSSL -Wall -c mod_shaper.c
mod_shaper.c: In function ‘shaper_msg_send’:
mod_shaper.c:280: warning: format ‘%u’ expects type ‘unsigned int’, but argument 6 has type ‘msgqnum_t’
mod_shaper.c:280: warning: format ‘%u’ expects type ‘unsigned int’, but argument 7 has type ‘long unsigned int’
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include -I/usr/include/openssl -O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -DHAVE_OPENSSL -Wall -c throttle.c
mod_shaper.c: In function ‘shaper_startup_ev’:
mod_shaper.c:2164: error: too few arguments to function ‘pr_timer_add’
make[1]: *** [mod_shaper.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-ftp/proftpd-1.3.2_rc2/work/proftpd-1.3.2rc2/modules'
make: *** [modules] Error 2

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-11 22:17:11 UTC
See bug #238762 comment #18 - this should be fixed in -r2:

# ChangeLog for net-ftp/proftpd
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.181 2008/11/09 11:56:30 h
offie Exp $

*proftpd-1.3.2_rc2-r2 (09 Nov 2008)
*proftpd-1.3.1-r1 (09 Nov 2008)

  09 Nov 2008; Christian Hoffmann <hoffie@gentoo.org>
  +files/proftpd-1.3.1-CVE-2008-4242.patch, +proftpd-1.3.1-r1.ebuild,
  +proftpd-1.3.2_rc2-r2.ebuild:
  adding proftpd-1.3.1-r1 to get a regression-free version of proftpd which
  ships a patch for security bug 238762, adding proftpd-1.3.2_rc2-r2 to fix
  a mod_shaper-related compile failure as pointed out by Joker in bug
  238762; also fixing bug 221275

*** This bug has been marked as a duplicate of bug 238762 ***