make[2]: Entering directory `/var/tmp/portage/sys-auth/policykit-0.7_p20071101/work/PolicyKit-0.7/polkit-dbus' /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT polkit-dbus.lo -MD -MP -MF .deps/polkit-dbus.Tpo -c -o polkit-dbus.lo polkit-dbus.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DPACKAGE_LIBEXEC_DIR=\""/usr/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT polkit_read_auth_helper-polkit-read-auth-helper.o -MD -MP -MF .deps/polkit_read_auth_helper-polkit-read-auth-helper.Tpo -c -o polkit_read_auth_helper-polkit-read-auth-helper.o `test -f 'polkit-read-auth-helper.c' || echo './'`polkit-read-auth-helper.c make[2]: *** No rule to make target `../polkit-dbus/libpolkit-dbus.la', needed by `polkit-read-auth-helper'. Stop. make[2]: *** Waiting for unfinished jobs.... mv -f .deps/polkit_read_auth_helper-polkit-read-auth-helper.Tpo .deps/polkit_read_auth_helper-polkit-read-auth-helper.Po mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DPACKAGE_LIBEXEC_DIR=\"/usr/libexec\" -DPACKAGE_SYSCONF_DIR=\"/etc\" -DPACKAGE_DATA_DIR=\"/usr/share\" -DPACKAGE_BIN_DIR=\"/usr/bin\" -DPACKAGE_LOCALSTATE_DIR=\"/var\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_LIB_DIR=\"/usr/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT polkit-dbus.lo -MD -MP -MF .deps/polkit-dbus.Tpo -c polkit-dbus.c -fPIC -DPIC -o .libs/polkit-dbus.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DPACKAGE_LIBEXEC_DIR=\"/usr/libexec\" -DPACKAGE_SYSCONF_DIR=\"/etc\" -DPACKAGE_DATA_DIR=\"/usr/share\" -DPACKAGE_BIN_DIR=\"/usr/bin\" -DPACKAGE_LOCALSTATE_DIR=\"/var\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_LIB_DIR=\"/usr/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT polkit-dbus.lo -MD -MP -MF .deps/polkit-dbus.Tpo -c polkit-dbus.c -o polkit-dbus.o >/dev/null 2>&1 mv -f .deps/polkit-dbus.Tpo .deps/polkit-dbus.Plo make[2]: Leaving directory `/var/tmp/portage/sys-auth/policykit-0.7_p20071101/work/PolicyKit-0.7/polkit-dbus' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-auth/policykit-0.7_p20071101/work/PolicyKit-0.7' make: *** [all] Error 2
Created attachment 135171 [details, diff] parallel-make.patch
Created attachment 135172 [details, diff] parallel-make.patch ...And another broken Makefile.am.
Not fixed yet; they're also shipping an old, broken gtk-doc.make.
Created attachment 135177 [details, diff] parallel-make.patch Also fix gtk-doc.make
Upstreamed at https://bugs.freedesktop.org/show_bug.cgi?id=13082 ; not posting patches yet.
Created attachment 135184 [details, diff] parallel-make.patch Some more fixes.
Yeah, that works, finally. Sorry for the spam.
Thing was hosed from the second it was committed. Thanks for tracking down the issues Ed. I'll make sure to send your patches upstream on Monday. @compnerd: wanna fix this? Your commit...
Added in the overlay, thanks for the patch.
Looking further at the patch, stuff like: -polkit_read_auth_helper_LDADD = $(top_builddir)/polkit/libpolkit.la $(top_builddir)/polkit-dbus/libpolkit-dbus.la +polkit_read_auth_helper_LDADD = $(top_builddir)/polkit/libpolkit.la libpolkit-dbus.la Is not correct since it will result in linking against previous libpolkit-dbus's that are already installed on the system... i.e. you'll link against the 0.6 version on your system rather then the pre 0.7 version that you're compiling. Additionally, this package is named wrong. 0.7_p20071101 implies that it's 0.7 with patches from 20071101 on top. However, 0.7 hasn't been released so it should be 0.7_pre20071101
(In reply to comment #10) > Is not correct since it will result in linking against previous > libpolkit-dbus's that are already installed on the system... i.e. you'll link > against the 0.6 version on your system rather then the pre 0.7 version that > you're compiling. Are you sure about this? As far as I'm aware libtool doesn't use the search path for .la files (that's what -lfoo is for).
(In reply to comment #11) > (In reply to comment #10) > > Is not correct since it will result in linking against previous > > libpolkit-dbus's that are already installed on the system... i.e. you'll link > > against the 0.6 version on your system rather then the pre 0.7 version that > > you're compiling. > > Are you sure about this? As far as I'm aware libtool doesn't use the search > path for .la files (that's what -lfoo is for). > So how does it find the .la file if it doesn't have the absolute path to it within the sources?
chgrp: cannot access `/var/tmp/portage/sys-auth/policykit-0.7_pre20071101/image//var/lib/misc/PolicyKit.reload': No such file or directory make[2]: [install-data-local] Error 1 (ignored) chmod 775 /var/tmp/portage/sys-auth/policykit-0.7_pre20071101/image//var/lib/misc/PolicyKit.reload chmod: cannot access `/var/tmp/portage/sys-auth/policykit-0.7_pre20071101/image//var/lib/misc/PolicyKit.reload': No such file or directory make[2]: [install-data-local] Error 1 (ignored) Occurs while installing, which then according to seemant and remi prevents HAL from starting.
(In reply to comment #12) > So how does it find the .la file if it doesn't have the absolute path to it > within the sources? It's in the current (build) directory. That's why it needs to have the path simplified, so that make knows how to build it.
(In reply to comment #13) > chgrp: cannot access > `/var/tmp/portage/sys-auth/policykit-0.7_pre20071101/image//var/lib/misc/PolicyKit.reload': > No such file or directory > make[2]: [install-data-local] Error 1 (ignored) > chmod 775 And above that: touch /var/tmp/portage/sys-auth/policykit-0.7_p20071101/image//var/lib/misc/PolicyKit.reload /bin/sh ../libtool --mode=install /usr/bin/install -c 'libpolkit.la' '/var/tmp/portage/sys-auth/policykit-0.7_p20071101/image//usr/lib/libpolkit.la' touch: cannot touch `/var/tmp/portage/sys-auth/policykit-0.7_p20071101/image//var/lib/misc/PolicyKit.reload': No such file or directory make[2]: [install-data-local] Error 1 (ignored) Yes, it breaks hal at startup. I'll supply a patch.
Created attachment 135399 [details, diff] PolicyKit.reload.patch
(In reply to comment #16) > Created an attachment (id=135399) [edit] > PolicyKit.reload.patch Upstreamed: https://bugs.freedesktop.org/show_bug.cgi?id=13113
policykit-gnome breaks as well: make[2]: Leaving directory `/var/tmp/portage/gnome-extra/policykit-gnome-0.7_pre20071106/work/PolicyKit-gnome-0.7/tools' Making all in doc make[2]: Entering directory `/var/tmp/portage/gnome-extra/policykit-gnome-0.7_pre20071106/work/PolicyKit-gnome-0.7/doc' gtk-doc: Scanning header files make[2]: *** No rule to make target `tmpl/*.sgml', needed by `sgml-build.stamp'. Stop. make[2]: *** Waiting for unfinished jobs....
Created attachment 135537 [details, diff] policykit-gnome-parallel-make.patch
(In reply to comment #19) seems to be fixed with policykit-gnome-0.7 new "-Wl,--as-needed" patch: http://gitweb.freedesktop.org/?p=users/david/PolicyKit-gnome.git;a=commitdiff_plain;h=467f42d2f12c9947f926ca1c6ba070f1e22effb0;hp=9b14480c175928ea41604fcb56c24a52f39b967e
Have you checked if this is already fixed in policykit 0.9?
I believe this is fixed in 0.9. Please reopen and update status if it's not the case.