Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458808 - x11-wm/xpra-0.8.5 build fails with x264 USE flag
Summary: x11-wm/xpra-0.8.5 build fails with x264 USE flag
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-23 03:20 UTC by Benda Xu
Modified: 2013-06-24 16:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,34.52 KB, text/plain)
2013-02-23 03:22 UTC, Benda Xu
Details

Note You need to log in before you can comment on or make changes to this bug.
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

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 <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)
+
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 setup.py.

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