Advertisement
sergioad

[AUR] problems building cinnamon-bluetooth

Sep 23rd, 2014
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.64 KB | None | 0 0
  1. [sergio@Antergos ~]$ yaourt -S cinnamon-bluetooth --noconfirm
  2.  
  3. ==> Descargando PKGBUILD para cinnamon-bluetooth desde AUR...
  4. x cinnamon-bluetooth.install
  5. x PKGBUILD
  6. Comment by letik (2014-05-11 18:33)
  7. cc-bluetooth-panel.c:35:34: fatal error: bluetooth-killswitch.h: No such file or directory
  8. #include bluetooth-killswitch.h
  9. ^
  10. compilation terminated.
  11.  
  12. Same for me
  13.  
  14. Comment by Fincer (2014-05-17 12:12)
  15. Same here, compilation fails due to bluetooth-killswitch.
  16.  
  17. cc-bluetooth-panel.c:35:34: fatal error: bluetooth-killswitch.h: No such file or directory
  18.  
  19. As I was looking for a solution, I tried compilation even with the newest cinnamon 3.8.4 version (3.8.4.tar.gz + regenerating checksums). Makepkg seems to fail exactly with the same error, however.
  20.  
  21. Comment by malosasha (2014-05-20 17:16)
  22. same issue ;(
  23.  
  24. Comment by JoveYu (2014-05-27 04:24)
  25. https://github.com/linuxmint/cinnamon-bluetooth/issues/9
  26.  
  27. i will package it when it can packaged
  28.  
  29. Comment by fmotsch (2014-06-05 05:54)
  30. I think the appropriate way to handle this issue is to write and
  31. append a patch file in the tar ball and apply this patch in PKGBUILD until
  32. the bug gets fixed.
  33. As long as the developers have these dependencies in their source trees
  34. they may not be aware of the issue.
  35.  
  36. cinnamon-bluetooth 3.8.2-1 (jue nov 21 03:55:21 CST 2013)
  37. (Paquete sin soporte: ¡podría ser peligroso!)
  38. ==> dependencias de cinnamon-bluetooth:
  39. - gtk3 (ya instalado)
  40. - cinnamon-control-center (ya instalado)
  41. - gnome-bluetooth (ya instalado)
  42. - libtool (ya instalado)
  43. - gnome-common (ya instalado)
  44. - intltool (ya instalado)
  45.  
  46.  
  47. ==> Continuar compilando cinnamon-bluetooth? [S/n]
  48. ==> ----------------------------------------------
  49. ==>
  50. ==> Compilando e instalando el paquete
  51. ==> Creando el paquete: cinnamon-bluetooth 3.8.2-1 (mar sep 23 03:39:28 CDT 2014)
  52. ==> Resolviendo dependencias...
  53. ==> Verificando conflictos...
  54. ==> Recibiendo fuentes...
  55. -> Descargando 3.8.2.tar.gz...
  56. % Total % Received % Xferd Average Speed Time Time Time Current
  57. Dload Upload Total Spent Left Speed
  58. 100 135 0 135 0 0 325 0 --:--:-- --:--:-- --:--:-- 326
  59. 100 1635k 0 1635k 0 0 572k 0 --:--:-- 0:00:02 --:--:-- 783k
  60. ==> Validando el archivo fuente con md5sums...
  61. 3.8.2.tar.gz ... Aprobado
  62. ==> Descomprimiendo fuentes...
  63. -> Extrayendo 3.8.2.tar.gz con bsdtar
  64. ==> Iniciando build()...
  65. libtoolize: putting auxiliary files in `.'.
  66. libtoolize: copying file `./ltmain.sh'
  67. libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
  68. libtoolize: copying file `m4/libtool.m4'
  69. libtoolize: copying file `m4/ltoptions.m4'
  70. libtoolize: copying file `m4/ltsugar.m4'
  71. libtoolize: copying file `m4/ltversion.m4'
  72. libtoolize: copying file `m4/lt~obsolete.m4'
  73. panels/bluetooth/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  74. checking for a BSD-compatible install... /usr/bin/install -c
  75. checking whether build environment is sane... yes
  76. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  77. checking for gawk... gawk
  78. checking whether make sets $(MAKE)... yes
  79. checking whether make supports nested variables... yes
  80. checking whether UID '1000' is supported by ustar format... yes
  81. checking whether GID '100' is supported by ustar format... yes
  82. checking how to create a ustar tar archive... gnutar
  83. checking whether to enable maintainer-specific portions of Makefiles... yes
  84. checking whether make supports nested variables... (cached) yes
  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 whether gcc understands -c and -o together... yes
  95. checking for style of include used by make... GNU
  96. checking dependency style of gcc... gcc3
  97. checking how to run the C preprocessor... gcc -E
  98. checking for grep that handles long lines and -e... /usr/bin/grep
  99. checking for egrep... /usr/bin/grep -E
  100. checking for ANSI C header files... yes
  101. checking build system type... i686-pc-linux-gnu
  102. checking host system type... i686-pc-linux-gnu
  103. checking how to print strings... printf
  104. checking for a sed that does not truncate output... /usr/bin/sed
  105. checking for fgrep... /usr/bin/grep -F
  106. checking for ld used by gcc... /usr/bin/ld
  107. checking if the linker (/usr/bin/ld) is GNU ld... yes
  108. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  109. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  110. checking whether ln -s works... yes
  111. checking the maximum length of command line arguments... 1572864
  112. checking whether the shell understands some XSI constructs... yes
  113. checking whether the shell understands "+="... yes
  114. checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
  115. checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  116. checking for /usr/bin/ld option to reload object files... -r
  117. checking for objdump... objdump
  118. checking how to recognize dependent libraries... pass_all
  119. checking for dlltool... no
  120. checking how to associate runtime and link libraries... printf %s\n
  121. checking for ar... ar
  122. checking for archiver @FILE support... @
  123. checking for strip... strip
  124. checking for ranlib... ranlib
  125. checking command to parse /usr/bin/nm -B output from gcc object... ok
  126. checking for sysroot... no
  127. checking for mt... no
  128. checking if : is a manifest tool... no
  129. checking for sys/types.h... yes
  130. checking for sys/stat.h... yes
  131. checking for stdlib.h... yes
  132. checking for string.h... yes
  133. checking for memory.h... yes
  134. checking for strings.h... yes
  135. checking for inttypes.h... yes
  136. checking for stdint.h... yes
  137. checking for unistd.h... yes
  138. checking for dlfcn.h... yes
  139. checking for objdir... .libs
  140. checking if gcc supports -fno-rtti -fno-exceptions... no
  141. checking for gcc option to produce PIC... -fPIC -DPIC
  142. checking if gcc PIC flag -fPIC -DPIC works... yes
  143. checking if gcc static flag -static works... yes
  144. checking if gcc supports -c -o file.o... yes
  145. checking if gcc supports -c -o file.o... (cached) yes
  146. checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  147. checking whether -lc should be explicitly linked in... no
  148. checking dynamic linker characteristics... GNU/Linux ld.so
  149. checking how to hardcode library paths into programs... immediate
  150. checking whether stripping libraries is possible... yes
  151. checking if libtool supports shared libraries... yes
  152. checking whether to build shared libraries... yes
  153. checking whether to build static libraries... yes
  154. ./configure: line 11640: h: command not found
  155. checking whether NLS is requested... yes
  156. checking for intltool >= 0.40.1... 0.50.2 found
  157. checking for intltool-update... /usr/bin/intltool-update
  158. checking for intltool-merge... /usr/bin/intltool-merge
  159. checking for intltool-extract... /usr/bin/intltool-extract
  160. checking for xgettext... /usr/bin/xgettext
  161. checking for msgmerge... /usr/bin/msgmerge
  162. checking for msgfmt... /usr/bin/msgfmt
  163. checking for gmsgfmt... /usr/bin/msgfmt
  164. checking for perl... /usr/bin/perl
  165. checking for perl >= 5.8.1... 5.20.1
  166. checking for XML::Parser... ok
  167. checking whether gcc understands -Wall... yes
  168. checking whether gcc understands -Wstrict-prototypes... yes
  169. checking whether gcc understands -Wnested-externs... yes
  170. checking whether gcc understands -Werror=missing-prototypes... yes
  171. checking whether gcc understands -Werror=implicit-function-declaration... yes
  172. checking whether gcc understands -Werror=pointer-arith... yes
  173. checking whether gcc understands -Werror=init-self... yes
  174. checking whether gcc understands -Werror=format-security... no
  175. checking whether gcc understands -Werror=format=2... yes
  176. checking whether gcc understands -Werror=missing-include-dirs... yes
  177. checking what warning flags to pass to the C compiler... -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs
  178. checking what language compliance flags to pass to the C compiler...
  179. checking for X... libraries , headers
  180. checking for gethostbyname... yes
  181. checking for connect... yes
  182. checking for remove... yes
  183. checking for shmat... yes
  184. checking for IceConnectionNumber in -lICE... yes
  185. checking for glib-mkenums... /usr/bin/glib-mkenums
  186. checking for xsltproc... /usr/bin/xsltproc
  187. checking for pkg-config... /usr/bin/pkg-config
  188. checking pkg-config is at least version 0.9.0... yes
  189. checking for BLUETOOTH... yes
  190. checking for glib-genmarshal... /usr/bin/glib-genmarshal
  191. checking for more warnings... no
  192. checking that generated files are newer than configure... done
  193. configure: creating ./config.status
  194. config.status: creating Makefile
  195. config.status: creating panels/Makefile
  196. config.status: creating panels/bluetooth/Makefile
  197. config.status: creating panels/bluetooth/cinnamon-bluetooth-properties.desktop.in
  198. config.status: creating po/Makefile.in
  199. config.status: creating files/Makefile
  200. config.status: creating config.h
  201. config.status: executing depfiles commands
  202. config.status: executing libtool commands
  203. config.status: executing po/stamp-it commands
  204. make all-recursive
  205. make[1]: Entering directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2'
  206. Making all in po
  207. make[2]: Entering directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2/po'
  208. make[2]: Nothing to be done for 'all'.
  209. make[2]: Leaving directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2/po'
  210. Making all in panels
  211. make[2]: Entering directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2/panels'
  212. Making all in bluetooth
  213. make[3]: Entering directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2/panels/bluetooth'
  214. CC cc-bluetooth-panel.lo
  215. cc-bluetooth-panel.c:35:34: fatal error: bluetooth-killswitch.h: No such file or directory
  216. #include <bluetooth-killswitch.h>
  217. ^
  218. compilation terminated.
  219. Makefile:478: recipe for target 'cc-bluetooth-panel.lo' failed
  220. make[3]: *** [cc-bluetooth-panel.lo] Error 1
  221. make[3]: Leaving directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2/panels/bluetooth'
  222. Makefile:377: recipe for target 'all-recursive' failed
  223. make[2]: *** [all-recursive] Error 1
  224. make[2]: Leaving directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2/panels'
  225. Makefile:450: recipe for target 'all-recursive' failed
  226. make[1]: *** [all-recursive] Error 1
  227. make[1]: Leaving directory '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth/src/cinnamon-bluetooth-3.8.2'
  228. Makefile:379: recipe for target 'all' failed
  229. make: *** [all] Error 2
  230. ==> ERROR: Se produjo un error en build().
  231. Cancelando...
  232. ==> ERROR: Makepkg no ha podido compilar cinnamon-bluetooth.
  233. ==> ¿Reiniciar la compilación de cinnamon-bluetooth? [s/N]
  234. ==> ------------------------------------------------------
  235. ==>
  236. [sergio@Antergos ~]$ yaourt -S cinnamon-bluetooth-git --noconfirm
  237.  
  238. ==> Descargando PKGBUILD para cinnamon-bluetooth-git desde AUR...
  239. x PKGBUILD
  240. x cinnamon-bluetooth.install
  241. Comment by gbc921 (2014-05-28 04:46)
  242. I think I have put this pkg to work again, but I can't test it as my cinnamon is not working anymore. (I'm trying to get it back [topic is on forum with id=181667] by compiling it from git, but some cinnamon git pkgs are not working as this was).
  243.  
  244. Anyway, here are the sources:
  245.  
  246. https://github.com/gbc921/aur/tree/master/working/cinnamon-bluetooth-git
  247.  
  248. Can any of you guys test to make sure that the patch is working fine, and not giving e.g. a segfault?
  249.  
  250. THanks!
  251.  
  252. Comment by eugenez (2014-05-29 16:00)
  253. gbc921, compiling is ok
  254.  
  255. but...
  256.  
  257. $ cinnamon-settings
  258. # trying to run BT settings...
  259. /usr/bin/python2: symbol lookup error: /usr/lib/cinnamon-control-center-1/panels/libbluetooth.so: undefined symbol: bluetooth_plugin_manager_init
  260.  
  261. summary: not win :(
  262.  
  263. Comment by gbc921 (2014-05-29 18:03)
  264. Thanks for testing.
  265.  
  266. I've updated again, and now the BT settings is opening. However, as Florian Gossin tested for me, it is giving error to add/connect to a BT device.
  267.  
  268. Will try to take a look at the old gnome bt 3.18 api as there is some issue with the new one: https://github.com/linuxmint/cinnamon-bluetooth/issues/4
  269.  
  270. Comment by eugenez (2014-05-30 02:11)
  271. Yes, I confirm. BT settings is opening, connection with remote is established with transmission error http://s019.radikal.ru/i630/1405/55/36708e60c2d6.png, and no files are transferred.
  272.  
  273. Comment by gbc921 (2014-05-30 16:27)
  274. Thanks for testing!
  275. I keep posting if something new happens.
  276.  
  277. cinnamon-bluetooth-git 1:7.5eed305-1 (lun jun 10 16:57:58 CDT 2013)
  278. Este paquete está huérfano
  279. (Paquete sin soporte: ¡podría ser peligroso!)
  280. ==> dependencias de cinnamon-bluetooth-git:
  281. - gtk3 (ya instalado)
  282. - cinnamon-control-center (ya instalado)
  283. - gnome-bluetooth (ya instalado)
  284. - gnome-common (ya instalado)
  285. - git (ya instalado)
  286.  
  287.  
  288. ==> Continuar compilando cinnamon-bluetooth-git? [S/n]
  289. ==> --------------------------------------------------
  290. ==>
  291. ==> Compilando e instalando el paquete
  292. ==> Creando el paquete: cinnamon-bluetooth-git 1:7.5eed305-1 (mar sep 23 04:04:05 CDT 2014)
  293. ==> Resolviendo dependencias...
  294. ==> Verificando conflictos...
  295. ==> Recibiendo fuentes...
  296. -> Clonando cinnamon-bluetooth repositorio git...
  297. Cloning into bare repository '/tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth-git/cinnamon-bluetooth'...
  298. remote: Counting objects: 151, done.
  299. remote: Compressing objects: 100% (6/6), done.
  300. remote: Total 151 (delta 0), reused 7 (delta 0)
  301. Receiving objects: 100% (151/151), 1.61 MiB | 970.00 KiB/s, done.
  302. Resolving deltas: 100% (45/45), done.
  303. Checking connectivity... done.
  304. ==> Validando el archivo fuente con sha256sums...
  305. cinnamon-bluetooth ... Saltando
  306. ==> Descomprimiendo fuentes...
  307. -> Creating working copy of cinnamon-bluetooth git repo...
  308. Cloning into 'cinnamon-bluetooth'...
  309. done.
  310. ==> Iniciando pkgver()...
  311. ==> Actualizando versión: cinnamon-bluetooth-git 1:13.18262be-1
  312. ==> Iniciando build()...
  313. /tmp/yaourt-tmp-sergio/aur-cinnamon-bluetooth-git/./PKGBUILD: línea 26: ./configure: No existe el fichero o el directorio
  314. ==> ERROR: Se produjo un error en build().
  315. Cancelando...
  316. ==> ERROR: Makepkg no ha podido compilar cinnamon-bluetooth-git.
  317. ==> ¿Reiniciar la compilación de cinnamon-bluetooth-git? [s/N]
  318. ==> ----------------------------------------------------------
  319. ==>
  320. [sergio@Antergos ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement