Source: pystatgrab Version: 0.5-4 Severity: serious Justification: fails to build from source (but built successfully in the past) Tags: sid jessie
pystatgrab fails to build against the current version of libstatgrab:
| x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c _statgrab.c -o
build/temp.linux-x86_64-2.7/_statgrab.o
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_init':
| _statgrab.c:350:3: error: too few arguments to function 'sg_init'
| __pyx_1 = (sg_init() == 0);
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:130:11: note: declared here
| __sg_public sg_error sg_init(int ignore_init_errors);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_set_error':
| _statgrab.c:512:3: warning: implicit declaration of function 'sg_set_error'
[-Wimplicit-function-declaration]
| sg_set_error(__pyx_1,__pyx_2);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_set_error_with_errno':
| _statgrab.c:540:3: warning: implicit declaration of function
'sg_set_error_with_errno' [-Wimplicit-function-declaration]
| sg_set_error_with_errno(__pyx_1,__pyx_2);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_host_info':
| _statgrab.c:701:3: error: too few arguments to function 'sg_get_host_info'
| __pyx_v_s = sg_get_host_info();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:168:16: note: declared here
| __sg_public sg_host_info *sg_get_host_info(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_cpu_stats':
| _statgrab.c:784:3: error: too few arguments to function 'sg_get_cpu_stats'
| __pyx_v_s = sg_get_cpu_stats();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:191:16: note: declared here
| __sg_public sg_cpu_stats *sg_get_cpu_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_cpu_stats_diff':
| _statgrab.c:864:3: error: too few arguments to function
'sg_get_cpu_stats_diff'
| __pyx_v_s = sg_get_cpu_stats_diff();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:192:16: note: declared here
| __sg_public sg_cpu_stats *sg_get_cpu_stats_diff(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_cpu_percents':
| _statgrab.c:946:63: error: expected expression before ')' token
| __pyx_v_s = sg_get_cpu_percents();
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_mem_stats':
| _statgrab.c:1027:3: error: too few arguments to function 'sg_get_mem_stats'
| __pyx_v_s = sg_get_mem_stats();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:227:16: note: declared here
| __sg_public sg_mem_stats *sg_get_mem_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_load_stats':
| _statgrab.c:1099:3: error: too few arguments to function 'sg_get_load_stats'
| __pyx_v_s = sg_get_load_stats();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:238:17: note: declared here
| __sg_public sg_load_stats *sg_get_load_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_user_stats':
| _statgrab.c:1167:3: error: too few arguments to function 'sg_get_user_stats'
| __pyx_v_s = sg_get_user_stats();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:253:17: note: declared here
| __sg_public sg_user_stats *sg_get_user_stats(size_t *entries);
| ^
| _statgrab.c:1185:42: error: 'sg_user_stats' has no member named 'name_list'
| __pyx_4 = PyString_FromString(__pyx_v_s->name_list); if (!__pyx_4)
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 437; goto __pyx_L1;}
| ^
| _statgrab.c:1188:37: error: 'sg_user_stats' has no member named 'num_entries'
| __pyx_4 = PyInt_FromLong(__pyx_v_s->num_entries); if (!__pyx_4)
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 438; goto __pyx_L1;}
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_swap_stats':
| _statgrab.c:1229:3: error: too few arguments to function 'sg_get_swap_stats'
| __pyx_v_s = sg_get_swap_stats();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:264:17: note: declared here
| __sg_public sg_swap_stats *sg_get_swap_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_fs_stats':
| _statgrab.c:1318:3: warning: passing argument 1 of 'sg_get_fs_stats' from
incompatible pointer type [enabled by default]
| __pyx_v_s = sg_get_fs_stats((&__pyx_v_entries));
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:303:15: note: expected 'size_t *' but argument is of
type 'int *'
| __sg_public sg_fs_stats *sg_get_fs_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_disk_io_stats':
| _statgrab.c:1463:3: warning: passing argument 1 of 'sg_get_disk_io_stats'
from incompatible pointer type [enabled by default]
| __pyx_v_s = sg_get_disk_io_stats((&__pyx_v_entries));
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:319:20: note: expected 'size_t *' but argument is of
type 'int *'
| __sg_public sg_disk_io_stats *sg_get_disk_io_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_disk_io_stats_diff':
| _statgrab.c:1568:3: warning: passing argument 1 of
'sg_get_disk_io_stats_diff' from incompatible pointer type [enabled by default]
| __pyx_v_s = sg_get_disk_io_stats_diff((&__pyx_v_entries));
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:321:20: note: expected 'size_t *' but argument is of
type 'int *'
| __sg_public sg_disk_io_stats *sg_get_disk_io_stats_diff(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_network_io_stats':
| _statgrab.c:1682:3: warning: passing argument 1 of 'sg_get_network_io_stats'
from incompatible pointer type [enabled by default]
| __pyx_v_s = sg_get_network_io_stats((&__pyx_v_entries));
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:340:23: note: expected 'size_t *' but argument is of
type 'int *'
| __sg_public sg_network_io_stats *sg_get_network_io_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_network_io_stats_diff':
| _statgrab.c:1802:3: warning: passing argument 1 of
'sg_get_network_io_stats_diff' from incompatible pointer type [enabled by
default]
| __pyx_v_s = sg_get_network_io_stats_diff((&__pyx_v_entries));
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:342:23: note: expected 'size_t *' but argument is of
type 'int *'
| __sg_public sg_network_io_stats *sg_get_network_io_stats_diff(size_t
*entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_network_iface_stats':
| _statgrab.c:1926:3: warning: passing argument 1 of
'sg_get_network_iface_stats' from incompatible pointer type [enabled by default]
| __pyx_v_s = sg_get_network_iface_stats((&__pyx_v_entries));
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:368:26: note: expected 'size_t *' but argument is of
type 'int *'
| __sg_public sg_network_iface_stats *sg_get_network_iface_stats(size_t
*entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_page_stats':
| _statgrab.c:2027:3: error: too few arguments to function 'sg_get_page_stats'
| __pyx_v_s = sg_get_page_stats();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:380:17: note: declared here
| __sg_public sg_page_stats *sg_get_page_stats(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_page_stats_diff':
| _statgrab.c:2089:3: error: too few arguments to function
'sg_get_page_stats_diff'
| __pyx_v_s = sg_get_page_stats_diff();
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:382:17: note: declared here
| __sg_public sg_page_stats *sg_get_page_stats_diff(size_t *entries);
| ^
| _statgrab.c: In function '__pyx_f_9_statgrab_py_sg_get_process_stats':
| _statgrab.c:2181:3: warning: passing argument 1 of 'sg_get_process_stats'
from incompatible pointer type [enabled by default]
| __pyx_v_s = sg_get_process_stats((&__pyx_v_entries));
| ^
| In file included from _statgrab.c:14:0:
| /usr/include/statgrab.h:432:20: note: expected 'size_t *' but argument is of
type 'int *'
| __sg_public sg_process_stats *sg_get_process_stats(size_t *entries);
| ^
| error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Full build log is available at
http://people.debian.org/~sramacher/logs/libstatgrab/pystatgrab_0.5-4_amd64-20140116-1654.log
Regards
--
Sebastian Ramacher
signature.asc
Description: Digital signature

