You are not logged in.

#1 2013-04-05 04:17:37

almightydog
Member
Registered: 2013-04-04
Posts: 8

Problem installing libindicator3 from AUR

Hi all,

New arch user... trying to install a package from AUR.  Actually I was trying to install lightdm-unity-greeter.install (I miss it), but the depdendency libindicator3 is the one giving me problems.  Here is the terminal output from yaourt. 

dimechje@almightydog(~/builds)$ yaourt -S libindicator3

==> Downloading libindicator3 PKGBUILD from AUR...
x PKGBUILD
Comment by jose1711  (2012-04-27 11:19)
pkgver=0.4.1                                                  | pkgver=0.5.0
pkgrel=2                                                      | pkgrel=1
source=(http://launchpad.net/$_pkgbase/0.4/$pkgver/+download/ | source=(http://launchpad.net/$_pkgbase/0.5/$pkgver/+download/
md5sums=('cab93d831eed5e48a97f4399ccaa4185')

Comment by rmujica  (2012-10-30 19:32)
Updated pkgbuild
=======================
# Maintainer: Balló György ballogyor+arch at gmail dot com
# Updated by: Rene Mujica rene dot mujica at alumnos dot usm dot cl

_pkgbase=libindicator
pkgname=libindicator3
pkgver=12.10.1
pkgrel=1
pkgdesc="Libary with a set of symbols and convience functions that all indicators would like to use (GTK+ 3 library)"
arch=('i686' 'x86_64')
url="https://launchpad.net/libindicator"
license=('GPL')
depends=('gtk3')
options=('!libtool')
provides=('libindicator')
source=(http://launchpad.net/libindicator/12.10/$pkgver/+download/$_pkgbase-$pkgver.tar.gz)
md5sums=('5fd4d6bab339fc9611078b64c44a85a8')

build() {
cd "$srcdir/$_pkgbase-$pkgver"

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$_pkgbase \
--disable-static --disable-tests
make
}

package(){
cd "$srcdir/$_pkgbase-$pkgver"

make -j1 -C libindicator DESTDIR="$pkgdir/" install
make -C tools DESTDIR="$pkgdir/" install

rm -r "$pkgdir/usr/share"
}

libindicator3 12.10.1-1  (Fri Mar  2 12:04:41 NZDT 2012)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> libindicator3 dependencies:
 - gtk3 (already installed)


==> Continue building libindicator3 ? [Y/n]
==> ---------------------------------------
==> 
==> Building and installing package
==> Making package: libindicator3 12.10.1-1 (Fri Apr  5 17:09:27 NZDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading libindicator-12.10.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
100  417k  100  417k    0     0  27659      0  0:00:15  0:00:15 --:--:-- 90264
==> Validating source files with md5sums...
    libindicator-12.10.1.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting libindicator-12.10.1.tar.gz with bsdtar
==> Starting build()...
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 how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
./configure: line 2833: ]: command not found
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... 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 grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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 for glib-mkenums... /usr/bin/glib-mkenums
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBINDICATOR... yes
checking for cos in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libindicator/Makefile
config.status: creating libindicator/indicator-0.4.pc.in
config.status: creating libindicator/indicator3-0.4.pc.in
config.status: creating tests/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:

Libindicator Configuration:

	Prefix:                 /usr
	GTK+ Version:           3

	Enable tests:           yes
	Enable debugging:       no
	Coverage reporting:     no

make  all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1'
Making all in libindicator
make[2]: Entering directory `/tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1/libindicator'
( cd . && /usr/bin/glib-mkenums --template /tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1/libindicator/indicator-object-enum-types.h.template						\
	indicator.h indicator-desktop-shortcuts.h indicator-image-helper.h indicator-object.h indicator-service.h indicator-service-manager.h ) >> tmp-indicator-object-enum-types.h			\
&& (cmp -s tmp-indicator-object-enum-types.h indicator-object-enum-types.h || cp tmp-indicator-object-enum-types.h indicator-object-enum-types.h )	\
&& rm -f tmp-indicator-object-enum-types.h && echo timestamp > s-enum-types-h
( cd . && /usr/bin/glib-mkenums --template /tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1/libindicator/indicator-object-enum-types.c.template						\
	indicator.h indicator-desktop-shortcuts.h indicator-image-helper.h indicator-object.h indicator-service.h indicator-service-manager.h ) > tmp-indicator-object-enum-types.c				\
&& (cmp -s tmp-indicator-object-enum-types.c indicator-object-enum-types.c || cp tmp-indicator-object-enum-types.c indicator-object-enum-types.c )	\
&& rm -f tmp-indicator-object-enum-types.c
/usr/bin/glib-genmarshal \
	--prefix=_indicator_object_marshal \
	--header \
./indicator-object-marshal.list > xgen-mh \
&& (cmp -s xgen-mh indicator-object-marshal.h || cp -f xgen-mh indicator-object-marshal.h) \
&& rm -f xgen-mh \
&& echo timestamp > stamp-marshal
make  all-am
make[3]: Entering directory `/tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1/libindicator'
  CC     libindicator3_la-gen-indicator-service.xml.lo
  CC     libindicator3_la-indicator-object.lo
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from indicator.h:26,
                 from indicator-object.c:28:
indicator-object.c: In function 'indicator_object_get_type':
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_0' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gthread.h:234:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer));       \
     ^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
   if (g_once_init_enter (&g_define_type_id__volatile))  \
       ^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                            ^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
 #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                           ^
indicator-object.c:120:1: note: in expansion of macro 'G_DEFINE_TYPE'
 G_DEFINE_TYPE (IndicatorObject, indicator_object, G_TYPE_OBJECT);
 ^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_1' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gatomic.h:136:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer));                 \
     ^
/usr/include/glib-2.0/glib/gthread.h:236:7: note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^
/usr/include/glib-2.0/gobject/gtype.h:1463:7: note: in expansion of macro 'g_once_init_enter'
   if (g_once_init_enter (&g_define_type_id__volatile))  \
       ^
/usr/include/glib-2.0/gobject/gtype.h:1387:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                            ^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
 #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                           ^
indicator-object.c:120:1: note: in expansion of macro 'G_DEFINE_TYPE'
 G_DEFINE_TYPE (IndicatorObject, indicator_object, G_TYPE_OBJECT);
 ^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_2' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gthread.h:241:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer));       \
     ^
/usr/include/glib-2.0/gobject/gtype.h:1477:7: note: in expansion of macro 'g_once_init_leave'
       g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \
       ^
/usr/include/glib-2.0/gobject/gtype.h:1387:117: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_END'
 #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                                                                                     ^
/usr/include/glib-2.0/gobject/gtype.h:1279:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
 #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                           ^
indicator-object.c:120:1: note: in expansion of macro 'G_DEFINE_TYPE'
 G_DEFINE_TYPE (IndicatorObject, indicator_object, G_TYPE_OBJECT);
 ^
indicator-object.c: In function 'indicator_object_new_from_file':
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_3' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gmem.h:102:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(pp) == sizeof (gpointer));                       \
     ^
/usr/include/glib-2.0/gobject/gobject.h:594:36: note: in expansion of macro 'g_clear_pointer'
 #define g_clear_object(object_ptr) g_clear_pointer ((object_ptr), g_object_unref)
                                    ^
indicator-object.c:473:2: note: in expansion of macro 'g_clear_object'
  g_clear_object (&object);
  ^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_4' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gatomic.h:136:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer));                 \
     ^
/usr/include/glib-2.0/glib/gmem.h:111:12: note: in expansion of macro 'g_atomic_pointer_get'
       _p = g_atomic_pointer_get (_pp);                                         \
            ^
/usr/include/glib-2.0/gobject/gobject.h:594:36: note: in expansion of macro 'g_clear_pointer'
 #define g_clear_object(object_ptr) g_clear_pointer ((object_ptr), g_object_unref)
                                    ^
indicator-object.c:473:2: note: in expansion of macro 'g_clear_object'
  g_clear_object (&object);
  ^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_5' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:290:8: note: in definition of macro '_G_BOOLEAN_EXPR'
    if (expr)                                    \
        ^
/usr/include/glib-2.0/glib/gmem.h:112:11: note: in expansion of macro 'G_UNLIKELY'
     while G_UNLIKELY (!g_atomic_pointer_compare_and_exchange (_pp, _p, NULL)); \
           ^
/usr/include/glib-2.0/glib/gmacros.h:160:47: note: in expansion of macro 'G_PASTE_ARGS'
 #define G_PASTE(identifier1,identifier2)      G_PASTE_ARGS (identifier1, identifier2)
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gatomic.h:149:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer));                 \
     ^
/usr/include/glib-2.0/glib/gmem.h:112:24: note: in expansion of macro 'g_atomic_pointer_compare_and_exchange'
     while G_UNLIKELY (!g_atomic_pointer_compare_and_exchange (_pp, _p, NULL)); \
                        ^
/usr/include/glib-2.0/gobject/gobject.h:594:36: note: in expansion of macro 'g_clear_pointer'
 #define g_clear_object(object_ptr) g_clear_pointer ((object_ptr), g_object_unref)
                                    ^
indicator-object.c:473:2: note: in expansion of macro 'g_clear_object'
  g_clear_object (&object);
  ^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_6' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gmem.h:102:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(pp) == sizeof (gpointer));                       \
     ^
/usr/include/glib-2.0/gobject/gobject.h:594:36: note: in expansion of macro 'g_clear_pointer'
 #define g_clear_object(object_ptr) g_clear_pointer ((object_ptr), g_object_unref)
                                    ^
indicator-object.c:474:2: note: in expansion of macro 'g_clear_object'
  g_clear_object (&module);
  ^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_7' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gatomic.h:136:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer));                 \
     ^
/usr/include/glib-2.0/glib/gmem.h:111:12: note: in expansion of macro 'g_atomic_pointer_get'
       _p = g_atomic_pointer_get (_pp);                                         \
            ^
/usr/include/glib-2.0/gobject/gobject.h:594:36: note: in expansion of macro 'g_clear_pointer'
 #define g_clear_object(object_ptr) g_clear_pointer ((object_ptr), g_object_unref)
                                    ^
indicator-object.c:474:2: note: in expansion of macro 'g_clear_object'
  g_clear_object (&module);
  ^
/usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef '_GStaticAssertCompileTimeAssertion_8' locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                                     ^
/usr/include/glib-2.0/glib/gmacros.h:290:8: note: in definition of macro '_G_BOOLEAN_EXPR'
    if (expr)                                    \
        ^
/usr/include/glib-2.0/glib/gmem.h:112:11: note: in expansion of macro 'G_UNLIKELY'
     while G_UNLIKELY (!g_atomic_pointer_compare_and_exchange (_pp, _p, NULL)); \
           ^
/usr/include/glib-2.0/glib/gmacros.h:160:47: note: in expansion of macro 'G_PASTE_ARGS'
 #define G_PASTE(identifier1,identifier2)      G_PASTE_ARGS (identifier1, identifier2)
                                               ^
/usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
                                            ^
/usr/include/glib-2.0/glib/gatomic.h:149:5: note: in expansion of macro 'G_STATIC_ASSERT'
     G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer));                 \
     ^
/usr/include/glib-2.0/glib/gmem.h:112:24: note: in expansion of macro 'g_atomic_pointer_compare_and_exchange'
     while G_UNLIKELY (!g_atomic_pointer_compare_and_exchange (_pp, _p, NULL)); \
                        ^
/usr/include/glib-2.0/gobject/gobject.h:594:36: note: in expansion of macro 'g_clear_pointer'
 #define g_clear_object(object_ptr) g_clear_pointer ((object_ptr), g_object_unref)
                                    ^
indicator-object.c:474:2: note: in expansion of macro 'g_clear_object'
  g_clear_object (&module);
  ^
cc1: all warnings being treated as errors
make[3]: *** [libindicator3_la-indicator-object.lo] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1/libindicator'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1/libindicator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-dimechje/aur-libindicator3/src/libindicator-12.10.1'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build libindicator3.
==> Restart building libindicator3 ? [y/N]
==> --------------------------------------
==> 

Please note that I have tried to makepkg -sci the tarball as an alternative to yaourt, and the same problem occurs.  I have also tried the modified Makepkg in the comments by rmujica, which still produces the same error. 

I would greatly appreciate any suggestions you may have.

Offline

#2 2013-04-05 20:59:29

almightydog
Member
Registered: 2013-04-04
Posts: 8

Re: Problem installing libindicator3 from AUR

bumpo

Offline

#3 2013-04-05 22:31:54

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,848

Re: Problem installing libindicator3 from AUR

Please don't bump posts : https://wiki.archlinux.org/index.php/Fo … te#Bumping .

It also helps if you search for possible solutions yourself, but this time i've done it for you .

First hit on DuckDuckGo for GStaticAssertCompileTimeAssertion_1' locally defined but not used was this :
https://www.linuxquestions.org/question … page7.html
it lead me to this debian bug : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701458

The problem appears to be between glib2 2.34.3 and gcc 4.8.x , and is solved in glib2 2.36.x .

a few options you have to solve this :
- wait until new glib2 hits the repos (since glib2 is part of gnome, this can take a while)
- build with an older gcc version like gcc46 from aur
- use one of the lightdm greeter packages in the [community] repo


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2013-04-07 04:33:03

almightydog
Member
Registered: 2013-04-04
Posts: 8

Re: Problem installing libindicator3 from AUR

Thanks Lone_Wolf, I'll just wait for a new glib2.  Apologies for the bumping.

Offline

#5 2013-04-07 05:15:42

progandy
Member
Registered: 2012-05-17
Posts: 5,180

Re: Problem installing libindicator3 from AUR

You could try to manually patch the file in /usr/include/glib-2.0/glib/gmacros.h with the following changes (maybe copy the file to in /usr/local/includes first?)
https://git.gnome.org/browse/glib/commit/?id=0ea7abaed5


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2013-04-07 20:00:46

flying sheep
Member
Registered: 2012-02-29
Posts: 90

Re: Problem installing libindicator3 from AUR

hey thanks, that also fixes the appmenu-gtk PKGBUILD!

Offline

#7 2013-04-08 19:27:26

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: Problem installing libindicator3 from AUR

Added  task to fs see: https://bugs.archlinux.org/task/34687


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#8 2013-04-24 00:08:09

0X1A
Member
Registered: 2013-03-27
Posts: 43

Re: Problem installing libindicator3 from AUR

Using the new gmacros.h does nothing for me here's my build error

make  all-recursive
make[1]: Entering directory `/home/alberto/Downloads/appmenu-gtk/src/appmenu-gtk-12.10.2/build-gtk3'
Making all in src
make[2]: Entering directory `/home/alberto/Downloads/appmenu-gtk/src/appmenu-gtk-12.10.2/build-gtk3/src'
make  all-am
make[3]: Entering directory `/home/alberto/Downloads/appmenu-gtk/src/appmenu-gtk-12.10.2/build-gtk3/src'
  CC     libappmenu_la-bridge.lo
../../src/bridge.c: In function 'app_menu_bridge_insert':
../../src/bridge.c:860:3: error: implicit declaration of function 'GTK_IS_TEAROFF_MENU_ITEM' [-Werror=implicit-function-declaration]
   if (GTK_IS_TEAROFF_MENU_ITEM (child))
   ^
cc1: all warnings being treated as errors
make[3]: *** [libappmenu_la-bridge.lo] Error 1
make[3]: Leaving directory `/home/alberto/Downloads/appmenu-gtk/src/appmenu-gtk-12.10.2/build-gtk3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/alberto/Downloads/appmenu-gtk/src/appmenu-gtk-12.10.2/build-gtk3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alberto/Downloads/appmenu-gtk/src/appmenu-gtk-12.10.2/build-gtk3'
make: *** [all] Error 2

EDIT: This was me trying to build appmenu-gtk, changing the gmacros.h was said to help this in the AUR page

Last edited by 0X1A (2013-04-24 00:10:17)

Offline

#9 2013-10-25 08:09:36

elotgamu
Member
From: Masaya, Nicaragua
Registered: 2013-10-25
Posts: 21

Re: Problem installing libindicator3 from AUR

I have a problem with libindicator3 from AUR, when I tried installing lightdm-unity-greeter, the dependecy libindicator3 is not encountered. So I looked for it in aur database and doesn-t seem to exist. How could I install libindicator3


English is not my first language! Sorry for bad grammmar skills!

Offline

#10 2013-10-25 08:31:51

Cthulhu82
Member
From: Nantes, France
Registered: 2013-04-01
Posts: 152

Re: Problem installing libindicator3 from AUR

Your problem is different from the one of this post, which is old now. So please do your own post for it, and read forum etiquette first :
https://wiki.archlinux.org/index.php/Fo … Bumping.22

It will be more simple for people to help you then.

Last edited by Cthulhu82 (2013-10-25 08:32:44)


« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock

Offline

#11 2013-10-31 02:56:02

elotgamu
Member
From: Masaya, Nicaragua
Registered: 2013-10-25
Posts: 21

Re: Problem installing libindicator3 from AUR

Ok thanks for the advice!!!


English is not my first language! Sorry for bad grammmar skills!

Offline

Board footer

Powered by FluxBB