bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #62747] newer glib2 required due to g_memdup2 in psppire-


From: Friedrich Beckmann
Subject: PSPP-BUG: [bug #62747] newer glib2 required due to g_memdup2 in psppire-dialog-action-recode.c
Date: Sat, 30 Mar 2024 12:51:10 -0400 (EDT)

Update of bug #62747 (group pspp):

                Category:                    None => Compilation/Portability
                  Status:                   Fixed => In Progress            
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #4:

There seems to be a problem with g_memdup2 when pspp is compiled on MacOS
Ventura in the brew environment related to the compatiblity code.


gl/uniwidth/libgl_la-width.o >/dev/null 2>&1
In file included from src/ui/gui/builder-wrapper.c:21:
In file included from src/ui/gui/builder-wrapper.h:21:
In file included from src/ui/gui/include/gtk/gtk.h:26:
In file included from
/usr/local/Cellar/gtk+3/3.24.41/include/gtk-3.0/gtk/gtk.h:30:
In file included from
/usr/local/Cellar/gtk+3/3.24.41/include/gtk-3.0/gdk/gdk.h:30:
In file included from
/usr/local/Cellar/gtk+3/3.24.41/include/gtk-3.0/gdk/gdkconfig.h:8:
src/ui/gui/include/glib.h:36:1: error: static declaration of 'g_memdup2'
follows non-static declaration
g_memdup2 (gconstpointer mem,
^
/usr/local/Cellar/glib/2.80.0_2/include/glib-2.0/glib/gstrfuncs.h:354:23:
note: previous declaration is here
gpointer              g_memdup2        (gconstpointer mem,
                      ^
In file included from src/ui/gui/entry-dialog.c:19:
In file included from ./src/ui/gui/entry-dialog.h:20:
In file included from src/ui/gui/include/gtk/gtk.h:26:
In file included from
/usr/local/Cellar/gtk+3/3.24.41/include/gtk-3.0/gtk/gtk.h:30:
In file included from
/usr/local/Cellar/gtk+3/3.24.41/include/gtk-3.0/gdk/gdk.h:30:
In file included from
/usr/local/Cellar/gtk+3/3.24.41/include/gtk-3.0/gdk/gdkconfig.h:8:
src/ui/gui/include/glib.h:36:1: error: static declaration of 'g_memdup2'
follows non-static declaration
g_memdup2 (gconstpointer mem,
^
/usr/local/Cellar/glib/2.80.0_2/include/glib-2.0/glib/gstrfuncs.h:354:23:
note: previous declaration is here
gpointer              g_memdup2        (gconstpointer mem,
                      ^
clang -DHAVE_CONFIG_H -DEXEEXT=\"\" -I.  -I"./gl" -I"./gl"
-DINSTALLDIR=\"/usr/local/Cellar/pspp/2.0.1/bin\" -I"./src" -I"./lib" -Isrc
-I"./src/language/commands"
-I"/private/tmp/pspp-20240330-55729-geyzop/pspp-2.0.1/src/language/expressions"
-I"./src/language/expressions" -Isrc -Isrc/ui/gui/include
-I/usr/local/Cellar/glib/2.80.0_2/include
-I/usr/local/Cellar/glib/2.80.0_2/include/glib-2.0 -


The problem was discovered by Carlo Bertelli when he used the pspp brew port
on MacOS Ventura. 

https://github.com/fredowski/homebrew-pspp/issues/7


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62747>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]