GNOME Bugzilla – Bug 637554
fails to build with jhbuild
Last modified: 2012-02-10 11:18:27 UTC
"jhbuild buildone gnome-shell" fails with: make[3]: Entering directory `/home/wena/src/gnome/gnome-shell/src' GEN Shell-0.1.gir (mutter:19194): mutter-WARNING **: Could not load library [/home/wena/src/gnome/gnome-shell/src/libgnome-shell.la (libmozjs.so: cannot open shared object file: No such file or directory)] (mutter:19194): mutter-CRITICAL **: failed to load plugins failed to dump: Failed to find symbol 'shell_app_get_type' Command '['mutter', '--mutter-plugins=/home/wena/src/gnome/gnome-shell/src/libgnome-shell.la', '--introspect-dump=/tmp/tmp-introspectLwPuZ_/types.txt,/tmp/tmp-introspectLwPuZ_/dump.xml']' returned non-zero exit status 1 make[3]: *** [Shell-0.1.gir] Error 1 make[3]: Leaving directory `/home/wena/src/gnome/gnome-shell/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/wena/src/gnome/gnome-shell/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wena/src/gnome/gnome-shell' make: *** [all] Error 2 *** Error during phase build of gnome-shell: ########## Error running make *** [1/1]
I think this libmojs error happens when xulrunner was upgraded. You should rebuild everything by running jhbuild build -acf gnome-shell.
I did this, and am still getting the same error.
I removed (and reinstalled) the JHBuild installation, and still got the same problem. My workaround is: ln -s /opt/gnome/lib/xulrunner-1.9.2.15/libmozjs.so /opt/gnome/lib
(In reply to comment #1) > I think this libmojs error happens when xulrunner was upgraded. You should > rebuild everything by running jhbuild build -acf gnome-shell. I read your suggestion too quickly. What I did instead is 'jhbuild buildone -acf gnome-shell'.
FWIW, I'm seeing this too, even though I haven't build xulrunner myself. As a workaround, I simply linked /usr/lib/xulrunner-2.0/libmozjs.so to $libdir.
Tshepang / Vincent: Do you still see this problem?
Haven't seen this for ages.
Not happening for me either, maybe due to me having a different setup, maybe cuz it's fixed somewhow; Am closing this regardless.