Open picca opened 7 years ago
On Tue, 12 Sep 2017 10:13:58 +0000 (UTC) picca notifications@github.com wrote:
Hello here you can find the buildlog from i386 and it seems that there is some problems during the doc generation
I think Valentin fixed this recently ... https://github.com/silx-kit/fabio/pull/158
if sys.version_info < (3.0)
. That's very strange. Which version of Python 3 do you use?Hello guyes, Here the new build log
there is still some warning during the documentation
reading sources... [100%] tutorials/index
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/.pybuild/pythonX.Y_2.7/build/fabio/numpyimage.py:docstring of fabio.numpyimage.NumpyImage:6: WARNING: Unexpected section title.
Format Specification: Version 1.0
=================================
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/.pybuild/pythonX.Y_2.7/build/fabio/numpyimage.py:docstring of fabio.numpyimage.NumpyImage:51: WARNING: Unexpected section title.
Format Specification: Version 2.0
=================================
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/install.rst:15: WARNING: Error in "code" directive:
1 argument(s) required, 0 supplied.
.. code::
sudo apt-get install python-fabio
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/install.rst:27: WARNING: Error in "code" directive:
1 argument(s) required, 0 supplied.
.. code::
python get-pip.py
pip install fabio
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/install.rst:136: WARNING: Error in "code" directive:
1 argument(s) required, 0 supplied.
.. code::
sudo pip install fabio
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/man/fabio_viewer.rst:8: WARNING: Command u'fabio_viewer --help' failed: [Errno 2] No such file or directory
looking for now-outdated files... none found
pickling environment... done
And still the python3 problem.
There is also a bunch of C compiler warning.
The C warnings can't be fixed unfortunately. That's from Cython file with openmp support.
It can be fixed using an extra initialization of the variable, which are anyway initialized by the algorithm later. Then it should not be needed.
I was more refering about the libccp4 part and not necessarely the cython generated files :)
On debian 8, I only found that, plus numpy deprecations
fabio/ext/src/columnfile.c: In function ‘cf_read_ascii’:
fabio/ext/src/columnfile.c:180:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line,2048,(FILE *)fp);
^
Sorry, I wxill put the relevant messages here :)
x86_64-linux-gnu-gcc: fabio/ext/src/ccp4_pack.c
fabio/ext/src/ccp4_pack.c: In function 'pack_chunk':
fabio/ext/src/ccp4_pack.c:816:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{ for (i = nmbr, j = 0; i > 1; i /= 2, ++j);
^~~
fabio/ext/src/ccp4_pack.c:817:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
descriptor[0] = j;
^~~~~~~~~~
At top level:
fabio/ext/src/ccp4_pack.c:83:27: warning: 'CCP4_PCK_MASK_16' defined but not used [-Wunused-const-variable=]
static const unsigned int CCP4_PCK_MASK_16[]={0x00,
^~~~~~~~~~~~~~~~
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/.pybuild/pythonX.Y_2.7/build/fabio/numpyimage.py:docstring of fabio.numpyimage.NumpyImage:6: WARNING: Unexpected section title.
Format Specification: Version 1.0
=================================
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/.pybuild/pythonX.Y_2.7/build/fabio/numpyimage.py:docstring of fabio.numpyimage.NumpyImage:51: WARNING: Unexpected section title.
Format Specification: Version 2.0
=================================
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/install.rst:15: WARNING: Error in "code" directive:
1 argument(s) required, 0 supplied.
.. code::
sudo apt-get install python-fabio
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/install.rst:27: WARNING: Error in "code" directive:
1 argument(s) required, 0 supplied.
.. code::
python get-pip.py
pip install fabio
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/install.rst:136: WARNING: Error in "code" directive:
1 argument(s) required, 0 supplied.
.. code::
sudo pip install fabio
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/man/fabio_viewer.rst:8: WARNING: Command u'fabio_viewer --help' failed: [Errno 2] No such file or directory
looking for now-outdated files... none found
and this one
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/doc/source/api/modules.rst:181: WARNING: autodoc: failed to import module 'fabio.mrcimage'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc.py", line 658, in import_object
__import__(self.modname)
File "/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/.pybuild/pythonX.Y-dbg_3.6/build/fabio/mrcimage.py", line 50, in <module>
if sys.version_info < (3.0):
TypeError: '<' not supported between instances of 'sys.version_info' and 'float'
/<<BUILDDIR>>/python-fabio-0.6.0+dfsg/.pybuild/pythonX.Y-dbg_3.6/build/fabio/numpyimage.py:docstring of fabio.numpyimage.NumpyImage:6: WARNING: Unexpected section title.
where is seems thaht version_info is not a float.
Hello here you can find the buildlog from i386 and it seems that there is some problems during the doc generation
https://buildd.debian.org/status/fetch.php?pkg=python-fabio&arch=i386&ver=0.5.0%2Bdfsg-1&stamp=1505210681&raw=0
and