After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673813 - pan 0.136 fails to build on 64-bit OS X
pan 0.136 fails to build on 64-bit OS X
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: pan-maint
pan-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-10 05:07 UTC by Adam Harvey
Modified: 2012-09-23 07:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Harvey 2012-04-10 05:07:01 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.
Comment 1 Heinrich Müller 2012-04-10 20:44:12 UTC
I'll upload a quick fix soon, you can pull from git and see if the error is resolved if you like.
Comment 2 jacknagel 2012-09-04 18:39:43 UTC
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?