Package Details: libubox r529.g6339204-1

Git Clone URL: https://aur.archlinux.org/libubox.git (read-only, click to copy)
Package Base: libubox
Description: C utility functions for OpenWrt
Upstream URL: https://openwrt.org/docs/techref/libubox
Licenses: ISC
Submitter: zorun
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 2
Popularity: 0.000000
First Submitted: 2017-09-08 09:47 (UTC)
Last Updated: 2024-01-08 18:29 (UTC)

Latest Comments

Chocobo1 commented on 2024-01-08 18:29 (UTC)

Fails to build for me with error: implicit declaration of function ‘luaI_openlib’; did you mean ‘luaL_openlibs’? [-Werror=implicit-function-declaration] and subsequent errors:

Should be fixed now.

dreieck commented on 2024-01-08 17:51 (UTC)

Fails to build for me with error: implicit declaration of function ‘luaI_openlib’; did you mean ‘luaL_openlibs’? [-Werror=implicit-function-declaration] and subsequent errors:

[ 90%] Building C object lua/CMakeFiles/uloop_lua.dir/uloop.c.o
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c: In function ‘ul_create_userdata’:
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:70:9: error: implicit declaration of function ‘luaI_openlib’; did you mean ‘luaL_openlibs’? [-Werror=implicit-function-declaration]
   70 |         luaI_openlib(L, NULL, reg, 1);
      |         ^~~~~~~~~~~~
      |         luaL_openlibs
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c: In function ‘ul_process’:
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:354:28: error: implicit declaration of function ‘lua_objlen’; did you mean ‘lua_len’? [-Werror=implicit-function-declaration]
  354 |                 int argn = lua_objlen(L, -3);
      |                            ^~~~~~~~~~
      |                            lua_len
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c: At top level:
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:600:8: error: unknown type name ‘luaL_reg’
  600 | static luaL_reg uloop_func[] = {
      |        ^~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:9: error: braces around scalar initializer [-Werror]
  601 |         {"init", ul_init},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:9: note: (near initialization for ‘uloop_func[0]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  601 |         {"init", ul_init},
      |          ^~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:10: note: (near initialization for ‘uloop_func[0]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:10: note: (near initialization for ‘uloop_func[0]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:18: error: excess elements in scalar initializer [-Werror]
  601 |         {"init", ul_init},
      |                  ^~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:601:18: note: (near initialization for ‘uloop_func[0]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:9: error: braces around scalar initializer [-Werror]
  602 |         {"run", ul_run},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:9: note: (near initialization for ‘uloop_func[1]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  602 |         {"run", ul_run},
      |          ^~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:10: note: (near initialization for ‘uloop_func[1]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:10: note: (near initialization for ‘uloop_func[1]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:17: error: excess elements in scalar initializer [-Werror]
  602 |         {"run", ul_run},
      |                 ^~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:602:17: note: (near initialization for ‘uloop_func[1]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:9: error: braces around scalar initializer [-Werror]
  603 |         {"timer", ul_timer},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:9: note: (near initialization for ‘uloop_func[2]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  603 |         {"timer", ul_timer},
      |          ^~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:10: note: (near initialization for ‘uloop_func[2]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:10: note: (near initialization for ‘uloop_func[2]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:19: error: excess elements in scalar initializer [-Werror]
  603 |         {"timer", ul_timer},
      |                   ^~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:603:19: note: (near initialization for ‘uloop_func[2]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:9: error: braces around scalar initializer [-Werror]
  604 |         {"process", ul_process},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:9: note: (near initialization for ‘uloop_func[3]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  604 |         {"process", ul_process},
      |          ^~~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:10: note: (near initialization for ‘uloop_func[3]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:10: note: (near initialization for ‘uloop_func[3]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:21: error: excess elements in scalar initializer [-Werror]
  604 |         {"process", ul_process},
      |                     ^~~~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:604:21: note: (near initialization for ‘uloop_func[3]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:9: error: braces around scalar initializer [-Werror]
  605 |         {"fd_add", ul_ufd_add},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:9: note: (near initialization for ‘uloop_func[4]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  605 |         {"fd_add", ul_ufd_add},
      |          ^~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:10: note: (near initialization for ‘uloop_func[4]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:10: note: (near initialization for ‘uloop_func[4]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:20: error: excess elements in scalar initializer [-Werror]
  605 |         {"fd_add", ul_ufd_add},
      |                    ^~~~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:605:20: note: (near initialization for ‘uloop_func[4]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:9: error: braces around scalar initializer [-Werror]
  606 |         {"interval", ul_interval},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:9: note: (near initialization for ‘uloop_func[5]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  606 |         {"interval", ul_interval},
      |          ^~~~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:10: note: (near initialization for ‘uloop_func[5]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:10: note: (near initialization for ‘uloop_func[5]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:22: error: excess elements in scalar initializer [-Werror]
  606 |         {"interval", ul_interval},
      |                      ^~~~~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:606:22: note: (near initialization for ‘uloop_func[5]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:9: error: braces around scalar initializer [-Werror]
  607 |         {"signal", ul_signal},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:9: note: (near initialization for ‘uloop_func[6]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  607 |         {"signal", ul_signal},
      |          ^~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:10: note: (near initialization for ‘uloop_func[6]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:10: note: (near initialization for ‘uloop_func[6]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:20: error: excess elements in scalar initializer [-Werror]
  607 |         {"signal", ul_signal},
      |                    ^~~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:607:20: note: (near initialization for ‘uloop_func[6]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:9: error: braces around scalar initializer [-Werror]
  608 |         {"cancel", ul_end},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:9: note: (near initialization for ‘uloop_func[7]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:10: error: initialization of ‘int’ from ‘char *’ makes integer from pointer without a cast [-Werror=int-conversion]
  608 |         {"cancel", ul_end},
      |          ^~~~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:10: note: (near initialization for ‘uloop_func[7]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:10: error: initializer element is not computable at load time
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:10: note: (near initialization for ‘uloop_func[7]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:20: error: excess elements in scalar initializer [-Werror]
  608 |         {"cancel", ul_end},
      |                    ^~~~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:608:20: note: (near initialization for ‘uloop_func[7]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:609:9: error: braces around scalar initializer [-Werror]
  609 |         {NULL, NULL},
      |         ^
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:609:9: note: (near initialization for ‘uloop_func[8]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:609:10: error: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion]
  609 |         {NULL, NULL},
      |          ^~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:609:10: note: (near initialization for ‘uloop_func[8]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:609:16: error: excess elements in scalar initializer [-Werror]
  609 |         {NULL, NULL},
      |                ^~~~
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:609:16: note: (near initialization for ‘uloop_func[8]’)
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c: In function ‘luaopen_uloop’:
/tmp/makepkg/build/libubox/src/libubox/lua/uloop.c:626:9: error: implicit declaration of function ‘luaL_openlib’; did you mean ‘luaL_openlibs’? [-Werror=implicit-function-declaration]
  626 |         luaL_openlib(L, "uloop", uloop_func, 0);
      |         ^~~~~~~~~~~~
      |         luaL_openlibs
cc1: all warnings being treated as errors
make[2]: *** [lua/CMakeFiles/uloop_lua.dir/build.make:76: lua/CMakeFiles/uloop_lua.dir/uloop.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:287: lua/CMakeFiles/uloop_lua.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/tmp/makepkg/build/libubox/src/libubox/_build'
==> ERROR: A failure occurred in build().

Regards!

simona commented on 2020-09-26 21:55 (UTC)

do not compile