the build process fails with: xpra/x264/x264lib.c: In function ‘get_x264_quality’: xpra/x264/x264lib.c:115:2: error: implicit declaration of function ‘roundf’ [-Werror=implicit-function-declaration] xpra/x264/x264lib.c:115:9: warning: incompatible implicit declaration of built-in function ‘roundf’ [enabled by default] xpra/x264/x264lib.c: In function ‘do_clean_decoder’: xpra/x264/x264lib.c:449:2: error: implicit declaration of function ‘avcodec_free_frame’ [-Werror=implicit-function-declaration] Reproducible: Always
Created attachment 339772 [details] build.log build log on Gentoo Prefix. The same error message is found on Gentoo x86 without distcc.
xpra-0.8.4 has the same bug.
Do you have media-video/ffmpeg or media-video/libav? And which versions of those?
I reproduced it with libav-8, changed both xpra versions. + 23 Feb 2013; Michael Weber <xmw@gentoo.org> xpra-0.8.4.ebuild, + xpra-0.8.5.ebuild: + Apply old-libav.patch for ffmpeg and <libav-9 (thanks Benda Xu, bug 458808) +
Aha, yeah, I have libav-8. Thanks a lot Michael.
Oh, I have to reopen it. The patch does not work. The failure is triggered by -Werror=implicit-function-declaration, which is in setup.py. Tested with gcc-4.7.2 and gcc-4.6.3
ok, i look into this tomorrow.
Version 0.8.5 is no longer in the tree. Please reopen, if this problem still exists wit version 0.8.8