Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2012 15:00:40 GMT
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/169807: multimedia/gnome-mplayer fails to build with NOTIFY support
Message-ID:  <201207121500.q6CF0eJR047282@red.freebsd.org>
Resent-Message-ID: <201207121510.q6CFA3WR073912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169807
>Category:       ports
>Synopsis:       multimedia/gnome-mplayer fails to build with NOTIFY support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 15:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Volodymyr Kostyrko
>Release:        RELENG_9
>Organization:
None
>Environment:
FreeBSD green.tandem.local 9.0-STABLE FreeBSD 9.0-STABLE #0 r238272M: Mon Jul  9 10:37:44 EEST 2012     arcade@green.tandem.local:/usr/obj/usr/src/sys/MINIMAL  amd64
>Description:
When building port with NOTIFY this happens:

rm -f libgmlib.a
ar cru libgmlib.a libgmlib_a-gm_file.o  libgmlib_a-gm_parse.o  libgmlib_a-gm_pref_store.o  libgmlib_a-gm_strfuncs.o 
ranlib libgmlib.a
clang -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"  -DPACKAGE_SRC_DIR=\""."\"  -DPACKAGE_DATA_DIR=\""/usr/local/share"\"  -I../pixmaps  -D_THREAD_SAFE -D_R
EENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-
unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng15 -I/usr/local/include/libdrm  -D_RE
ENTRANT -I/usr/local/include/glib-2.0  -D_REENTRANT -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0  -DORBIT2=1 -D_REENTRANT -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0    -D_REENTRANT -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/include/libpng15      -D_THREAD_SAFE -I/usr/local/include   -I/usr/local/include -Walclang -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"  -DPACKAGE_SRC_DIR=\""."\"  -DPACKAGE_DATA_DIR=\""/usr/local/share"\"  -I../pixmaps  -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng15 -I/usr/l
 ocal/include/libdrm  -D_REENTRANT -I/usr/local/include/glib-2.0  -D_REENTRANT -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0  -DORBIT2=1 -D_REENTRANT -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0    -D_REENTRANT -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/include/libpng15      -D_THREAD_SAFE -I/usr/local/include   -I/usr/local/include -Wall -g -DGTK2_12_ENABLED  -DGLIB2_14_ENABLED  -DGIO_ENABLED    -DHAVE_GCONF  -DNOTIFY_ENABLED     -O2 -pipe -march=core2 -fno-strict-aliasing -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.c
l -g -DGTK2_12_ENABLED  -DGLIB2_14_ENABLED  -DGIO_ENABLED    -DHAVE_GCONF  -DNOTIFY_ENABLED     -O2 -pipe -march=core2 -fno-strict-aliasing -MT playlist.o -MD -MP -MF .deps/playlist.Tpo 
-c -o playlist.o playlist.c
gui.c:475:58: error: too many arguments to function call, expected 3, have 4
                                        "gnome-mplayer", NULL);
                                                         ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
/usr/local/include/libnotify/notification.h:114:1: note: 'notify_notification_new' declared here
NotifyNotification *notify_notification_new                  (const char         *summary,
^
gui.c:478:17: warning: implicit declaration of function 'notify_notification_attach_to_status_icon' is invalid in C99 [-Wimplicit-function-declaration]
                notify_notification_attach_to_status_icon(notification, status_icon);
                ^
1 warning and 1 error generated.
mv -f .deps/playlist.Tpo .deps/playlist.Po

It seems that patch which enables NOTIFY support is not correct anymore.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207121500.q6CF0eJR047282>