Guest User

yay 10.0.1-1 build output

a guest
Jun 26th, 2020
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.87 KB | None | 0 0
  1. ==> Starting build()...
  2. go build -v -trimpath -mod=readonly -modcacherw -ldflags '-s -w -extldflags "-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -X "main.yayVersion=10.0.1" -X "main.localePath=/usr/share/locale/"' -buildmode=pie -o yay
  3. go: downloading github.com/Jguer/go-alpm v0.0.0-20200405152916-a3feea4322e9
  4. go: downloading golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9
  5. go: downloading github.com/mikkeloscar/aur v0.0.0-20200113170522-1cb4e2949656
  6. go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20180910220353-9c5265e1b14f
  7. go: downloading github.com/leonelquinteros/gotext v1.4.0
  8. go: downloading github.com/pkg/errors v0.9.1
  9. go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
  10. go: downloading golang.org/x/sys v0.0.0-20200610111108-226ff32320da
  11. github.com/Jguer/go-alpm
  12. net
  13. # net
  14. gcc did not produce error at completed:1
  15. on input:
  16.  
  17. #line 1 "cgo-builtin-prolog"
  18. #include <stddef.h> /* for ptrdiff_t and size_t below */
  19.  
  20. /* Define intgo when compiling with GCC. */
  21. typedef ptrdiff_t intgo;
  22.  
  23. #define GO_CGO_GOSTRING_TYPEDEF
  24. typedef struct { const char *p; intgo n; } _GoString_;
  25. typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
  26. _GoString_ GoString(char *p);
  27. _GoString_ GoStringN(char *p, int l);
  28. _GoBytes_ GoBytes(void *p, int n);
  29. char *CString(_GoString_);
  30. void *CBytes(_GoBytes_);
  31. void *_CMalloc(size_t);
  32.  
  33. __attribute__ ((unused))
  34. static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
  35.  
  36. __attribute__ ((unused))
  37. static const char *_GoStringPtr(_GoString_ s) { return s.p; }
  38. #line 10 "/usr/lib/go/src/net/cgo_resnew.go"
  39.  
  40. #include <sys/types.h>
  41. #include <sys/socket.h>
  42.  
  43. #include <netdb.h>
  44.  
  45. #line 1 "cgo-generated-wrapper"
  46. #line 1 "not-declared"
  47. void __cgo_f_1_1(void) { __typeof__(char) *__cgo_undefined__1; }
  48. #line 1 "not-type"
  49. void __cgo_f_1_2(void) { char *__cgo_undefined__2; }
  50. #line 1 "not-int-const"
  51. void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (char)*1 }; }
  52. #line 1 "not-num-const"
  53. void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (char); }
  54. #line 1 "not-str-lit"
  55. void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (char); }
  56. #line 2 "not-declared"
  57. void __cgo_f_2_1(void) { __typeof__(getnameinfo) *__cgo_undefined__1; }
  58. #line 2 "not-type"
  59. void __cgo_f_2_2(void) { getnameinfo *__cgo_undefined__2; }
  60. #line 2 "not-int-const"
  61. void __cgo_f_2_3(void) { enum { __cgo_undefined__3 = (getnameinfo)*1 }; }
  62. #line 2 "not-num-const"
  63. void __cgo_f_2_4(void) { static const double __cgo_undefined__4 = (getnameinfo); }
  64. #line 2 "not-str-lit"
  65. void __cgo_f_2_5(void) { static const char __cgo_undefined__5[] = (getnameinfo); }
  66. #line 3 "not-declared"
  67. void __cgo_f_3_1(void) { __typeof__(socklen_t) *__cgo_undefined__1; }
  68. #line 3 "not-type"
  69. void __cgo_f_3_2(void) { socklen_t *__cgo_undefined__2; }
  70. #line 3 "not-int-const"
  71. void __cgo_f_3_3(void) { enum { __cgo_undefined__3 = (socklen_t)*1 }; }
  72. #line 3 "not-num-const"
  73. void __cgo_f_3_4(void) { static const double __cgo_undefined__4 = (socklen_t); }
  74. #line 3 "not-str-lit"
  75. void __cgo_f_3_5(void) { static const char __cgo_undefined__5[] = (socklen_t); }
  76. #line 1 "completed"
  77. int __cgo__1 = __cgo__2;
  78.  
  79. full error output:
  80. not-int-const: In function '__cgo_f_1_3':
  81. not-int-const:1:60: error: invalid type argument of unary '*' (have 'int')
  82. not-num-const: In function '__cgo_f_1_4':
  83. not-num-const:1:73: error: expected expression before ';' token
  84. not-str-lit: In function '__cgo_f_1_5':
  85. not-str-lit:1:73: error: expected expression before ';' token
  86. not-type: In function '__cgo_f_2_2':
  87. not-type:2:39: error: '__cgo_undefined__2' undeclared (first use in this function)
  88. not-type:2:39: note: each undeclared identifier is reported only once for each function it appears in
  89. not-type:2:38: error: invalid operands to binary * (have 'int (*)(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int (*)(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'} and 'const char *')
  90. not-int-const: In function '__cgo_f_2_3':
  91. not-int-const:2:67: error: invalid operands to binary * (have 'int (*)(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int (*)(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'} and 'int')
  92. not-num-const: In function '__cgo_f_2_4':
  93. not-num-const:2:67: error: incompatible types when initializing type 'double' using type 'int (*)(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int (*)(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
  94. not-str-lit: In function '__cgo_f_2_5':
  95. not-str-lit:2:67: error: invalid initializer
  96. not-int-const: In function '__cgo_f_3_3':
  97. not-int-const:3:65: error: invalid type argument of unary '*' (have 'int')
  98. not-int-const:3:33: error: enumerator value for '__cgo_undefined__3' is not an integer constant
  99. not-num-const: In function '__cgo_f_3_4':
  100. not-num-const:3:78: error: expected expression before ';' token
  101. not-num-const:3:67: error: initializer element is not constant
  102. not-str-lit: In function '__cgo_f_3_5':
  103. not-str-lit:3:78: error: expected expression before ';' token
  104. not-str-lit:3:67: error: invalid initializer
  105. completed: At top level:
  106. completed:1:16: error: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?
  107. completed:1:16: error: initializer element is not constant
  108.  
  109. # github.com/Jguer/go-alpm
  110. gcc did not produce error at completed:1
  111. on input:
  112.  
  113. #line 1 "cgo-builtin-prolog"
  114. #include <stddef.h> /* for ptrdiff_t and size_t below */
  115.  
  116. /* Define intgo when compiling with GCC. */
  117. typedef ptrdiff_t intgo;
  118.  
  119. #define GO_CGO_GOSTRING_TYPEDEF
  120. typedef struct { const char *p; intgo n; } _GoString_;
  121. typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
  122. _GoString_ GoString(char *p);
  123. _GoString_ GoStringN(char *p, int l);
  124. _GoBytes_ GoBytes(void *p, int n);
  125. char *CString(_GoString_);
  126. void *CBytes(_GoBytes_);
  127. void *_CMalloc(size_t);
  128.  
  129. __attribute__ ((unused))
  130. static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
  131.  
  132. __attribute__ ((unused))
  133. static const char *_GoStringPtr(_GoString_ s) { return s.p; }
  134. #line 9 "/home/xavion/.cache/yay/yay/src/gopath/pkg/mod/github.com/!jguer/[email protected]/alpm.go"
  135.  
  136. #include <alpm.h>
  137.  
  138. #line 1 "cgo-generated-wrapper"
  139. #line 1 "not-declared"
  140. void __cgo_f_1_1(void) { __typeof__(CString) *__cgo_undefined__1; }
  141. #line 1 "not-type"
  142. void __cgo_f_1_2(void) { CString *__cgo_undefined__2; }
  143. #line 1 "not-int-const"
  144. void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (CString)*1 }; }
  145. #line 1 "not-num-const"
  146. void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (CString); }
  147. #line 1 "not-str-lit"
  148. void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (CString); }
  149. #line 2 "not-declared"
  150. void __cgo_f_2_1(void) { __typeof__(GoString) *__cgo_undefined__1; }
  151. #line 2 "not-type"
  152. void __cgo_f_2_2(void) { GoString *__cgo_undefined__2; }
  153. #line 2 "not-int-const"
  154. void __cgo_f_2_3(void) { enum { __cgo_undefined__3 = (GoString)*1 }; }
  155. #line 2 "not-num-const"
  156. void __cgo_f_2_4(void) { static const double __cgo_undefined__4 = (GoString); }
  157. #line 2 "not-str-lit"
  158. void __cgo_f_2_5(void) { static const char __cgo_undefined__5[] = (GoString); }
  159. #line 3 "not-declared"
  160. void __cgo_f_3_1(void) { __typeof__(alpm_errno) *__cgo_undefined__1; }
  161. #line 3 "not-type"
  162. void __cgo_f_3_2(void) { alpm_errno *__cgo_undefined__2; }
  163. #line 3 "not-int-const"
  164. void __cgo_f_3_3(void) { enum { __cgo_undefined__3 = (alpm_errno)*1 }; }
  165. #line 3 "not-num-const"
  166. void __cgo_f_3_4(void) { static const double __cgo_undefined__4 = (alpm_errno); }
  167. #line 3 "not-str-lit"
  168. void __cgo_f_3_5(void) { static const char __cgo_undefined__5[] = (alpm_errno); }
  169. #line 4 "not-declared"
  170. void __cgo_f_4_1(void) { __typeof__(alpm_errno_t) *__cgo_undefined__1; }
  171. #line 4 "not-type"
  172. void __cgo_f_4_2(void) { alpm_errno_t *__cgo_undefined__2; }
  173. #line 4 "not-int-const"
  174. void __cgo_f_4_3(void) { enum { __cgo_undefined__3 = (alpm_errno_t)*1 }; }
  175. #line 4 "not-num-const"
  176. void __cgo_f_4_4(void) { static const double __cgo_undefined__4 = (alpm_errno_t); }
  177. #line 4 "not-str-lit"
  178. void __cgo_f_4_5(void) { static const char __cgo_undefined__5[] = (alpm_errno_t); }
  179. #line 5 "not-declared"
  180. void __cgo_f_5_1(void) { __typeof__(alpm_initialize) *__cgo_undefined__1; }
  181. #line 5 "not-type"
  182. void __cgo_f_5_2(void) { alpm_initialize *__cgo_undefined__2; }
  183. #line 5 "not-int-const"
  184. void __cgo_f_5_3(void) { enum { __cgo_undefined__3 = (alpm_initialize)*1 }; }
  185. #line 5 "not-num-const"
  186. void __cgo_f_5_4(void) { static const double __cgo_undefined__4 = (alpm_initialize); }
  187. #line 5 "not-str-lit"
  188. void __cgo_f_5_5(void) { static const char __cgo_undefined__5[] = (alpm_initialize); }
  189. #line 6 "not-declared"
  190. void __cgo_f_6_1(void) { __typeof__(alpm_release) *__cgo_undefined__1; }
  191. #line 6 "not-type"
  192. void __cgo_f_6_2(void) { alpm_release *__cgo_undefined__2; }
  193. #line 6 "not-int-const"
  194. void __cgo_f_6_3(void) { enum { __cgo_undefined__3 = (alpm_release)*1 }; }
  195. #line 6 "not-num-const"
  196. void __cgo_f_6_4(void) { static const double __cgo_undefined__4 = (alpm_release); }
  197. #line 6 "not-str-lit"
  198. void __cgo_f_6_5(void) { static const char __cgo_undefined__5[] = (alpm_release); }
  199. #line 7 "not-declared"
  200. void __cgo_f_7_1(void) { __typeof__(alpm_version) *__cgo_undefined__1; }
  201. #line 7 "not-type"
  202. void __cgo_f_7_2(void) { alpm_version *__cgo_undefined__2; }
  203. #line 7 "not-int-const"
  204. void __cgo_f_7_3(void) { enum { __cgo_undefined__3 = (alpm_version)*1 }; }
  205. #line 7 "not-num-const"
  206. void __cgo_f_7_4(void) { static const double __cgo_undefined__4 = (alpm_version); }
  207. #line 7 "not-str-lit"
  208. void __cgo_f_7_5(void) { static const char __cgo_undefined__5[] = (alpm_version); }
  209. #line 8 "not-declared"
  210. void __cgo_f_8_1(void) { __typeof__(free) *__cgo_undefined__1; }
  211. #line 8 "not-type"
  212. void __cgo_f_8_2(void) { free *__cgo_undefined__2; }
  213. #line 8 "not-int-const"
  214. void __cgo_f_8_3(void) { enum { __cgo_undefined__3 = (free)*1 }; }
  215. #line 8 "not-num-const"
  216. void __cgo_f_8_4(void) { static const double __cgo_undefined__4 = (free); }
  217. #line 8 "not-str-lit"
  218. void __cgo_f_8_5(void) { static const char __cgo_undefined__5[] = (free); }
  219. #line 1 "completed"
  220. int __cgo__1 = __cgo__2;
  221.  
  222. full error output:
  223. not-type: In function '__cgo_f_1_2':
  224. not-type:1:35: error: '__cgo_undefined__2' undeclared (first use in this function)
  225. not-type:1:35: note: each undeclared identifier is reported only once for each function it appears in
  226. not-int-const: In function '__cgo_f_1_3':
  227. not-int-const:1:63: error: invalid operands to binary * (have 'char * (*)(_GoString_)' and 'int')
  228. not-num-const: In function '__cgo_f_1_4':
  229. not-num-const:1:67: error: incompatible types when initializing type 'double' using type 'char * (*)(_GoString_)'
  230. not-str-lit: In function '__cgo_f_1_5':
  231. not-str-lit:1:67: error: invalid initializer
  232. not-type: In function '__cgo_f_2_2':
  233. not-type:2:36: error: '__cgo_undefined__2' undeclared (first use in this function)
  234. not-type:2:35: error: invalid operands to binary * (have '_GoString_ (*)(char *)' and 'const char *')
  235. not-int-const: In function '__cgo_f_2_3':
  236. not-int-const:2:64: error: invalid operands to binary * (have '_GoString_ (*)(char *)' and 'int')
  237. not-num-const: In function '__cgo_f_2_4':
  238. not-num-const:2:67: error: incompatible types when initializing type 'double' using type '_GoString_ (*)(char *)'
  239. not-str-lit: In function '__cgo_f_2_5':
  240. not-str-lit:2:67: error: invalid initializer
  241. not-type: In function '__cgo_f_3_2':
  242. not-type:3:38: error: '__cgo_undefined__2' undeclared (first use in this function)
  243. not-type:3:37: error: invalid operands to binary * (have 'alpm_errno_t (*)(alpm_handle_t *)' {aka 'enum _alpm_errno_t (*)(alpm_handle_t *)'} and 'const char *')
  244. not-int-const: In function '__cgo_f_3_3':
  245. not-int-const:3:66: error: invalid operands to binary * (have 'alpm_errno_t (*)(alpm_handle_t *)' {aka 'enum _alpm_errno_t (*)(alpm_handle_t *)'} and 'int')
  246. not-num-const: In function '__cgo_f_3_4':
  247. not-num-const:3:67: error: incompatible types when initializing type 'double' using type 'alpm_errno_t (*)(alpm_handle_t *)' {aka 'enum _alpm_errno_t (*)(alpm_handle_t *)'}
  248. not-str-lit: In function '__cgo_f_3_5':
  249. not-str-lit:3:67: error: invalid initializer
  250. not-int-const: In function '__cgo_f_4_3':
  251. not-int-const:4:68: error: invalid type argument of unary '*' (have 'int')
  252. not-int-const:4:33: error: enumerator value for '__cgo_undefined__3' is not an integer constant
  253. not-num-const: In function '__cgo_f_4_4':
  254. not-num-const:4:81: error: expected expression before ';' token
  255. not-num-const:4:67: error: initializer element is not constant
  256. not-str-lit: In function '__cgo_f_4_5':
  257. not-str-lit:4:81: error: expected expression before ';' token
  258. not-str-lit:4:67: error: invalid initializer
  259. not-type: In function '__cgo_f_5_2':
  260. not-type:5:43: error: '__cgo_undefined__2' undeclared (first use in this function)
  261. not-type:5:42: error: invalid operands to binary * (have 'alpm_handle_t * (*)(const char *, const char *, alpm_errno_t *)' {aka 'alpm_handle_t * (*)(const char *, const char *, enum _alpm_errno_t *)'} and 'const char *')
  262. not-int-const: In function '__cgo_f_5_3':
  263. not-int-const:5:71: error: invalid operands to binary * (have 'alpm_handle_t * (*)(const char *, const char *, alpm_errno_t *)' {aka 'alpm_handle_t * (*)(const char *, const char *, enum _alpm_errno_t *)'} and 'int')
  264. not-num-const: In function '__cgo_f_5_4':
  265. not-num-const:5:67: error: incompatible types when initializing type 'double' using type 'alpm_handle_t * (*)(const char *, const char *, alpm_errno_t *)' {aka 'alpm_handle_t * (*)(const char *, const char *, enum _alpm_errno_t *)'}
  266. not-str-lit: In function '__cgo_f_5_5':
  267. not-str-lit:5:67: error: invalid initializer
  268. not-type: In function '__cgo_f_6_2':
  269. not-type:6:40: error: '__cgo_undefined__2' undeclared (first use in this function)
  270. not-type:6:39: error: invalid operands to binary * (have 'int (*)(alpm_handle_t *)' and 'const char *')
  271. not-int-const: In function '__cgo_f_6_3':
  272. not-int-const:6:68: error: invalid operands to binary * (have 'int (*)(alpm_handle_t *)' and 'int')
  273. not-num-const: In function '__cgo_f_6_4':
  274. not-num-const:6:67: error: incompatible types when initializing type 'double' using type 'int (*)(alpm_handle_t *)'
  275. not-str-lit: In function '__cgo_f_6_5':
  276. not-str-lit:6:67: error: invalid initializer
  277. not-type: In function '__cgo_f_7_2':
  278. not-type:7:40: error: '__cgo_undefined__2' undeclared (first use in this function)
  279. not-type:7:39: error: invalid operands to binary * (have 'const char * (*)(void)' and 'const char *')
  280. not-int-const: In function '__cgo_f_7_3':
  281. not-int-const:7:68: error: invalid operands to binary * (have 'const char * (*)(void)' and 'int')
  282. not-num-const: In function '__cgo_f_7_4':
  283. not-num-const:7:67: error: incompatible types when initializing type 'double' using type 'const char * (*)(void)'
  284. not-str-lit: In function '__cgo_f_7_5':
  285. not-str-lit:7:67: error: invalid initializer
  286. not-type: In function '__cgo_f_8_2':
  287. not-type:8:32: error: '__cgo_undefined__2' undeclared (first use in this function)
  288. not-type:8:31: error: invalid operands to binary * (have 'void (*)(void *)' and 'const char *')
  289. not-int-const: In function '__cgo_f_8_3':
  290. not-int-const:8:60: error: invalid operands to binary * (have 'void (*)(void *)' and 'int')
  291. not-num-const: In function '__cgo_f_8_4':
  292. not-num-const:8:67: error: incompatible types when initializing type 'double' using type 'void (*)(void *)'
  293. not-str-lit: In function '__cgo_f_8_5':
  294. not-str-lit:8:67: error: invalid initializer
  295. completed: At top level:
  296. completed:1:16: error: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?
  297. completed:1:16: error: initializer element is not constant
  298.  
  299. make: *** [Makefile:134: yay] Error 2
  300. ==> ERROR: A failure occurred in build().
  301. Aborting...
Add Comment
Please, Sign In to add comment