diff options
author | Cecil <knoppmyth@gmail.com> | 2011-07-05 06:55:13 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-07-05 06:55:13 (GMT) |
commit | 764d67eb17ac6dd13af08e8423fe5aa68647347f (patch) | |
tree | 23d198c46610c5b8096a5b8ece11d29f092f3301 /abs/extra/polkit | |
parent | e26f6115ec6d3c43ea62e02beb9c4ee58ec58eee (diff) | |
download | linhes_pkgbuild-764d67eb17ac6dd13af08e8423fe5aa68647347f.zip linhes_pkgbuild-764d67eb17ac6dd13af08e8423fe5aa68647347f.tar.gz linhes_pkgbuild-764d67eb17ac6dd13af08e8423fe5aa68647347f.tar.bz2 |
polkit:Bumped to latest.
Diffstat (limited to 'abs/extra/polkit')
-rw-r--r-- | abs/extra/polkit/CVE-2011-1485.patch | 908 | ||||
-rw-r--r-- | abs/extra/polkit/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/extra/polkit/polkit-0.98-1-i686-build.log.1 | 403 | ||||
-rw-r--r-- | abs/extra/polkit/polkit-0.98-1-i686-build.log.2 | 386 | ||||
-rw-r--r-- | abs/extra/polkit/polkit-0.98-1-i686-build.log.3 | 386 | ||||
-rw-r--r-- | abs/extra/polkit/polkit-0.98-1-i686-build.log.4 | 386 | ||||
-rw-r--r-- | abs/extra/polkit/polkit-git-fixes.patch | 85 |
7 files changed, 2570 insertions, 11 deletions
diff --git a/abs/extra/polkit/CVE-2011-1485.patch b/abs/extra/polkit/CVE-2011-1485.patch new file mode 100644 index 0000000..f7054a6 --- /dev/null +++ b/abs/extra/polkit/CVE-2011-1485.patch @@ -0,0 +1,908 @@ +From dd848a42a64a3b22a0cc60f6657b56ce9b6010ae Mon Sep 17 00:00:00 2001 +From: David Zeuthen <davidz@redhat.com> +Date: Thu, 31 Mar 2011 16:59:09 +0000 +Subject: PolkitUnixProcess: Clarify that the real uid is returned, not the effective one + +On Linux, also switch to parsing /proc/<pid>/status instead of relying +on the st_uid returned by stat(2) to be the uid we want. + +This was pointed out by Neel Mehta <nmehta@google.com>. Thanks! + +Signed-off-by: David Zeuthen <davidz@redhat.com> +--- +diff --git a/src/polkit/polkitunixprocess.c b/src/polkit/polkitunixprocess.c +index d95a1d4..876da69 100644 +--- a/src/polkit/polkitunixprocess.c ++++ b/src/polkit/polkitunixprocess.c +@@ -24,9 +24,7 @@ + #endif + + #include <sys/types.h> +-#ifndef HAVE_FREEBSD +-#include <sys/stat.h> +-#else ++#ifdef HAVE_FREEBSD + #include <sys/param.h> + #include <sys/sysctl.h> + #include <sys/user.h> +@@ -34,6 +32,7 @@ + #include <stdlib.h> + #include <string.h> + #include <errno.h> ++#include <stdio.h> + + #include "polkitunixprocess.h" + #include "polkitsubject.h" +@@ -208,6 +207,8 @@ polkit_unix_process_get_pid (PolkitUnixProcess *process) + * + * Gets the uid of the owner of @process. + * ++ * Note that this returns the real user-id (not the effective user-id) of @process. ++ * + * Returns: The UNIX user id of the owner for @process or 0 if @error is set. + **/ + gint +@@ -215,17 +216,21 @@ polkit_unix_process_get_owner (PolkitUnixProcess *process, + GError **error) + { + gint result; ++ gchar *contents; ++ gchar **lines; + #ifdef HAVE_FREEBSD + struct kinfo_proc p; + #else +- struct stat statbuf; +- char procbuf[32]; ++ gchar filename[64]; ++ guint n; + #endif + + g_return_val_if_fail (POLKIT_IS_UNIX_PROCESS (process), 0); + g_return_val_if_fail (error == NULL || *error == NULL, 0); + + result = 0; ++ lines = NULL; ++ contents = NULL; + + #ifdef HAVE_FREEBSD + if (get_kinfo_proc (process->pid, &p) == 0) +@@ -241,23 +246,52 @@ polkit_unix_process_get_owner (PolkitUnixProcess *process, + + result = p.ki_uid; + #else +- g_snprintf (procbuf, sizeof procbuf, "/proc/%d", process->pid); +- if (stat (procbuf, &statbuf) != 0) ++ ++ /* see 'man proc' for layout of the status file ++ * ++ * Uid, Gid: Real, effective, saved set, and file system UIDs (GIDs). ++ */ ++ g_snprintf (filename, sizeof filename, "/proc/%d/status", process->pid); ++ if (!g_file_get_contents (filename, ++ &contents, ++ NULL, ++ error)) + { +- g_set_error (error, +- POLKIT_ERROR, +- POLKIT_ERROR_FAILED, +- "stat() failed for /proc/%d: %s", +- process->pid, +- g_strerror (errno)); + goto out; + } ++ lines = g_strsplit (contents, "\n", -1); ++ for (n = 0; lines != NULL && lines[n] != NULL; n++) ++ { ++ gint real_uid, effective_uid; ++ if (!g_str_has_prefix (lines[n], "Uid:")) ++ continue; ++ if (sscanf (lines[n] + 4, "%d %d", &real_uid, &effective_uid) != 2) ++ { ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Unexpected line `%s' in file %s", ++ lines[n], ++ filename); ++ goto out; ++ } ++ else ++ { ++ result = real_uid; ++ goto out; ++ } ++ } + +- result = statbuf.st_uid; ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Didn't find any line starting with `Uid:' in file %s", ++ filename); + #endif + +- out: +- ++out: ++ g_strfreev (lines); ++ g_free (contents); + return result; + } + +-- +cgit v0.8.3-6-g21f6 +From 129b6223a19e7fb2753f8cad7957ac5402394076 Mon Sep 17 00:00:00 2001 +From: David Zeuthen <davidz@redhat.com> +Date: Fri, 01 Apr 2011 16:09:45 +0000 +Subject: Make PolkitUnixProcess also record the uid of the process + +This is needed to avoid possible TOCTTOU issues since a process can +change both its real uid and effective uid. + +Signed-off-by: David Zeuthen <davidz@redhat.com> +--- +diff --git a/docs/polkit/polkit-1-sections.txt b/docs/polkit/polkit-1-sections.txt +index 12141e3..9f4fcf8 100644 +--- a/docs/polkit/polkit-1-sections.txt ++++ b/docs/polkit/polkit-1-sections.txt +@@ -145,10 +145,13 @@ POLKIT_UNIX_SESSION_GET_CLASS + PolkitUnixProcess + polkit_unix_process_new + polkit_unix_process_new_full ++polkit_unix_process_new_for_owner ++polkit_unix_process_set_pid + polkit_unix_process_get_pid ++polkit_unix_process_set_start_time + polkit_unix_process_get_start_time +-polkit_unix_process_set_pid +-polkit_unix_process_get_owner ++polkit_unix_process_set_uid ++polkit_unix_process_get_uid + <SUBSECTION Standard> + PolkitUnixProcessClass + POLKIT_UNIX_PROCESS +diff --git a/src/polkit/polkitsubject.c b/src/polkit/polkitsubject.c +index 577afec..d2c4c20 100644 +--- a/src/polkit/polkitsubject.c ++++ b/src/polkit/polkitsubject.c +@@ -238,13 +238,18 @@ polkit_subject_from_string (const gchar *str, + { + gint scanned_pid; + guint64 scanned_starttime; +- if (sscanf (str, "unix-process:%d:%" G_GUINT64_FORMAT, &scanned_pid, &scanned_starttime) == 2) ++ gint scanned_uid; ++ if (sscanf (str, "unix-process:%d:%" G_GUINT64_FORMAT ":%d", &scanned_pid, &scanned_starttime, &scanned_uid) == 3) ++ { ++ subject = polkit_unix_process_new_for_owner (scanned_pid, scanned_starttime, scanned_uid); ++ } ++ else if (sscanf (str, "unix-process:%d:%" G_GUINT64_FORMAT, &scanned_pid, &scanned_starttime) == 2) + { + subject = polkit_unix_process_new_full (scanned_pid, scanned_starttime); + } + else if (sscanf (str, "unix-process:%d", &scanned_pid) == 1) + { +- subject = polkit_unix_process_new_full (scanned_pid, 0); ++ subject = polkit_unix_process_new (scanned_pid); + if (polkit_unix_process_get_start_time (POLKIT_UNIX_PROCESS (subject)) == 0) + { + g_object_unref (subject); +@@ -297,6 +302,8 @@ polkit_subject_to_gvariant (PolkitSubject *subject) + g_variant_new_uint32 (polkit_unix_process_get_pid (POLKIT_UNIX_PROCESS (subject)))); + g_variant_builder_add (&builder, "{sv}", "start-time", + g_variant_new_uint64 (polkit_unix_process_get_start_time (POLKIT_UNIX_PROCESS (subject)))); ++ g_variant_builder_add (&builder, "{sv}", "uid", ++ g_variant_new_int32 (polkit_unix_process_get_uid (POLKIT_UNIX_PROCESS (subject)))); + } + else if (POLKIT_IS_UNIX_SESSION (subject)) + { +@@ -395,6 +402,7 @@ polkit_subject_new_for_gvariant (GVariant *variant, + GVariant *v; + guint32 pid; + guint64 start_time; ++ gint32 uid; + + v = lookup_asv (details_gvariant, "pid", G_VARIANT_TYPE_UINT32, error); + if (v == NULL) +@@ -414,7 +422,18 @@ polkit_subject_new_for_gvariant (GVariant *variant, + start_time = g_variant_get_uint64 (v); + g_variant_unref (v); + +- ret = polkit_unix_process_new_full (pid, start_time); ++ v = lookup_asv (details_gvariant, "uid", G_VARIANT_TYPE_INT32, error); ++ if (v != NULL) ++ { ++ uid = g_variant_get_int32 (v); ++ g_variant_unref (v); ++ } ++ else ++ { ++ uid = -1; ++ } ++ ++ ret = polkit_unix_process_new_for_owner (pid, start_time, uid); + } + else if (g_strcmp0 (kind, "unix-session") == 0) + { +diff --git a/src/polkit/polkitunixprocess.c b/src/polkit/polkitunixprocess.c +index 876da69..913be3a 100644 +--- a/src/polkit/polkitunixprocess.c ++++ b/src/polkit/polkitunixprocess.c +@@ -62,6 +62,7 @@ struct _PolkitUnixProcess + + gint pid; + guint64 start_time; ++ gint uid; + }; + + struct _PolkitUnixProcessClass +@@ -74,6 +75,7 @@ enum + PROP_0, + PROP_PID, + PROP_START_TIME, ++ PROP_UID + }; + + static void subject_iface_init (PolkitSubjectIface *subject_iface); +@@ -81,6 +83,9 @@ static void subject_iface_init (PolkitSubjectIface *subject_iface); + static guint64 get_start_time_for_pid (gint pid, + GError **error); + ++static gint _polkit_unix_process_get_owner (PolkitUnixProcess *process, ++ GError **error); ++ + #ifdef HAVE_FREEBSD + static gboolean get_kinfo_proc (gint pid, struct kinfo_proc *p); + #endif +@@ -92,6 +97,7 @@ G_DEFINE_TYPE_WITH_CODE (PolkitUnixProcess, polkit_unix_process, G_TYPE_OBJECT, + static void + polkit_unix_process_init (PolkitUnixProcess *unix_process) + { ++ unix_process->uid = -1; + } + + static void +@@ -108,6 +114,10 @@ polkit_unix_process_get_property (GObject *object, + g_value_set_int (value, unix_process->pid); + break; + ++ case PROP_UID: ++ g_value_set_int (value, unix_process->uid); ++ break; ++ + case PROP_START_TIME: + g_value_set_uint64 (value, unix_process->start_time); + break; +@@ -132,6 +142,14 @@ polkit_unix_process_set_property (GObject *object, + polkit_unix_process_set_pid (unix_process, g_value_get_int (value)); + break; + ++ case PROP_UID: ++ polkit_unix_process_set_uid (unix_process, g_value_get_int (value)); ++ break; ++ ++ case PROP_START_TIME: ++ polkit_unix_process_set_start_time (unix_process, g_value_get_uint64 (value)); ++ break; ++ + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; +@@ -139,12 +157,39 @@ polkit_unix_process_set_property (GObject *object, + } + + static void ++polkit_unix_process_constructed (GObject *object) ++{ ++ PolkitUnixProcess *process = POLKIT_UNIX_PROCESS (object); ++ ++ /* sets start_time and uid in case they are unset */ ++ ++ if (process->start_time == 0) ++ process->start_time = get_start_time_for_pid (process->pid, NULL); ++ ++ if (process->uid == -1) ++ { ++ GError *error; ++ error = NULL; ++ process->uid = _polkit_unix_process_get_owner (process, &error); ++ if (error != NULL) ++ { ++ process->uid = -1; ++ g_error_free (error); ++ } ++ } ++ ++ if (G_OBJECT_CLASS (polkit_unix_process_parent_class)->constructed != NULL) ++ G_OBJECT_CLASS (polkit_unix_process_parent_class)->constructed (object); ++} ++ ++static void + polkit_unix_process_class_init (PolkitUnixProcessClass *klass) + { + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gobject_class->get_property = polkit_unix_process_get_property; + gobject_class->set_property = polkit_unix_process_set_property; ++ gobject_class->constructed = polkit_unix_process_constructed; + + /** + * PolkitUnixProcess:pid: +@@ -156,7 +201,7 @@ polkit_unix_process_class_init (PolkitUnixProcessClass *klass) + g_param_spec_int ("pid", + "Process ID", + "The UNIX process ID", +- -1, ++ 0, + G_MAXINT, + 0, + G_PARAM_CONSTRUCT | +@@ -166,6 +211,27 @@ polkit_unix_process_class_init (PolkitUnixProcessClass *klass) + G_PARAM_STATIC_NICK)); + + /** ++ * PolkitUnixProcess:uid: ++ * ++ * The UNIX user id of the process or -1 if unknown. ++ * ++ * Note that this is the real user-id, not the effective user-id. ++ */ ++ g_object_class_install_property (gobject_class, ++ PROP_UID, ++ g_param_spec_int ("uid", ++ "User ID", ++ "The UNIX user ID", ++ -1, ++ G_MAXINT, ++ -1, ++ G_PARAM_CONSTRUCT | ++ G_PARAM_READWRITE | ++ G_PARAM_STATIC_NAME | ++ G_PARAM_STATIC_BLURB | ++ G_PARAM_STATIC_NICK)); ++ ++ /** + * PolkitUnixProcess:start-time: + * + * The start time of the process. +@@ -178,7 +244,8 @@ polkit_unix_process_class_init (PolkitUnixProcessClass *klass) + 0, + G_MAXUINT64, + 0, +- G_PARAM_READABLE | ++ G_PARAM_CONSTRUCT | ++ G_PARAM_READWRITE | + G_PARAM_STATIC_NAME | + G_PARAM_STATIC_BLURB | + G_PARAM_STATIC_NICK)); +@@ -186,113 +253,50 @@ polkit_unix_process_class_init (PolkitUnixProcessClass *klass) + } + + /** +- * polkit_unix_process_get_pid: ++ * polkit_unix_process_get_uid: + * @process: A #PolkitUnixProcess. + * +- * Gets the process id for @process. ++ * Gets the user id for @process. Note that this is the real user-id, ++ * not the effective user-id. + * +- * Returns: The process id for @process. ++ * Returns: The user id for @process or -1 if unknown. + */ + gint +-polkit_unix_process_get_pid (PolkitUnixProcess *process) ++polkit_unix_process_get_uid (PolkitUnixProcess *process) + { +- g_return_val_if_fail (POLKIT_IS_UNIX_PROCESS (process), 0); +- return process->pid; ++ g_return_val_if_fail (POLKIT_IS_UNIX_PROCESS (process), -1); ++ return process->uid; + } + + /** +- * polkit_unix_process_get_owner: ++ * polkit_unix_process_set_uid: + * @process: A #PolkitUnixProcess. +- * @error: (allow-none): Return location for error or %NULL. ++ * @uid: The user id to set for @process or -1 to unset it. + * +- * Gets the uid of the owner of @process. ++ * Sets the (real, not effective) user id for @process. ++ */ ++void ++polkit_unix_process_set_uid (PolkitUnixProcess *process, ++ gint uid) ++{ ++ g_return_if_fail (POLKIT_IS_UNIX_PROCESS (process)); ++ g_return_if_fail (uid >= -1); ++ process->uid = uid; ++} ++ ++/** ++ * polkit_unix_process_get_pid: ++ * @process: A #PolkitUnixProcess. + * +- * Note that this returns the real user-id (not the effective user-id) of @process. ++ * Gets the process id for @process. + * +- * Returns: The UNIX user id of the owner for @process or 0 if @error is set. +- **/ ++ * Returns: The process id for @process. ++ */ + gint +-polkit_unix_process_get_owner (PolkitUnixProcess *process, +- GError **error) ++polkit_unix_process_get_pid (PolkitUnixProcess *process) + { +- gint result; +- gchar *contents; +- gchar **lines; +-#ifdef HAVE_FREEBSD +- struct kinfo_proc p; +-#else +- gchar filename[64]; +- guint n; +-#endif +- + g_return_val_if_fail (POLKIT_IS_UNIX_PROCESS (process), 0); +- g_return_val_if_fail (error == NULL || *error == NULL, 0); +- +- result = 0; +- lines = NULL; +- contents = NULL; +- +-#ifdef HAVE_FREEBSD +- if (get_kinfo_proc (process->pid, &p) == 0) +- { +- g_set_error (error, +- POLKIT_ERROR, +- POLKIT_ERROR_FAILED, +- "get_kinfo_proc() failed for pid %d: %s", +- process->pid, +- g_strerror (errno)); +- goto out; +- } +- +- result = p.ki_uid; +-#else +- +- /* see 'man proc' for layout of the status file +- * +- * Uid, Gid: Real, effective, saved set, and file system UIDs (GIDs). +- */ +- g_snprintf (filename, sizeof filename, "/proc/%d/status", process->pid); +- if (!g_file_get_contents (filename, +- &contents, +- NULL, +- error)) +- { +- goto out; +- } +- lines = g_strsplit (contents, "\n", -1); +- for (n = 0; lines != NULL && lines[n] != NULL; n++) +- { +- gint real_uid, effective_uid; +- if (!g_str_has_prefix (lines[n], "Uid:")) +- continue; +- if (sscanf (lines[n] + 4, "%d %d", &real_uid, &effective_uid) != 2) +- { +- g_set_error (error, +- POLKIT_ERROR, +- POLKIT_ERROR_FAILED, +- "Unexpected line `%s' in file %s", +- lines[n], +- filename); +- goto out; +- } +- else +- { +- result = real_uid; +- goto out; +- } +- } +- +- g_set_error (error, +- POLKIT_ERROR, +- POLKIT_ERROR_FAILED, +- "Didn't find any line starting with `Uid:' in file %s", +- filename); +-#endif +- +-out: +- g_strfreev (lines); +- g_free (contents); +- return result; ++ return process->pid; + } + + /** +@@ -311,6 +315,21 @@ polkit_unix_process_get_start_time (PolkitUnixProcess *process) + } + + /** ++ * polkit_unix_process_set_start_time: ++ * @process: A #PolkitUnixProcess. ++ * @start_time: The start time for @pid. ++ * ++ * Set the start time of @process. ++ */ ++void ++polkit_unix_process_set_start_time (PolkitUnixProcess *process, ++ guint64 start_time) ++{ ++ g_return_if_fail (POLKIT_IS_UNIX_PROCESS (process)); ++ process->start_time = start_time; ++} ++ ++/** + * polkit_unix_process_set_pid: + * @process: A #PolkitUnixProcess. + * @pid: A process id. +@@ -323,18 +342,17 @@ polkit_unix_process_set_pid (PolkitUnixProcess *process, + { + g_return_if_fail (POLKIT_IS_UNIX_PROCESS (process)); + process->pid = pid; +- if (pid != (gint) -1) +- process->start_time = get_start_time_for_pid (pid, NULL); + } + + /** + * polkit_unix_process_new: + * @pid: The process id. + * +- * Creates a new #PolkitUnixProcess for @pid. The start time of the +- * process will be looked up in using e.g. the +- * <filename>/proc</filename> filesystem depending on the platform in +- * use. ++ * Creates a new #PolkitUnixProcess for @pid. ++ * ++ * The uid and start time of the process will be looked up in using ++ * e.g. the <filename>/proc</filename> filesystem depending on the ++ * platform in use. + * + * Returns: (transfer full): A #PolkitSubject. Free with g_object_unref(). + */ +@@ -353,22 +371,42 @@ polkit_unix_process_new (gint pid) + * + * Creates a new #PolkitUnixProcess object for @pid and @start_time. + * ++ * The uid of the process will be looked up in using e.g. the ++ * <filename>/proc</filename> filesystem depending on the platform in ++ * use. ++ * + * Returns: (transfer full): A #PolkitSubject. Free with g_object_unref(). + */ + PolkitSubject * + polkit_unix_process_new_full (gint pid, + guint64 start_time) + { +- PolkitUnixProcess *process; +- +- process = POLKIT_UNIX_PROCESS (polkit_unix_process_new ((gint) -1)); +- process->pid = pid; +- if (start_time != 0) +- process->start_time = start_time; +- else +- process->start_time = get_start_time_for_pid (pid, NULL); ++ return POLKIT_SUBJECT (g_object_new (POLKIT_TYPE_UNIX_PROCESS, ++ "pid", pid, ++ "start_time", start_time, ++ NULL)); ++} + +- return POLKIT_SUBJECT (process); ++/** ++ * polkit_unix_process_new_for_owner: ++ * @pid: The process id. ++ * @start_time: The start time for @pid or 0 to look it up in e.g. <filename>/proc</filename>. ++ * @uid: The (real, not effective) uid of the owner of @pid or -1 to look it up in e.g. <filename>/proc</filename>. ++ * ++ * Creates a new #PolkitUnixProcess object for @pid, @start_time and @uid. ++ * ++ * Returns: (transfer full): A #PolkitSubject. Free with g_object_unref(). ++ */ ++PolkitSubject * ++polkit_unix_process_new_for_owner (gint pid, ++ guint64 start_time, ++ gint uid) ++{ ++ return POLKIT_SUBJECT (g_object_new (POLKIT_TYPE_UNIX_PROCESS, ++ "pid", pid, ++ "start_time", start_time, ++ "uid", uid, ++ NULL)); + } + + static guint +@@ -616,3 +654,95 @@ out: + + return start_time; + } ++ ++static gint ++_polkit_unix_process_get_owner (PolkitUnixProcess *process, ++ GError **error) ++{ ++ gint result; ++ gchar *contents; ++ gchar **lines; ++#ifdef HAVE_FREEBSD ++ struct kinfo_proc p; ++#else ++ gchar filename[64]; ++ guint n; ++#endif ++ ++ g_return_val_if_fail (POLKIT_IS_UNIX_PROCESS (process), 0); ++ g_return_val_if_fail (error == NULL || *error == NULL, 0); ++ ++ result = 0; ++ lines = NULL; ++ contents = NULL; ++ ++#ifdef HAVE_FREEBSD ++ if (get_kinfo_proc (process->pid, &p) == 0) ++ { ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "get_kinfo_proc() failed for pid %d: %s", ++ process->pid, ++ g_strerror (errno)); ++ goto out; ++ } ++ ++ result = p.ki_uid; ++#else ++ ++ /* see 'man proc' for layout of the status file ++ * ++ * Uid, Gid: Real, effective, saved set, and file system UIDs (GIDs). ++ */ ++ g_snprintf (filename, sizeof filename, "/proc/%d/status", process->pid); ++ if (!g_file_get_contents (filename, ++ &contents, ++ NULL, ++ error)) ++ { ++ goto out; ++ } ++ lines = g_strsplit (contents, "\n", -1); ++ for (n = 0; lines != NULL && lines[n] != NULL; n++) ++ { ++ gint real_uid, effective_uid; ++ if (!g_str_has_prefix (lines[n], "Uid:")) ++ continue; ++ if (sscanf (lines[n] + 4, "%d %d", &real_uid, &effective_uid) != 2) ++ { ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Unexpected line `%s' in file %s", ++ lines[n], ++ filename); ++ goto out; ++ } ++ else ++ { ++ result = real_uid; ++ goto out; ++ } ++ } ++ ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Didn't find any line starting with `Uid:' in file %s", ++ filename); ++#endif ++ ++out: ++ g_strfreev (lines); ++ g_free (contents); ++ return result; ++} ++ ++/* deprecated public method */ ++gint ++polkit_unix_process_get_owner (PolkitUnixProcess *process, ++ GError **error) ++{ ++ return _polkit_unix_process_get_owner (process, error); ++} +diff --git a/src/polkit/polkitunixprocess.h b/src/polkit/polkitunixprocess.h +index b88cd03..531a57d 100644 +--- a/src/polkit/polkitunixprocess.h ++++ b/src/polkit/polkitunixprocess.h +@@ -47,16 +47,24 @@ typedef struct _PolkitUnixProcess PolkitUnixProcess; + typedef struct _PolkitUnixProcessClass PolkitUnixProcessClass; + + GType polkit_unix_process_get_type (void) G_GNUC_CONST; +-PolkitSubject *polkit_unix_process_new (gint pid); +-PolkitSubject *polkit_unix_process_new_full (gint pid, +- guint64 start_time); +- ++PolkitSubject *polkit_unix_process_new (gint pid); ++PolkitSubject *polkit_unix_process_new_full (gint pid, ++ guint64 start_time); ++PolkitSubject *polkit_unix_process_new_for_owner (gint pid, ++ guint64 start_time, ++ gint uid); + gint polkit_unix_process_get_pid (PolkitUnixProcess *process); + guint64 polkit_unix_process_get_start_time (PolkitUnixProcess *process); ++gint polkit_unix_process_get_uid (PolkitUnixProcess *process); + void polkit_unix_process_set_pid (PolkitUnixProcess *process, + gint pid); ++void polkit_unix_process_set_uid (PolkitUnixProcess *process, ++ gint uid); ++void polkit_unix_process_set_start_time (PolkitUnixProcess *process, ++ guint64 start_time); ++ + gint polkit_unix_process_get_owner (PolkitUnixProcess *process, +- GError **error); ++ GError **error) G_GNUC_DEPRECATED_FOR (polkit_unix_process_get_uid); + + G_END_DECLS + +-- +cgit v0.8.3-6-g21f6 +From c23d74447c7615dc74dae259f0fc3688ec988867 Mon Sep 17 00:00:00 2001 +From: David Zeuthen <davidz@redhat.com> +Date: Fri, 01 Apr 2011 16:12:27 +0000 +Subject: Use polkit_unix_process_get_uid() to get the owner of a process + +This avoids a TOCTTOU problem. + +Signed-off-by: David Zeuthen <davidz@redhat.com> +--- +diff --git a/src/polkitbackend/polkitbackendsessionmonitor.c b/src/polkitbackend/polkitbackendsessionmonitor.c +index 495f752..9c331b6 100644 +--- a/src/polkitbackend/polkitbackendsessionmonitor.c ++++ b/src/polkitbackend/polkitbackendsessionmonitor.c +@@ -293,14 +293,15 @@ polkit_backend_session_monitor_get_user_for_subject (PolkitBackendSessionMonitor + + if (POLKIT_IS_UNIX_PROCESS (subject)) + { +- local_error = NULL; +- uid = polkit_unix_process_get_owner (POLKIT_UNIX_PROCESS (subject), &local_error); +- if (local_error != NULL) ++ uid = polkit_unix_process_get_uid (POLKIT_UNIX_PROCESS (subject)); ++ if ((gint) uid == -1) + { +- g_propagate_prefixed_error (error, local_error, "Error getting user for process: "); ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Unix process subject does not have uid set"); + goto out; + } +- + ret = polkit_unix_user_new (uid); + } + else if (POLKIT_IS_SYSTEM_BUS_NAME (subject)) +-- +cgit v0.8.3-6-g21f6 +From 3b12cfac29dddd27f1f166a7574d8374cc1dccf2 Mon Sep 17 00:00:00 2001 +From: David Zeuthen <davidz@redhat.com> +Date: Fri, 01 Apr 2011 16:13:15 +0000 +Subject: pkexec: Avoid TOCTTOU problems with parent process + +In a nutshell, the parent process may change its uid (either real- or +effective uid) after launching pkexec. It can do this by exec()'ing +e.g. a setuid root program. + +To avoid this problem, just use the uid the parent process had when it +executed pkexec. This happens to be the same uid of the pkexec process +itself. + +Additionally, remove some dubious code that allowed pkexec to continue +when the parent process died as there is no reason to support +something like that. Also ensure that the pkexec process is killed if +the parent process dies. + +This problem was pointed out by Neel Mehta <nmehta@google.com>. + +Signed-off-by: David Zeuthen <davidz@redhat.com> +--- +diff --git a/src/programs/pkexec.c b/src/programs/pkexec.c +index 9217954..3e656be 100644 +--- a/src/programs/pkexec.c ++++ b/src/programs/pkexec.c +@@ -35,6 +35,10 @@ + #include <pwd.h> + #include <errno.h> + ++#ifdef __linux__ ++#include <sys/prctl.h> ++#endif ++ + #include <glib/gi18n.h> + + #ifdef POLKIT_AUTHFW_PAM +@@ -423,7 +427,6 @@ main (int argc, char *argv[]) + GPtrArray *saved_env; + gchar *opt_user; + pid_t pid_of_caller; +- uid_t uid_of_caller; + gpointer local_agent_handle; + + ret = 127; +@@ -598,40 +601,49 @@ main (int argc, char *argv[]) + */ + g_type_init (); + +- /* now check if the program that invoked us is authorized */ ++ /* make sure we are nuked if the parent process dies */ ++#ifdef __linux__ ++ if (prctl (PR_SET_PDEATHSIG, SIGTERM) != 0) ++ { ++ g_printerr ("prctl(PR_SET_PDEATHSIG, SIGTERM) failed: %s\n", g_strerror (errno)); ++ goto out; ++ } ++#else ++#warning "Please add OS specific code to catch when the parent dies" ++#endif ++ ++ /* Figure out the parent process */ + pid_of_caller = getppid (); + if (pid_of_caller == 1) + { + /* getppid() can return 1 if the parent died (meaning that we are reaped +- * by /sbin/init); get process group leader instead - for example, this +- * happens when launching via gnome-panel (alt+f2, then 'pkexec gedit'). ++ * by /sbin/init); In that case we simpy bail. + */ +- pid_of_caller = getpgrp (); +- } +- +- subject = polkit_unix_process_new (pid_of_caller); +- if (subject == NULL) +- { +- g_printerr ("No such process for pid %d: %s\n", (gint) pid_of_caller, error->message); +- g_error_free (error); ++ g_printerr ("Refusing to render service to dead parents.\n"); + goto out; + } + +- /* paranoia: check that the uid of pid_of_caller matches getuid() */ +- error = NULL; +- uid_of_caller = polkit_unix_process_get_owner (POLKIT_UNIX_PROCESS (subject), +- &error); +- if (error != NULL) +- { +- g_printerr ("Error determing pid of caller (pid %d): %s\n", (gint) pid_of_caller, error->message); +- g_error_free (error); +- goto out; +- } +- if (uid_of_caller != getuid ()) +- { +- g_printerr ("User of caller (%d) does not match our uid (%d)\n", uid_of_caller, getuid ()); +- goto out; +- } ++ /* This process we want to check an authorization for is the process ++ * that launched us - our parent process. ++ * ++ * At the time the parent process fork()'ed and exec()'ed us, the ++ * process had the same real-uid that we have now. So we use this ++ * real-uid instead of of looking it up to avoid TOCTTOU issues ++ * (consider the parent process exec()'ing a setuid helper). ++ * ++ * On the other hand, the monotonic process start-time is guaranteed ++ * to never change so it's safe to look that up given only the PID ++ * since we are guaranteed to be nuked if the parent goes away ++ * (cf. the prctl(2) call above). ++ */ ++ subject = polkit_unix_process_new_for_owner (pid_of_caller, ++ 0, /* 0 means "look up start-time in /proc" */ ++ getuid ()); ++ /* really double-check the invariants guaranteed by the PolkitUnixProcess class */ ++ g_assert (subject != NULL); ++ g_assert (polkit_unix_process_get_pid (POLKIT_UNIX_PROCESS (subject)) == pid_of_caller); ++ g_assert (polkit_unix_process_get_uid (POLKIT_UNIX_PROCESS (subject)) >= 0); ++ g_assert (polkit_unix_process_get_start_time (POLKIT_UNIX_PROCESS (subject)) > 0); + + error = NULL; + authority = polkit_authority_get_sync (NULL /* GCancellable* */, &error); +-- +cgit v0.8.3-6-g21f6 diff --git a/abs/extra/polkit/PKGBUILD b/abs/extra/polkit/PKGBUILD index 78cbc77..62f3f8b 100644 --- a/abs/extra/polkit/PKGBUILD +++ b/abs/extra/polkit/PKGBUILD @@ -1,29 +1,34 @@ -# $Id: PKGBUILD 72186 2010-03-13 19:06:23Z jgc $ +# $Id: PKGBUILD 90717 2010-09-15 14:26:53Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=polkit -pkgver=0.96 -pkgrel=2 +pkgver=0.98 +pkgrel=1 pkgdesc="Application development toolkit for controlling system-wide privileges" arch=(i686 x86_64) license=('LGPL') -url="http://www.freedesktop.org/wiki/Software/Policykit" -depends=('eggdbus>=0.6' 'pam') -makedepends=('intltool' 'gtk-doc' 'gobject-introspection') +url="http://www.freedesktop.org/wiki/Software/PolicyKit" +depends=('glib2>=2.25.15' 'pam' 'expat>=2.0.1') +makedepends=('intltool>=0.41.1' 'gtk-doc>=1.15' 'gobject-introspection>=0.9.5') replaces=('policykit') options=('!libtool') source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz + polkit-git-fixes.patch polkit.pam) -md5sums=('e0a06da501b04ed3bab986a9df5b5aa2' +md5sums=('96e583a1177ba5436f034a2fee55f5fa' + 'c5aaa13d6eeda5cec224b273acba9420' '6564f95878297b954f0572bc1610dd15') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/polkit-git-fixes.patch" + libtoolize --force + autoreconf ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libexecdir=/usr/lib/polkit-1 \ - --disable-static --enable-gtk-doc || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + --disable-static --enable-gtk-doc + make + make DESTDIR="${pkgdir}" install - install -m644 "${srcdir}/polkit.pam" "${pkgdir}/etc/pam.d/polkit-1" || return 1 + install -m644 "${srcdir}/polkit.pam" "${pkgdir}/etc/pam.d/polkit-1" } diff --git a/abs/extra/polkit/polkit-0.98-1-i686-build.log.1 b/abs/extra/polkit/polkit-0.98-1-i686-build.log.1 new file mode 100644 index 0000000..3d40277 --- /dev/null +++ b/abs/extra/polkit/polkit-0.98-1-i686-build.log.1 @@ -0,0 +1,403 @@ +patching file src/polkit/polkitcheckauthorizationflags.h +patching file src/polkit/polkiterror.h +patching file src/polkit/polkitimplicitauthorization.h +patching file src/polkitagent/Makefile.am +patching file src/polkitagent/polkitagenthelperprivate.c +patching file src/polkitbackend/polkitbackendsessionmonitor.c +libtoolize: putting auxiliary files in `.'. +libtoolize: linking file `./ltmain.sh' +libtoolize: You should add the contents of the following files to `aclocal.m4': +libtoolize: `/usr/share/aclocal/libtool.m4' +libtoolize: `/usr/share/aclocal/ltoptions.m4' +libtoolize: `/usr/share/aclocal/ltversion.m4' +libtoolize: `/usr/share/aclocal/lt~obsolete.m4' +libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and +libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. +libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. +/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD +/usr/share/aclocal/libxosd.m4:9: run info '(automake)Extending aclocal' +/usr/share/aclocal/libxosd.m4:9: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal +checking for a BSD-compatible install... /bin/install -c +checking whether build environment is sane... yes +checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for gawk... gawk +checking whether make sets $(MAKE)... yes +checking whether to enable maintainer-specific portions of Makefiles... no +checking for style of include used by make... GNU +checking for gcc... gcc +checking whether the C compiler works... yes +checking for C compiler default output file name... a.out +checking for suffix of executables... +checking whether we are cross compiling... no +checking for suffix of object files... o +checking whether we are using the GNU C compiler... yes +checking whether gcc accepts -g... yes +checking for gcc option to accept ISO C89... none needed +checking dependency style of gcc... gcc3 +checking for library containing strerror... none required +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking how to run the C preprocessor... gcc -E +checking for grep that handles long lines and -e... /bin/grep +checking for egrep... /bin/grep -E +checking for ANSI C header files... yes +checking build system type... i686-pc-linux-gnu +checking host system type... i686-pc-linux-gnu +checking how to print strings... printf +checking for a sed that does not truncate output... /bin/sed +checking for fgrep... /bin/grep -F +checking for ld used by gcc... /usr/bin/ld +checking if the linker (/usr/bin/ld) is GNU ld... yes +checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B +checking the name lister (/usr/bin/nm -B) interface... BSD nm +checking whether ln -s works... yes +checking the maximum length of command line arguments... 1572864 +checking whether the shell understands some XSI constructs... yes +checking whether the shell understands "+="... yes +checking for /usr/bin/ld option to reload object files... -r +checking for objdump... objdump +checking how to recognize dependent libraries... pass_all +checking for ar... ar +checking for strip... strip +checking for ranlib... ranlib +checking command to parse /usr/bin/nm -B output from gcc object... ok +checking for sys/types.h... yes +checking for sys/stat.h... yes +checking for stdlib.h... yes +checking for string.h... yes +checking for memory.h... yes +checking for strings.h... yes +checking for inttypes.h... yes +checking for stdint.h... yes +checking for unistd.h... yes +checking for dlfcn.h... yes +checking for objdir... .libs +checking if gcc supports -fno-rtti -fno-exceptions... no +checking for gcc option to produce PIC... -fPIC -DPIC +checking if gcc PIC flag -fPIC -DPIC works... yes +checking if gcc static flag -static works... yes +checking if gcc supports -c -o file.o... yes +checking if gcc supports -c -o file.o... (cached) yes +checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes +checking whether -lc should be explicitly linked in... no +checking dynamic linker characteristics... GNU/Linux ld.so +checking how to hardcode library paths into programs... immediate +checking whether stripping libraries is possible... yes +checking if libtool supports shared libraries... yes +checking whether to build shared libraries... yes +checking whether to build static libraries... no +checking whether make sets $(MAKE)... (cached) yes +checking whether ln -s works... yes +checking for special C compiler options needed for large files... no +checking for _FILE_OFFSET_BITS value needed for large files... 64 +checking whether gcc and cc understand -c and -o together... yes +checking for xsltproc... /usr/bin/xsltproc +checking for pkg-config... /usr/bin/pkg-config +checking pkg-config is at least version 0.9.0... yes +checking for gtkdoc-check... /usr/bin/gtkdoc-check +checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase +checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf +checking whether to build gtk-doc documentation... yes +checking for GLIB... yes +checking expat.h usability... yes +checking expat.h presence... yes +checking for expat.h... yes +checking for XML_ParserCreate in -lexpat... yes +checking for clearenv... yes +checking for pam_start in -lpam... yes +checking for sigtimedwait in -lc... yes +checking how to call pam_strerror... two arguments +checking security/pam_modutil.h usability... yes +checking security/pam_modutil.h presence... yes +checking for security/pam_modutil.h... yes +checking security/pam_ext.h usability... yes +checking security/pam_ext.h presence... yes +checking for security/pam_ext.h... yes +checking for pam_vsyslog in -lpam... yes +checking for /etc/redhat-release... no +checking for /etc/SuSE-release... no +checking for /etc/gentoo-release... no +checking for /etc/pardus-release... no +Linux distribution autodetection failed, specify the distribution to target using --with-os-type= +checking for INTROSPECTION... yes +checking whether NLS is requested... yes +checking for intltool >= 0.40.0... 0.41.1 found +checking for intltool-update... /usr/bin/intltool-update +checking for intltool-merge... /usr/bin/intltool-merge +checking for intltool-extract... /usr/bin/intltool-extract +checking for xgettext... /usr/bin/xgettext +checking for msgmerge... /usr/bin/msgmerge +checking for msgfmt... /usr/bin/msgfmt +checking for gmsgfmt... /usr/bin/msgfmt +checking for perl... /usr/bin/perl +checking for perl >= 5.8.1... 5.12.1 +checking for XML::Parser... ok +checking locale.h usability... yes +checking locale.h presence... yes +checking for locale.h... yes +checking for LC_MESSAGES... yes +checking libintl.h usability... yes +checking libintl.h presence... yes +checking for libintl.h... yes +checking for ngettext in libc... yes +checking for dgettext in libc... yes +checking for bind_textdomain_codeset... yes +checking for msgfmt... (cached) /usr/bin/msgfmt +checking for dcgettext... yes +checking if msgfmt accepts -c... yes +checking for gmsgfmt... (cached) /usr/bin/msgfmt +checking for xgettext... (cached) /usr/bin/xgettext +configure: creating ./config.status +config.status: creating Makefile +config.status: creating actions/Makefile +config.status: creating data/Makefile +config.status: creating data/polkit-1 +config.status: creating data/polkit-gobject-1.pc +config.status: creating data/polkit-backend-1.pc +config.status: creating data/polkit-agent-1.pc +config.status: creating src/Makefile +config.status: creating src/polkit/Makefile +config.status: creating src/polkitbackend/Makefile +config.status: creating src/polkitagent/Makefile +config.status: creating src/polkitd/Makefile +config.status: creating src/programs/Makefile +config.status: creating src/examples/Makefile +config.status: creating src/nullbackend/Makefile +config.status: creating docs/version.xml +config.status: creating docs/extensiondir.xml +config.status: creating docs/Makefile +config.status: creating docs/polkit/Makefile +config.status: creating docs/man/Makefile +config.status: creating po/Makefile.in +config.status: creating config.h +config.status: executing depfiles commands +config.status: executing libtool commands +config.status: executing default-1 commands +config.status: executing po/stamp-it commands + + polkit 0.98 + ================= + + prefix: /usr + libdir: ${exec_prefix}/lib + libexecdir: /usr/lib/polkit-1 + bindir: ${exec_prefix}/bin + sbindir: ${exec_prefix}/sbin + datadir: ${datarootdir} + sysconfdir: /etc + localstatedir: /var + docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} + + compiler: gcc + cflags: -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security + cppflags: + xsltproc: /usr/bin/xsltproc + introspection: yes + + Distribution/OS: unknown + authentication framework: pam + PAM support: yes + + PAM file auth: system-auth + PAM file account: system-auth + PAM file password: system-auth + PAM file session: system-auth + + Maintainer mode: no + Building verbose mode: no + Building api docs: yes + Building man pages: yes + + +NOTE: The directory /etc/polkit-1/localauthority must be owned + by root and have mode 700 + +NOTE: The directory /var/lib/polkit-1 must be owned + by root and have mode 700 + +NOTE: The file /usr/lib/polkit-1/polkit-agent-helper-1 must be owned + by root and have mode 4755 (setuid root binary) + +NOTE: The file ${exec_prefix}/bin/pkexec must be owned by root and + have mode 4755 (setuid root binary) + +make all-recursive +make[1]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +Making all in actions +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po org.freedesktop.policykit.policy.in org.freedesktop.policykit.policy +Generating and caching the translation database +Merging translations into org.freedesktop.policykit.policy. +CREATED org.freedesktop.policykit.policy +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +Making all in data +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +Making all in src +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.c.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.c.tmp && mv polkitenumtypes.c.tmp polkitenumtypes.c +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.h.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.h.tmp && mv polkitenumtypes.h.tmp polkitenumtypes.h +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' + CC libpolkit_gobject_1_la-polkitenumtypes.lo + CC libpolkit_gobject_1_la-polkitactiondescription.lo + CC libpolkit_gobject_1_la-polkitauthorityfeatures.lo + CC libpolkit_gobject_1_la-polkitdetails.lo + CC libpolkit_gobject_1_la-polkitauthority.lo + CC libpolkit_gobject_1_la-polkiterror.lo + CC libpolkit_gobject_1_la-polkitsubject.lo + CC libpolkit_gobject_1_la-polkitunixprocess.lo + CC libpolkit_gobject_1_la-polkitunixsession.lo + CC libpolkit_gobject_1_la-polkitsystembusname.lo + CC libpolkit_gobject_1_la-polkitidentity.lo + CC libpolkit_gobject_1_la-polkitunixuser.lo + CC libpolkit_gobject_1_la-polkitunixgroup.lo + CC libpolkit_gobject_1_la-polkitauthorizationresult.lo + CC libpolkit_gobject_1_la-polkitcheckauthorizationflags.lo + CC libpolkit_gobject_1_la-polkitimplicitauthorization.lo + CC libpolkit_gobject_1_la-polkittemporaryauthorization.lo + CC libpolkit_gobject_1_la-polkitpermission.lo + CCLD libpolkit-gobject-1.la +/usr/bin/g-ir-scanner -v \ + --namespace Polkit \ + --nsversion=1.0 \ + --include=Gio-2.0 \ + --library=polkit-gobject-1 \ + --output Polkit-1.0.gir \ + --pkg=glib-2.0 \ + --pkg=gobject-2.0 \ + --pkg=gio-2.0 \ + --libtool=../../libtool \ + -I../../src \ + -D_POLKIT_COMPILATION \ + ./polkit.h \ + ./polkittypes.h \ + ./polkitactiondescription.h \ + ./polkitauthority.h \ + ./polkitauthorizationresult.h \ + ./polkitcheckauthorizationflags.h \ + ./polkitdetails.h \ + ./polkitenumtypes.h \ + ./polkiterror.h \ + ./polkitidentity.h \ + ./polkitimplicitauthorization.h \ + ./polkitsubject.h \ + ./polkitsystembusname.h \ + ./polkittemporaryauthorization.h \ + ./polkitunixgroup.h \ + ./polkitunixprocess.h \ + ./polkitunixsession.h \ + ./polkitunixuser.h \ + ./polkitpermission.h \ + +g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -I../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -c -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectitVM7V/Polkit-1.0.o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectitVM7V/Polkit-1.0.c +g-ir-scanner: link: ../../libtool --mode=link --tag=CC --silent gcc -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectitVM7V/Polkit-1.0 -export-dynamic -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -L. -lpolkit-gobject-1 -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectitVM7V/Polkit-1.0.o +/usr/bin/g-ir-compiler Polkit-1.0.gir -o Polkit-1.0.typelib +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +Making all in polkitbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' + CC libpolkit_backend_1_la-polkitbackendauthority.lo + CC libpolkit_backend_1_la-polkitbackendinteractiveauthority.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthority.lo + CC libpolkit_backend_1_la-polkitbackendactionpool.lo + CC libpolkit_backend_1_la-polkitbackendsessionmonitor.lo + CC libpolkit_backend_1_la-polkitbackendconfigsource.lo + CC libpolkit_backend_1_la-polkitbackendactionlookup.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthorizationstore.lo + CCLD libpolkit-backend-1.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' +Making all in polkitagent +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --header > polkitagentmarshal.h.tmp && mv polkitagentmarshal.h.tmp polkitagentmarshal.h +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitagentenumtypes.c.template polkitagentlistener.h) > \ + polkitagentenumtypes.c.tmp && mv polkitagentenumtypes.c.tmp polkitagentenumtypes.c +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitagentenumtypes.h.template polkitagentlistener.h) > \ + polkitagentenumtypes.h.tmp && mv polkitagentenumtypes.h.tmp polkitagentenumtypes.h +(echo "#include \"polkitagentmarshal.h\""; glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --body) > polkitagentmarshal.c.tmp && mv polkitagentmarshal.c.tmp polkitagentmarshal.c +touch marshal.stamp +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' + CC libpolkit_agent_1_la-polkitagentenumtypes.lo + CC libpolkit_agent_1_la-polkitagentmarshal.lo + CC libpolkit_agent_1_la-polkitagentsession.lo + CC libpolkit_agent_1_la-polkitagenttextlistener.lo + CC libpolkit_agent_1_la-polkitagentlistener.lo + CC polkit_agent_helper_1-polkitagenthelperprivate.o + CC polkit_agent_helper_1-polkitagenthelper-pam.o + CCLD libpolkit-agent-1.la + CCLD polkit-agent-helper-1 +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +Making all in polkitd +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' + CC polkitd-main.o + CC polkitd-gposixsignal.o + CCLD polkitd +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' +Making all in nullbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' + CC libnullbackend_la-nullbackend.lo + CC libnullbackend_la-polkitbackendnullauthority.lo + CCLD libnullbackend.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' +Making all in programs +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' + CC libpkexec_action_lookup_la-pkexec-action-lookup.lo + CC pkexec-pkexec.o + CC pkcheck-pkcheck.o + CC pkaction-pkaction.o + CCLD pkaction + CCLD pkcheck + CCLD libpkexec-action-lookup.la + CCLD pkexec +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[3]: Nothing to be done for `all-am'. +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in docs +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +Making all in man +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl polkit.xml +/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl polkitd.xml +/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pklocalauthority.xml +/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pkexec.xml +/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pkcheck.xml +Note: Writing polkitd.8 +Note: Writing pkcheck.1 +/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pkaction.xml +Note: Writing pkexec.1 +Note: Writing polkit.8 +Note: Writing pklocalauthority.8 +Note: Writing pkaction.1 +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +gtk-doc: Scanning header files +Can't locate gtkdoc-common.pl in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /usr/share/gtk-doc/data) at /usr/bin/gtkdoc-scan line 44. +make[3]: *** [scan-build.stamp] Error 2 +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +make[2]: *** [all-recursive] Error 1 +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +make[1]: *** [all-recursive] Error 1 +make[1]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +make: *** [all] Error 2 +[1m Aborting...(B[m diff --git a/abs/extra/polkit/polkit-0.98-1-i686-build.log.2 b/abs/extra/polkit/polkit-0.98-1-i686-build.log.2 new file mode 100644 index 0000000..5368acc --- /dev/null +++ b/abs/extra/polkit/polkit-0.98-1-i686-build.log.2 @@ -0,0 +1,386 @@ +patching file src/polkit/polkitcheckauthorizationflags.h +patching file src/polkit/polkiterror.h +patching file src/polkit/polkitimplicitauthorization.h +patching file src/polkitagent/Makefile.am +patching file src/polkitagent/polkitagenthelperprivate.c +patching file src/polkitbackend/polkitbackendsessionmonitor.c +libtoolize: putting auxiliary files in `.'. +libtoolize: linking file `./ltmain.sh' +libtoolize: You should add the contents of the following files to `aclocal.m4': +libtoolize: `/usr/share/aclocal/libtool.m4' +libtoolize: `/usr/share/aclocal/ltoptions.m4' +libtoolize: `/usr/share/aclocal/ltversion.m4' +libtoolize: `/usr/share/aclocal/lt~obsolete.m4' +libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and +libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. +libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. +/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD +/usr/share/aclocal/libxosd.m4:9: run info '(automake)Extending aclocal' +/usr/share/aclocal/libxosd.m4:9: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal +checking for a BSD-compatible install... /bin/install -c +checking whether build environment is sane... yes +checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for gawk... gawk +checking whether make sets $(MAKE)... yes +checking whether to enable maintainer-specific portions of Makefiles... no +checking for style of include used by make... GNU +checking for gcc... gcc +checking whether the C compiler works... yes +checking for C compiler default output file name... a.out +checking for suffix of executables... +checking whether we are cross compiling... no +checking for suffix of object files... o +checking whether we are using the GNU C compiler... yes +checking whether gcc accepts -g... yes +checking for gcc option to accept ISO C89... none needed +checking dependency style of gcc... gcc3 +checking for library containing strerror... none required +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking how to run the C preprocessor... gcc -E +checking for grep that handles long lines and -e... /bin/grep +checking for egrep... /bin/grep -E +checking for ANSI C header files... yes +checking build system type... i686-pc-linux-gnu +checking host system type... i686-pc-linux-gnu +checking how to print strings... printf +checking for a sed that does not truncate output... /bin/sed +checking for fgrep... /bin/grep -F +checking for ld used by gcc... /usr/bin/ld +checking if the linker (/usr/bin/ld) is GNU ld... yes +checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B +checking the name lister (/usr/bin/nm -B) interface... BSD nm +checking whether ln -s works... yes +checking the maximum length of command line arguments... 1572864 +checking whether the shell understands some XSI constructs... yes +checking whether the shell understands "+="... yes +checking for /usr/bin/ld option to reload object files... -r +checking for objdump... objdump +checking how to recognize dependent libraries... pass_all +checking for ar... ar +checking for strip... strip +checking for ranlib... ranlib +checking command to parse /usr/bin/nm -B output from gcc object... ok +checking for sys/types.h... yes +checking for sys/stat.h... yes +checking for stdlib.h... yes +checking for string.h... yes +checking for memory.h... yes +checking for strings.h... yes +checking for inttypes.h... yes +checking for stdint.h... yes +checking for unistd.h... yes +checking for dlfcn.h... yes +checking for objdir... .libs +checking if gcc supports -fno-rtti -fno-exceptions... no +checking for gcc option to produce PIC... -fPIC -DPIC +checking if gcc PIC flag -fPIC -DPIC works... yes +checking if gcc static flag -static works... yes +checking if gcc supports -c -o file.o... yes +checking if gcc supports -c -o file.o... (cached) yes +checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes +checking whether -lc should be explicitly linked in... no +checking dynamic linker characteristics... GNU/Linux ld.so +checking how to hardcode library paths into programs... immediate +checking whether stripping libraries is possible... yes +checking if libtool supports shared libraries... yes +checking whether to build shared libraries... yes +checking whether to build static libraries... no +checking whether make sets $(MAKE)... (cached) yes +checking whether ln -s works... yes +checking for special C compiler options needed for large files... no +checking for _FILE_OFFSET_BITS value needed for large files... 64 +checking whether gcc and cc understand -c and -o together... yes +checking for xsltproc... /usr/bin/xsltproc +checking for pkg-config... /usr/bin/pkg-config +checking pkg-config is at least version 0.9.0... yes +checking for gtkdoc-check... /usr/bin/gtkdoc-check +checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase +checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf +checking whether to build gtk-doc documentation... yes +checking for GLIB... yes +checking expat.h usability... yes +checking expat.h presence... yes +checking for expat.h... yes +checking for XML_ParserCreate in -lexpat... yes +checking for clearenv... yes +checking for pam_start in -lpam... yes +checking for sigtimedwait in -lc... yes +checking how to call pam_strerror... two arguments +checking security/pam_modutil.h usability... yes +checking security/pam_modutil.h presence... yes +checking for security/pam_modutil.h... yes +checking security/pam_ext.h usability... yes +checking security/pam_ext.h presence... yes +checking for security/pam_ext.h... yes +checking for pam_vsyslog in -lpam... yes +checking for /etc/redhat-release... no +checking for /etc/SuSE-release... no +checking for /etc/gentoo-release... no +checking for /etc/pardus-release... no +Linux distribution autodetection failed, specify the distribution to target using --with-os-type= +checking for INTROSPECTION... yes +checking whether NLS is requested... yes +checking for intltool >= 0.40.0... 0.41.1 found +checking for intltool-update... /usr/bin/intltool-update +checking for intltool-merge... /usr/bin/intltool-merge +checking for intltool-extract... /usr/bin/intltool-extract +checking for xgettext... /usr/bin/xgettext +checking for msgmerge... /usr/bin/msgmerge +checking for msgfmt... /usr/bin/msgfmt +checking for gmsgfmt... /usr/bin/msgfmt +checking for perl... /usr/bin/perl +checking for perl >= 5.8.1... 5.12.1 +checking for XML::Parser... ok +checking locale.h usability... yes +checking locale.h presence... yes +checking for locale.h... yes +checking for LC_MESSAGES... yes +checking libintl.h usability... yes +checking libintl.h presence... yes +checking for libintl.h... yes +checking for ngettext in libc... yes +checking for dgettext in libc... yes +checking for bind_textdomain_codeset... yes +checking for msgfmt... (cached) /usr/bin/msgfmt +checking for dcgettext... yes +checking if msgfmt accepts -c... yes +checking for gmsgfmt... (cached) /usr/bin/msgfmt +checking for xgettext... (cached) /usr/bin/xgettext +configure: creating ./config.status +config.status: creating Makefile +config.status: creating actions/Makefile +config.status: creating data/Makefile +config.status: creating data/polkit-1 +config.status: creating data/polkit-gobject-1.pc +config.status: creating data/polkit-backend-1.pc +config.status: creating data/polkit-agent-1.pc +config.status: creating src/Makefile +config.status: creating src/polkit/Makefile +config.status: creating src/polkitbackend/Makefile +config.status: creating src/polkitagent/Makefile +config.status: creating src/polkitd/Makefile +config.status: creating src/programs/Makefile +config.status: creating src/examples/Makefile +config.status: creating src/nullbackend/Makefile +config.status: creating docs/version.xml +config.status: creating docs/extensiondir.xml +config.status: creating docs/Makefile +config.status: creating docs/polkit/Makefile +config.status: creating docs/man/Makefile +config.status: creating po/Makefile.in +config.status: creating config.h +config.status: config.h is unchanged +config.status: executing depfiles commands +config.status: executing libtool commands +config.status: executing default-1 commands +config.status: executing po/stamp-it commands + + polkit 0.98 + ================= + + prefix: /usr + libdir: ${exec_prefix}/lib + libexecdir: /usr/lib/polkit-1 + bindir: ${exec_prefix}/bin + sbindir: ${exec_prefix}/sbin + datadir: ${datarootdir} + sysconfdir: /etc + localstatedir: /var + docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} + + compiler: gcc + cflags: -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security + cppflags: + xsltproc: /usr/bin/xsltproc + introspection: yes + + Distribution/OS: unknown + authentication framework: pam + PAM support: yes + + PAM file auth: system-auth + PAM file account: system-auth + PAM file password: system-auth + PAM file session: system-auth + + Maintainer mode: no + Building verbose mode: no + Building api docs: yes + Building man pages: yes + + +NOTE: The directory /etc/polkit-1/localauthority must be owned + by root and have mode 700 + +NOTE: The directory /var/lib/polkit-1 must be owned + by root and have mode 700 + +NOTE: The file /usr/lib/polkit-1/polkit-agent-helper-1 must be owned + by root and have mode 4755 (setuid root binary) + +NOTE: The file ${exec_prefix}/bin/pkexec must be owned by root and + have mode 4755 (setuid root binary) + +make all-recursive +make[1]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +Making all in actions +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po org.freedesktop.policykit.policy.in org.freedesktop.policykit.policy +Found cached translation database +Merging translations into org.freedesktop.policykit.policy. +CREATED org.freedesktop.policykit.policy +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +Making all in data +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +Making all in src +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.c.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.c.tmp && mv polkitenumtypes.c.tmp polkitenumtypes.c +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.h.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.h.tmp && mv polkitenumtypes.h.tmp polkitenumtypes.h +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' + CC libpolkit_gobject_1_la-polkitenumtypes.lo + CC libpolkit_gobject_1_la-polkitactiondescription.lo + CC libpolkit_gobject_1_la-polkitauthorityfeatures.lo + CC libpolkit_gobject_1_la-polkitdetails.lo + CC libpolkit_gobject_1_la-polkitauthority.lo + CC libpolkit_gobject_1_la-polkiterror.lo + CC libpolkit_gobject_1_la-polkitsubject.lo + CC libpolkit_gobject_1_la-polkitunixprocess.lo + CC libpolkit_gobject_1_la-polkitunixsession.lo + CC libpolkit_gobject_1_la-polkitsystembusname.lo + CC libpolkit_gobject_1_la-polkitidentity.lo + CC libpolkit_gobject_1_la-polkitunixuser.lo + CC libpolkit_gobject_1_la-polkitunixgroup.lo + CC libpolkit_gobject_1_la-polkitauthorizationresult.lo + CC libpolkit_gobject_1_la-polkitcheckauthorizationflags.lo + CC libpolkit_gobject_1_la-polkitimplicitauthorization.lo + CC libpolkit_gobject_1_la-polkittemporaryauthorization.lo + CC libpolkit_gobject_1_la-polkitpermission.lo + CCLD libpolkit-gobject-1.la +/usr/bin/g-ir-scanner -v \ + --namespace Polkit \ + --nsversion=1.0 \ + --include=Gio-2.0 \ + --library=polkit-gobject-1 \ + --output Polkit-1.0.gir \ + --pkg=glib-2.0 \ + --pkg=gobject-2.0 \ + --pkg=gio-2.0 \ + --libtool=../../libtool \ + -I../../src \ + -D_POLKIT_COMPILATION \ + ./polkit.h \ + ./polkittypes.h \ + ./polkitactiondescription.h \ + ./polkitauthority.h \ + ./polkitauthorizationresult.h \ + ./polkitcheckauthorizationflags.h \ + ./polkitdetails.h \ + ./polkitenumtypes.h \ + ./polkiterror.h \ + ./polkitidentity.h \ + ./polkitimplicitauthorization.h \ + ./polkitsubject.h \ + ./polkitsystembusname.h \ + ./polkittemporaryauthorization.h \ + ./polkitunixgroup.h \ + ./polkitunixprocess.h \ + ./polkitunixsession.h \ + ./polkitunixuser.h \ + ./polkitpermission.h \ + +g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -I../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -c -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectQrHJGc/Polkit-1.0.o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectQrHJGc/Polkit-1.0.c +g-ir-scanner: link: ../../libtool --mode=link --tag=CC --silent gcc -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectQrHJGc/Polkit-1.0 -export-dynamic -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -L. -lpolkit-gobject-1 -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectQrHJGc/Polkit-1.0.o +/usr/bin/g-ir-compiler Polkit-1.0.gir -o Polkit-1.0.typelib +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +Making all in polkitbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' + CC libpolkit_backend_1_la-polkitbackendauthority.lo + CC libpolkit_backend_1_la-polkitbackendinteractiveauthority.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthority.lo + CC libpolkit_backend_1_la-polkitbackendactionpool.lo + CC libpolkit_backend_1_la-polkitbackendsessionmonitor.lo + CC libpolkit_backend_1_la-polkitbackendconfigsource.lo + CC libpolkit_backend_1_la-polkitbackendactionlookup.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthorizationstore.lo + CCLD libpolkit-backend-1.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' +Making all in polkitagent +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --header > polkitagentmarshal.h.tmp && mv polkitagentmarshal.h.tmp polkitagentmarshal.h +(echo "#include \"polkitagentmarshal.h\""; glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --body) > polkitagentmarshal.c.tmp && mv polkitagentmarshal.c.tmp polkitagentmarshal.c +touch marshal.stamp +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' + CC libpolkit_agent_1_la-polkitagentenumtypes.lo + CC libpolkit_agent_1_la-polkitagentmarshal.lo + CC libpolkit_agent_1_la-polkitagentsession.lo + CC libpolkit_agent_1_la-polkitagentlistener.lo + CC libpolkit_agent_1_la-polkitagenttextlistener.lo + CC polkit_agent_helper_1-polkitagenthelperprivate.o + CC polkit_agent_helper_1-polkitagenthelper-pam.o + CCLD libpolkit-agent-1.la + CCLD polkit-agent-helper-1 +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +Making all in polkitd +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' + CC polkitd-main.o + CCLD polkitd +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' +Making all in nullbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' + CC libnullbackend_la-nullbackend.lo + CC libnullbackend_la-polkitbackendnullauthority.lo + CCLD libnullbackend.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' +Making all in programs +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' + CC libpkexec_action_lookup_la-pkexec-action-lookup.lo + CC pkexec-pkexec.o + CC pkcheck-pkcheck.o + CC pkaction-pkaction.o + CCLD pkaction + CCLD pkcheck + CCLD libpkexec-action-lookup.la + CCLD pkexec +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[3]: Nothing to be done for `all-am'. +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in docs +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +Making all in man +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +make[3]: Nothing to be done for `all'. +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +gtk-doc: Scanning header files +Can't locate gtkdoc-common.pl in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /usr/share/gtk-doc/data) at /usr/bin/gtkdoc-scan line 44. +make[3]: *** [scan-build.stamp] Error 2 +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +make[2]: *** [all-recursive] Error 1 +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +make[1]: *** [all-recursive] Error 1 +make[1]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +make: *** [all] Error 2 +[1m Aborting...(B[m diff --git a/abs/extra/polkit/polkit-0.98-1-i686-build.log.3 b/abs/extra/polkit/polkit-0.98-1-i686-build.log.3 new file mode 100644 index 0000000..ffa5596 --- /dev/null +++ b/abs/extra/polkit/polkit-0.98-1-i686-build.log.3 @@ -0,0 +1,386 @@ +patching file src/polkit/polkitcheckauthorizationflags.h +patching file src/polkit/polkiterror.h +patching file src/polkit/polkitimplicitauthorization.h +patching file src/polkitagent/Makefile.am +patching file src/polkitagent/polkitagenthelperprivate.c +patching file src/polkitbackend/polkitbackendsessionmonitor.c +libtoolize: putting auxiliary files in `.'. +libtoolize: linking file `./ltmain.sh' +libtoolize: You should add the contents of the following files to `aclocal.m4': +libtoolize: `/usr/share/aclocal/libtool.m4' +libtoolize: `/usr/share/aclocal/ltoptions.m4' +libtoolize: `/usr/share/aclocal/ltversion.m4' +libtoolize: `/usr/share/aclocal/lt~obsolete.m4' +libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and +libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. +libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. +/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD +/usr/share/aclocal/libxosd.m4:9: run info '(automake)Extending aclocal' +/usr/share/aclocal/libxosd.m4:9: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal +checking for a BSD-compatible install... /bin/install -c +checking whether build environment is sane... yes +checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for gawk... gawk +checking whether make sets $(MAKE)... yes +checking whether to enable maintainer-specific portions of Makefiles... no +checking for style of include used by make... GNU +checking for gcc... gcc +checking whether the C compiler works... yes +checking for C compiler default output file name... a.out +checking for suffix of executables... +checking whether we are cross compiling... no +checking for suffix of object files... o +checking whether we are using the GNU C compiler... yes +checking whether gcc accepts -g... yes +checking for gcc option to accept ISO C89... none needed +checking dependency style of gcc... gcc3 +checking for library containing strerror... none required +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking how to run the C preprocessor... gcc -E +checking for grep that handles long lines and -e... /bin/grep +checking for egrep... /bin/grep -E +checking for ANSI C header files... yes +checking build system type... i686-pc-linux-gnu +checking host system type... i686-pc-linux-gnu +checking how to print strings... printf +checking for a sed that does not truncate output... /bin/sed +checking for fgrep... /bin/grep -F +checking for ld used by gcc... /usr/bin/ld +checking if the linker (/usr/bin/ld) is GNU ld... yes +checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B +checking the name lister (/usr/bin/nm -B) interface... BSD nm +checking whether ln -s works... yes +checking the maximum length of command line arguments... 1572864 +checking whether the shell understands some XSI constructs... yes +checking whether the shell understands "+="... yes +checking for /usr/bin/ld option to reload object files... -r +checking for objdump... objdump +checking how to recognize dependent libraries... pass_all +checking for ar... ar +checking for strip... strip +checking for ranlib... ranlib +checking command to parse /usr/bin/nm -B output from gcc object... ok +checking for sys/types.h... yes +checking for sys/stat.h... yes +checking for stdlib.h... yes +checking for string.h... yes +checking for memory.h... yes +checking for strings.h... yes +checking for inttypes.h... yes +checking for stdint.h... yes +checking for unistd.h... yes +checking for dlfcn.h... yes +checking for objdir... .libs +checking if gcc supports -fno-rtti -fno-exceptions... no +checking for gcc option to produce PIC... -fPIC -DPIC +checking if gcc PIC flag -fPIC -DPIC works... yes +checking if gcc static flag -static works... yes +checking if gcc supports -c -o file.o... yes +checking if gcc supports -c -o file.o... (cached) yes +checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes +checking whether -lc should be explicitly linked in... no +checking dynamic linker characteristics... GNU/Linux ld.so +checking how to hardcode library paths into programs... immediate +checking whether stripping libraries is possible... yes +checking if libtool supports shared libraries... yes +checking whether to build shared libraries... yes +checking whether to build static libraries... no +checking whether make sets $(MAKE)... (cached) yes +checking whether ln -s works... yes +checking for special C compiler options needed for large files... no +checking for _FILE_OFFSET_BITS value needed for large files... 64 +checking whether gcc and cc understand -c and -o together... yes +checking for xsltproc... /usr/bin/xsltproc +checking for pkg-config... /usr/bin/pkg-config +checking pkg-config is at least version 0.9.0... yes +checking for gtkdoc-check... /usr/bin/gtkdoc-check +checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase +checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf +checking whether to build gtk-doc documentation... yes +checking for GLIB... yes +checking expat.h usability... yes +checking expat.h presence... yes +checking for expat.h... yes +checking for XML_ParserCreate in -lexpat... yes +checking for clearenv... yes +checking for pam_start in -lpam... yes +checking for sigtimedwait in -lc... yes +checking how to call pam_strerror... two arguments +checking security/pam_modutil.h usability... yes +checking security/pam_modutil.h presence... yes +checking for security/pam_modutil.h... yes +checking security/pam_ext.h usability... yes +checking security/pam_ext.h presence... yes +checking for security/pam_ext.h... yes +checking for pam_vsyslog in -lpam... yes +checking for /etc/redhat-release... no +checking for /etc/SuSE-release... no +checking for /etc/gentoo-release... no +checking for /etc/pardus-release... no +Linux distribution autodetection failed, specify the distribution to target using --with-os-type= +checking for INTROSPECTION... yes +checking whether NLS is requested... yes +checking for intltool >= 0.40.0... 0.41.1 found +checking for intltool-update... /usr/bin/intltool-update +checking for intltool-merge... /usr/bin/intltool-merge +checking for intltool-extract... /usr/bin/intltool-extract +checking for xgettext... /usr/bin/xgettext +checking for msgmerge... /usr/bin/msgmerge +checking for msgfmt... /usr/bin/msgfmt +checking for gmsgfmt... /usr/bin/msgfmt +checking for perl... /usr/bin/perl +checking for perl >= 5.8.1... 5.12.1 +checking for XML::Parser... ok +checking locale.h usability... yes +checking locale.h presence... yes +checking for locale.h... yes +checking for LC_MESSAGES... yes +checking libintl.h usability... yes +checking libintl.h presence... yes +checking for libintl.h... yes +checking for ngettext in libc... yes +checking for dgettext in libc... yes +checking for bind_textdomain_codeset... yes +checking for msgfmt... (cached) /usr/bin/msgfmt +checking for dcgettext... yes +checking if msgfmt accepts -c... yes +checking for gmsgfmt... (cached) /usr/bin/msgfmt +checking for xgettext... (cached) /usr/bin/xgettext +configure: creating ./config.status +config.status: creating Makefile +config.status: creating actions/Makefile +config.status: creating data/Makefile +config.status: creating data/polkit-1 +config.status: creating data/polkit-gobject-1.pc +config.status: creating data/polkit-backend-1.pc +config.status: creating data/polkit-agent-1.pc +config.status: creating src/Makefile +config.status: creating src/polkit/Makefile +config.status: creating src/polkitbackend/Makefile +config.status: creating src/polkitagent/Makefile +config.status: creating src/polkitd/Makefile +config.status: creating src/programs/Makefile +config.status: creating src/examples/Makefile +config.status: creating src/nullbackend/Makefile +config.status: creating docs/version.xml +config.status: creating docs/extensiondir.xml +config.status: creating docs/Makefile +config.status: creating docs/polkit/Makefile +config.status: creating docs/man/Makefile +config.status: creating po/Makefile.in +config.status: creating config.h +config.status: config.h is unchanged +config.status: executing depfiles commands +config.status: executing libtool commands +config.status: executing default-1 commands +config.status: executing po/stamp-it commands + + polkit 0.98 + ================= + + prefix: /usr + libdir: ${exec_prefix}/lib + libexecdir: /usr/lib/polkit-1 + bindir: ${exec_prefix}/bin + sbindir: ${exec_prefix}/sbin + datadir: ${datarootdir} + sysconfdir: /etc + localstatedir: /var + docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} + + compiler: gcc + cflags: -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security + cppflags: + xsltproc: /usr/bin/xsltproc + introspection: yes + + Distribution/OS: unknown + authentication framework: pam + PAM support: yes + + PAM file auth: system-auth + PAM file account: system-auth + PAM file password: system-auth + PAM file session: system-auth + + Maintainer mode: no + Building verbose mode: no + Building api docs: yes + Building man pages: yes + + +NOTE: The directory /etc/polkit-1/localauthority must be owned + by root and have mode 700 + +NOTE: The directory /var/lib/polkit-1 must be owned + by root and have mode 700 + +NOTE: The file /usr/lib/polkit-1/polkit-agent-helper-1 must be owned + by root and have mode 4755 (setuid root binary) + +NOTE: The file ${exec_prefix}/bin/pkexec must be owned by root and + have mode 4755 (setuid root binary) + +make all-recursive +make[1]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +Making all in actions +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po org.freedesktop.policykit.policy.in org.freedesktop.policykit.policy +Found cached translation database +Merging translations into org.freedesktop.policykit.policy. +CREATED org.freedesktop.policykit.policy +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +Making all in data +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +Making all in src +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.c.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.c.tmp && mv polkitenumtypes.c.tmp polkitenumtypes.c +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.h.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.h.tmp && mv polkitenumtypes.h.tmp polkitenumtypes.h +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' + CC libpolkit_gobject_1_la-polkitenumtypes.lo + CC libpolkit_gobject_1_la-polkitactiondescription.lo + CC libpolkit_gobject_1_la-polkitdetails.lo + CC libpolkit_gobject_1_la-polkitauthorityfeatures.lo + CC libpolkit_gobject_1_la-polkitauthority.lo + CC libpolkit_gobject_1_la-polkiterror.lo + CC libpolkit_gobject_1_la-polkitsubject.lo + CC libpolkit_gobject_1_la-polkitunixprocess.lo + CC libpolkit_gobject_1_la-polkitunixsession.lo + CC libpolkit_gobject_1_la-polkitsystembusname.lo + CC libpolkit_gobject_1_la-polkitidentity.lo + CC libpolkit_gobject_1_la-polkitunixuser.lo + CC libpolkit_gobject_1_la-polkitunixgroup.lo + CC libpolkit_gobject_1_la-polkitauthorizationresult.lo + CC libpolkit_gobject_1_la-polkitcheckauthorizationflags.lo + CC libpolkit_gobject_1_la-polkitimplicitauthorization.lo + CC libpolkit_gobject_1_la-polkittemporaryauthorization.lo + CC libpolkit_gobject_1_la-polkitpermission.lo + CCLD libpolkit-gobject-1.la +/usr/bin/g-ir-scanner -v \ + --namespace Polkit \ + --nsversion=1.0 \ + --include=Gio-2.0 \ + --library=polkit-gobject-1 \ + --output Polkit-1.0.gir \ + --pkg=glib-2.0 \ + --pkg=gobject-2.0 \ + --pkg=gio-2.0 \ + --libtool=../../libtool \ + -I../../src \ + -D_POLKIT_COMPILATION \ + ./polkit.h \ + ./polkittypes.h \ + ./polkitactiondescription.h \ + ./polkitauthority.h \ + ./polkitauthorizationresult.h \ + ./polkitcheckauthorizationflags.h \ + ./polkitdetails.h \ + ./polkitenumtypes.h \ + ./polkiterror.h \ + ./polkitidentity.h \ + ./polkitimplicitauthorization.h \ + ./polkitsubject.h \ + ./polkitsystembusname.h \ + ./polkittemporaryauthorization.h \ + ./polkitunixgroup.h \ + ./polkitunixprocess.h \ + ./polkitunixsession.h \ + ./polkitunixuser.h \ + ./polkitpermission.h \ + +g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -I../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -c -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectow0jkH/Polkit-1.0.o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectow0jkH/Polkit-1.0.c +g-ir-scanner: link: ../../libtool --mode=link --tag=CC --silent gcc -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectow0jkH/Polkit-1.0 -export-dynamic -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -L. -lpolkit-gobject-1 -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectow0jkH/Polkit-1.0.o +/usr/bin/g-ir-compiler Polkit-1.0.gir -o Polkit-1.0.typelib +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +Making all in polkitbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' + CC libpolkit_backend_1_la-polkitbackendauthority.lo + CC libpolkit_backend_1_la-polkitbackendinteractiveauthority.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthority.lo + CC libpolkit_backend_1_la-polkitbackendactionpool.lo + CC libpolkit_backend_1_la-polkitbackendsessionmonitor.lo + CC libpolkit_backend_1_la-polkitbackendconfigsource.lo + CC libpolkit_backend_1_la-polkitbackendactionlookup.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthorizationstore.lo + CCLD libpolkit-backend-1.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' +Making all in polkitagent +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --header > polkitagentmarshal.h.tmp && mv polkitagentmarshal.h.tmp polkitagentmarshal.h +(echo "#include \"polkitagentmarshal.h\""; glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --body) > polkitagentmarshal.c.tmp && mv polkitagentmarshal.c.tmp polkitagentmarshal.c +touch marshal.stamp +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' + CC libpolkit_agent_1_la-polkitagentenumtypes.lo + CC libpolkit_agent_1_la-polkitagentmarshal.lo + CC libpolkit_agent_1_la-polkitagentsession.lo + CC libpolkit_agent_1_la-polkitagentlistener.lo + CC libpolkit_agent_1_la-polkitagenttextlistener.lo + CC polkit_agent_helper_1-polkitagenthelperprivate.o + CC polkit_agent_helper_1-polkitagenthelper-pam.o + CCLD libpolkit-agent-1.la + CCLD polkit-agent-helper-1 +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +Making all in polkitd +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' + CC polkitd-main.o + CCLD polkitd +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' +Making all in nullbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' + CC libnullbackend_la-nullbackend.lo + CC libnullbackend_la-polkitbackendnullauthority.lo + CCLD libnullbackend.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' +Making all in programs +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' + CC libpkexec_action_lookup_la-pkexec-action-lookup.lo + CC pkexec-pkexec.o + CC pkcheck-pkcheck.o + CC pkaction-pkaction.o + CCLD pkaction + CCLD pkcheck + CCLD libpkexec-action-lookup.la + CCLD pkexec +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[3]: Nothing to be done for `all-am'. +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in docs +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +Making all in man +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +make[3]: Nothing to be done for `all'. +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +gtk-doc: Scanning header files +Can't locate gtkdoc-common.pl in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /usr/share/gtk-doc/data) at /usr/bin/gtkdoc-scan line 44. +make[3]: *** [scan-build.stamp] Error 2 +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +make[2]: *** [all-recursive] Error 1 +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +make[1]: *** [all-recursive] Error 1 +make[1]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +make: *** [all] Error 2 +[1m Aborting...(B[m diff --git a/abs/extra/polkit/polkit-0.98-1-i686-build.log.4 b/abs/extra/polkit/polkit-0.98-1-i686-build.log.4 new file mode 100644 index 0000000..f390773 --- /dev/null +++ b/abs/extra/polkit/polkit-0.98-1-i686-build.log.4 @@ -0,0 +1,386 @@ +patching file src/polkit/polkitcheckauthorizationflags.h +patching file src/polkit/polkiterror.h +patching file src/polkit/polkitimplicitauthorization.h +patching file src/polkitagent/Makefile.am +patching file src/polkitagent/polkitagenthelperprivate.c +patching file src/polkitbackend/polkitbackendsessionmonitor.c +libtoolize: putting auxiliary files in `.'. +libtoolize: linking file `./ltmain.sh' +libtoolize: You should add the contents of the following files to `aclocal.m4': +libtoolize: `/usr/share/aclocal/libtool.m4' +libtoolize: `/usr/share/aclocal/ltoptions.m4' +libtoolize: `/usr/share/aclocal/ltversion.m4' +libtoolize: `/usr/share/aclocal/lt~obsolete.m4' +libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and +libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. +libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. +/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD +/usr/share/aclocal/libxosd.m4:9: run info '(automake)Extending aclocal' +/usr/share/aclocal/libxosd.m4:9: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal +checking for a BSD-compatible install... /bin/install -c +checking whether build environment is sane... yes +checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for gawk... gawk +checking whether make sets $(MAKE)... yes +checking whether to enable maintainer-specific portions of Makefiles... no +checking for style of include used by make... GNU +checking for gcc... gcc +checking whether the C compiler works... yes +checking for C compiler default output file name... a.out +checking for suffix of executables... +checking whether we are cross compiling... no +checking for suffix of object files... o +checking whether we are using the GNU C compiler... yes +checking whether gcc accepts -g... yes +checking for gcc option to accept ISO C89... none needed +checking dependency style of gcc... gcc3 +checking for library containing strerror... none required +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking for gcc... (cached) gcc +checking whether we are using the GNU C compiler... (cached) yes +checking whether gcc accepts -g... (cached) yes +checking for gcc option to accept ISO C89... (cached) none needed +checking dependency style of gcc... (cached) gcc3 +checking how to run the C preprocessor... gcc -E +checking for grep that handles long lines and -e... /bin/grep +checking for egrep... /bin/grep -E +checking for ANSI C header files... yes +checking build system type... i686-pc-linux-gnu +checking host system type... i686-pc-linux-gnu +checking how to print strings... printf +checking for a sed that does not truncate output... /bin/sed +checking for fgrep... /bin/grep -F +checking for ld used by gcc... /usr/bin/ld +checking if the linker (/usr/bin/ld) is GNU ld... yes +checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B +checking the name lister (/usr/bin/nm -B) interface... BSD nm +checking whether ln -s works... yes +checking the maximum length of command line arguments... 1572864 +checking whether the shell understands some XSI constructs... yes +checking whether the shell understands "+="... yes +checking for /usr/bin/ld option to reload object files... -r +checking for objdump... objdump +checking how to recognize dependent libraries... pass_all +checking for ar... ar +checking for strip... strip +checking for ranlib... ranlib +checking command to parse /usr/bin/nm -B output from gcc object... ok +checking for sys/types.h... yes +checking for sys/stat.h... yes +checking for stdlib.h... yes +checking for string.h... yes +checking for memory.h... yes +checking for strings.h... yes +checking for inttypes.h... yes +checking for stdint.h... yes +checking for unistd.h... yes +checking for dlfcn.h... yes +checking for objdir... .libs +checking if gcc supports -fno-rtti -fno-exceptions... no +checking for gcc option to produce PIC... -fPIC -DPIC +checking if gcc PIC flag -fPIC -DPIC works... yes +checking if gcc static flag -static works... yes +checking if gcc supports -c -o file.o... yes +checking if gcc supports -c -o file.o... (cached) yes +checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes +checking whether -lc should be explicitly linked in... no +checking dynamic linker characteristics... GNU/Linux ld.so +checking how to hardcode library paths into programs... immediate +checking whether stripping libraries is possible... yes +checking if libtool supports shared libraries... yes +checking whether to build shared libraries... yes +checking whether to build static libraries... no +checking whether make sets $(MAKE)... (cached) yes +checking whether ln -s works... yes +checking for special C compiler options needed for large files... no +checking for _FILE_OFFSET_BITS value needed for large files... 64 +checking whether gcc and cc understand -c and -o together... yes +checking for xsltproc... /usr/bin/xsltproc +checking for pkg-config... /usr/bin/pkg-config +checking pkg-config is at least version 0.9.0... yes +checking for gtkdoc-check... /usr/bin/gtkdoc-check +checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase +checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf +checking whether to build gtk-doc documentation... yes +checking for GLIB... yes +checking expat.h usability... yes +checking expat.h presence... yes +checking for expat.h... yes +checking for XML_ParserCreate in -lexpat... yes +checking for clearenv... yes +checking for pam_start in -lpam... yes +checking for sigtimedwait in -lc... yes +checking how to call pam_strerror... two arguments +checking security/pam_modutil.h usability... yes +checking security/pam_modutil.h presence... yes +checking for security/pam_modutil.h... yes +checking security/pam_ext.h usability... yes +checking security/pam_ext.h presence... yes +checking for security/pam_ext.h... yes +checking for pam_vsyslog in -lpam... yes +checking for /etc/redhat-release... no +checking for /etc/SuSE-release... no +checking for /etc/gentoo-release... no +checking for /etc/pardus-release... no +Linux distribution autodetection failed, specify the distribution to target using --with-os-type= +checking for INTROSPECTION... yes +checking whether NLS is requested... yes +checking for intltool >= 0.40.0... 0.41.1 found +checking for intltool-update... /usr/bin/intltool-update +checking for intltool-merge... /usr/bin/intltool-merge +checking for intltool-extract... /usr/bin/intltool-extract +checking for xgettext... /usr/bin/xgettext +checking for msgmerge... /usr/bin/msgmerge +checking for msgfmt... /usr/bin/msgfmt +checking for gmsgfmt... /usr/bin/msgfmt +checking for perl... /usr/bin/perl +checking for perl >= 5.8.1... 5.12.1 +checking for XML::Parser... ok +checking locale.h usability... yes +checking locale.h presence... yes +checking for locale.h... yes +checking for LC_MESSAGES... yes +checking libintl.h usability... yes +checking libintl.h presence... yes +checking for libintl.h... yes +checking for ngettext in libc... yes +checking for dgettext in libc... yes +checking for bind_textdomain_codeset... yes +checking for msgfmt... (cached) /usr/bin/msgfmt +checking for dcgettext... yes +checking if msgfmt accepts -c... yes +checking for gmsgfmt... (cached) /usr/bin/msgfmt +checking for xgettext... (cached) /usr/bin/xgettext +configure: creating ./config.status +config.status: creating Makefile +config.status: creating actions/Makefile +config.status: creating data/Makefile +config.status: creating data/polkit-1 +config.status: creating data/polkit-gobject-1.pc +config.status: creating data/polkit-backend-1.pc +config.status: creating data/polkit-agent-1.pc +config.status: creating src/Makefile +config.status: creating src/polkit/Makefile +config.status: creating src/polkitbackend/Makefile +config.status: creating src/polkitagent/Makefile +config.status: creating src/polkitd/Makefile +config.status: creating src/programs/Makefile +config.status: creating src/examples/Makefile +config.status: creating src/nullbackend/Makefile +config.status: creating docs/version.xml +config.status: creating docs/extensiondir.xml +config.status: creating docs/Makefile +config.status: creating docs/polkit/Makefile +config.status: creating docs/man/Makefile +config.status: creating po/Makefile.in +config.status: creating config.h +config.status: config.h is unchanged +config.status: executing depfiles commands +config.status: executing libtool commands +config.status: executing default-1 commands +config.status: executing po/stamp-it commands + + polkit 0.98 + ================= + + prefix: /usr + libdir: ${exec_prefix}/lib + libexecdir: /usr/lib/polkit-1 + bindir: ${exec_prefix}/bin + sbindir: ${exec_prefix}/sbin + datadir: ${datarootdir} + sysconfdir: /etc + localstatedir: /var + docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} + + compiler: gcc + cflags: -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security + cppflags: + xsltproc: /usr/bin/xsltproc + introspection: yes + + Distribution/OS: unknown + authentication framework: pam + PAM support: yes + + PAM file auth: system-auth + PAM file account: system-auth + PAM file password: system-auth + PAM file session: system-auth + + Maintainer mode: no + Building verbose mode: no + Building api docs: yes + Building man pages: yes + + +NOTE: The directory /etc/polkit-1/localauthority must be owned + by root and have mode 700 + +NOTE: The directory /var/lib/polkit-1 must be owned + by root and have mode 700 + +NOTE: The file /usr/lib/polkit-1/polkit-agent-helper-1 must be owned + by root and have mode 4755 (setuid root binary) + +NOTE: The file ${exec_prefix}/bin/pkexec must be owned by root and + have mode 4755 (setuid root binary) + +make all-recursive +make[1]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +Making all in actions +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +LC_ALL=C /usr/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po org.freedesktop.policykit.policy.in org.freedesktop.policykit.policy +Found cached translation database +Merging translations into org.freedesktop.policykit.policy. +CREATED org.freedesktop.policykit.policy +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/actions' +Making all in data +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/data' +Making all in src +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.c.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.c.tmp && mv polkitenumtypes.c.tmp polkitenumtypes.c +( top_builddir=`cd ../.. && pwd`; \ + cd . && glib-mkenums --template polkitenumtypes.h.template polkitcheckauthorizationflags.h polkiterror.h polkitimplicitauthorization.h polkitauthorityfeatures.h) > \ + polkitenumtypes.h.tmp && mv polkitenumtypes.h.tmp polkitenumtypes.h +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' + CC libpolkit_gobject_1_la-polkitenumtypes.lo + CC libpolkit_gobject_1_la-polkitactiondescription.lo + CC libpolkit_gobject_1_la-polkitauthorityfeatures.lo + CC libpolkit_gobject_1_la-polkitdetails.lo + CC libpolkit_gobject_1_la-polkitauthority.lo + CC libpolkit_gobject_1_la-polkiterror.lo + CC libpolkit_gobject_1_la-polkitsubject.lo + CC libpolkit_gobject_1_la-polkitunixprocess.lo + CC libpolkit_gobject_1_la-polkitunixsession.lo + CC libpolkit_gobject_1_la-polkitsystembusname.lo + CC libpolkit_gobject_1_la-polkitidentity.lo + CC libpolkit_gobject_1_la-polkitunixuser.lo + CC libpolkit_gobject_1_la-polkitunixgroup.lo + CC libpolkit_gobject_1_la-polkitauthorizationresult.lo + CC libpolkit_gobject_1_la-polkitcheckauthorizationflags.lo + CC libpolkit_gobject_1_la-polkitimplicitauthorization.lo + CC libpolkit_gobject_1_la-polkittemporaryauthorization.lo + CC libpolkit_gobject_1_la-polkitpermission.lo + CCLD libpolkit-gobject-1.la +/usr/bin/g-ir-scanner -v \ + --namespace Polkit \ + --nsversion=1.0 \ + --include=Gio-2.0 \ + --library=polkit-gobject-1 \ + --output Polkit-1.0.gir \ + --pkg=glib-2.0 \ + --pkg=gobject-2.0 \ + --pkg=gio-2.0 \ + --libtool=../../libtool \ + -I../../src \ + -D_POLKIT_COMPILATION \ + ./polkit.h \ + ./polkittypes.h \ + ./polkitactiondescription.h \ + ./polkitauthority.h \ + ./polkitauthorizationresult.h \ + ./polkitcheckauthorizationflags.h \ + ./polkitdetails.h \ + ./polkitenumtypes.h \ + ./polkiterror.h \ + ./polkitidentity.h \ + ./polkitimplicitauthorization.h \ + ./polkitsubject.h \ + ./polkitsystembusname.h \ + ./polkittemporaryauthorization.h \ + ./polkitunixgroup.h \ + ./polkitunixprocess.h \ + ./polkitunixsession.h \ + ./polkitunixuser.h \ + ./polkitpermission.h \ + +g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -I../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -c -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectb52bsO/Polkit-1.0.o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectb52bsO/Polkit-1.0.c +g-ir-scanner: link: ../../libtool --mode=link --tag=CC --silent gcc -o /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectb52bsO/Polkit-1.0 -export-dynamic -march=i686 -mtune=generic -O2 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -L. -lpolkit-gobject-1 -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit/tmp-introspectb52bsO/Polkit-1.0.o +/usr/bin/g-ir-compiler Polkit-1.0.gir -o Polkit-1.0.typelib +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkit' +Making all in polkitbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' + CC libpolkit_backend_1_la-polkitbackendauthority.lo + CC libpolkit_backend_1_la-polkitbackendinteractiveauthority.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthority.lo + CC libpolkit_backend_1_la-polkitbackendactionpool.lo + CC libpolkit_backend_1_la-polkitbackendsessionmonitor.lo + CC libpolkit_backend_1_la-polkitbackendconfigsource.lo + CC libpolkit_backend_1_la-polkitbackendactionlookup.lo + CC libpolkit_backend_1_la-polkitbackendlocalauthorizationstore.lo + CCLD libpolkit-backend-1.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitbackend' +Making all in polkitagent +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --header > polkitagentmarshal.h.tmp && mv polkitagentmarshal.h.tmp polkitagentmarshal.h +(echo "#include \"polkitagentmarshal.h\""; glib-genmarshal --prefix=_polkit_agent_marshal ./polkitagentmarshal.list --body) > polkitagentmarshal.c.tmp && mv polkitagentmarshal.c.tmp polkitagentmarshal.c +touch marshal.stamp +make all-am +make[4]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' + CC libpolkit_agent_1_la-polkitagentenumtypes.lo + CC libpolkit_agent_1_la-polkitagentmarshal.lo + CC libpolkit_agent_1_la-polkitagentsession.lo + CC libpolkit_agent_1_la-polkitagentlistener.lo + CC libpolkit_agent_1_la-polkitagenttextlistener.lo + CC polkit_agent_helper_1-polkitagenthelperprivate.o + CC polkit_agent_helper_1-polkitagenthelper-pam.o + CCLD libpolkit-agent-1.la + CCLD polkit-agent-helper-1 +make[4]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitagent' +Making all in polkitd +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' + CC polkitd-main.o + CCLD polkitd +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/polkitd' +Making all in nullbackend +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' + CC libnullbackend_la-nullbackend.lo + CC libnullbackend_la-polkitbackendnullauthority.lo + CCLD libnullbackend.la +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/nullbackend' +Making all in programs +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' + CC libpkexec_action_lookup_la-pkexec-action-lookup.lo + CC pkexec-pkexec.o + CC pkcheck-pkcheck.o + CC pkaction-pkaction.o + CCLD pkaction + CCLD pkcheck + CCLD libpkexec-action-lookup.la + CCLD pkexec +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src/programs' +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[3]: Nothing to be done for `all-am'. +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/src' +Making all in docs +make[2]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +Making all in man +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +make[3]: Nothing to be done for `all'. +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/man' +Making all in polkit +make[3]: Entering directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +gtk-doc: Scanning header files +Can't locate gtkdoc-common.pl in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /usr/share/gtk-doc/data) at /usr/bin/gtkdoc-scan line 44. +make[3]: *** [scan-build.stamp] Error 2 +make[3]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs/polkit' +make[2]: *** [all-recursive] Error 1 +make[2]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98/docs' +make[1]: *** [all-recursive] Error 1 +make[1]: Leaving directory `/data/linhes_pkgbuild/abs/extra/polkit/src/polkit-0.98' +make: *** [all] Error 2 +[1m Aborting...(B[m diff --git a/abs/extra/polkit/polkit-git-fixes.patch b/abs/extra/polkit/polkit-git-fixes.patch new file mode 100644 index 0000000..a0d35e8 --- /dev/null +++ b/abs/extra/polkit/polkit-git-fixes.patch @@ -0,0 +1,85 @@ +diff --git a/src/polkit/polkitcheckauthorizationflags.h b/src/polkit/polkitcheckauthorizationflags.h +index 94aa070..4baa0d1 100644 +--- a/src/polkit/polkitcheckauthorizationflags.h ++++ b/src/polkit/polkitcheckauthorizationflags.h +@@ -30,10 +30,6 @@ + + G_BEGIN_DECLS + +-GType polkit_check_authorization_flags_get_type (void) G_GNUC_CONST; +- +-#define POLKIT_TYPE_CHECK_AUTHORIZATION_FLAGS (polkit_check_authorization_flags_get_type ()) +- + /** + * PolkitCheckAuthorizationFlags: + * @POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE: No flags set. +diff --git a/src/polkit/polkiterror.h b/src/polkit/polkiterror.h +index b31583d..e49cabf 100644 +--- a/src/polkit/polkiterror.h ++++ b/src/polkit/polkiterror.h +@@ -40,10 +40,6 @@ G_BEGIN_DECLS + + GQuark polkit_error_quark (void); + +-GType polkit_error_get_type (void) G_GNUC_CONST; +- +-#define POLKIT_TYPE_ERROR (polkit_error_get_type ()) +- + /** + * PolkitError: + * @POLKIT_ERROR_FAILED: The operation failed. +diff --git a/src/polkit/polkitimplicitauthorization.h b/src/polkit/polkitimplicitauthorization.h +index 9e5c51c..dee2611 100644 +--- a/src/polkit/polkitimplicitauthorization.h ++++ b/src/polkit/polkitimplicitauthorization.h +@@ -30,10 +30,6 @@ + + G_BEGIN_DECLS + +-GType polkit_implicit_authorization_get_type (void) G_GNUC_CONST; +- +-#define POLKIT_TYPE_IMPLICIT_AUTHORIZATION (polkit_implicit_authorization_get_type ()) +- + /** + * PolkitImplicitAuthorization: + * @POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN: Unknown whether the subject is authorized, never returned in any public API. +diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am +index d2fc9c8..96ffd7c 100644 +--- a/src/polkitagent/Makefile.am ++++ b/src/polkitagent/Makefile.am +@@ -46,6 +46,7 @@ libpolkit_agent_1includedir=$(includedir)/polkit-1/polkitagent + + libpolkit_agent_1include_HEADERS = \ + polkitagent.h \ ++ polkitagentenumtypes.h \ + polkitagenttypes.h \ + polkitagentsession.h \ + polkitagentlistener.h \ +diff --git a/src/polkitagent/polkitagenthelperprivate.c b/src/polkitagent/polkitagenthelperprivate.c +index d4495dd..8f0c878 100644 +--- a/src/polkitagent/polkitagenthelperprivate.c ++++ b/src/polkitagent/polkitagenthelperprivate.c +@@ -48,8 +48,8 @@ _polkit_clearenv (void) + gboolean + send_dbus_message (const char *cookie, const char *user) + { +- PolkitAuthority *authority; +- PolkitIdentity *identity; ++ PolkitAuthority *authority = NULL; ++ PolkitIdentity *identity = NULL; + GError *error; + gboolean ret; + +diff --git a/src/polkitbackend/polkitbackendsessionmonitor.c b/src/polkitbackend/polkitbackendsessionmonitor.c +index e91ad84..495f752 100644 +--- a/src/polkitbackend/polkitbackendsessionmonitor.c ++++ b/src/polkitbackend/polkitbackendsessionmonitor.c +@@ -116,7 +116,7 @@ static gboolean + ensure_database (PolkitBackendSessionMonitor *monitor, + GError **error) + { +- gboolean ret; ++ gboolean ret = FALSE; + + if (monitor->database != NULL) + { |