Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368809 - sci-misc/boinc-6.12.26-r1 compile error
Summary: sci-misc/boinc-6.12.26-r1 compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 18:38 UTC by Sujeet Akula
Modified: 2011-05-27 12:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sujeet Akula 2011-05-26 18:38:53 UTC
The ebuild for boinc might require an older version of libnotify:

/usr/include/libnotify/notification.h:90: error: too few arguments to function 'NotifyNotification* notify_notification_new(const gchar*, const gchar*, const gchar*, GtkWidget*)'
gtk/taskbarex.cpp:234: error: at this point in file
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Reproducible: Always

Steps to Reproduce:
1. emerge boinc

Actual Results:  
Error in compiling


neutrino ~ # emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.3.4, libc-0-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-1.12.14
Timestamp of tree: Thu, 26 May 2011 05:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=barcelona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US hi hi_IN"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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/local/portage/layman/kde /usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 apm audiofile bash-completion bcmath blas bzip2 cairo cdda cddb cdparanoia cdr cgi cli cracklib crypt cscope css cups curl cxx dbus dga djvu doc dri dts dv dvd dvdr encode exif expat fbcondecor ffmepg fftw firefox flac fortran ftp gd gdbm geoip gif gimp ginac glut gmp gnuplot gnutls gphoto2 gpm gps graphviz gsl gzip handbook hddtemp iconv icu idn ieee1394 imagemagick imap imlib ipod ipv6 jabber java javascript jingle jpeg jpeg2k kde lame lapack latex libcaca libsamplerate libwww lm_sensors lzo maildir matroska matrox mime mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql ncurses nls nntp nocd nptl nptlonly nsplugin nspluginwrapper octave offensive ogg opengl openmp oscar pam pcre pdf perl plasma png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime raw rdesktop readline rss samba semantic-desktop session shorten skey smp sndfile sockets sox speex spell spl sse sse2 ssl subversion svg sysfs syslog tcpd threads tiff truetype unicode usb vcd video vim-syntax vim-with-x vorbis wavpack wifi wmf x264 xft xml xorg xpm xscreensaver xulrunner xvid yahoo zlib" ALSA_CARDS="usb-audio hda-intel" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US hi hi_IN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sujeet Akula 2011-05-26 18:43:34 UTC
Here is a larger excerpt of the build log:


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  -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore      -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore    -march=barcelona -O2 -pipe -O3 -funroll-loops -fforce-addr -ffast-math -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -c -o boincmgr-taskbarex.o `test -f 'gtk/taskbarex.cpp' || echo './'`gtk/taskbarex.cpp
gtk/taskbarex.cpp: In member function 'virtual bool wxTaskBarIconEx::SetBalloon(const wxIcon&, wxString, wxString, unsigned int)':
gtk/taskbarex.cpp:217: warning: deprecated conversion from string constant to 'gchar*'
gtk/taskbarex.cpp:220: warning: deprecated conversion from string constant to 'gchar*'
gtk/taskbarex.cpp:223: warning: deprecated conversion from string constant to 'gchar*'
/usr/include/libnotify/notification.h:90: error: too few arguments to function 'NotifyNotification* notify_notification_new(const gchar*, const gchar*, const gchar*, GtkWidget*)'
gtk/taskbarex.cpp:234: error: at this point in file
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.12.26-r1/work/boinc-6.12.26/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.12.26-r1/work/boinc-6.12.26'
make: *** [all] Error 2
Comment 2 Sujeet Akula 2011-05-26 18:48:55 UTC
I had libnotify-0.4.5, and I can confirm upgrading did fix the problem. Maybe the newer libnotify version should be in the boinc ebuild?


Quick Fix: 
[ebuild     U ] x11-libs/libnotify-0.7.2 [0.4.5] USE="doc%* (-introspection) (-test)" 0 kB
Comment 3 Rafał Mużyło 2011-05-26 21:06:54 UTC
Well, technically, there's no dep on x11-libs/libnotify in the ebuild (which is a bug), but 'emerge -upvD world' should have pulled 0.7 series awhile ago.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-05-27 06:32:42 UTC
Dependency is there, it was just unversioned, because there was no older version in main tree.
Added with 0.7 as minimal version.
Comment 5 Rafał Mużyło 2011-05-27 12:27:22 UTC
To correct myself: my tree was slightly out of date (by a week or so) and the only version at the time didn't have the dep.

Well, oops.
Then again, looking at the ChangeLog, it didn't look like a package updated often.