After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 637554 - fails to build with jhbuild
fails to build with jhbuild
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: building
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-12-19 11:20 UTC by Tshepang Lekhonkhobe
Modified: 2012-02-10 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tshepang Lekhonkhobe 2010-12-19 11:20:06 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]
Comment 1 Milan Bouchet-Valat 2010-12-19 12:23:47 UTC
I think this libmojs error happens when xulrunner was upgraded. You should rebuild everything by running jhbuild build -acf gnome-shell.
Comment 2 Tshepang Lekhonkhobe 2010-12-19 16:08:15 UTC
I did this, and am still getting the same error.
Comment 3 Tshepang Lekhonkhobe 2011-03-25 19:07:58 UTC
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
Comment 4 Tshepang Lekhonkhobe 2011-03-25 19:15:30 UTC
(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'.
Comment 5 Vincent Untz 2011-04-05 07:27:16 UTC
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.
Comment 6 André Klapper 2012-02-07 20:47:04 UTC
Tshepang / Vincent: Do you still see this problem?
Comment 7 Vincent Untz 2012-02-08 15:12:07 UTC
Haven't seen this for ages.
Comment 8 Tshepang Lekhonkhobe 2012-02-10 11:18:27 UTC
Not happening for me either, maybe  due to me having a different setup, maybe  cuz it's fixed somewhow; Am closing this regardless.