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
Created attachment 325570 [details] emerge --info
Looks like the moz187 patch is not backwards compatible...
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
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
I had spidermonkey-1.8.2.15 installed. I upgraded to 1.8.5-r1 and now mediatomb builds successfully.
i see no reason to support older versions. i'll update the depend atom.
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
cool, thanks guys