[winswitch] [xpra-2.2.3] error: 'CODEC_FLAG2_FAST' undeclared

Antonio Trande anto.trande at gmail.com
Thu Jan 18 13:48:38 GMT 2018


Hi all.

xpra-2.2.3 is not compiled on Fedora 28 (devel branch) with following
error (against ffmpeg-3.5, commit 20180116git):

building 'xpra.codecs.dec_avcodec2.decoder' extension
creating build/temp.linux-ppc64le-2.7/xpra/codecs/dec_avcodec2
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
-mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
-mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
-mtune=power8 -fstack-clash-protection -fPIC -I/usr/include/ffmpeg
-I/usr/include/python2.7 -c xpra/codecs/dec_avcodec2/decoder.c -o
build/temp.linux-ppc64le-2.7/xpra/codecs/dec_avcodec2/decoder.o -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror -fPIC
xpra/codecs/dec_avcodec2/decoder.c: In function
'__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_init_context':
xpra/codecs/dec_avcodec2/decoder.c:5638:72: error: 'CODEC_FLAG2_FAST'
undeclared (first use in this function); did you mean 'AV_CODEC_FLAG2_FAST'?
   __pyx_v_self->codec_ctx->flags2 = (__pyx_v_self->codec_ctx->flags2 |
CODEC_FLAG2_FAST);

^~~~~~~~~~~~~~~~

AV_CODEC_FLAG2_FAST
xpra/codecs/dec_avcodec2/decoder.c:5638:72: note: each undeclared
identifier is reported only once for each function it appears in
{standard input}: Assembler messages:
{standard input}: Error: .size expression for decoder.c does not
evaluate to a constant
error: command 'gcc' failed with exit status 1

Full build log:
http://koji.rpmfusion.org/kojifiles/work/tasks/1440/191440/build.log

-- 
---
Antonio Trande
Fedora Project
mailto 'sagitter at fedoraproject dot org'
GPG key: 0x5E212EE1D35568BE
GPG key server: https://keys.fedoraproject.org/





More information about the shifter-users mailing list