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

Bug 477996

Summary: net-voip/linphone-3.4.3-r1 - incompatible with >=media-libs/mediastreamer-2.8.2
Product: Gentoo Linux Reporter: Arnaud Soulard <arnaud.soulard>
Component: Current packagesAssignee: voip herd (OBSOLETE) <voip+disabled>
Status: RESOLVED FIXED    
Severity: major CC: hasufell, mlspamcb, nbowler
Priority: Normal Keywords: STABLE
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 486490    
Bug Blocks:    
Attachments: emerge command launched
build log (located in /var/tmp/portage/net-voip/linphone-3.4.3-r1/temp/build.log)

Description Arnaud Soulard 2013-07-24 12:08:14 UTC
emerging net-voip/linphone fails

Reproducible: Always

Steps to Reproduce:
1. LANG=en_GB.utf-8 emerge -av net-voip/linphone
Actual Results:  
failure:
lsd.c: In function 'lsd_player_set_gain':
lsd.c:218:9: error: 'MSAudioMixerCtl' has no member named 'gain'

Expected Results:  
emerge successful
Comment 1 Arnaud Soulard 2013-07-24 12:12:26 UTC
Created attachment 354082 [details]
emerge command launched
Comment 2 Arnaud Soulard 2013-07-24 12:13:37 UTC
Created attachment 354084 [details]
build log (located in /var/tmp/portage/net-voip/linphone-3.4.3-r1/temp/build.log)
Comment 3 Bob Shaffer 2013-08-11 16:46:06 UTC
I can confirm this.  Further investigation reveals that several symbols are missing from media-libs/mediastreamer-2.8.2.  I changed the reference to 'gain' to 'param.gain' but then determined that there have been enough other changes to the mediastreamer library that a trivial patch like that will not be sufficient.  I am going to try building against the mediastreamer version 2.7.3-r3 in portage and see if that will work and then I'll post back.  If that works, it may be worthwhile to change the ebuild to reflect this version dependency.
Comment 4 Bob Shaffer 2013-08-11 17:05:50 UTC
Okay, so the ebuild specifies mediastreamer >= 2.8.2, and yet the sources don't seem to build against it.  There are references to functions that do not appear at all in the mediastreamer 2.8.2 sources.  It's a little bit confusing, but I could be overlooking something obvious.  Just to be sure, I did try building against the older version and it fails as well (missing mediastreamer header - msconference.h).

I apologize that I'm not providing very complete information.  I am trying to build on amd64 x86_64-pc-linux-gnu-4.5.4.  It doesn't seem particularly relevant, though.  I will look this over and provide more details and possibly a patch later.
Comment 5 Bob Shaffer 2013-08-11 18:49:54 UTC
I can't say for sure what the build problem was with 3.4.3-r1 except for what I already stated about the mediastreamer version not appearing to be correct, but it doesn't seem to build against either of the mediastreamer versions in portage atm.

I did successfully build 3.5.2 on amd64 against mediastreamer 2.8.2, however.
Comment 6 pingoo 2013-09-29 13:59:38 UTC
Hi, same problem here (amd64) (maybe is it the case to change the status to confirmed and to mask the version?)
Comment 7 Nico Baggus 2013-10-05 11:07:43 UTC
I can confirm this too, linphone-3.5.2 does build.
Comment 8 Sergey Popov gentoo-dev 2013-10-14 12:31:12 UTC
+  14 Oct 2013; Sergey Popov <pinkbyte@gentoo.org> linphone-3.4.3-r1.ebuild:
+  Adjust media-libs/mediastreamer dependency, wrt bug #477996

linphone 3.4.3 has some keywords, that does not present in recently stabilized 3.5.2, so we will keep it in tree for a bit.