Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286902 - ~sci-misc/boinc-6.6.40 fails on AMD64
Summary: ~sci-misc/boinc-6.6.40 fails on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-09-29 09:23 UTC by urcindalo
Modified: 2009-09-30 13:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,123.87 KB, text/plain)
2009-09-29 19:11 UTC, urcindalo
Details
build.log for MAKEOPTS="-j1" emerge boinc (build-j1.log,128.47 KB, text/plain)
2009-09-29 20:00 UTC, urcindalo
Details
build.log with USE="-client" (build -client.log,125.45 KB, text/plain)
2009-09-29 20:43 UTC, urcindalo
Details
fixes fail when fcgi is installed on system (6.6.40-fcgi.patch,1.80 KB, patch)
2009-09-30 13:18 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2009-09-29 09:23:13 UTC
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'
===
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-09-29 17:28:08 UTC
PLease attach the full build.log
Comment 2 urcindalo 2009-09-29 19:11:47 UTC
Created attachment 205611 [details]
build.log
Comment 3 urcindalo 2009-09-29 19:12:38 UTC
(In reply to comment #1)
> PLease attach the full build.log
> 

Done and thanks.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-29 19:40:46 UTC
Try this as root:
MAKEOPTS="-j1" emerge boinc
Comment 5 urcindalo 2009-09-29 20:00:53 UTC
Created attachment 205612 [details]
build.log for MAKEOPTS="-j1" emerge boinc
Comment 6 urcindalo 2009-09-29 20:02:06 UTC
(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
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-29 20:31:12 UTC
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...
Comment 8 urcindalo 2009-09-29 20:43:48 UTC
Created attachment 205615 [details]
build.log with USE="-client"
Comment 9 urcindalo 2009-09-29 20:49:15 UTC
Thanks for your efforts.

I've also tried to build it with USE="-client", to no avail.
buildl.log attached
Comment 10 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-09-30 13:18:29 UTC
Created attachment 205670 [details, diff]
fixes fail when fcgi is installed on system
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-30 13:30:03 UTC
Thanks patch applied.