Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175425 - media-plugins/gst-plugins-farsight-0.12.0 fails to compile with "jrtplib" USE flag
Summary: media-plugins/gst-plugins-farsight-0.12.0 fails to compile with "jrtplib" USE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-21 09:43 UTC by Branko Majic
Modified: 2007-12-15 15:39 UTC (History)
0 users

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


Attachments
My emerge --info (t.txt,4.03 KB, text/plain)
2007-04-21 09:48 UTC, Branko Majic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Branko Majic 2007-04-21 09:43:17 UTC
The plugin fails to compile when using "jrtplib" USE flag. I have verified that without this USE flag the compilation goes without a problem.

Reproducible: Always

Steps to Reproduce:
1. Unmask media-plugins/gst-plugins-farsight-0.12.0
2. Enable "jrtplib" USE flag for media-plugins/gst-plugins-farsight
3. emerge media-plugins/gst-plugins-farsight
Actual Results:  
Compilation failed while compiling the jrtplib-related stuff.

Expected Results:  
Package should have emerged successfully.

Here is the output of the emerge command:
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/jrtplib3 -I/usr/include/jthread -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -pipe -march=k8 -MT libgstjrtp_la-jrtplib_c.lo -MD -MP -MF .deps/libgstjrtp_la-jrtplib_c.Tpo -c jrtplib_c.cpp  -fPIC -DPIC -o .libs/libgstjrtp_la-jrtplib_c.o
jrtplib_c.cpp: In member function `virtual RTPTransmitter* MyRTPSession::NewUserDefinedTransmitter()':
jrtplib_c.cpp:62: error: `GetMemoryManager' was not declared in this scope
jrtplib_c.cpp: In function `void* jrtpsession_create(void*, gint)':
jrtplib_c.cpp:137: error: no matching function for call to `MyRTPSession::Create(RTPSessionParams&, RTPFakeTransmissionParams*&, RTPTransmitter::TransmissionProtocol)'
/usr/include/jrtplib3/rtpsession.h:70: note: candidates are: int RTPSession::Create(const RTPSessionParams&, const RTPTransmissionParams*)
make[3]: *** [libgstjrtp_la-jrtplib_c.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-farsight-0.12.0/work/gst-plugins-farsight-0.12.0/ext/jrtp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-farsight-0.12.0/work/gst-plugins-farsight-0.12.0/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-farsight-0.12.0/work/gst-plugins-farsight-0.12.0'
make: *** [all] Error 2

!!! ERROR: media-plugins/gst-plugins-farsight-0.12.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3177:   Called src_compile
  gst-plugins-farsight-0.12.0.ebuild, line 40:   Called die
Comment 1 Branko Majic 2007-04-21 09:48:30 UTC
Created attachment 116879 [details]
My emerge --info

I forgot to add the output of my emerger --info, I'll add it as an attachment.
Comment 2 Branko Majic 2007-04-22 10:28:27 UTC
I took a look at the ChangeLog of this package and noticed this entry:

Thu Sep 21 11:51:40 EDT 2006  *EMAIL_REMOVED_IN_CASE_OF_SPAMS*
  * Adapt to API changes in jrtplib 3.6.0

The current jrtplib in portage is 3.5.2. Perhaps this is why the problem occurred (due to API incompatibility)? I didn't try to build the newer jrtplib yet, but I've noticed there is an ebuild for the 3.7.0 version on the jrtplib's site. I'm not sure if its API is compatible with 3.6.0, though.