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

Bug 275908

Summary: net-proxy/dansguardian- - downloadmanagers/fancy.cpp:507: error: 'snprintf' was not declared in this scope
Product: Gentoo Linux Reporter: Joost Ruis <joost.ruis>
Component: [OLD] ServerAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    

Description Joost Ruis 2009-06-30 08:53:49 UTC
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/languages/Makefile
config.status: creating data/scripts/Makefile
config.status: creating data/scripts/bsd-init
config.status: creating data/scripts/dansguardian
config.status: creating data/scripts/logrotation
config.status: creating data/scripts/solaris-init
config.status: creating data/scripts/systemv-init
config.status: creating doc/Makefile
config.status: creating configs/dansguardian.conf
config.status: creating configs/dansguardianf1.conf
config.status: creating configs/Makefile
config.status: creating configs/lists/Makefile
config.status: creating configs/lists/phraselists/Makefile
config.status: creating configs/lists/blacklists/Makefile
config.status: creating configs/lists/contentscanners/Makefile
config.status: creating configs/lists/weightedphraselist
config.status: creating configs/lists/exceptionphraselist
config.status: creating configs/lists/bannedphraselist
config.status: creating configs/lists/bannedurllist
config.status: creating configs/lists/bannedsitelist
config.status: creating configs/downloadmanagers/Makefile
config.status: creating configs/downloadmanagers/default.conf
config.status: creating configs/downloadmanagers/fancy.conf
config.status: creating configs/downloadmanagers/trickle.conf
config.status: creating configs/contentscanners/Makefile
config.status: creating configs/contentscanners/clamav.conf
config.status: creating configs/contentscanners/clamdscan.conf
config.status: creating configs/contentscanners/icapscan.conf
config.status: creating configs/contentscanners/kavav.conf
config.status: creating configs/contentscanners/kavdscan.conf
config.status: creating configs/contentscanners/commandlinescan.conf
config.status: creating configs/authplugins/Makefile
config.status: creating configs/authplugins/ip.conf
config.status: creating configs/lists/authplugins/Makefile
config.status: creating configs/lists/downloadmanagers/Makefile
config.status: creating src/Makefile
config.status: creating dgconfig.h
config.status: executing depfiles commands
make -j2 -s 'OPTIMISE=-O2 -march=i686 -pipe'
Making all in doc
Making all in .
Making all in data
Making all in languages
Making all in .
Making all in scripts
Making all in .
Making all in configs
Making all in lists
Making all in phraselists
Making all in .
Making all in blacklists
Making all in authplugins
Making all in .
Making all in downloadmanagers
Making all in .
Making all in downloadmanagers
Making all in .
Making all in authplugins
Making all in .
Making all in .
Making all in src
String.cpp: In member function 'off_t String::toOffset()':
String.cpp:167: warning: format '%d' expects type 'int*', but argument 3 has type 'off_t*'
FatController.cpp: In function 'bool daemonise()':
FatController.cpp:310: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result
FatController.cpp: In function 'int ip_list_listener(std::string, bool)':
FatController.cpp:1589: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
downloadmanagers/fancy.cpp: In member function 'std::string fancydm::timestring(int)':
downloadmanagers/fancy.cpp:507: error: 'snprintf' was not declared in this scope
make[2]: *** [dansguardian-fancy.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Reproducible: Always

sabayon server # emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.4.0, glibc-2.10.1-r0,
2.6.25-sabayon i686)
System uname:
Timestamp of tree: Mon, 29 Jun 2009 14:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r5
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2,
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a

lftpd/ftp-data /opt/openfire/resources/security/ /usr/kde/3.5/share/config/kdm/
/usr/lib/fax /usr/share/config /usr/share/xbmc/userdata /var/bind /var/lib/hs

d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
tc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"

el-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans

LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa
fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl
uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-j2 -s "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --ex
USE="7Zip X a52 aac aalib accessibility acl acpi aiglx aim alsa artswrappersuid
audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb c
 css cups dbox2 dbus dga dri dts dv dvb dvd dvdr dvdread dxr3 emboss encode
extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic-db fortran
m gstreamer gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda
isdnlog jabber jack jfs jingle joystick jpeg kde kdeenablefinal
rs logitech-mouse lzo mad mail midi mikmod mjpeg mmx mng mozdevelop mp3 mp3rtp
mpeg msn mudflap musepack musicbrainz ncurses network new-login nls nptl nptlo
cmcia pcre pda pdf perl png policykit povray ppds pppd pulseaudio python
qt3support qt4 quicktime quotas rar rdesktop readline reflection reiserfs rss
cation stream svg sysfs tcpd theora tiff tracker truetype udev unicode usb v4l
v4l2 visualization voice vorbis weather wifi win32codecs wmf x264 x86 xcb xfs
 yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20
gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr
A_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks
iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate
 auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cac
s ext_filter file_cache filter headers include info log_config logio mem_cache
mime mime_magic negotiation rewrite setenvif speling status unique_id userdir
gfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240
kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000
laroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1
sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita
a largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal
sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et e
mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg
tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_S
EO_CARDS="fbdev vesa radeonhd"
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2009-07-05 00:05:35 UTC
Fixed in cvs without rev bump.