DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 30 -l 45.0 -l 45.0
make  all-recursive
make[1]: Entering directory 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/build'
Making all in src
make[2]: Entering directory 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/build/src'
../arm-yoe-linux-gnueabi-libtool  --tag=CC   --mode=compile arm-yoe-linux-gnueabi-gcc  -march=armv7ve -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I..      -fno-strict-aliasing  -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers   -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0=/usr/src/debug/librelp/1.4.0-r0                      -fdebug-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0=/usr/src/debug/librelp/1.4.0-r0                      -fdebug-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/recipe-sysroot-native=    -c -o librelp_la-relp.lo `test -f 'relp.c' || echo '../../git/src/'`relp.c
arm-yoe-linux-gnueabi-libtool: compile:  arm-yoe-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../git/src -I.. -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0=/usr/src/debug/librelp/1.4.0-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0=/usr/src/debug/librelp/1.4.0-r0 -fdebug-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/recipe-sysroot-native= -c ../../git/src/relp.c  -fPIC -DPIC -o .libs/librelp_la-relp.o
../../git/src/relp.c: In function 'relpEngineCallOnGenericErr':
../../git/src/relp.c:65:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
   65 |  pThis->dbgprint("librelp: generic error: ecode %d, eobj %s,"
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:65:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'addToEpollSet':
../../git/src/relp.c:108:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  108 |  pThis->dbgprint("librelp: add socket %d to epoll set (ptr %p)\n", sock, ptr);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:108:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:112:37: error: passing argument 2 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  112 |   relpEngineCallOnGenericErr(pThis, "librelp", RELP_RET_ERR_EPOLL_CTL,
      |                                     ^~~~~~~~~
../../git/src/relp.c:55:55: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                 ~~~~~~^~~~
../../git/src/relp.c:113:4: error: passing argument 4 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  113 |    "os error (%d) during EPOLL_CTL_ADD: %s",
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:55:85: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                                               ~~~~~~^~~
../../git/src/relp.c: In function 'delFromEpollSet':
../../git/src/relp.c:133:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  133 |  pThis->dbgprint("librelp: delete sock %d from epoll set\n", epd->sock);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:133:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:137:37: error: passing argument 2 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  137 |   relpEngineCallOnGenericErr(pThis, "librelp", RELP_RET_ERR_EPOLL_CTL,
      |                                     ^~~~~~~~~
../../git/src/relp.c:55:55: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                 ~~~~~~^~~~
../../git/src/relp.c:138:4: error: passing argument 4 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  138 |    "os error (%d) during EPOLL_CTL_DEL: %s",
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:55:85: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                                               ~~~~~~^~~
../../git/src/relp.c: In function 'relpEngineSetTLSLib':
../../git/src/relp.c:346:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  346 |  pThis->dbgprint("relpEngineSetTLSLib, req lib is %d\n", tls_lib);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:346:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:369:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  369 |  pThis->dbgprint("relpEngineSetTLSLib, lib now %d, ret %d\n", pThis->tls_lib, iRet);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:369:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'doRecv':
../../git/src/relp.c:633:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  633 |   pThis->dbgprint("relp session %d iRet %d, tearing it down\n",
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:633:19: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'doSend':
../../git/src/relp.c:652:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  652 |   pThis->dbgprint("relp session %d iRet %d during send, tearing it down\n",
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:652:19: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'handleConnectionRequest':
../../git/src/relp.c:664:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  664 |  pThis->dbgprint("new connect on RELP socket #%d\n", sock);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:664:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'epoll_set_events':
../../git/src/relp.c:679:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  679 |  pThis->dbgprint("librelp: epoll_set_events sock %d, target bits %2.2x, current %2.2x\n",
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:679:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:683:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  683 |   pThis->dbgprint("librelp: epoll_set_events sock %d, setting new bits\n", sock);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:683:19: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:687:38: error: passing argument 2 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  687 |    relpEngineCallOnGenericErr(pThis, "librelp", RELP_RET_ERR_EPOLL_CTL,
      |                                      ^~~~~~~~~
../../git/src/relp.c:55:55: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                 ~~~~~~^~~~
../../git/src/relp.c:688:5: error: passing argument 4 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  688 |     "os error (%d) during EPOLL_CTL_MOD: %s",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:55:85: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                                               ~~~~~~^~~
../../git/src/relp.c: In function 'engineEventLoopInit':
../../git/src/relp.c:715:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  715 |   pThis->dbgprint("epoll_create1() could not create fd\n");
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:715:19: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'handleSessIO':
../../git/src/relp.c:769:22: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  769 |      pThis->dbgprint("relp session %d handshake iRet %d, tearing it down\n",
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:769:22: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'engineEventLoopRun':
../../git/src/relp.c:811:21: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  811 |     pThis->dbgprint("librelp: retry op requested for sock %d\n", sock);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:811:21: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:831:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  831 |   pThis->dbgprint("librelp: doing epoll_wait\n");
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:831:19: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:833:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  833 |   pThis->dbgprint("librelp: done epoll_wait, nEvents:%d\n", nEvents);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:833:19: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:847:39: error: passing argument 2 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  847 |     relpEngineCallOnGenericErr(pThis, "librelp", RELP_RET_ERR_INTERNAL,
      |                                       ^~~~~~~~~
../../git/src/relp.c:55:55: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                 ~~~~~~^~~~
../../git/src/relp.c:848:6: error: passing argument 4 of 'relpEngineCallOnGenericErr' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  848 |      "invalid epolld_type_t %d after epoll", epd->typ);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:55:85: note: expected 'char *' but argument is of type 'const char *'
   55 | relpEngineCallOnGenericErr(relpEngine_t *pThis, char *eobj, relpRetVal ecode, char *fmt, ...)
      |                                                                               ~~~~~~^~~
../../git/src/relp.c: In function 'relpEngineDispatchFrame':
../../git/src/relp.c:1056:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 1056 |  pThis->dbgprint("relp engine is dispatching frame with command '%s'\n", pFrame->cmd);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:1056:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c:1079:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 1079 |   pThis->dbgprint("invalid or not supported relp command '%s'\n", pFrame->cmd);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:1079:19: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'relpEngineCltConstruct':
../../git/src/relp.c:1102:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 1102 |  pThis->dbgprint("relp engine created new client %p\n", (void*) *ppClt);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:1102:18: note: expected 'char *' but argument is of type 'const char *'
../../git/src/relp.c: In function 'relpEngineCltDestruct':
../../git/src/relp.c:1121:18: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 1121 |  pThis->dbgprint("relp engine destructing client %p\n", (void*) *ppClt);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:1121:18: note: expected 'char *' but argument is of type 'const char *'
In file included from ../../git/src/relp.c:33:
../../git/src/relp.c: In function 'relpEngineGetVersion':
../config.h:135:17: error: return discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  135 | #define VERSION "1.4.0"
      |                 ^~~~~~~
../../git/src/relp.c:1138:10: note: in expansion of macro 'VERSION'
 1138 |   return VERSION;
      |          ^~~~~~~
../../git/src/relp.c: In function 'relpEngineSetEnableCmd':
../../git/src/relp.c:1164:19: error: passing argument 1 of 'pThis->dbgprint' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 1164 |   pThis->dbgprint("tried to set unknown command '%s' to %d\n", pszCmd, stateCmd);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../git/src/relp.c:1164:19: note: expected 'char *' but argument is of type 'const char *'
In file included from ../../git/src/relpsrv.h:37,
                 from ../../git/src/relp.c:43:
At top level:
../../git/src/tcp.h:213:17: error: 'ctx' defined but not used [-Werror=unused-variable]
  213 | static SSL_CTX *ctx;
      |                 ^~~
../../git/src/tcp.h:211:12: error: 'called_openssl_global_init' defined but not used [-Werror=unused-variable]
  211 | static int called_openssl_global_init = 0;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:521: recipe for target 'librelp_la-relp.lo' failed
make[2]: *** [librelp_la-relp.lo] Error 1
make[2]: Leaving directory 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/build/src'
Makefile:460: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/build'
Makefile:369: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/temp/run.do_compile.7677:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/librelp/1.4.0-r0/temp/log.do_compile.7677)

Error details

Submitted on:
17/07/19 15:38
Error type:
Recipe
Task:
do_compile
Recipe:
librelp
Recipe version:
1.4.0-r0
Machine:
qemuarm
Distro:
yoe-glibc-systemd-wayland
Build system:
x86_64-linux
Target system:
arm-yoe-linux-gnueabi
Host distro:
ubuntu-18.04/ubuntu-18.04
Branch:
HEAD
Commit:
328ff28084230b23ef0400b3165feff98c54b8a8
Build:
#84289
Submitter:
jenkins@abaco
Similar errors:
1
Open a bug