Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423991 - met-misc/mediatomb[javascript] does not configure against spidermonkey-1.8.7
Summary: met-misc/mediatomb[javascript] does not configure against spidermonkey-1.8.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mozjs187
  Show dependency tree
 
Reported: 2012-06-28 15:34 UTC by Ian Stakenvicius (RETIRED)
Modified: 2012-10-02 13:57 UTC (History)
2 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 Ian Stakenvicius (RETIRED) gentoo-dev 2012-06-28 15:34:48 UTC
The library base name changed again with spidermonkey-1.8.7 , so the configure checks need to be updated.

I propose a simple sed on a has_version check (see whatever the current revision of polkit-0.106 is for an example), unless upstream is planning to support >=spidermonkey-1.8.5 officially.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2012-06-28 17:27:01 UTC
...ends up that it is a non-trivial upgrade;  in the mean time force the maximum spidermonkey version as 1.8.5 to reflect actual code compatibility:

+  28 Jun 2012; Ian Stakenvicius <axs@gentoo.org> mediatomb-0.12.1-r1.ebuild,
+  mediatomb-0.12.1-r2.ebuild:
+  set proper version dep on spidermonkey, interim fix for bug 423991
+


(also reassigning bug to the herd as darkside dropped direct maintainership)
Comment 2 BT 2012-06-29 00:08:12 UTC
(In reply to comment #0)
>unless upstream is planning to support >=spidermonkey-1.8.5 officially.

Unfortunately upstream is unofficially dead. No commits in almost 2 years. Officially development has been suspended due to lack of time.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2012-06-29 12:03:59 UTC
*nod* ... so if things don't change upstream, when >=spidermonkey-1.8.5 goes stable it might be time to mask-for-removal (or at least drop javascript support)..

(of course it could be another year before spidermonkey-1.8.5 goes stable)
Comment 4 BT 2012-06-29 23:59:56 UTC
(In reply to comment #3)
> *nod* ... so if things don't change upstream, when >=spidermonkey-1.8.5 goes
> stable it might be time to mask-for-removal (or at least drop javascript
> support)..

I would prefer that you only drop javascript support as I still use this package and it works quite well, even without javascript enabled.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-09-18 10:34:07 UTC
There are multiple build failures with this package if you search for "mediatomb", CCing treecleaners as the media-video herd is not capable of handling the package due to lack of resources
Comment 6 Peter Asplund 2012-09-25 19:11:12 UTC
It's really to bad if mediatomb dies since it's almost the only decent dlna/upnp server for Linux. Please list alternatives if you know of better ones.
Comment 7 Roman Karshiev 2012-10-01 12:00:15 UTC
I have successfully compiled Mediatomb few days ago.

Installed versions:  0.12.1-r2{tbz2}(15:47:50 23.09.2012)(exif ffmpeg inotify javascript lastfm libextractor mp4 mysql taglib thumbnail -debug)

And it works perfectly.

I don't understand why Samuli Suominen plans removal in 30 days this popular package from portage.

Sorry for the terrible English.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2012-10-01 12:32:42 UTC
(In reply to comment #7)
> I have successfully compiled Mediatomb few days ago.
> 
> Installed versions:  0.12.1-r2{tbz2}(15:47:50 23.09.2012)(exif ffmpeg
> inotify javascript lastfm libextractor mp4 mysql taglib thumbnail -debug)
> 
> And it works perfectly.
> 
> I don't understand why Samuli Suominen plans removal in 30 days this popular
> package from portage.
> 
> Sorry for the terrible English.

Why don't you just read comment #5 or the masked message?

# Samuli Suominen <ssuominen@gentoo.org> (25 Sep 2012)
# Multiple build failures: #435394, #423991 and #425806
# Other bugs: #270830, #368409
# Unmasking would require addressing the build failure bugs
# Removal in 30 days
net-misc/mediatomb

Please stop posting to this bug saying "oh this shiny package works great". The problems are clearly stated on the message so if you want this to stay, please provide patches.
Comment 9 SpanKY gentoo-dev 2012-10-02 07:49:03 UTC
should be all set now in the tree; thanks for the report!

Commit message: Support spidermonkey-1.8.7
http://sources.gentoo.org/net-misc/mediatomb/files/mediatomb-0.12.1-mozjs187.patch?rev=1.1
http://sources.gentoo.org/net-misc/mediatomb/mediatomb-0.12.1-r3.ebuild?r1=1.2&r2=1.3
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2012-10-02 13:45:15 UTC
(In reply to comment #9)
> should be all set now in the tree; thanks for the report!
> 
> Commit message: Support spidermonkey-1.8.7
> http://sources.gentoo.org/net-misc/mediatomb/files/mediatomb-0.12.1-mozjs187.
> patch?rev=1.1
> http://sources.gentoo.org/net-misc/mediatomb/mediatomb-0.12.1-r3.ebuild?r1=1.
> 2&r2=1.3


Has this been confirmed to work at runtime??  I did a patch long ago that fixed all the compile-time warnings and errors, but iirc there were things mediatomb was trying to do which is just plain illegal now in spidermonkey-1.8.7.  (hence why the patch is non-trivial as per comment 1 )
Comment 11 Lukas Schneiderbauer 2012-10-02 13:57:27 UTC
(In reply to comment #10)
> Has this been confirmed to work at runtime??
works for me.