[PyQt] sip failure on ubuntu 16.04 and 4.19.4.dev~
Phil Thompson
phil at riverbankcomputing.com
Mon Oct 9 22:34:32 BST 2017
On 9 Oct 2017, at 10:14 pm, Kevin Mcintyre <kebin70 at gmail.com> wrote:
>
> 4.19.3 works fine but 4.19.4 isn't getting past make - thanks for any pointers.
>
> https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.4.dev1709181706.tar.gz
>
> make[1]: Entering directory '/home/ubuntu/sip-4.19.4.dev1709181706/sipgen'
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o main.o main.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o transform.o transform.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o gencode.o gencode.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o extracts.o extracts.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o export.o export.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o type_hints.o type_hints.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o heap.o heap.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o parser.o parser.c
> gcc -c -pipe -O2 -Wall -W -DNDEBUG -I. -o lexer.o lexer.c
> sip-4.19.4.dev1709181706/sipgen/lexer.c: In function ‘yy_get_next_buffer’:
> sip-4.19.4.dev1709181706/sipgen/lexer.c:3277:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
> g++ -o sip main.o transform.o gencode.o extracts.o export.o type_hints.o heap.o parser.o lexer.o
> make[1]: Leaving directory '/home/ubuntu/sip-4.19.4.dev1709181706/sipgen'
> make[1]: Entering directory '/home/ubuntu/sip-4.19.4.dev1709181706/siplib'
> gcc -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o siplib.o siplib.c
> siplib.c: In function ‘parsePass1’:
> siplib.c:5355:48: error: ‘sipParseFailure {aka struct _sipParseFailure}’ has no member named ‘detail_ob’
> if ((exc_str_obj = PyObject_Str(failure.detail_ob)) == NULL)
> ^
> siplib.c:5380:47: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
> PyErr_Format(PyExc_OverflowError, "argument '%s' overflowed: %s",
> ^
> Makefile:29: recipe for target 'siplib.o' failed
> make[1]: *** [siplib.o] Error 1
> make[1]: Leaving directory '/home/ubuntu/sip-4.19.4.dev1709181706/siplib'
> Makefile:3: recipe for target 'all' failed
> make: *** [all] Error 2
Should be fixed in tonight's snapshot.
Thanks,
Phil
More information about the PyQt
mailing list