------
|
> [9/9] RUN kodev clean && kodev build:
|
#13 0.623 src/api-user-flights.c:132:36: error: unknown type name '__unused'; did you mean 'ossl_unused'?
|
#13 0.623 132 | static void flight_upsert_callback(__unused lcb_INSTANCE *instance, void *cookie, const lcb_RESPSTORE *resp)
|
#13 0.623 | ^~~~~~~~
|
#13 0.623 | ossl_unused
|
#13 0.652 src/api-user-flights.c: In function 'upsert_new_flight':
|
#13 0.652 src/api-user-flights.c:182:62: error: 'flight_upsert_callback' undeclared (first use in this function)
|
#13 0.652 182 | store_delegate->callback = (tcblcb_RESPDELEGATE_CALLBACK)flight_upsert_callback;
|
#13 0.652 | ^~~~~~~~~~~~~~~~~~~~~~
|
#13 0.652 src/api-user-flights.c:182:62: note: each undeclared identifier is reported only once for each function it appears in
|
#13 0.655 src/api-user-flights.c: At top level:
|
#13 0.655 src/api-user-flights.c:214:37: error: unknown type name '__unused'; did you mean 'ossl_unused'?
|
#13 0.655 214 | static void booking_subdoc_callback(__unused lcb_INSTANCE *instance, void *cookie, const lcb_RESPSUBDOC *resp)
|
#13 0.655 | ^~~~~~~~
|
#13 0.655 | ossl_unused
|
#13 0.687 src/api-user-flights.c: In function 'add_user_booking':
|
#13 0.687 src/api-user-flights.c:285:63: error: 'booking_subdoc_callback' undeclared (first use in this function)
|
#13 0.687 285 | subdoc_delegate->callback = (tcblcb_RESPDELEGATE_CALLBACK)booking_subdoc_callback;
|
#13 0.687 | ^~~~~~~~~~~~~~~~~~~~~~~
|
#13 0.689 In file included from src/api-user-flights.c:26:
|
#13 0.689 src/api-user-flights.c: In function 'tcblcb_api_user_flights_put':
|
#13 0.689 src/util.h:87:53: error: invalid use of void expression
|
#13 0.689 87 | #define IfFalseGotoDone(value, msg) IfTrueGotoDone((!(value)), msg)
|
#13 0.689 | ^
|
#13 0.689 src/util.h:82:5: note: in definition of macro 'IfTrueGotoDone'
|
#13 0.689 82 | if (value) { \
|
#13 0.689 | ^~~~~
|
#13 0.689 src/api-user-flights.c:415:5: note: in expansion of macro 'IfFalseGotoDone'
|
#13 0.689 415 | IfFalseGotoDone(
|
#13 0.689 | ^~~~~~~~~~~~~~~
|
#13 0.690 src/util.h:87:53: error: invalid use of void expression
|
#13 0.690 87 | #define IfFalseGotoDone(value, msg) IfTrueGotoDone((!(value)), msg)
|
#13 0.690 | ^
|
#13 0.690 src/util.h:82:5: note: in definition of macro 'IfTrueGotoDone'
|
#13 0.690 82 | if (value)
|
{ \ #13 0.690 | ^~~~~ #13 0.690 src/api-user-flights.c:422:5: note: in expansion of macro 'IfFalseGotoDone' #13 0.690 422 | IfFalseGotoDone( #13 0.690 | ^~~~~~~~~~~~~~~ #13 0.693 src/api-user-flights.c: At top level: #13 0.693 src/api-user-flights.c:471:41: error: unknown type name '__unused'; did you mean 'ossl_unused'? #13 0.693 471 | static void get_flight_booking_callback(__unused lcb_INSTANCE *instance, void *cookie, const lcb_RESPGET *resp) #13 0.693 | ^~~~~~~~ #13 0.693 | ossl_unused #13 0.726 src/api-user-flights.c: In function 'get_flight_booking': #13 0.726 src/api-user-flights.c:540:60: error: 'get_flight_booking_callback' undeclared (first use in this function); did you mean 'get_flight_booking'? #13 0.726 540 | get_delegate->callback = (tcblcb_RESPDELEGATE_CALLBACK)get_flight_booking_callback; #13 0.726 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ #13 0.726 | get_flight_booking #13 0.727 src/api-user-flights.c: In function 'user_bookings_subdoc_callback': #13 0.727 src/api-user-flights.c:602:66: warning: passing argument 1 of 'cJSON_GetStringValue' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #13 0.727 602 | const char *booking_id_string = cJSON_GetStringValue(booking_id); #13 0.727 | ^~~~~~~~~~ #13 0.727 In file included from src/try-cb-lcb.h:30, #13 0.727 from src/api-user-flights.c:25: #13 0.727 /usr/include/cjson/cJSON.h:177:22: note: expected 'cJSON *' \{aka 'struct cJSON *'}
|
but argument is of type 'const cJSON *' {aka 'const struct cJSON *'}
|
#13 0.727 177 | CJSON_PUBLIC(char *) cJSON_GetStringValue(cJSON *item);
|
#13 0.727 | ^~~~~~~~~~~~~~~~~~~~
|
#13 0.727 In file included from src/api-user-flights.c:26:
|
#13 0.727 src/api-user-flights.c:610:18: warning: too many arguments for format [-Wformat-extra-args]
|
#13 0.727 610 | LogDebug("User bookings subdoc result was EMPTY", NULL);
|
#13 0.727 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
#13 0.727 src/util.h:41:51: note: in definition of macro 'LogDebug'
|
#13 0.727 41 | #define LogDebug(format, ...) kore_log(LOG_DEBUG, format, _VA_ARGS_);
|
#13 0.727 | ^~~~~~
|
#13 0.729 src/api-user-flights.c: In function 'tcblcb_api_user_flights_get':
|
#13 0.729 src/util.h:87:53: error: invalid use of void expression
|
#13 0.729 87 | #define IfFalseGotoDone(value, msg) IfTrueGotoDone((!(value)), msg)
|
#13 0.729 | ^
|
#13 0.729 src/util.h:82:5: note: in definition of macro 'IfTrueGotoDone'
|
#13 0.729 82 | if (value) { \
|
#13 0.729 | ^~~~~
|
#13 0.729 src/api-user-flights.c:735:9: note: in expansion of macro 'IfFalseGotoDone'
|
#13 0.729 735 | IfFalseGotoDone(
|
#13 0.729 | ^~~~~~~~~~~~~~~
|
#13 0.729 src/util.h:87:53: error: invalid use of void expression
|
#13 0.729 87 | #define IfFalseGotoDone(value, msg) IfTrueGotoDone((!(value)), msg)
|
#13 0.729 | ^
|
#13 0.729 src/util.h:82:5: note: in definition of macro 'IfTrueGotoDone'
|
#13 0.729 82 | if (value) { \
|
#13 0.729 | ^~~~~
|
#13 0.729 src/api-user-flights.c:742:9: note: in expansion of macro 'IfFalseGotoDone'
|
#13 0.729 742 | IfFalseGotoDone(
|
#13 0.729 | ^~~~~~~~~~~~~~~
|
#13 0.742 building try-cb-lcb (dev)
|
#13 0.742 CFLAGS=-Wall -Wpedantic -Wextra -Wshadow -fPIC -Isrc -Isrc/includes -I/usr/include -DKORE_USE_PGSQL -DKORE_USE_TASKS -I/usr/include/postgresql -g -DDEBUG
|
#13 0.742 LDFLAGS=-lcouchbase -lcjson -ljwt -shared
|
#13 0.742 building asset swagger.yaml
|
#13 0.742 building asset swagger.json
|
#13 0.742 compiling api-user-flights.c
|
#13 0.742 kore build: subprocess trouble, check output
|
------
|
executor failed running [/bin/sh -c kodev clean && kodev build]: exit code: 1
|
Hakim Cassimally Sorry for the late reply, but only thing I can think of is that it was a transient issue with the state of one of the dependencies and it has since been resolved. I can no longer reproduce that problem either. It was clearly a Vue dependency conflict previously, but nothing I've tried since has been able to reproduce the problem.