jhbuild build mutter crash on -lsystemd dependency



Hi,

On my Debian systemd, the latest offered version of systemd (even experimental) is 208, which is too early for this version of mutter. I checked the latest systemd out into my home directory and built it. After adding each of the directories of the resulting .pc files (see following) to the PKG_CONFIG_PATH, the project now builds most of the way. But it is still breaking with the -lsystemd lib dir reference. I can see that my mutter config file is referencing my new alternative systemd lib directory, but for some reason it's still not seeing the new files. Has anyone got ideas?

-Brandon Arnold

---------------------- .jhbuildrc CONFIGFILE PKG_CONFIG_PATH SECTION---------------

addpath('PKG_CONFIG_PATH', '/home/gnomedev/src/systemd-212/src/libsystemd')                         
addpath('PKG_CONFIG_PATH', '/home/gnomedev/src/systemd-212/src/udev')                               
addpath('PKG_CONFIG_PATH', '/home/gnomedev/src/systemd-212/src/core')                               
addpath('PKG_CONFIG_PATH', '/home/gnomedev/src/systemd-212/src/gudev')                              
addpath('PKG_CONFIG_PATH', '/home/gnomedev/src/systemd-212/src/libudev')                            
addpath('PKG_CONFIG_PATH', '/etc/alternatives')                                                     
addpath('PKG_CONFIG_PATH', '/usr/lib/pkgconfig')                                                    
addpath('PKG_CONFIG_PATH', '/usr/lib/x86_64-linux-gnu/pkgconfig')                                   
addpath('PKG_CONFIG_PATH', '/usr/lib32/pkgconfig')                                                  
addpath('PKG_CONFIG_PATH', '/usr/share/pkgconfig')                                                  

---------------------BUILD ERROR BELOW-------------------------

...

libtool: link: gcc -shared  -fPIC -DPIC  backends/.libs/meta-backend.o backends/.libs/meta-cursor.o backends/.libs/meta-cursor-tracker.o backends/.libs/meta-cursor-renderer.o backends/.libs/meta-idle-monitor.o backends/.libs/meta-idle-monitor-dbus.o backends/.libs/meta-monitor-config.o backends/.libs/meta-monitor-manager.o backends/.libs/meta-monitor-manager-dummy.o backends/.libs/edid-parse.o backends/native/.libs/meta-backend-native.o backends/native/.libs/meta-cursor-renderer-native.o backends/native/.libs/meta-idle-monitor-native.o backends/native/.libs/meta-monitor-manager-kms.o backends/native/.libs/meta-launcher.o backends/native/.libs/dbus-utils.o backends/x11/.libs/meta-backend-x11.o backends/x11/.libs/meta-cursor-renderer-x11.o backends/x11/.libs/meta-idle-monitor-xsync.o backends/x11/.libs/meta-monitor-manager-xrandr.o core/.libs/meta-accel-parse.o core/.libs/barrier.o core/.libs/bell.o core/.libs/boxes.o compositor/.libs/clutter-utils.o compositor/.libs/cogl-utils.o compositor/.libs/compositor.o compositor/.libs/meta-background.o compositor/.libs/meta-background-actor.o compositor/.libs/meta-background-group.o compositor/.libs/meta-cullable.o compositor/.libs/meta-module.o compositor/.libs/meta-plugin.o compositor/.libs/meta-plugin-manager.o compositor/.libs/meta-shadow-factory.o compositor/.libs/meta-shaped-texture.o compositor/.libs/meta-surface-actor.o compositor/.libs/meta-surface-actor-x11.o compositor/.libs/meta-surface-actor-wayland.o compositor/.libs/meta-stage.o compositor/.libs/meta-texture-rectangle.o compositor/.libs/meta-texture-tower.o compositor/.libs/meta-window-actor.o compositor/.libs/meta-window-group.o compositor/.libs/meta-window-shape.o compositor/.libs/region-utils.o core/.libs/constraints.o core/.libs/core.o core/.libs/delete.o core/.libs/display.o core/.libs/edge-resistance.o core/.libs/events.o core/.libs/errors.o core/.libs/frame.o ui/.libs/gradient.o core/.libs/keybindings.o core/.libs/main.o core/.libs/place.o core/.libs/prefs.o core/.libs/screen.o core/.libs/stack.o core/.libs/stack-tracker.o core/.libs/util.o core/.libs/window.o core/.libs/workspace.o ui/.libs/frames.o ui/.libs/resizepopup.o ui/.libs/theme-parser.o ui/.libs/theme.o ui/.libs/ui.o x11/.libs/iconcache.o x11/.libs/async-getprop.o x11/.libs/group-props.o x11/.libs/group.o x11/.libs/session.o x11/.libs/window-props.o x11/.libs/window-x11.o x11/.libs/xprops.o wayland/.libs/meta-wayland.o wayland/.libs/meta-xwayland.o wayland/.libs/meta-wayland-data-device.o wayland/.libs/meta-wayland-keyboard.o wayland/.libs/meta-wayland-pointer.o wayland/.libs/meta-wayland-seat.o wayland/.libs/meta-wayland-surface.o wayland/.libs/meta-wayland-outputs.o wayland/.libs/window-wayland.o .libs/meta-dbus-idle-monitor.o .libs/meta-dbus-display-config.o .libs/meta-dbus-login1.o .libs/mutter-enum-types.o .libs/gtk-shell-protocol.o .libs/xdg-shell-protocol.o   -L/home/gnomedev/src/jhbuild/install/lib64 -lupower-glib -lgnome-desktop-3 -lstartup-notification-1 -lcanberra-gtk3 -lcanberra -lgtk-3 -lgirepository-1.0 -lXcursor -lclutter-1.0 -lcogl-path -latk-1.0 -lcogl-pango -lcogl -lgmodule-2.0 -lwayland-egl -lgbm -lEGL -ljson-glib-1.0 -lgio-2.0 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lwayland-cursor -lwayland-client -lxkbcommon -lXdamage -lXfixes -lXcomposite -lXi -lwayland-server -ldrm -lsystemd -lXrandr -lSM -lICE -lX11 -lXext -lXinerama -lm  -O2 -pthread   -pthread -Wl,-soname -Wl,libmutter.so.0 -o .libs/libmutter.so.0.0.0
/usr/bin/ld: cannot find -lsystemd
collect2: error: ld returned 1 exit status
Makefile:1160: recipe for target 'libmutter.la' failed
make[4]: *** [libmutter.la] Error 1
make[4]: Leaving directory '/home/brandon/src/jhbuild/checkout/mutter/src'
Makefile:1556: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/brandon/src/jhbuild/checkout/mutter/src'
Makefile:889: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/brandon/src/jhbuild/checkout/mutter/src'
Makefile:468: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/brandon/src/jhbuild/checkout/mutter'
Makefile:399: recipe for target 'all' failed
make: *** [all] Error 2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]