[MacPorts] #41859: exo @0.3.107: build fails when libnotify is active

MacPorts noreply at macports.org
Thu Dec 19 04:05:33 PST 2013


#41859: exo @0.3.107: build fails when libnotify is active
--------------------------+--------------------
 Reporter:  ryandesign@…  |      Owner:  afb@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.99
 Keywords:                |       Port:  exo
--------------------------+--------------------
 exo 0.3.107 fails to build for me on Mavericks when libnotify is active:

 {{{
 main.c:246:71: error: too many arguments to function call, expected 3,
 have 4
   notification = notify_notification_new (summary, message, opt_icon,
 NULL);
                  ~~~~~~~~~~~~~~~~~~~~~~~                              ^~~~
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include/stddef.h:74:16:
 note: expanded from macro 'NULL'
 #  define NULL ((void*)0)
                ^~~~~~~~~~
 /opt/local/include/libnotify/notification.h:114:1: note:
 'notify_notification_new' declared here
 NotifyNotification *notify_notification_new                  (const char
 *summary,
 ^
 1 error generated.
 }}}

 notification.h is provided by libnotify:

 {{{
 $ port provides /opt/local/include/libnotify/notification.h
 /opt/local/include/libnotify/notification.h is provided by: libnotify
 $ port -v installed libnotify
 The following ports are currently installed:
   libnotify @0.7.6_0+universal (active) platform='darwin 13' archs='i386
 x86_64'
 }}}

 libnofity is not in exo's dependencies:

 {{{
 $ port rdeps exo | grep libnotify
 }}}

 exo installs fine if I deactivate libnotify first. exo should either
 indicate this build conflict with the conflicts_build portgroup or should
 be fixed to install correctly even if libnotify is installed.

-- 
Ticket URL: <https://trac.macports.org/ticket/41859>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list