Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge vsftpd-2.0.6 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
piejagr
n00b
n00b


Joined: 28 Jan 2008
Posts: 35
Location: Oborniki, Poland

PostPosted: Fri Feb 22, 2008 4:21 pm    Post subject: emerge vsftpd-2.0.6 failed Reply with quote

Hi

Today I performed a global update of my x64_64 Gentoo system and I have problem compiling vsftp-2.0.6
I tried to search in forums for a related topic but I didn't find any. I am using ACCEPT_KEYWORDS="~amd64"

Code:

lil'tux elfstone # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 AMD Athlon(tm) X2 Dual Core Processor BE-2350
Timestamp of tree: Fri, 22 Feb 2008 01:16:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.icis.pcz.pl/gentoo/ "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 avi bash-completion berkdb bitmap-fonts branding cairo cdr cli cpudetection cpufreq cracklib crypt cups dbus divx4linux dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam fame ffmpeg firefox flac fortran gdbm gif gstreamer gtk hal iconv isdnlog jpeg kerberos lm_sensors mad matroska midi mikmod mjpeg mmx mmxext mng mp2 mp3 mpeg mudflap musepack ncurses network nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rar readline reflection rtc sdl session slang smp spell spl srt sse sse2 ssl ssse3 subtitles svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode vcd vorbis wavpack wifi wmf x264 xml xorg xv xvid xvmc 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" APACHE2_MODULES="actions alias 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 cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Output when emerging vsftpd
Code:
>>> Emerging (1 of 2) net-ftp/vsftpd-2.0.6 to /
 * vsftpd-2.0.6.tar.gz RMD160 SHA1 SHA256 size ;-) ...                    [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking vsftpd-2.0.6.tar.gz ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking vsftpd-2.0.6.tar.gz to /var/tmp/portage/net-ftp/vsftpd-2.0.6/work
 * Applying vsftpd-2.0.3-gentoo.patch ...                                 [ ok ]
 * Applying vsftpd-2.0.5-caps.patch ...                                   [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-ftp/vsftpd-2.0.6/work/vsftpd-2.0.6 ...
x86_64-pc-linux-gnu-gcc -c main.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c utility.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c prelogin.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c ftpcmdio.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c postlogin.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c privsock.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c tunables.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c ftpdataio.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c secbuf.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c ls.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c postprivparent.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c logging.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c str.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c netstr.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c sysstr.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c strlist.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c banner.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c filestr.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c parseconf.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c secutil.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c ascii.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c oneprocess.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c twoprocess.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c privops.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c standalone.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c hash.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c tcpwrap.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c ipaddrparse.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c access.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c features.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c readwrite.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c opts.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c ssl.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c sysutil.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
x86_64-pc-linux-gnu-gcc -c sysdeputil.c -march=athlon64 -O2 -pipe -msse3 -idirafter dummyinc
sysdeputil.c:511: error: conflicting types for ‘capset’
/usr/include/sys/capability.h:110: error: previous declaration of ‘capset’ was here
make: *** [sysdeputil.o] Error 1
make: *** Waiting for unfinished jobs....
 *
 * ERROR: net-ftp/vsftpd-2.0.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2111:  Called die
 * The specific snippet of code:
 *       emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-ftp/vsftpd-2.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-ftp/vsftpd-2.0.6/temp/environment'.


This is the first time I had this kind of problem when emerging anything. I'll thank for every tips how to solve this problem.
Back to top
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Fri Feb 22, 2008 8:10 pm    Post subject: Reply with quote

It looks like a patch intended to make it compile without libcap is not working for you -- try emerging it with USE=cap ?
Back to top
View user's profile Send private message
piejagr
n00b
n00b


Joined: 28 Jan 2008
Posts: 35
Location: Oborniki, Poland

PostPosted: Sat Feb 23, 2008 10:17 am    Post subject: Reply with quote

emerging it with useflag caps went well. Thanks for the tip.
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 489

PostPosted: Mon Feb 25, 2008 10:06 pm    Post subject: Reply with quote

same issue same fix. On x86 here though.Reported . bugs.gentoo.org/show_bug.cgi?id=210478
EDIT: ok, it seems there was an older bug of this that did not come up useing the search engine, so making the link go to that
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum