Source: yara-python
Version: 3.5.0+dfsg-4
Severity: serious
Tags: sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/yara-python.html

...
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes 
-fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_MEMMEM=1 
-Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python2.7 -c 
yara-python.c -o build/temp.linux-amd64-2.7/yara-python.o
yara-python.c: In function 'convert_object_to_python':
yara-python.c:421:13: error: 'YR_OBJECT_INTEGER' undeclared (first use in this 
function)
       if (((YR_OBJECT_INTEGER*) object)->value != UNDEFINED)
             ^~~~~~~~~~~~~~~~~
yara-python.c:421:13: note: each undeclared identifier is reported only once 
for each function it appears in
yara-python.c:421:31: error: expected expression before ')' token
       if (((YR_OBJECT_INTEGER*) object)->value != UNDEFINED)
                               ^
yara-python.c:423:38: error: expected expression before ')' token
             "i", ((YR_OBJECT_INTEGER*) object)->value);
                                      ^
yara-python.c:427:24: error: 'YR_OBJECT_STRING' undeclared (first use in this 
function)
       sized_string = ((YR_OBJECT_STRING*) object)->value;
                        ^~~~~~~~~~~~~~~~
yara-python.c:427:41: error: expected expression before ')' token
       sized_string = ((YR_OBJECT_STRING*) object)->value;
                                         ^
yara-python.c:445:10: error: 'OBJECT_TYPE_REGEXP' undeclared (first use in this 
function)
     case OBJECT_TYPE_REGEXP:
          ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python2.7/pyport.h:325:0,
                 from /usr/include/python2.7/Python.h:58,
                 from yara-python.c:18:
yara-python.c:454:20: error: 'YR_OBJECT_DOUBLE' undeclared (first use in this 
function)
       if (!isnan(((YR_OBJECT_DOUBLE*) object)->value))
                    ^
yara-python.c:454:37: error: expected expression before ')' token
       if (!isnan(((YR_OBJECT_DOUBLE*) object)->value))
                                     ^
yara-python.c:455:56: error: expected expression before ')' token
         result = Py_BuildValue("d", ((YR_OBJECT_DOUBLE*) object)->value);
                                                        ^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:283: build: plugin distutils failed with: exit code=1: 
/usr/bin/python setup.py build --dynamic-linking
dh_auto_build: pybuild --build -i python{version} -p 2.7 
--build-args=--dynamic-linking returned exit code 13
debian/rules:11: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 25

Reply via email to