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

Bug 162694

Summary: net-ftp/vsftpd-2.0.5 failed to compile w/ glibc-2.5
Product: Gentoo Linux Reporter: Mad Deer <mad-deer>
Component: New packagesAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mad Deer 2007-01-18 18:52:36 UTC
net-ftp/vsftpd failed to emerge on glibc-2.5 and gcc-4.1.1

Reproducible: Always

Steps to Reproduce:
1.glibc-2.5 & gcc-4.1.1 (I don`t know which of them brakes the building )
2.emerge vsftpd

Actual Results:  
i686-pc-linux-gnu-gcc -c sysdeputil.c -O3 -pipe -march=athlon-xp -fomit-frame-pointer -idirafter dummyinc
sysdeputil.c:161: error: expected declaration specifiers or '...' before 'capset'
sysdeputil.c:161: error: expected declaration specifiers or '...' before 'header'
sysdeputil.c:161: error: expected declaration specifiers or '...' before 'data'
In file included from sysdeputil.c:169:
/usr/include/sys/sendfile.h: In function '_syscall2':
/usr/include/sys/sendfile.h:35: error: storage class specified for parameter 'sendfile'
sysdeputil.c:185: error: storage class specified for parameter 'environ'
sysdeputil.c:186: error: storage class specified for parameter 's_proctitle_space'
sysdeputil.c:186: error: parameter 's_proctitle_space' is initialized
sysdeputil.c:187: error: storage class specified for parameter 's_proctitle_inited'
sysdeputil.c:187: error: parameter 's_proctitle_inited' is initialized
sysdeputil.c:188: error: storage class specified for parameter 's_p_proctitle'
sysdeputil.c:188: error: parameter 's_p_proctitle' is initialized
sysdeputil.c:200: error: storage class specified for parameter 'do_sendfile'
sysdeputil.c:201: error: storage class specified for parameter 'vsf_sysutil_setproctitle_internal'
sysdeputil.c:202: error: storage class specified for parameter 's_proctitle_prefix_str'
sysdeputil.c:277: error: storage class specified for parameter 's_pamh'
sysdeputil.c:278: error: storage class specified for parameter 's_pword_str'
sysdeputil.c:280: error: storage class specified for parameter 'pam_conv_func'
sysdeputil.c:281: error: storage class specified for parameter 'vsf_auth_shutdown'
sysdeputil.c:287: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:382: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:397: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:435: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:473: error: storage class specified for parameter 'do_checkcap'
sysdeputil.c:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:496: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:513: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:526: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:603: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:795: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:802: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:808: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:855: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:888: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:929: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:934: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:975: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1011: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1127: error: storage class specified for parameter 's_uwtmp_inserted'
sysdeputil.c:1128: error: storage class specified for parameter 's_utent'
sysdeputil.c:1133: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
sysdeputil.c:1188: error: old-style parameter declarations in prototyped function definition
sysdeputil.c:161: error: parameter name omitted
sysdeputil.c:161: error: parameter name omitted
sysdeputil.c:161: error: parameter name omitted
sysdeputil.c:1188: error: expected '{' at end of input
make: *** [sysdeputil.o] Ошибка 1

!!! ERROR: net-ftp/vsftpd-2.0.5 failed.
Call stack:
  ebuild.sh, line 1610:   Called dyn_compile
  ebuild.sh, line 970:   Called qa_call 'src_compile'
  environment, line 3000:   Called src_compile
  vsftpd-2.0.5.ebuild, line 51:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

it does not matter which version to compile 2.0.5 or 2.0.4-r1

Expected Results:  
when i used gcc-3.4.6 & sys-libs/glibc-2.3.6-r5 it compiled well.

Portage 2.1.2_rc4-r8 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 i686)
=================================================================
System uname: 2.6.19-gentoo-r4 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.6
Last Sync: Fri, 12 Jan 2007 12:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/firefox/searchplugins/* /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/MozillaThunderbird/components/myspell/* /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/mnt/win_d/distfiles/"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo/"
LANG="ru_RU.koi8r"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X aac alsa apache2 audiofile bindist bitmap-fonts bluetooth bzip2 cairo cdr chardet cli cracklib crypt cups dbus dlloader dmi dri dvd dvdr dvdread emboss fam fbcon firefox fortran gdbm gif gpm gtk gtk2 hal iconv imlib isdnlog jpeg kde kdeenablefinal kqemu libg++ mad matroska mbox mikmod mmx mmxext moznopango mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam pcre perl png ppds pppd python qt3 quicktime readline reflection sdl session softmmu spell spl sse ssl symlink tcpd truetype truetype-fonts type1-fonts udev unicode userlocales vorbis win32codecs x264 x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-01-18 20:23:31 UTC
Fixed some time ago - just re-sync and try again.

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