Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 458808

Summary: x11-wm/xpra-0.8.5 build fails with x264 USE flag
Product: Gentoo Linux Reporter: Benda Xu <heroxbd>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log

Description Benda Xu gentoo-dev 2013-02-23 03:20:11 UTC
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
Comment 1 Benda Xu gentoo-dev 2013-02-23 03:22:16 UTC
Created attachment 339772 [details]

build log on Gentoo Prefix. The same error message is found on Gentoo x86 without distcc.
Comment 2 Benda Xu gentoo-dev 2013-02-23 03:25:43 UTC
xpra-0.8.4 has the same bug.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-02-23 14:09:39 UTC
Do you have media-video/ffmpeg or media-video/libav? And which versions of those?
Comment 4 Michael Weber (RETIRED) gentoo-dev 2013-02-23 14:47:15 UTC
I reproduced it with libav-8, changed both xpra versions.

+  23 Feb 2013; Michael Weber <> xpra-0.8.4.ebuild,
+  xpra-0.8.5.ebuild:
+  Apply old-libav.patch for ffmpeg and <libav-9 (thanks Benda Xu, bug 458808)
Comment 5 Benda Xu gentoo-dev 2013-03-02 04:32:44 UTC
Aha, yeah, I have libav-8. Thanks a lot Michael.
Comment 6 Benda Xu gentoo-dev 2013-03-07 13:30:41 UTC
Oh, I have to reopen it. The patch does not work.

The failure is triggered by -Werror=implicit-function-declaration, which is in

Tested with gcc-4.7.2 and gcc-4.6.3
Comment 7 Michael Weber (RETIRED) gentoo-dev 2013-03-07 22:53:44 UTC
ok, i look into this tomorrow.
Comment 8 Michael Weber (RETIRED) gentoo-dev 2013-06-24 16:59:52 UTC
Version 0.8.5 is no longer in the tree.
Please reopen, if this problem still exists wit version 0.8.8