GNOME Bugzilla – Bug 673813
pan 0.136 fails to build on 64-bit OS X
Last modified: 2012-09-23 07:36:55 UTC
pan 0.136 doesn't build on a 64-bit OS X installation, failing with this compilation error: CXX pan.o /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.10/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.10/lib/gtk-2.0/include -I/usr/local/Cellar/atk/2.2.0/include/atk-1.0 -I/usr/local/Cellar/gdk-pixbuf/2.24.1/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.30.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.30.3/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.30.3/include -I/usr/X11/include/cairo -I/usr/X11/include/pixman-1 -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include/libpng12 -D_REENTRANT -I/usr/local/Cellar/gmime/2.4.24/include/gmime-2.4 -I/usr/local/Cellar/glib/2.30.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.30.3/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.30.3/include -D_REENTRANT -I/usr/local/Cellar/glib/2.30.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.30.3/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.30.3/include -DPANLOCALEDIR=\""/usr/local/Cellar/pan/0.136/share/locale"\" -I/usr/local/Cellar/libffi/3.0.10/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/X11/include -Os -w -pipe -march=core2 -msse4 -c -o pan.o pan.cc gui.cc: In member function ‘void pan::GUI::set_queue_size_label(unsigned int, unsigned int)’: gui.cc:2180: error: no matching function for call to ‘pan::Queue::get_stats(gulong&, gulong&, gulong&, guint64&, double&, int&, int&, int&)’ ../../pan/tasks/queue.h:157: note: candidates are: void pan::Queue::get_stats(long unsigned int&, long unsigned int&, long unsigned int&, uint64_t&, double&, int&, int&, int&) A rough patch is at https://gist.github.com/f8e00bb9066e8fb286e8 — it fixes the immediate build, but someone more familiar with the code (and glib) than I should verify that it actually does what it's meant to.
I'll upload a quick fix soon, you can pull from git and see if the error is resolved if you like.
This is stil an issue; it seems the fix was reverted here: http://git.gnome.org/browse/pan2/commit/pan/gui/gui.cc?id=187e40fbaf4c8a7792a91e7cd989e6add4c3312e Can this be reopened until a permanent fix is in place?