Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159488 - net-ftp/vsftpd-2.0.5 doesn't compile
Summary: net-ftp/vsftpd-2.0.5 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
: 162694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-30 08:37 UTC by Mik B. Shvets
Modified: 2007-01-18 20:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix compile with -caps (vsftpd-caps.patch,1.00 KB, patch)
2007-01-05 10:02 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mik B. Shvets 2006-12-30 08:37:27 UTC
x86_64-pc-linux-gnu-gcc -c sysdeputil.c -O3 -pipe -mmmx -msse -msse2 -m3dnow -mtune=athlon64 -march=athlon64 -mfpmath=sse -falign-functions=64 -idirafter dummyinc
sysdeputil.c: In function ‘capset’:
sysdeputil.c:161: error: ‘MAX_ERRNO’ undeclared (first use in this function)
sysdeputil.c:161: error: (Each undeclared identifier is reported only once
sysdeputil.c:161: error: for each function it appears in.)
make: *** [sysdeputil.o] Ошибка 1
make: *** Ожидание завершения заданий...

!!! ERROR: net-ftp/vsftpd-2.0.5 failed.
Call stack:
  ebuild.sh, line 1603:   Called dyn_compile
  ebuild.sh, line 961:   Called src_compile
  vsftpd-2.0.5.ebuild, line 51:   Called die

!!! (no error message)


solshark htdocs # emerge --info
Portage 2.1.2_rc4-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.8
Last Sync: Sat, 30 Dec 2006 01:47:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -mmmx -msse -msse2 -m3dnow -mtune=athlon64 -march=athlon64 -mfpmath=sse -falign-functions=64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -mmmx -msse -msse2 -m3dnow -mtune=athlon64 -march=athlon64 -mfpmath=sse -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="ru_UA.utf8"
LINGUAS="ru en"
MAKEOPTS="-j5"
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 /usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="nls cdparanoia dba glitz glut jpeg python pascal gd mp3 cdr mysql gdbm ogg dvdread xml gnokii aalib cdinstall amd64 gtk vim-syntax apache2 subversion fortran tk mpm-prefork wma lm_sensors oss dvdr quicktime fat ssl xv effects libnotify dv X bitmap-fonts libcaca isdnlog qt nptl dbus vim-pager fbsplash unicode server truetype session alsa xsl spell kde udev bluetooth ftp mpeg vcd exif tools tiff truetype-fonts mozdevelop xvid icq qt4 imagemagick javascript clamav iconv samba mime symlink ggi cli mailwrapper ppds gnome bgg script xine dri fbcon pdf mad firefox verbose tokenizer soap vim font-server svg cups jabber pcre gpm sharedmem java usb xpm opengl type1-fonts vorbis perl gif tagwriting a52 encode cracklib dlloader zip maildir sdl ncurses audacious pppd nsplugin flac reiserfs berkdb skins ruby png threads ffmpeg aac nptlonly jpeg2k zlib cvs wmf mono clearcase mbox xcomposite scanner tidy tcpd logrotate spl curl gimp bzip2 7zip crypt xmldoclet xosd oav libg++ tcltk pam css directfb vim-with-x utf8 gcc64 bash-completion xorg sql readline php vhosts slang ntfs reflection dvd gtk2 extras nvidia tcl v4l2" ALSA_CARDS="ca0106" 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="mouse keyboard" KERNEL="linux" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2006-12-30 08:55:29 UTC
I suggest You to clean in CXXFLAGS variable.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-01-03 02:25:42 UTC
The CFLAGS look fine.

Does the reporter get the error if merged with or without the caps USE flag?
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-01-05 10:02:47 UTC
Created attachment 105547 [details, diff]
Fix compile with -caps

Should fix things. If reporter could please test ....
Comment 4 Mik B. Shvets 2007-01-05 13:46:58 UTC
Hello. Sorry for delay. 
With caps flag vstfpd compile normally.
Patch i'm test right now and send report.
Sorry for my bad English.
Comment 5 Chris Smith 2007-01-13 18:56:41 UTC
Patch works here.
Comment 6 Roy Marples (RETIRED) gentoo-dev 2007-01-14 08:34:07 UTC
Fixed
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-01-18 20:23:31 UTC
*** Bug 162694 has been marked as a duplicate of this bug. ***