Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305803 - net-libs/opal-3.6.7 don't compile with media-libs/x264-0.0.20100118
Summary: net-libs/opal-3.6.7 don't compile with media-libs/x264-0.0.20100118
Status: RESOLVED DUPLICATE of bug 368783
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 23:17 UTC by Aurelien Minet
Modified: 2011-06-01 15:19 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Minet 2010-02-18 23:17:42 UTC
while emerging net-libs/opal-3.6.7  USE="audio dtmf fax ffmpeg h224 h281 h323 iax ipv6 ivr ixj java ldap lid plugins sbc sip sipim srtp ssl stats swig theora video vpb vxml wav x264 x264-static xml -capi -celt -debug -doc -examples"

With   media-libs/x264-0.0.20100118  (problem exist with previous versions)

make[3]: Entering directory `/var/tmp/portage/net-libs/opal-3.6.7/work/opal-3.6.7/plugins/video/H.264/gpl'
[CC] ../../common/trace.cxx
[CC] ../shared/h264frame.cxx
[CC] enc-ctx.cxx
../shared/h264frame.cxx: In member function 'void H264Frame::SetFromFrame(x264_nal_t*, int)':
../shared/h264frame.cxx:103: error: 'x264_nal_encode' was not declared in this scope
make[3]: *** [obj/h264frame.o] Error 1
make[3]: *** Waiting for unfinished jobs...



I applied this path http://bugzilla-attachments.gnome.org/attachment.cgi?id=147381  found on https://bugzilla.gnome.org/show_bug.cgi?id=596006

And the compilation was successful 


Build environment: 

CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686"
CHOST="i686-pc-linux-gnu"
dev-util/cmake:      2.8.0-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3-r1, 1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32



Reproducible: Always

Steps to Reproduce:
1. emerge =media-libs/x264-0.0.20100118  (~x86)  (or previous versions)
2. emerge =net-libs/opal-3.6.7


Actual Results:  
build fails with:
H264Frame::SetFromFrame(x264_nal_t*, int)':
../shared/h264frame.cxx:103: error: 'x264_nal_encode' was not declared in this scope
make[3]: *** [obj/h264frame.o] Error 1

Expected Results:  
successful build

the patch would also work with previous version of Opal
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-02-19 06:56:50 UTC
Thank you for report Aurelien. Looks like upstream is not confident about that patch at the moment, so I'd better gave them a bit more time to fix this issue.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-06-01 15:19:55 UTC
In bug 368783 Zsolti presented solution. I'll mark this bug as a duplicate of that to avoid two bugs hanging around until we review.

Guys if you are interested to have this fix faster, please, test suggested there solution :) TIA.

*** This bug has been marked as a duplicate of bug 368783 ***