user/xfce4-systemload-plugin: (ppc) FTBFS: network.cc:125:28: error: cannot convert ‘guint64*’ {aka ‘long long unsigned int*’} to ‘gulong*’ {aka ‘long unsigned int*’}
Found on ppc:
...
make[2]: Entering directory '/usr/src/packages/user/xfce4-systemload-plugin/src/xfce4-systemload-plugin-1.3.2/panel-plugin'
CXX libsystemload_la-cpu.lo
CXX libsystemload_la-memswap.lo
CXX libsystemload_la-network.lo
CC libsystemload_la-plugin.lo
CXX libsystemload_la-settings.lo
CXX libsystemload_la-systemload.lo
CXX libsystemload_la-uptime.lo
ITMRG systemload.desktop
network.cc: In function ‘gint read_netload(gulong*, gulong*)’:
network.cc:125:28: error: cannot convert ‘guint64*’ {aka ‘long long unsigned int*’} to ‘gulong*’ {aka ‘long unsigned int*’}
if (read_netload_proc (&bytes[1]) != 0)
^~~~~~~~~
network.cc:73:28: note: initializing argument 1 of ‘gint read_netload_proc(gulong*)’
read_netload_proc (gulong *bytes)
~~~~~~~~^~~~~
network.cc:126:35: error: cannot convert ‘guint64*’ {aka ‘long long unsigned int*’} to ‘gulong*’ {aka ‘long unsigned int*’}
if (read_netload_libgtop (&bytes[1]) != 0)
^~~~~~~~~
network.cc:63:31: note: initializing argument 1 of ‘gint read_netload_libgtop(gulong*)’
read_netload_libgtop (gulong *bytes)
~~~~~~~~^~~~~
make[2]: *** [Makefile:619: libsystemload_la-network.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
systemload.cc: In function ‘bool spawn_system_monitor(GtkWidget*, t_global_monitor*)’:
systemload.cc:117:64: warning: ‘gboolean xfce_spawn_command_line_on_screen(GdkScreen*, const gchar*, gboolean, gboolean, GError**)’ is deprecated: Use xfce_spawn_command_line() instead [-Wdeprecated-declarations]
FALSE, FALSE, NULL);
^
In file included from /usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui.h:31,
from systemload.cc:45:
/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-spawn.h:64:10: note: declared here
gboolean xfce_spawn_command_line_on_screen (GdkScreen *screen,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
systemload.cc:117:64: warning: ‘gboolean xfce_spawn_command_line_on_screen(GdkScreen*, const gchar*, gboolean, gboolean, GError**)’ is deprecated: Use xfce_spawn_command_line() instead [-Wdeprecated-declarations]
FALSE, FALSE, NULL);
^
In file included from /usr/include/xfce4/libxfce4ui-2/libxfce4ui/libxfce4ui.h:31,
from systemload.cc:45:
/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-spawn.h:64:10: note: declared here
gboolean xfce_spawn_command_line_on_screen (GdkScreen *screen,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/packages/user/xfce4-systemload-plugin/src/xfce4-systemload-plugin-1.3.2/panel-plugin'
make[1]: *** [Makefile:467: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/packages/user/xfce4-systemload-plugin/src/xfce4-systemload-plugin-1.3.2'
make: *** [Makefile:399: all] Error 2
>>> ERROR: xfce4-systemload-plugin: build failed