libappindicator fails to build from latest bzr 2017-10-23
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libappindicator |
New
|
Undecided
|
Unassigned |
Bug Description
Libappindicator fails to build from source branched from bzr repo on 23rd Oct 2017. I don't use Ubuntu, but when I went to report a bug on the bzr repo site it brought me here.
I'm using Slackware 14.2 x86_64, gcc 5.3.0, glib 2.46.2.
Using:
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS=
./configure \
--prefix=/usr \
--libdir=
--sysconfdir=/etc \
--localstated
--mandir=/usr/man \
--infodir=
--with-gtk=3 \
--docdir=
--build=
make
Results:
app-indicator.c: In function ‘shorty_
app-indicator.
xec_with_context’ [-Werror=
indicator_
^
cc1: all warnings being treated as errors
Makefile:769: recipe for target 'libappindicato
make[2]: *** [libappindicato
make[2]: Leaving directory '/tmp/daw/
Makefile:482: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/daw/
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2
Thanks.
Ok. I managed to fix that by getting rid of -Werror, but now I have a new error:
app-indicator.c:58: Warning: AppIndicator3: "@id" parameter unexpected at this location: c:545: Error: AppIndicator3: multiple "@arg1" parameters for identifier "AppIndicator: :new-label" : h:243: Warning: AppIndicator3: "@parent" parameter unexpected at this location: libappindicator 3.so: undefined reference to `indicator_ desktop_ shortcuts_ nick_exec_ with_context'
* @id: The ID of the indicator. Maps to AppIndicator:id.
^
app-indicator.
* @arg1: The string for the guide
^
app-indicator.
* @parent: Parent object.
^
./.libs/
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/tmp/daw/ libappindicator -12.10. 1/src/tmp- introspectkBa7M a/AppIndicator3 -0.1', '-export-dynamic', '-O2', '-fPIC', 'tmp-introspect kBa7Ma/ tmp/daw/ libappindicator -12.10. 1/src/tmp- introspectkBa7M a/AppIndicator3 -0.1.o' , '-L.', 'libappindicato r3.la', '-lgio-2.0', '-lgobject-2.0', '-Wl,-- export- dynamic' , '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1 gobject- introspection- 1.0/Makefile. introspection: 155: recipe for target 'AppIndicator3- 0.1.gir' failed
/usr/share/