Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357999 - gnome-extra/avant-window-navigator-extras-0.3.2.2 with x11-libs/libnotify-0.7.1 - daemon.c:1255:5: error: too many arguments to function ‘notify_notification_new’
Summary: gnome-extra/avant-window-navigator-extras-0.3.2.2 with x11-libs/libnotify-0.7...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 00:15 UTC by LeonBernieniv
Modified: 2011-03-09 18:00 UTC (History)
0 users

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


Attachments
avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch.diff (avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch.diff,1.22 KB, text/plain)
2011-03-09 00:23 UTC, LeonBernieniv
Details
build.log (build.log,290.05 KB, text/plain)
2011-03-09 10:03 UTC, LeonBernieniv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LeonBernieniv 2011-03-09 00:15:52 UTC
src/notification-daemon/src/daemon/daemon.c need a patch

Reproducible: Always
Comment 1 LeonBernieniv 2011-03-09 00:23:48 UTC
Created attachment 265245 [details]
avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch.diff
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-03-09 08:49:05 UTC
That 0.7.0 to 0.7.1 change is not necessary and I've compiled tested this package against libnotify 0.7.1 already and it built fine.

Please attach build.log and emerge --info here as well...
Comment 3 LeonBernieniv 2011-03-09 09:58:50 UTC
~ $ emerge --info
Portage 2.2.0_alpha26 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r1, 2.6.36-zen1 x86_64)
=================================================================
System uname: Linux-2.6.36-zen1-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 09 Mar 2011 01:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo LeonBernieniv-s-own-portage
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh zh_CN"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 bash-completion berkdb branding bzip2 cairo cdda cdr cjk classic cleartype cli clutter consolekit cracklib crypt cue cxx daap dbus dlna dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran gconf gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv indicate indicator java jpeg jpeg2k ladspa lame lash lcdfilter lcms ldap libnotify lv2 mad midi mikmod mmx mng modules mp3 mp4 mpeg msn mudflap multilib musepack mysql nas nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support raw readline samba sdl session shorten sndfile sox speex spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype udev unicode upnp usb vorbis vst wavpack x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel emu10k1 ice1712" 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" CAMERAS="canon" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh zh_CN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 LeonBernieniv 2011-03-09 10:03:48 UTC
Created attachment 265271 [details]
build.log

daemon.c: In function ‘_notify_daemon_process_icon_data’:
daemon.c:699:5: warning: format ‘%i’ expects type ‘int’, but argument 4 has type ‘gsize’
daemon.c: In function ‘send_message’:
daemon.c:1255:5: error: too many arguments to function ‘notify_notification_new’
/usr/include/libnotify/notification.h:114:21: note: declared here
daemon.c: In function ‘read_config’:
daemon.c:1314:17: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
daemon.c:1323:17: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
daemon.c:1338:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
make[6]: *** [daemon.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-03-09 18:00:35 UTC
alright, reproduced with USE=gnome

+  09 Mar 2011; Samuli Suominen <ssuominen@gentoo.org>
+  files/avant-window-navigator-extras-0.3.2.2-libnotify-0.7.patch:
+  Fix libnotify patch to include USE="gnome" wrt #357999 by "LeonBernieniv"