Bug 13082

Summary: 0.7_p20071101 Parallel make failures: No rule to make target `../polkit-dbus/libpolkit-dbus.la', needed by `polkit-read-auth-helper'
Product: PolicyKit Reporter: Ed Catmur <ed>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://bugs.gentoo.org/show_bug.cgi?id=198073
Whiteboard:
i915 platform: i915 features:
Attachments: parallel-make.patch
policykit-gnome-parallel-make.patch

Description Ed Catmur 2007-11-04 10:12:27 UTC
As downstream:

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

Patch/es downstream; will attach when happy.
Comment 1 Ed Catmur 2007-11-04 11:33:16 UTC
Created attachment 12346 [details] [review]
parallel-make.patch

This may also fix some doc build errors.  Eh.
Comment 2 Ed Catmur 2007-11-08 16:52:06 UTC
PolicyKit-gnome has a similar issue, due to an old gtk-doc.make:

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....
Comment 3 Ed Catmur 2007-11-08 16:54:00 UTC
Created attachment 12415 [details] [review]
policykit-gnome-parallel-make.patch
Comment 4 David Zeuthen (not reading bugmail) 2007-11-12 10:47:19 UTC
Fixed this, thanks

http://gitweb.freedesktop.org/?p=PolicyKit.git;a=commitdiff;h=ea4910e65ba58e7a5ed615a93fa6dff032c69071
Comment 5 David Zeuthen (not reading bugmail) 2007-11-12 10:52:00 UTC
(In reply to comment #3)
> Created an attachment (id=12415) [details]
> policykit-gnome-parallel-make.patch
> 

I just copied the gtk-doc.make from the one now used in PolicyKit

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.