Advertisement
Guest User

Untitled

a guest
Aug 7th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 KB | None | 0 0
  1. ┌─[ kittykatt@mielikki ]──────( ~ )
  2. └─| >>> yaourt -S libdbusmenu
  3.  
  4. ==> Downloading libdbusmenu PKGBUILD from AUR...
  5. x PKGBUILD
  6. Comment by jqvillanova (2013-04-25 22:07)
  7. export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
  8.  
  9. before configure did it well. i'm using x86_64 multilib repo activated.
  10.  
  11. Comment by gbc921 (2013-04-29 03:32)
  12. Just worked with the "export CFLAGS" like jqvillanova said.
  13.  
  14. Comment by Ba7a7chy (2013-05-04 14:13)
  15. Worked for me when inserting:
  16. export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
  17.  
  18. to the buid{} function.
  19.  
  20. Comment by milasch (2013-05-15 17:10)
  21. This fails to build:
  22.  
  23. main.c:138:2: error: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]
  24. g_type_init();
  25. ^
  26.  
  27. Comment by milasch (2013-05-15 17:11)
  28. argh, missed the comments sorry for being redundant
  29.  
  30. libdbusmenu 12.10.2-1 (Mon Nov 16 14:50:53 CST 2009)
  31. ( Unsupported package: Potentially dangerous ! )
  32. ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
  33. ==> ------------------------------------
  34. ==> y
  35.  
  36. Please add $EDITOR to your environment variables
  37. for example:
  38. export EDITOR="vim" (in ~/.bashrc)
  39. (replace vim with your favorite editor)
  40.  
  41. ==> Edit PKGBUILD with: nano
  42.  
  43. ==> libdbusmenu dependencies:
  44. - glib2 (already installed)
  45. - gtk2 (already installed)
  46. - intltool (already installed)
  47. - gnome-doc-utils (already installed)
  48. - gobject-introspection (already installed)
  49. - vala (already installed)
  50. - python2 (already installed)
  51. - json-glib (already installed)
  52.  
  53.  
  54. ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
  55. ==> ------------------------------------
  56. ==> n
  57.  
  58. ==> Continue building libdbusmenu ? [Y/n]
  59. ==> -------------------------------------
  60. ==>
  61. ==> Building and installing package
  62. ==> Making package: libdbusmenu 12.10.2-1 (Wed Aug 7 20:32:31 CDT 2013)
  63. ==> Checking runtime dependencies...
  64. ==> Checking buildtime dependencies...
  65. ==> Retrieving sources...
  66. -> Downloading libdbusmenu-12.10.2.tar.gz...
  67. % Total % Received % Xferd Average Speed Time Time Time Current
  68. Dload Upload Total Spent Left Speed
  69. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  70. 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
  71. 100 718k 100 718k 0 0 164k 0 0:00:04 0:00:04 --:--:-- 289k
  72. ==> Validating source files with md5sums...
  73. libdbusmenu-12.10.2.tar.gz ... Passed
  74. ==> Extracting sources...
  75. -> Extracting libdbusmenu-12.10.2.tar.gz with bsdtar
  76. ==> Starting build()...
  77. checking for a BSD-compatible install... /usr/bin/install -c
  78. checking whether build environment is sane... yes
  79. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  80. checking for gawk... gawk
  81. checking whether make sets $(MAKE)... yes
  82. checking whether to enable maintainer-specific portions of Makefiles... no
  83. checking whether NLS is requested... yes
  84. checking for style of include used by make... GNU
  85. checking for gcc... gcc
  86. checking whether the C compiler works... yes
  87. checking for C compiler default output file name... a.out
  88. checking for suffix of executables...
  89. checking whether we are cross compiling... no
  90. checking for suffix of object files... o
  91. checking whether we are using the GNU C compiler... yes
  92. checking whether gcc accepts -g... yes
  93. checking for gcc option to accept ISO C89... none needed
  94. checking dependency style of gcc... gcc3
  95. checking for intltool >= 0.35.0... 0.50.2 found
  96. checking for intltool-update... /usr/bin/intltool-update
  97. checking for intltool-merge... /usr/bin/intltool-merge
  98. checking for intltool-extract... /usr/bin/intltool-extract
  99. checking for xgettext... /usr/bin/xgettext
  100. checking for msgmerge... /usr/bin/msgmerge
  101. checking for msgfmt... /usr/bin/msgfmt
  102. checking for gmsgfmt... /usr/bin/msgfmt
  103. checking for perl... /usr/bin/perl
  104. checking for perl >= 5.8.1... 5.18.0
  105. checking for XML::Parser... ok
  106. checking for library containing strerror... none required
  107. checking for gcc... (cached) gcc
  108. checking whether we are using the GNU C compiler... (cached) yes
  109. checking whether gcc accepts -g... (cached) yes
  110. checking for gcc option to accept ISO C89... (cached) none needed
  111. checking dependency style of gcc... (cached) gcc3
  112. checking whether gcc and cc understand -c and -o together... yes
  113. checking how to run the C preprocessor... gcc -E
  114. checking for grep that handles long lines and -e... /usr/bin/grep
  115. checking for egrep... /usr/bin/grep -E
  116. checking for ANSI C header files... yes
  117. checking build system type... x86_64-unknown-linux-gnu
  118. checking host system type... x86_64-unknown-linux-gnu
  119. checking how to print strings... printf
  120. checking for a sed that does not truncate output... /usr/bin/sed
  121. checking for fgrep... /usr/bin/grep -F
  122. checking for ld used by gcc... /usr/bin/ld
  123. checking if the linker (/usr/bin/ld) is GNU ld... yes
  124. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  125. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  126. checking whether ln -s works... yes
  127. checking the maximum length of command line arguments... 1572864
  128. checking whether the shell understands some XSI constructs... yes
  129. checking whether the shell understands "+="... yes
  130. checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
  131. checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
  132. checking for /usr/bin/ld option to reload object files... -r
  133. checking for objdump... objdump
  134. checking how to recognize dependent libraries... pass_all
  135. checking for dlltool... no
  136. checking how to associate runtime and link libraries... printf %s\n
  137. checking for ar... ar
  138. checking for archiver @FILE support... @
  139. checking for strip... strip
  140. checking for ranlib... ranlib
  141. checking command to parse /usr/bin/nm -B output from gcc object... ok
  142. checking for sysroot... no
  143. checking for mt... no
  144. checking if : is a manifest tool... no
  145. checking for sys/types.h... yes
  146. checking for sys/stat.h... yes
  147. checking for stdlib.h... yes
  148. checking for string.h... yes
  149. checking for memory.h... yes
  150. checking for strings.h... yes
  151. checking for inttypes.h... yes
  152. checking for stdint.h... yes
  153. checking for unistd.h... yes
  154. checking for dlfcn.h... yes
  155. checking for objdir... .libs
  156. checking if gcc supports -fno-rtti -fno-exceptions... no
  157. checking for gcc option to produce PIC... -fPIC -DPIC
  158. checking if gcc PIC flag -fPIC -DPIC works... yes
  159. checking if gcc static flag -static works... yes
  160. checking if gcc supports -c -o file.o... yes
  161. checking if gcc supports -c -o file.o... (cached) yes
  162. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  163. checking whether -lc should be explicitly linked in... no
  164. checking dynamic linker characteristics... GNU/Linux ld.so
  165. checking how to hardcode library paths into programs... immediate
  166. checking whether stripping libraries is possible... yes
  167. checking if libtool supports shared libraries... yes
  168. checking whether to build shared libraries... yes
  169. checking whether to build static libraries... no
  170. checking whether make supports nested variables... yes
  171. checking for glib-mkenums... /usr/bin/glib-mkenums
  172. checking for pkg-config... /usr/bin/pkg-config
  173. checking pkg-config is at least version 0.9.0... yes
  174. checking for gtkdoc-check... /usr/bin/gtkdoc-check
  175. checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
  176. checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
  177. checking whether to build gtk-doc documentation... no
  178. checking gnome-doc-utils >= 0.3.2... yes
  179. checking for DBUSMENUGLIB... yes
  180. checking for DBUSMENUGTK... yes
  181. checking for DBUSMENUDUMPER... yes
  182. checking for DBUSMENUTESTS... yes
  183. checking for DBUSMENUTESTSVALGRIND... no
  184. checking for gobject-introspection... yes
  185. checking for vapigen... /usr/bin/vapigen
  186. checking for xsltproc... /usr/bin/xsltproc
  187. checking locale.h usability... yes
  188. checking locale.h presence... yes
  189. checking for locale.h... yes
  190. checking for LC_MESSAGES... yes
  191. checking libintl.h usability... yes
  192. checking libintl.h presence... yes
  193. checking for libintl.h... yes
  194. checking for ngettext in libc... yes
  195. checking for dgettext in libc... yes
  196. checking for bind_textdomain_codeset... yes
  197. checking for msgfmt... (cached) /usr/bin/msgfmt
  198. checking for dcgettext... yes
  199. checking if msgfmt accepts -c... yes
  200. checking for gmsgfmt... (cached) /usr/bin/msgfmt
  201. checking for xgettext... (cached) /usr/bin/xgettext
  202. configure: creating ./config.status
  203. config.status: creating Makefile
  204. config.status: creating po/Makefile.in
  205. config.status: creating libdbusmenu-glib/Makefile
  206. config.status: creating libdbusmenu-glib/dbusmenu-glib-0.4.pc
  207. config.status: creating libdbusmenu-gtk/Makefile
  208. config.status: creating libdbusmenu-gtk/dbusmenu-gtk-0.4.pc
  209. config.status: creating libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc
  210. config.status: creating tools/Makefile
  211. config.status: creating tools/testapp/Makefile
  212. config.status: creating tests/Makefile
  213. config.status: creating tests/dbusmenu-jsonloader-0.4.pc
  214. config.status: creating docs/Makefile
  215. config.status: creating docs/libdbusmenu-glib/Makefile
  216. config.status: creating docs/libdbusmenu-glib/reference/Makefile
  217. config.status: creating docs/libdbusmenu-glib/reference/version.xml
  218. config.status: creating docs/libdbusmenu-gtk/Makefile
  219. config.status: creating docs/libdbusmenu-gtk/reference/Makefile
  220. config.status: creating docs/libdbusmenu-gtk/reference/version.xml
  221. config.status: creating config.h
  222. config.status: executing depfiles commands
  223. config.status: executing libtool commands
  224. config.status: executing default-1 commands
  225. config.status: executing po/stamp-it commands
  226. configure:
  227.  
  228. libdbusmenu Configuration:
  229.  
  230. Prefix: /usr
  231. Massive Debugging: no
  232. GTK+ Version: 2
  233.  
  234. configure: Tests: yes
  235. configure: Gtk: yes (gtk2)
  236. configure: Vala bindings: yes
  237. configure: Dumper: yes
  238. configure: Coverage reporting: no
  239. make all-recursive
  240. make[1]: Entering directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2'
  241. Making all in libdbusmenu-glib
  242. make[2]: Entering directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
  243. mkdir -p `dirname ./enum-types.h`
  244. /usr/bin/glib-mkenums \
  245. --template ./enum-types.h.in \
  246. ./menuitem.h ./menuitem-proxy.h ./server.h ./client.h ./types.h > xgen-eh \
  247. && (cmp -s xgen-eh ./enum-types.h || cp -f xgen-eh ./enum-types.h) \
  248. && rm -f xgen-eh \
  249. && echo timestamp > stamp-enum-types
  250. make[2]: Circular dbus-menu.xml.c <- dbus-menu.xml dependency dropped.
  251. make all-am
  252. make[3]: Entering directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
  253. make[3]: Circular dbus-menu.xml.c <- dbus-menu.xml dependency dropped.
  254. CC libdbusmenu_glib_la-dbus-menu-clean.xml.lo
  255. CC libdbusmenu_glib_la-defaults.lo
  256. CC libdbusmenu_glib_la-enum-types.lo
  257. CC libdbusmenu_glib_la-menuitem.lo
  258. CC libdbusmenu_glib_la-menuitem-marshal.lo
  259. CC libdbusmenu_glib_la-menuitem-proxy.lo
  260. CC libdbusmenu_glib_la-server.lo
  261. CC libdbusmenu_glib_la-server-marshal.lo
  262. CC libdbusmenu_glib_la-client-marshal.lo
  263. CC libdbusmenu_glib_la-client-menuitem.lo
  264. CC libdbusmenu_glib_la-client.lo
  265. CCLD libdbusmenu-glib.la
  266. GISCAN Dbusmenu-0.4.gir
  267. /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'
  268. /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
  269. /usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation
  270. collect2: error: ld returned 1 exit status
  271. 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
  272. make[3]: *** [Dbusmenu-0.4.gir] Error 1
  273. make[3]: Leaving directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
  274. make[2]: *** [all] Error 2
  275. make[2]: Leaving directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2/libdbusmenu-glib'
  276. make[1]: *** [all-recursive] Error 1
  277. make[1]: Leaving directory `/tmp/yaourt-tmp-kittykatt/aur-libdbusmenu/src/libdbusmenu-12.10.2'
  278. make: *** [all] Error 2
  279. ==> ERROR: A failure occurred in build().
  280. Aborting...
  281. ==> ERROR: Makepkg was unable to build libdbusmenu.
  282. ==> Restart building libdbusmenu ? [y/N]
  283. ==> ------------------------------------
  284. ==>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement