I'm trying to update boinc from 6.4.5-r2 to 6.6.40[-r1] on my mostly stable amd64 box. The new ebuild adds the "client" USE flag to the build, failing: === libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -D_USING_FCGI_ -fPIC -DPIC -pthread -march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math -c filesys.cpp -o libboinc_fcgi_la-filesys.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -D_USING_FCGI_ -fPIC -DPIC -pthread -march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math -c -o libboinc_fcgi_la-gui_rpc_client.lo `test -f 'gui_rpc_client.cpp' || echo './'`gui_rpc_client.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -D_USING_FCGI_ -fPIC -DPIC -pthread -march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math -c gui_rpc_client.cpp -fPIC -DPIC -o .libs/libboinc_fcgi_la-gui_rpc_client.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -D_USING_FCGI_ -fPIC -DPIC -pthread -march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math -c -o libboinc_fcgi_la-gui_rpc_client_ops.lo `test -f 'gui_rpc_client_ops.cpp' || echo './'`gui_rpc_client_ops.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -D_USING_FCGI_ -fPIC -DPIC -pthread -march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math -c gui_rpc_client_ops.cpp -fPIC -DPIC -o .libs/libboinc_fcgi_la-gui_rpc_client_ops.o gui_rpc_client.cpp: In function ‘int read_gui_rpc_password(char*)’: gui_rpc_client.cpp:316: error: call of overloaded ‘fopen(const char [17], const char [2])’ is ambiguous /usr/include/stdio.h:250: note: candidates are: FILE* fopen(const char*, const char*) boinc_fcgi.h:52: note: FCGI_FILE* FCGI::fopen(const char*, const char*) make[2]: *** [libboinc_fcgi_la-gui_rpc_client.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -D_USING_FCGI_ -fPIC -DPIC -pthread -march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math -c gui_rpc_client_ops.cpp -o libboinc_fcgi_la-gui_rpc_client_ops.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.6.40-r1/work/boinc-6.6.40/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.6.40-r1/work/boinc-6.6.40' make: *** [all] Error 2 * * ERROR: sci-misc/boinc-6.6.40-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3350: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed === Reproducible: Always My emerge --info sci-misc/boinc === Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.11.1 Timestamp of tree: Tue, 29 Sep 2009 08:00:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" 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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.mirror.dkm.cz/pub/gentoo/" LANG="es_ES.utf8" LC_ALL="es_ES.utf8" LDFLAGS="-Wl,-O1" LINGUAS="es_ES es en_US en" MAKEOPTS="-j2" PKGDIR="/home/ramiro/usr/local/portage/pkgdir-backup/" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/portage/local /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/roslin /usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X X509 a52 aac aalib abiword accessibility acl acpi additions adns alsa amd64 aotuv apbs apm archive ass audiofile auth authfile autoreplace avahi bash-completion bcmath bdf beagle berkdb binary-drivers binfilter blas bonjour branding bzip2 cairo caps cdda cddax cddb cdparanoia cdr cdrom chm chroot clamav cli connectionstatus contactnotes context corefonts cracklib crypt css ctype cups cupsddk curl curlwrappers custom-optimization dbus dbx detex dga dia directfb disk-partition diskio divx djvu dri dts dvb dvd dvdr dvi dvipdfm eds emboss emovix enca encode erandom esd evo exif extensions extra fam fame fastcgi fat fbcon ffmpeg fftw firefox flac flatfile fontconfig foomaticdb fortran fpx ftp fuse gd gdbm geoip geolocation gif gimp ginac glibc-omitfp glitz glsl glut gmp gnome gnuplot gnutls google gphoto2 gpm grammar graphics graphviz grub gs gsl gstreamer gtk gzip hal hddtemp hdri hfs history hpn humanities iconv icu id3tag idn ieee1394 imagemagick imap imlib immqt-bc inifile inkjar innodb ipv6 isdnlog jack jadetex java java6 javascript jbig jce jfs jpeg jpeg2k justify kde kipi ladspa lame latex latex3 lcms ldap libcaca libdsk libgda libnotify libssh2 libwww live lm_sensors logitech-mouse logrotate loop-aes lua lzo m17n-lib mad maildir mailwrapper math matroska mbox mcve md5sum mdb memlimit mikmod milter mime mjpeg mmap mmx mmxext mng modplug modules mono motif mozilla moznoirc moznomail mp3 mp4 mpeg mpeg2 mpi mplayer msn mudflap multilib multiuser musepack music musicbrainz nas ncurses neXt net netboot network network-cron networking networkmanager new-login nfs nis nls npp nptl nptlonly nsplugin ntfs nvidia octave ofx ogg ole omega openal openbabel openexr opengl openmp openssl opensslcrypt openvpn osc ots pam pango parse-clocks pcntl pcre pdf perl plotutils plugins png portaudio posix postgres postproc postscript povray ppds pppd profile ps pstricks publishers pymol python qt3 qt3support qt4 quicktime rar raw rdesktop readline realmedia reflection reiser4 reiserfs replytolist resolvconf rtc rtf rtsp ruby samba sasl savedconfig scanner science screenshot sdk sdl sdl-image sensord session shout sift simplexml skey skins slang slp sndfile snmp soap sockets socks5 solver source sox speex spell spl sse sse2 ssl startup-notification subtitles subversion svg svgz swat sysfs syslog sysvipc szip t1lib taglib tcl tcpd teletext tex4ht tga theora thesaurus thunar thunderbird tidy tiff tk truetype twolame unicode usb userlocales v4l v4l2 vcd vcdx vlm vnc vorbis wavpack wddx webdav winbind winpopup wmf wmp wxwindows x264 xanim xattr xcb xcomposite xetex xface xfce xforms xfs xft xindy xine xml xmlreader xmlrpc xmlwriter xorg xorgmodule xplanet xpm xscreensaver xsl xulrunner xv xvid xvmc yv12 zeroconf zip zlib zoran" ALSA_CARDS="via82xx" ALSA_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 route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji minolta ptp2 ptp" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en_US en" SANE_BACKENDS="epson2 hp" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sci-misc/boinc-6.4.5-r2 was built with the following: USE="X (multilib) -cuda -server" CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math" CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math" >>> Attempting to run pkg_info() for 'sci-misc/boinc-6.4.5-r2' * pkg_info() is not defined: 'boinc-6.4.5-r2.ebuild' ===
PLease attach the full build.log
Created attachment 205611 [details] build.log
(In reply to comment #1) > PLease attach the full build.log > Done and thanks.
Try this as root: MAKEOPTS="-j1" emerge boinc
Created attachment 205612 [details] build.log for MAKEOPTS="-j1" emerge boinc
(In reply to comment #4) > Try this as root: > MAKEOPTS="-j1" emerge boinc Thanks for the suggestion, but is also failed. I uploaded the new build.log
Gah i hate this package, why on earth it adds: -D_USING_FCGI_ when fcgi is forced to disable by configure :/ will have to do some tests...
Created attachment 205615 [details] build.log with USE="-client"
Thanks for your efforts. I've also tried to build it with USE="-client", to no avail. buildl.log attached
Created attachment 205670 [details, diff] fixes fail when fcgi is installed on system
Thanks patch applied.