[opensuse-gnome] rpmbuilding gnome-shell
I installed openSUSE 11.4 and the packages GNOME:STABLE:3.0. First of all, this is AWESOME. Everything seems to work so far. I'm trying to rebuild the gnome-shell RPM with some patches, but it's not working - and I gave up today. Rpmbuild gets as far as /usr/bin/g-ir-scanner --warn-all --warn-error --add-include-path=. --namespace=Shell --nsversion=0.1 --libtool="/bin/sh ../libtool" --include=Clutter-1.0 --include=ClutterX11- 1.0 --include=Meta-3.0 --include=TelepathyGLib-0.12 --include=TelepathyLogger-0.2 --library=libgnome-shell.la --include-uninstalled=./St-10.gir --add-include-path=/usr/lib/mu tter -pthread -DGSEAL_ENABLE -DMUTTER_MAJOR_VERSION=3 -DMUTTER_MINOR_VERSION=0 -DMUTTER_MICRO_VERSION=2.1 -DMUTTER_PLUGIN_API_VERSION=3 -DXP_UNIX -DJS_THREADSAFE -DORBIT2=1 -D_R EENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/mutter -I/usr/include/clutter-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/libdrm -I/usr/include/gjs-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/xulrunner-2.0.1 -I/usr/include/nspr4 -I/usr/include/gnome-menus -I/usr/include/gstreamer-0.10 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/telepathy-1.0 -I/usr/include/telepathy-logger-0.2 -I/usr/include/polkit-1 -I./tray -DVERSION=\"3.0.2\" -DLOCALEDIR=\"/usr/share/locale\" -DDATADIR=\"/usr/share\" -DGNOME_SHELL_LIBEXECDIR=\"/usr/lib/gnome-shell\" -DGNOME_SHELL_DATADIR=\"/usr/share/gnome-shell\" -DGNOME_SHELL_PKGLIBDIR=\"/usr/lib/gnome-shell\" -DJSDIR=\"/usr/share/gnome-shell/js\" -I . shell-app.h shell-app-system.h shell-app-usage.h shell-arrow.h shell-doc-system.h shell-embedded-window.h shell-generic-container.h shell-gtk-embed.h shell-global.h shell-mobile-providers.h shell-perf-log.h shell-slicer.h shell-stack.h shell-tray-icon.h shell-tray-manager.h shell-util.h shell-window-tracker.h shell-wmh shell-xfixes-cursor.h shell-marshal.h shell-marshal.c shell-enum-types.h shell-enum-types.c gnome-shell-plugin.c shell-app.c shell-a11y.h shell-a11y.c shell-app-system.c shell-app-usage.c shell-arrow.c shell-doc-system.c shell-embedded-window.c shell-generic-container.c shell-gtk-embed.c shell-global.c shell-mobile-providers.c shell-perf-log.c shell-polkit-authentication-agent.h shell-polkit-authentication-agent.c shell-slicer.c shell-stack.c shell-tray-icon.c shell-tray-manager.c shell-util.c shell-window-tracker.c shell-wm.c shell-xfixes-cursor.c shell-recorder.c shell-recorder.h libgnome-shell.la St-1.0.gir --output Shell-0.1.gir libtool: link: gcc -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -o .libs/gnome-shell-real gnome_shell_real-main.o -pthread -Wl,--rpath=/usr/lib/xulrunner-2.0 -Wl,-rpath -Wl,/usr/lib/xulrunner-2.0 -Wl,--export-dynamic ./.libs/libgnome-shell.so -L/usr/lib/xulrunner-devel-20.1/lib -L/usr/lib/gnome-bluetooth -lmutter -lgjs -lmozjs -lplds4 -lplc4 -lnspr4 -lgnome-menu /usr/lib/libgstbase-0.10.so /usr/lib/libgstreamer-0.10.so -lgconf-2 -lgirepository-1.0 -lffi -lcanberra -ltelepathy-logger -ltelepathy-glib -lpolkit-agent-1 -lpolkit-gobject-1 /usr/lib/gnome-bluetooth/libgnome-bluetooth-applet.so ./.libs/libst-1.0.a -lclutter-glx-1.0 -ljson-glib-1.0 -lGL -ldrm -lXext -lXdamage -lXcomposite -lXi -lXfixes -lcroco-0.6 /usr/lib/libxml2.so -ldl -lz -lgnome-desktop-3 -lstartup-notification-1 -lX11 ./.libs/libgdmuser-1.0.a -ldbus-glib-1 -ldbus-1 -lpthread ./.libs/libtray.a -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 ./.libs/libgvc.a -lpulse-mainloop-glib -lpulse -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib/gnome-shell -Wl,-rpath -Wl,/usr/lib/gnome-bluetooth /usr/bin/g-ir-compiler --includedir=. --includedir=/usr/lib/mutter --includedir=. St-1.0.gir -o St-1.0.typelib g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/mutter -I/usr/include/clutter-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/libdrm -I/usr/include/gjs-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/xulrunner-2.0.1 -I/usr/include/nspr4 -I/usr/include/gnome-menus -I/usr/include/gstreamer-0.10 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/telepathy-1.0 -I/usr/include/telepathy-logger-0.2 -I/usr/include/polkit-1 -I./tray -I. -I/usr/include/clutter-1.0 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-3.0 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gio-unix-2.0/ -c -o /home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/Shell-0.1.o /home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/Shell-0.1.c cp gnome-shell-real gnome-shell.tmp && mv gnome-shell.tmp gnome-shell g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC --silent gcc -o /home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/Shell-0.1 -export-dynamic -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -L. libgnome-shell.la -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/Shell-0.1.o /home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/.libs/Shell-0.1: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory Command '['/home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/Shell-0.1', '--introspect-dump=/home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/types.txt,/home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src/tmp-introspectvk3Nbu/dump.xml']' returned non-zero exit status 127 make[3]: *** [Shell-0.1.gir] Error 1 make[3]: Leaving directory `/home/federico/suse/11.4/BUILD/gnome-shell-3.0.2/src' An strace shows that the introspection script in that "tmp-introspect" directory doesn't even look in /usr/lib/xulrunner*, and so it doesn't find libmozjs.so. I *do* have the mozilla-xulrunner20-* RPMS installed, even the -devel one, so I really don't know how to fix this. Any ideas? :) How come gnome-shell builds fine on the build service, but not on my box? Federico -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Thu, 16 Jun 2011 18:50:33 -0500
Federico Mena Quintero
I installed openSUSE 11.4 and the packages GNOME:STABLE:3.0. First of all, this is AWESOME. Everything seems to work so far.
I'm trying to rebuild the gnome-shell RPM with some patches, but it's not working - and I gave up today. Rpmbuild gets as far as
Patches...hmmmm
Any ideas? :) How come gnome-shell builds fine on the build service, but not on my box?
Federico
Why not use osc and branch gnome-shell (assuming you have an account on OBS), add your patches and build... at least you will get the OBS build environment. Plus using a build environment negates the need for additional packages installed on the system ;) -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop up 9:50, 3 users, load average: 0.05, 0.13, 0.13 GPU GeForce 8600 GTS Silent - Driver Version: 270.41.06 -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Thu, 2011-06-16 at 18:50 -0500, Federico Mena Quintero wrote:
Any ideas? :) How come gnome-shell builds fine on the build service, but not on my box?
A conclusion, and thanks to those on IRC who helped. I was using old-skool rpmbuild, and Vincent suggested using "osc build". Given that I have a straight 11.4 install with the G:S:3.0 repo, I have *no* idea of why those would be different - isn't the buildroot supposed to have the same thing as my installation in that case? .. But anyway, "osc build" *did* work fine for gnome-shell. I think I'll be using it more in the future, even if I miss my beloved and simple rpmbuild. Federico -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
participants (2)
-
Federico Mena Quintero
-
Malcolm