bugPSPP - Bugs: bug #51775, pspp 0.11.0 fails to build with...

 
 

bug #51775: pspp 0.11.0 fails to build with GUI option enabled

Submitted by:  Carlos Jacobo Puga Medina <cpu82>
Submitted on:  Thu 17 Aug 2017 06:33:58 PM UTC  
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 31 Aug 2017 05:32:54 AM UTC, comment #5: 

I think this has been fixed now.

John Darrington <jmd>
Project Administrator
Fri 18 Aug 2017 12:23:34 PM UTC, comment #4: 

I suggest we remove these PSEAL macros altogether.

They were useful while we were transitioning from Gtk+2
But now they are no longer useful.

J'

John Darrington <jmd>
Project Administrator
Fri 18 Aug 2017 11:11:29 AM UTC, comment #3: 

The attached patch solves the problem in my case.

Carlos Jacobo Puga Medina <cpu82>
Fri 18 Aug 2017 11:08:55 AM UTC, comment #2: 

I have installed gtk3-3.22.15

Thanks for the quick reply!

Carlos Jacobo Puga Medina <cpu82>
Fri 18 Aug 2017 04:51:33 AM UTC, comment #1: 

Thanks for the bug report.

Can you say what version of GTK+ you're building against?

It would seem that whichever it is, it's not setting the PSEAL macro.

You may be able to work around this by setting it yourself:
#define PSEAL(X) X

John Darrington <jmd>
Project Administrator
Thu 17 Aug 2017 06:33:58 PM UTC, original submission:  

I'm trying to build pspp on FreeBSD 12.0-CURRENT/amd64 but it fails as follows:

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/local/bin\" -I./src -I./lib -I./src/language/stats -I./src/language/expressions -I./src/language/expressions -Isrc -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/harfbuzz -I/usr/local/include/libgladeui-2.0 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/libxml2 -I/usr/local/include/gtksourceview-3.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/libxml2 -I ./src/ui/gui -DDEBUGGING -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -MT src/ui/gui/libglade_psppire_la-psppire-dialog.lo -MD -MP -MF src/ui/gui/.deps/libglade_psppire_la-psppire-dialog.Tpo -c src/ui/gui/psppire-dialog.c -o src/ui/gui/libglade_psppire_la-psppire-dialog.o >/dev/null 2>&1
In file included from src/ui/gui/psppire-dictview.c:24:
In file included from ./src/ui/gui/options-dialog.h:21:
In file included from ./src/ui/gui/psppire-data-window.h:37:
In file included from ./src/ui/gui/psppire-data-editor.h:36:
In file included from ./src/ui/gui/pspp-sheet-view.h:40:
./src/ui/gui/pspp-sheet-view-column.h:64:21: error: a parameter list without
      types is only allowed in a function definition
  GtkWidget *PSEAL (tree_view);
                    ^
./src/ui/gui/pspp-sheet-view-column.h:65:21: error: a parameter list without
      types is only allowed in a function definition
  GtkWidget *PSEAL (button);
                    ^
./src/ui/gui/pspp-sheet-view-column.h:65:14: error: duplicate member 'PSEAL'
  GtkWidget *PSEAL (button);
             ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:66:21: error: a parameter list without
      types is only allowed in a function definition
  GtkWidget *PSEAL (child);
                    ^
./src/ui/gui/pspp-sheet-view-column.h:66:14: error: duplicate member 'PSEAL'
  GtkWidget *PSEAL (child);
             ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:67:21: error: a parameter list without
      types is only allowed in a function definition
  GtkWidget *PSEAL (bin);
                    ^
./src/ui/gui/pspp-sheet-view-column.h:67:14: error: duplicate member 'PSEAL'
  GtkWidget *PSEAL (bin);
             ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:68:21: error: a parameter list without
      types is only allowed in a function definition
  GdkWindow *PSEAL (window);
                    ^
./src/ui/gui/pspp-sheet-view-column.h:68:14: error: duplicate member 'PSEAL'
  GdkWindow *PSEAL (window);
             ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:69:27: error: a parameter list without
      types is only allowed in a function definition
  GtkCellEditable *PSEAL (editable_widget);
                          ^
./src/ui/gui/pspp-sheet-view-column.h:69:20: error: duplicate member 'PSEAL'
  GtkCellEditable *PSEAL (editable_widget);
                   ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:70:19: error: a parameter list without
      types is only allowed in a function definition
  GtkAlign PSEAL (halign);
                  ^
./src/ui/gui/pspp-sheet-view-column.h:70:12: error: duplicate member 'PSEAL'
  GtkAlign PSEAL (halign);
           ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:71:16: error: a parameter list without
      types is only allowed in a function definition
  guint PSEAL (property_changed_signal);
               ^
./src/ui/gui/pspp-sheet-view-column.h:71:9: error: duplicate member 'PSEAL'
  guint PSEAL (property_changed_signal);
        ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:72:15: error: a parameter list without
      types is only allowed in a function definition
  gint PSEAL (spacing);
              ^
./src/ui/gui/pspp-sheet-view-column.h:72:8: error: duplicate member 'PSEAL'
  gint PSEAL (spacing);
       ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
./src/ui/gui/pspp-sheet-view-column.h:73:24: error: a parameter list without
      types is only allowed in a function definition
  GtkAllocation PSEAL (allocation);
                       ^
./src/ui/gui/pspp-sheet-view-column.h:73:17: error: duplicate member 'PSEAL'
  GtkAllocation PSEAL (allocation);
                ^
./src/ui/gui/pspp-sheet-view-column.h:64:14: note: previous declaration is here
  GtkWidget *PSEAL (tree_view);
             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[4]: *** [Makefile:8319: src/ui/gui/libglade_psppire_la-psppire-dictview.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
mv -f src/ui/gui/.deps/libglade_psppire_la-psppire-keypad.Tpo src/ui/gui/.deps/libglade_psppire_la-psppire-keypad.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./gl -I./gl -DINSTALLDIR=\"/usr/local/bin\" -I./src -I./lib -I./src/language/stats -I./src/language/expressions -I./src/language/expressions -Isrc -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/harfbuzz -I/usr/local/include/libgladeui-2.0 -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/libxml2 -I/usr/local/include/gtksourceview-3.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/libxml2 -I ./src/ui/gui -DDEBUGGING -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -MT src/ui/gui/libglade_psppire_la-psppire-selector.lo -MD -MP -MF src/ui/gui/.deps/libglade_psppire_la-psppire-selector.Tpo -c src/ui/gui/psppire-selector.c -o src/ui/gui/libglade_psppire_la-psppire-selector.o >/dev/null 2>&1
mv -f src/ui/gui/.deps/libglade_psppire_la-psppire-dialog.Tpo src/ui/gui/.deps/libglade_psppire_la-psppire-dialog.Plo
mv -f src/ui/gui/.deps/libglade_psppire_la-psppire-selector.Tpo src/ui/gui/.deps/libglade_psppire_la-psppire-selector.Plo
gmake[4]: Leaving directory '/usr/ports/math/pspp/work/pspp-0.11.0'
gmake[3]: *** [Makefile:12154: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/math/pspp/work/pspp-0.11.0'
gmake[2]: *** [Makefile:5775: all] Error 2
gmake[2]: Leaving directory '/usr/ports/math/pspp/work/pspp-0.11.0'
===> Compilation failed unexpectedly.

Carlos Jacobo Puga Medina <cpu82>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by cpu82 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-31 jmd StatusNone => Fixed
        Open/ClosedOpen => Closed
    2017-08-18 cpu82 Attached File- => Added patch-src_ui_gui_pspp-sheet-view-column.h, #41567

    Back to the top


    Powered by Savane 3.6