Hi,

One of my S3QL servers is a vanilla Centos 7 install, I've successfully 
built and run the tests with prior versions.

But the pytest stage of a new install fails for me with 2.31 - this works 
for 2.29 and 2.30...

[root@s3ql s3ql-2.31]# python3.4 setup.py build_ext --inplace;
running build_ext
building 's3ql.deltadump' extension
creating build
creating build/temp.linux-x86_64-3.4
creating build/temp.linux-x86_64-3.4/src
creating build/temp.linux-x86_64-3.4/src/s3ql
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG 
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC 
-I/usr/include/python3.4m -c src/s3ql/deltadump.c -o 
build/temp.linux-x86_64-3.4/src/s3ql/deltadump.o -Wall -Wextra -Wconversion 
-Wsign-compare
src/s3ql/deltadump.c: In function 
‘__pyx_pf_4s3ql_9deltadump_4load_table.isra.24’:
src/s3ql/deltadump.c:7716:48: warning: ‘__pyx_v_int64’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
                 __pyx_v_int64 = (__pyx_v_int64 + 
((__pyx_cur_scope->__pyx_v_col_args[__pyx_v_j]) + 
(__pyx_cur_scope->__pyx_v_int64_prev[__pyx_v_j])));
                                                ^
src/s3ql/deltadump.c:12427:13: warning: ‘__pyx_v_row_count’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
             return PyInt_FromLong((long) value);
             ^
src/s3ql/deltadump.c:6101:11: note: ‘__pyx_v_row_count’ was declared here
   int64_t __pyx_v_row_count;
           ^
creating build/lib.linux-x86_64-3.4
creating build/lib.linux-x86_64-3.4/s3ql
gcc -pthread -shared -Wl,-z,relro 
build/temp.linux-x86_64-3.4/src/s3ql/deltadump.o -L/usr/lib64 -lpython3.4m 
-o build/lib.linux-x86_64-3.4/s3ql/deltadump.cpython-34m.so -lsqlite3
copying build/lib.linux-x86_64-3.4/s3ql/deltadump.cpython-34m.so -> src/s3ql


[root@s3ql s3ql-2.31]# python3.4 -m pytest tests/
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/lib/python3.4/site-packages/_pytest/main.py", 
line 101, in wrap_session
INTERNALERROR>     config._do_configure()
INTERNALERROR>   File "/usr/lib/python3.4/site-packages/_pytest/config.py", 
line 912, in _do_configure
INTERNALERROR>    
 self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
INTERNALERROR>   File 
"/usr/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", 
line 750, in call_historic
INTERNALERROR>     self._hookexec(self, self._nonwrappers + self._wrappers, 
kwargs)
INTERNALERROR>   File 
"/usr/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", 
line 339, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File 
"/usr/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", 
line 334, in <lambda>
INTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR>   File 
"/usr/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", 
line 614, in execute
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/root/s3ql-2.31/tests/conftest.py", line 104, in 
pytest_configure
INTERNALERROR>     faulthandler.enable(faultlog_fd)
INTERNALERROR> AttributeError: 'int' object has no attribute 'fileno'

Versions of python used:

rpm -qa | grep python3
python34-devel-3.4.8-1.el7.x86_64
python3-rpm-macros-3-21.el7.noarch
python34-crypto-2.6.1-13.el7.x86_64
python34-libs-3.4.8-1.el7.x86_64
python34-setuptools-19.6.2-3.el7.noarch
python34-apsw-3.7.17.r1-3.el7.x86_64
python34-3.4.8-1.el7.x86_64


-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to