Thread subject: sK1 Project :: byte-compiling error

Posted by Lazy_Kent on 04-07-2010 15:03
#1

uniconvertor-1.1.5, openSUSE 11.1, 11.2, 11.3 i586

? ???????? ?????????? ??????? ??????:

Code
byte-compiling /usr/src/packages/BUILDROOT/uniconvertor-1.1.5-0.i386/usr/lib/python2.6/site-packages/uniconvertor/app/scripts/export_raster.py to export_raster.pyc
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/uniconvertor/app/scripts/export_raster.py', 40, 28, 'from sk1libs import imaging.Image, imaging.ImageChops\n'))



??? ????? ??????????

Posted by igor on 04-07-2010 18:30
#2

Hi,

Just delete export_raster.py before compiling. The file is not used in UniConvertor. It's a subj for spec-file small patch.

Posted by Lazy_Kent on 04-07-2010 22:25
#3

Thanks.
Compiled successfully and works well in oS 11.1 i586. Not tested yet in oS 11.3 x86_64.

But I got rpmlint warning:
Code
I: Program is using implicit definitions of functions getting
   pointers or implemented by macros. These functions need to use their
   correct prototypes to allow correct argument passing on e.g. x86_64 .
     - Implicit memory/string functions need #include <string.h>.
     - Implicit *printf functions need #include <stdio.h>.
     - Implicit *printf functions need #include <stdio.h>.
     - Implicit *read* functions need #include <unistd.h>.
     - Implicit *recv* functions need #include <sys/socket.h>.
W: uniconvertor implicit-pointer-decl src/modules/skmod/curvelow.c:51



Should it be fixed?

Edited by Lazy_Kent on 04-07-2010 22:26

Posted by Lazy_Kent on 05-07-2010 07:28
#4

Tested and works in openSUSE 11.3 x86_64.
The only thing I worry about is a warning in my previous message.