1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
==> Making package: indicator-pantheon-session-bzr 241-6 (Sun Nov 10 20:54:52 EST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Branching lp:indicator-pantheon-session ...
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 241 revisions.                                                        
  -> Found no-packagekit.patch
==> Validating source files with sha256sums...
    indicator-pantheon-session ... Skipped
    no-packagekit.patch ... Passed
==> Extracting sources...
  -> Creating working copy of indicator-pantheon-session bzr repo...
==> Starting pkgver()...                                                       
==> Starting prepare()...
patching file configure.ac
==> Starting build()...
/usr/bin/gnome-autogen.sh
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.38.1
checking for intltool >= 0.25...
  testing intltoolize... found 0.50.2
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running glib-gettextize... Ignore non-fatal messages.
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:7: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:13: installing './compile'
configure.ac:19: installing './config.guess'
configure.ac:19: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './INSTALL'
parallel-tests: installing './test-driver'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode --prefix=/usr --libexecdir=/usr/lib/indicator-pantheon-session --disable-apt --disable-schemas-compile --disable-static --with-gtk=3 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking whether NLS is requested... yes
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.0... 0.50.2 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.18.1
checking for XML::Parser... ok
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 whether gcc understands -c and -o together... (cached) yes
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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/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 how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 -m elf_x86_64) 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 supports nested variables... (cached) yes
checking for APPLET... yes
checking for SESSIONSERVICE... yes
checking for GTKLOGOUTHELPER... yes
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
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/icons/16x16/Makefile
config.status: creating data/icons/16x16/actions/Makefile
config.status: creating data/icons/16x16/status/Makefile
config.status: creating data/icons/22x22/Makefile
config.status: creating data/icons/22x22/actions/Makefile
config.status: creating data/icons/22x22/status/Makefile
config.status: creating data/icons/24x24/Makefile
config.status: creating data/icons/24x24/actions/Makefile
config.status: creating data/icons/24x24/status/Makefile
config.status: creating data/icons/32x32/Makefile
config.status: creating data/icons/32x32/actions/Makefile
config.status: creating data/icons/32x32/status/Makefile
config.status: creating data/icons/scalable/Makefile
config.status: creating data/icons/scalable/actions/Makefile
config.status: creating data/icons/scalable/status/Makefile
config.status: creating data/extra-sessions/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
configure:

SUS Indicator Configuration:

	Prefix:        /usr
	Indicator Dir: /usr/lib/indicators3/7/
	Indicator GTK: 3
	Logout Helper: yes
	APT support:   no

Now type `make' to compile indicator-session
make  all-recursive
make[1]: Entering directory '/tmp/yaourt-tmp-dashie/aur-indicator-pantheon-session-bzr/src/indicator-pantheon-session'
Making all in src
make[2]: Entering directory '/tmp/yaourt-tmp-dashie/aur-indicator-pantheon-session-bzr/src/indicator-pantheon-session/src'
dbus-binding-tool \
	--prefix=_consolekit_manager_client \
	--mode=glib-client \
	--output=consolekit-manager-client.h \
	./org.freedesktop.ConsoleKit.Manager.xml
dbus-binding-tool \
	--prefix=_consolekit_seat_client \
	--mode=glib-client \
	--output=consolekit-seat-client.h \
	./org.freedesktop.ConsoleKit.Seat.xml
dbus-binding-tool \
	--prefix=_consolekit_session_client \
	--mode=glib-client \
	--output=consolekit-session-client.h \
	./org.freedesktop.ConsoleKit.Session.xml
dbus-binding-tool \
	--prefix=_gdm_local_display_factory_client \
	--mode=glib-client \
	--output=display-manager-client.h \
	./display-manager.xml
Building gen-session-dbus.xml.c from session-dbus.xml
Building gen-session-dbus.xml.h from session-dbus.xml
dbus-binding-tool \
	--prefix=_upower_client \
	--mode=glib-client \
	--output=upower-client.h \
	./upower.xml
dbus-binding-tool \
	--prefix=_accounts_service_client \
	--mode=glib-client \
	--output=accounts-service-client.h \
	./accounts-service.xml
dbus-binding-tool \
	--prefix=_accounts_service_user_client \
	--mode=glib-client \
	--output=accounts-service-user-client.h \
	./accounts-service-user.xml
make  all-am
make[3]: Entering directory '/tmp/yaourt-tmp-dashie/aur-indicator-pantheon-session-bzr/src/indicator-pantheon-session/src'
  CC       libsession_la-indicator-session.lo
indicator-session.c: In function 'switch_property_change':
indicator-session.c:556:5: error: 'gtk_widget_get_style' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:672): Use 'gtk_widget_get_style_context' instead [-Werror=deprecated-declarations]
     GtkStyle * style = gtk_widget_get_style(GTK_WIDGET(gmi));
     ^
indicator-session.c: In function 'restart_property_change':
indicator-session.c:612:3: error: 'gtk_image_menu_item_get_image' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:89) [-Werror=deprecated-declarations]
   GtkWidget * image = gtk_image_menu_item_get_image(GTK_IMAGE_MENU_ITEM(gmi));
   ^
indicator-session.c:612:3: error: 'gtk_image_menu_item_get_type' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:70): Use 'gtk_menu_item_get_type' instead [-Werror=deprecated-declarations]
indicator-session.c:617:4: error: 'gtk_image_menu_item_set_image' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:86) [-Werror=deprecated-declarations]
    gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(gmi), image);
    ^
indicator-session.c:617:4: error: 'gtk_image_menu_item_get_type' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:70): Use 'gtk_menu_item_get_type' instead [-Werror=deprecated-declarations]
indicator-session.c: In function 'build_restart_item':
indicator-session.c:632:2: error: 'gtk_image_menu_item_new' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:72): Use 'gtk_menu_item_new' instead [-Werror=deprecated-declarations]
  GtkMenuItem * gmi = GTK_MENU_ITEM(gtk_image_menu_item_new());
  ^
cc1: all warnings being treated as errors
Makefile:679: recipe for target 'libsession_la-indicator-session.lo' failed
make[3]: *** [libsession_la-indicator-session.lo] Error 1
make[3]: Leaving directory '/tmp/yaourt-tmp-dashie/aur-indicator-pantheon-session-bzr/src/indicator-pantheon-session/src'
Makefile:506: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/yaourt-tmp-dashie/aur-indicator-pantheon-session-bzr/src/indicator-pantheon-session/src'
Makefile:647: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-dashie/aur-indicator-pantheon-session-bzr/src/indicator-pantheon-session'
Makefile:577: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...