┌─[ kittykatt@mielikki ]──────( ~ )
└─| >>> yaourt -S libdbusmenu
==> Downloading libdbusmenu PKGBUILD from AUR...
x PKGBUILD
Comment by jqvillanova (2013-04-25 22:07)
export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
before configure did it well. i'm using x86_64 multilib repo activated.
Comment by gbc921 (2013-04-29 03:32)
Just worked with the "export CFLAGS" like jqvillanova said.
Comment by Ba7a7chy (2013-05-04 14:13)
Worked for me when inserting:
export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
to the buid{} function.
Comment by milasch (2013-05-15 17:10)
This fails to build:
main.c:138:2: error: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]
g_type_init();
^
Comment by milasch (2013-05-15 17:11)
argh, missed the comments sorry for being redundant
libdbusmenu 12.10.2-1 (Mon Nov 16 14:50:53 CST 2009)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y
Please add $EDITOR to your environment variables
for example:
export EDITOR="vim" (in ~/.bashrc)
(replace vim with your favorite editor)
==> Edit PKGBUILD with: nano
==> libdbusmenu dependencies:
- glib2 (already installed)
- gtk2 (already installed)
- intltool (already installed)
- gnome-doc-utils (already installed)
- gobject-introspection (already installed)
- vala (already installed)
- python2 (already installed)
- json-glib (already installed)
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> Continue building libdbusmenu ? [Y/n]
==> -------------------------------------
==>
==> Building and installing package
==> Making package: libdbusmenu 12.10.2-1 (Wed Aug 7 20:32:31 CDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading libdbusmenu-12.10.2.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
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 718k 100 718k 0 0 164k 0 0:00:04 0:00:04 --:--:-- 289k
==> Validating source files with md5sums...
libdbusmenu-12.10.2.tar.gz ... Passed
==> Extracting sources...
-> Extracting libdbusmenu-12.10.2.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 whether to enable maintainer-specific portions of Makefiles... no
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 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.0
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 dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
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... yes
checking for glib-mkenums... /usr/bin/glib-mkenums
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... no
checking gnome-doc-utils >= 0.3.2... yes
checking for DBUSMENUGLIB... yes
checking for DBUSMENUGTK... yes
checking for DBUSMENUDUMPER... yes
checking for DBUSMENUTESTS... yes
checking for DBUSMENUTESTSVALGRIND... no
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen
checking for xsltproc... /usr/bin/xsltproc
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 po/Makefile.in
config.status: creating libdbusmenu-glib/Makefile
config.status: creating libdbusmenu-glib/dbusmenu-glib-0.4.pc
config.status: creating libdbusmenu-gtk/Makefile
config.status: creating libdbusmenu-gtk/dbusmenu-gtk-0.4.pc
config.status: creating libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc
config.status: creating tools/Makefile
config.status: creating tools/testapp/Makefile
config.status: creating tests/Makefile
config.status: creating tests/dbusmenu-jsonloader-0.4.pc
config.status: creating docs/Makefile
config.status: creating docs/libdbusmenu-glib/Makefile
config.status: creating docs/libdbusmenu-glib/reference/Makefile
config.status: creating docs/libdbusmenu-glib/reference/version.xml
config.status: creating docs/libdbusmenu-gtk/Makefile
config.status: creating docs/libdbusmenu-gtk/reference/Makefile
config.status: creating docs/libdbusmenu-gtk/reference/version.xml
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:
libdbusmenu Configuration:
Prefix: /usr
Massive Debugging: no
GTK+ Version: 2
configure: Tests: yes
configure: Gtk: yes (gtk2)
configure: Vala bindings: yes
configure: Dumper: yes
configure: Coverage reporting: no
make all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2'
Making all in libdbusmenu-glib
make[2]: Entering directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
mkdir -p `dirname ./enum-types.h`
/usr/bin/glib-mkenums \
--template ./enum-types.h.in \
./menuitem.h ./menuitem-proxy.h ./server.h ./client.h ./types.h > xgen-eh \
&& (cmp -s xgen-eh ./enum-types.h || cp -f xgen-eh ./enum-types.h) \
&& rm -f xgen-eh \
&& echo timestamp > stamp-enum-types
make[2]: Circular dbus-menu.xml.c <- dbus-menu.xml dependency dropped.
make all-am
make[3]: Entering directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
make[3]: Circular dbus-menu.xml.c <- dbus-menu.xml dependency dropped.
CC libdbusmenu_glib_la-dbus-menu-clean.xml.lo
CC libdbusmenu_glib_la-defaults.lo
CC libdbusmenu_glib_la-enum-types.lo
CC libdbusmenu_glib_la-menuitem.lo
CC libdbusmenu_glib_la-menuitem-marshal.lo
CC libdbusmenu_glib_la-menuitem-proxy.lo
CC libdbusmenu_glib_la-server.lo
CC libdbusmenu_glib_la-server-marshal.lo
CC libdbusmenu_glib_la-client-marshal.lo
CC libdbusmenu_glib_la-client-menuitem.lo
CC libdbusmenu_glib_la-client.lo
CCLD libdbusmenu-glib.la
GISCAN Dbusmenu-0.4.gir
/usr/bin/ld: /tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib/tmp-introspectWYoxRl/Dbusmenu-0.4.o: undefined reference to symbol 'g_module_symbol'
/usr/bin/ld: note: 'g_module_symbol' is defined in DSO /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib/tmp-introspectWYoxRl/Dbusmenu-0.4', '-export-dynamic', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fstack-protector', '--param=ssp-buffer-size=4', '-Wno-deprecated-declarations', '-L.', 'libdbusmenu-glib.la', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-pthread', '-lglib-2.0', '/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib/tmp-introspectWYoxRl/Dbusmenu-0.4.o']' returned non-zero exit status 1
make[3]: *** [Dbusmenu-0.4.gir] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build libdbusmenu.
==> Restart building libdbusmenu ? [y/N]
==> ------------------------------------
==>