Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437038 - net-misc/mediatomb-0.12.1-r3 fails to build with spidermonkey-1.8.2.x
Summary: net-misc/mediatomb-0.12.1-r3 fails to build with spidermonkey-1.8.2.x
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:
 
Reported: 2012-10-03 05:30 UTC by BT
Modified: 2012-10-04 06:51 UTC (History)
1 user (show)

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


Attachments
build log (build.log,70.52 KB, text/plain)
2012-10-03 05:30 UTC, BT
Details
emerge --info (emerge.info,4.26 KB, text/plain)
2012-10-03 05:31 UTC, BT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BT 2012-10-03 05:30:45 UTC
Created attachment 325568 [details]
build log

net-misc/mediatomb-0.12.1-r3 fails to build.

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..  -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DUNIV_LINUX -DUNIV_LINUX -I/usr/include/js -I/usr/include/taglib       -pthread        -march=core2 -O2 -pipe  -c -o libmediatomb_a-import_script.o `test -f '../src/scripting/import_script.cc' || echo './'`../src/scripting/import_script.cc
../src/scripting/import_script.cc: In constructor ‘ImportScript::ImportScript(zmm::Ref<Runtime>)’:
../src/scripting/import_script.cc:57:56: error: ‘JS_AddNamedObjectRoot’ was not declared in this scope
../src/scripting/import_script.cc: In destructor ‘virtual ImportScript::~ImportScript()’:
../src/scripting/import_script.cc:120:38: error: ‘JS_RemoveObjectRoot’ was not declared in this scope
make[2]: *** [libmediatomb_a-import_script.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-misc/mediatomb-0.12.1-r3/work/mediatomb-0.12.1/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/mediatomb-0.12.1-r3/work/mediatomb-0.12.1'
make: *** [all] Error 2
Comment 1 BT 2012-10-03 05:31:05 UTC
Created attachment 325570 [details]
emerge --info
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-10-03 05:36:44 UTC
Looks like the moz187 patch is not backwards compatible...
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-10-03 05:37:46 UTC
spidermonkey-1.8.5 is going stable soon (there is a bug open with no arch's in CC list yet)

spidermonkey-1.8.7 is still masked and will be next ~arch

so it should work with both versions, or otherwise -r3 should be masked next to the 1.8.7
Comment 4 SpanKY gentoo-dev 2012-10-03 19:04:33 UTC
the 187 patch is only applied when you have spidermonkey-1.8.7 installed, so that is unrelated:
    if has_version ">=dev-lang/spidermonkey-1.8.7" ; then
        epatch "${FILESDIR}"/${P}-mozjs187.patch #435394
    fi

that said, i can't reproduce this.  i have dev-lang/spidermonkey-1.8.5-r1 and mediatomb is built with:
[ebuild   R    ] net-misc/mediatomb-0.12.1-r3  USE="curl exif ffmpeg inotify javascript magic mp4 sqlite taglib thumbnail zlib -debug -id3tag -lastfm -libextractor -mysql" 0 kB
Comment 5 BT 2012-10-03 23:14:49 UTC
I had spidermonkey-1.8.2.15 installed. I upgraded to 1.8.5-r1 and now mediatomb builds successfully.
Comment 6 SpanKY gentoo-dev 2012-10-04 03:51:15 UTC
i see no reason to support older versions.  i'll update the depend atom.
Comment 7 SpanKY gentoo-dev 2012-10-04 03:52:33 UTC
should be all set now in the tree; thanks for the report!

Commit message: Require newer spidermonkey
http://sources.gentoo.org/net-misc/mediatomb/mediatomb-0.12.1-r3.ebuild?r1=1.3&r2=1.4
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-10-04 06:51:10 UTC
cool, thanks guys