Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Starting build()...
- 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
- go: downloading github.com/Jguer/go-alpm v0.0.0-20200405152916-a3feea4322e9
- go: downloading golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9
- go: downloading github.com/mikkeloscar/aur v0.0.0-20200113170522-1cb4e2949656
- go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20180910220353-9c5265e1b14f
- go: downloading github.com/leonelquinteros/gotext v1.4.0
- go: downloading github.com/pkg/errors v0.9.1
- go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
- go: downloading golang.org/x/sys v0.0.0-20200610111108-226ff32320da
- github.com/Jguer/go-alpm
- net
- # net
- gcc did not produce error at completed:1
- on input:
- #line 1 "cgo-builtin-prolog"
- #include <stddef.h> /* for ptrdiff_t and size_t below */
- /* Define intgo when compiling with GCC. */
- typedef ptrdiff_t intgo;
- #define GO_CGO_GOSTRING_TYPEDEF
- typedef struct { const char *p; intgo n; } _GoString_;
- typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
- _GoString_ GoString(char *p);
- _GoString_ GoStringN(char *p, int l);
- _GoBytes_ GoBytes(void *p, int n);
- char *CString(_GoString_);
- void *CBytes(_GoBytes_);
- void *_CMalloc(size_t);
- __attribute__ ((unused))
- static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
- __attribute__ ((unused))
- static const char *_GoStringPtr(_GoString_ s) { return s.p; }
- #line 10 "/usr/lib/go/src/net/cgo_resnew.go"
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <netdb.h>
- #line 1 "cgo-generated-wrapper"
- #line 1 "not-declared"
- void __cgo_f_1_1(void) { __typeof__(char) *__cgo_undefined__1; }
- #line 1 "not-type"
- void __cgo_f_1_2(void) { char *__cgo_undefined__2; }
- #line 1 "not-int-const"
- void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (char)*1 }; }
- #line 1 "not-num-const"
- void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (char); }
- #line 1 "not-str-lit"
- void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (char); }
- #line 2 "not-declared"
- void __cgo_f_2_1(void) { __typeof__(getnameinfo) *__cgo_undefined__1; }
- #line 2 "not-type"
- void __cgo_f_2_2(void) { getnameinfo *__cgo_undefined__2; }
- #line 2 "not-int-const"
- void __cgo_f_2_3(void) { enum { __cgo_undefined__3 = (getnameinfo)*1 }; }
- #line 2 "not-num-const"
- void __cgo_f_2_4(void) { static const double __cgo_undefined__4 = (getnameinfo); }
- #line 2 "not-str-lit"
- void __cgo_f_2_5(void) { static const char __cgo_undefined__5[] = (getnameinfo); }
- #line 3 "not-declared"
- void __cgo_f_3_1(void) { __typeof__(socklen_t) *__cgo_undefined__1; }
- #line 3 "not-type"
- void __cgo_f_3_2(void) { socklen_t *__cgo_undefined__2; }
- #line 3 "not-int-const"
- void __cgo_f_3_3(void) { enum { __cgo_undefined__3 = (socklen_t)*1 }; }
- #line 3 "not-num-const"
- void __cgo_f_3_4(void) { static const double __cgo_undefined__4 = (socklen_t); }
- #line 3 "not-str-lit"
- void __cgo_f_3_5(void) { static const char __cgo_undefined__5[] = (socklen_t); }
- #line 1 "completed"
- int __cgo__1 = __cgo__2;
- full error output:
- not-int-const: In function '__cgo_f_1_3':
- not-int-const:1:60: error: invalid type argument of unary '*' (have 'int')
- not-num-const: In function '__cgo_f_1_4':
- not-num-const:1:73: error: expected expression before ';' token
- not-str-lit: In function '__cgo_f_1_5':
- not-str-lit:1:73: error: expected expression before ';' token
- not-type: In function '__cgo_f_2_2':
- not-type:2:39: error: '__cgo_undefined__2' undeclared (first use in this function)
- not-type:2:39: note: each undeclared identifier is reported only once for each function it appears in
- 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 *')
- not-int-const: In function '__cgo_f_2_3':
- 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')
- not-num-const: In function '__cgo_f_2_4':
- 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)'}
- not-str-lit: In function '__cgo_f_2_5':
- not-str-lit:2:67: error: invalid initializer
- not-int-const: In function '__cgo_f_3_3':
- not-int-const:3:65: error: invalid type argument of unary '*' (have 'int')
- not-int-const:3:33: error: enumerator value for '__cgo_undefined__3' is not an integer constant
- not-num-const: In function '__cgo_f_3_4':
- not-num-const:3:78: error: expected expression before ';' token
- not-num-const:3:67: error: initializer element is not constant
- not-str-lit: In function '__cgo_f_3_5':
- not-str-lit:3:78: error: expected expression before ';' token
- not-str-lit:3:67: error: invalid initializer
- completed: At top level:
- completed:1:16: error: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?
- completed:1:16: error: initializer element is not constant
- # github.com/Jguer/go-alpm
- gcc did not produce error at completed:1
- on input:
- #line 1 "cgo-builtin-prolog"
- #include <stddef.h> /* for ptrdiff_t and size_t below */
- /* Define intgo when compiling with GCC. */
- typedef ptrdiff_t intgo;
- #define GO_CGO_GOSTRING_TYPEDEF
- typedef struct { const char *p; intgo n; } _GoString_;
- typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
- _GoString_ GoString(char *p);
- _GoString_ GoStringN(char *p, int l);
- _GoBytes_ GoBytes(void *p, int n);
- char *CString(_GoString_);
- void *CBytes(_GoBytes_);
- void *_CMalloc(size_t);
- __attribute__ ((unused))
- static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
- __attribute__ ((unused))
- static const char *_GoStringPtr(_GoString_ s) { return s.p; }
- #line 9 "/home/xavion/.cache/yay/yay/src/gopath/pkg/mod/github.com/!jguer/[email protected]/alpm.go"
- #include <alpm.h>
- #line 1 "cgo-generated-wrapper"
- #line 1 "not-declared"
- void __cgo_f_1_1(void) { __typeof__(CString) *__cgo_undefined__1; }
- #line 1 "not-type"
- void __cgo_f_1_2(void) { CString *__cgo_undefined__2; }
- #line 1 "not-int-const"
- void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (CString)*1 }; }
- #line 1 "not-num-const"
- void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (CString); }
- #line 1 "not-str-lit"
- void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (CString); }
- #line 2 "not-declared"
- void __cgo_f_2_1(void) { __typeof__(GoString) *__cgo_undefined__1; }
- #line 2 "not-type"
- void __cgo_f_2_2(void) { GoString *__cgo_undefined__2; }
- #line 2 "not-int-const"
- void __cgo_f_2_3(void) { enum { __cgo_undefined__3 = (GoString)*1 }; }
- #line 2 "not-num-const"
- void __cgo_f_2_4(void) { static const double __cgo_undefined__4 = (GoString); }
- #line 2 "not-str-lit"
- void __cgo_f_2_5(void) { static const char __cgo_undefined__5[] = (GoString); }
- #line 3 "not-declared"
- void __cgo_f_3_1(void) { __typeof__(alpm_errno) *__cgo_undefined__1; }
- #line 3 "not-type"
- void __cgo_f_3_2(void) { alpm_errno *__cgo_undefined__2; }
- #line 3 "not-int-const"
- void __cgo_f_3_3(void) { enum { __cgo_undefined__3 = (alpm_errno)*1 }; }
- #line 3 "not-num-const"
- void __cgo_f_3_4(void) { static const double __cgo_undefined__4 = (alpm_errno); }
- #line 3 "not-str-lit"
- void __cgo_f_3_5(void) { static const char __cgo_undefined__5[] = (alpm_errno); }
- #line 4 "not-declared"
- void __cgo_f_4_1(void) { __typeof__(alpm_errno_t) *__cgo_undefined__1; }
- #line 4 "not-type"
- void __cgo_f_4_2(void) { alpm_errno_t *__cgo_undefined__2; }
- #line 4 "not-int-const"
- void __cgo_f_4_3(void) { enum { __cgo_undefined__3 = (alpm_errno_t)*1 }; }
- #line 4 "not-num-const"
- void __cgo_f_4_4(void) { static const double __cgo_undefined__4 = (alpm_errno_t); }
- #line 4 "not-str-lit"
- void __cgo_f_4_5(void) { static const char __cgo_undefined__5[] = (alpm_errno_t); }
- #line 5 "not-declared"
- void __cgo_f_5_1(void) { __typeof__(alpm_initialize) *__cgo_undefined__1; }
- #line 5 "not-type"
- void __cgo_f_5_2(void) { alpm_initialize *__cgo_undefined__2; }
- #line 5 "not-int-const"
- void __cgo_f_5_3(void) { enum { __cgo_undefined__3 = (alpm_initialize)*1 }; }
- #line 5 "not-num-const"
- void __cgo_f_5_4(void) { static const double __cgo_undefined__4 = (alpm_initialize); }
- #line 5 "not-str-lit"
- void __cgo_f_5_5(void) { static const char __cgo_undefined__5[] = (alpm_initialize); }
- #line 6 "not-declared"
- void __cgo_f_6_1(void) { __typeof__(alpm_release) *__cgo_undefined__1; }
- #line 6 "not-type"
- void __cgo_f_6_2(void) { alpm_release *__cgo_undefined__2; }
- #line 6 "not-int-const"
- void __cgo_f_6_3(void) { enum { __cgo_undefined__3 = (alpm_release)*1 }; }
- #line 6 "not-num-const"
- void __cgo_f_6_4(void) { static const double __cgo_undefined__4 = (alpm_release); }
- #line 6 "not-str-lit"
- void __cgo_f_6_5(void) { static const char __cgo_undefined__5[] = (alpm_release); }
- #line 7 "not-declared"
- void __cgo_f_7_1(void) { __typeof__(alpm_version) *__cgo_undefined__1; }
- #line 7 "not-type"
- void __cgo_f_7_2(void) { alpm_version *__cgo_undefined__2; }
- #line 7 "not-int-const"
- void __cgo_f_7_3(void) { enum { __cgo_undefined__3 = (alpm_version)*1 }; }
- #line 7 "not-num-const"
- void __cgo_f_7_4(void) { static const double __cgo_undefined__4 = (alpm_version); }
- #line 7 "not-str-lit"
- void __cgo_f_7_5(void) { static const char __cgo_undefined__5[] = (alpm_version); }
- #line 8 "not-declared"
- void __cgo_f_8_1(void) { __typeof__(free) *__cgo_undefined__1; }
- #line 8 "not-type"
- void __cgo_f_8_2(void) { free *__cgo_undefined__2; }
- #line 8 "not-int-const"
- void __cgo_f_8_3(void) { enum { __cgo_undefined__3 = (free)*1 }; }
- #line 8 "not-num-const"
- void __cgo_f_8_4(void) { static const double __cgo_undefined__4 = (free); }
- #line 8 "not-str-lit"
- void __cgo_f_8_5(void) { static const char __cgo_undefined__5[] = (free); }
- #line 1 "completed"
- int __cgo__1 = __cgo__2;
- full error output:
- not-type: In function '__cgo_f_1_2':
- not-type:1:35: error: '__cgo_undefined__2' undeclared (first use in this function)
- not-type:1:35: note: each undeclared identifier is reported only once for each function it appears in
- not-int-const: In function '__cgo_f_1_3':
- not-int-const:1:63: error: invalid operands to binary * (have 'char * (*)(_GoString_)' and 'int')
- not-num-const: In function '__cgo_f_1_4':
- not-num-const:1:67: error: incompatible types when initializing type 'double' using type 'char * (*)(_GoString_)'
- not-str-lit: In function '__cgo_f_1_5':
- not-str-lit:1:67: error: invalid initializer
- not-type: In function '__cgo_f_2_2':
- not-type:2:36: error: '__cgo_undefined__2' undeclared (first use in this function)
- not-type:2:35: error: invalid operands to binary * (have '_GoString_ (*)(char *)' and 'const char *')
- not-int-const: In function '__cgo_f_2_3':
- not-int-const:2:64: error: invalid operands to binary * (have '_GoString_ (*)(char *)' and 'int')
- not-num-const: In function '__cgo_f_2_4':
- not-num-const:2:67: error: incompatible types when initializing type 'double' using type '_GoString_ (*)(char *)'
- not-str-lit: In function '__cgo_f_2_5':
- not-str-lit:2:67: error: invalid initializer
- not-type: In function '__cgo_f_3_2':
- not-type:3:38: error: '__cgo_undefined__2' undeclared (first use in this function)
- 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 *')
- not-int-const: In function '__cgo_f_3_3':
- 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')
- not-num-const: In function '__cgo_f_3_4':
- 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 *)'}
- not-str-lit: In function '__cgo_f_3_5':
- not-str-lit:3:67: error: invalid initializer
- not-int-const: In function '__cgo_f_4_3':
- not-int-const:4:68: error: invalid type argument of unary '*' (have 'int')
- not-int-const:4:33: error: enumerator value for '__cgo_undefined__3' is not an integer constant
- not-num-const: In function '__cgo_f_4_4':
- not-num-const:4:81: error: expected expression before ';' token
- not-num-const:4:67: error: initializer element is not constant
- not-str-lit: In function '__cgo_f_4_5':
- not-str-lit:4:81: error: expected expression before ';' token
- not-str-lit:4:67: error: invalid initializer
- not-type: In function '__cgo_f_5_2':
- not-type:5:43: error: '__cgo_undefined__2' undeclared (first use in this function)
- 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 *')
- not-int-const: In function '__cgo_f_5_3':
- 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')
- not-num-const: In function '__cgo_f_5_4':
- 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 *)'}
- not-str-lit: In function '__cgo_f_5_5':
- not-str-lit:5:67: error: invalid initializer
- not-type: In function '__cgo_f_6_2':
- not-type:6:40: error: '__cgo_undefined__2' undeclared (first use in this function)
- not-type:6:39: error: invalid operands to binary * (have 'int (*)(alpm_handle_t *)' and 'const char *')
- not-int-const: In function '__cgo_f_6_3':
- not-int-const:6:68: error: invalid operands to binary * (have 'int (*)(alpm_handle_t *)' and 'int')
- not-num-const: In function '__cgo_f_6_4':
- not-num-const:6:67: error: incompatible types when initializing type 'double' using type 'int (*)(alpm_handle_t *)'
- not-str-lit: In function '__cgo_f_6_5':
- not-str-lit:6:67: error: invalid initializer
- not-type: In function '__cgo_f_7_2':
- not-type:7:40: error: '__cgo_undefined__2' undeclared (first use in this function)
- not-type:7:39: error: invalid operands to binary * (have 'const char * (*)(void)' and 'const char *')
- not-int-const: In function '__cgo_f_7_3':
- not-int-const:7:68: error: invalid operands to binary * (have 'const char * (*)(void)' and 'int')
- not-num-const: In function '__cgo_f_7_4':
- not-num-const:7:67: error: incompatible types when initializing type 'double' using type 'const char * (*)(void)'
- not-str-lit: In function '__cgo_f_7_5':
- not-str-lit:7:67: error: invalid initializer
- not-type: In function '__cgo_f_8_2':
- not-type:8:32: error: '__cgo_undefined__2' undeclared (first use in this function)
- not-type:8:31: error: invalid operands to binary * (have 'void (*)(void *)' and 'const char *')
- not-int-const: In function '__cgo_f_8_3':
- not-int-const:8:60: error: invalid operands to binary * (have 'void (*)(void *)' and 'int')
- not-num-const: In function '__cgo_f_8_4':
- not-num-const:8:67: error: incompatible types when initializing type 'double' using type 'void (*)(void *)'
- not-str-lit: In function '__cgo_f_8_5':
- not-str-lit:8:67: error: invalid initializer
- completed: At top level:
- completed:1:16: error: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?
- completed:1:16: error: initializer element is not constant
- make: *** [Makefile:134: yay] Error 2
- ==> ERROR: A failure occurred in build().
- Aborting...
Add Comment
Please, Sign In to add comment