[winswitch] xpra build error

daltrey basd1 at fastbk.com
Sat May 30 17:14:03 BST 2015


Is this something that can be fixed?

Revised spec file has better set of "Requires" and builds on openSuSE
13.1 but I get the following on openSuSE 13.2.  Maybe I have an
uninstalled build dependency?  If so, rpmbuild does not give me that
error...

I will re-check and let you know.

building 'xpra.codecs.dec_avcodec.decoder' extension
creating build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec
gcc -pthread -fno-strict-aliasing -fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG
-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
-DOPENSSL_LOAD_CONF -fPIC -I/usr/include/python2.7 -c
xpra/codecs/dec_avcodec/decoder.c -o
build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec/decoder.o -Wall
-Werror=implicit-function-declaration -fPIC
xpra/codecs/dec_avcodec/decoder.c: In function 'initdecoder':
xpra/codecs/dec_avcodec/decoder.c:11087:45: error: 'AV_PIX_FMT_YUV420P'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_YUV420P); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 13;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11087:45: note: each undeclared
identifier is reported only once for each function it appears in
xpra/codecs/dec_avcodec/decoder.c:11099:45: error: 'AV_PIX_FMT_YUV422P'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_YUV422P); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 14;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11111:45: error: 'AV_PIX_FMT_YUV444P'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_YUV444P); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 15;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11123:45: error: 'AV_PIX_FMT_RGB24'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_RGB24); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 16;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11135:45: error: 'AV_PIX_FMT_0RGB'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_0RGB); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 17;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11147:45: error: 'AV_PIX_FMT_BGR0'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_BGR0); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 18;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11159:45: error: 'AV_PIX_FMT_ARGB'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_ARGB); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 19;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11171:45: error: 'AV_PIX_FMT_BGRA'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_BGRA); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 20;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
xpra/codecs/dec_avcodec/decoder.c:11183:45: error: 'AV_PIX_FMT_GBRP'
undeclared (first use in this function)
   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(AV_PIX_FMT_GBRP); if
(unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 21;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                             ^
error: command 'gcc' failed with exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.dWwekV (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.dWwekV (%build)



More information about the shifter-users mailing list