* Package: www-servers/moonbridge-1.0.1 * Repository: gentoo * Maintainer: tupone@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux lua_single_target_lua5-3 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using lua5.3 to build >>> Unpacking source... >>> Unpacking moonbridge-v1.0.1.tar.gz to /var/tmp/portage/www-servers/moonbridge-1.0.1/work >>> Source unpacked in /var/tmp/portage/www-servers/moonbridge-1.0.1/work >>> Preparing source in /var/tmp/portage/www-servers/moonbridge-1.0.1/work/moonbridge-v1.0.1 ... * Applying moonbridge-1.0.1-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-servers/moonbridge-1.0.1/work/moonbridge-v1.0.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-servers/moonbridge-1.0.1/work/moonbridge-v1.0.1 ... sh: line 1: lsb_release: command not found pmake: "/var/tmp/portage/www-servers/moonbridge-1.0.1/work/moonbridge-v1.0.1/Makefile" line 15: warning: "lsb_release -i -s" returned non-zero status x86_64-gentoo-linux-musl-gcc -c -Wall -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I /usr/include/lua5.3 -o moonbridge_io.o moonbridge_io.c x86_64-gentoo-linux-musl-gcc -Wall -Wno-unused-result -pipe -march=native -fno-diagnostics-color -O2 -Wl,-E -I /usr/include/lua5.3 -L /usr/lib -o moonbridge "-DMOONBR_LUA_PATH=\"/usr/lib/moonbridge/?.lua\"" moonbridge.c -llua5.3 -lm -ldl -lbsd moonbridge_io.o moonbridge.c: In function 'moonbr_connect': moonbridge.c:1444:13: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration] 1444 | if (fcntl(peerfd, F_SETFD, FD_CLOEXEC) == -1) { | ^~~~~ moonbridge.c:1444:27: error: 'F_SETFD' undeclared (first use in this function) 1444 | if (fcntl(peerfd, F_SETFD, FD_CLOEXEC) == -1) { | ^~~~~~~ moonbridge.c:1444:27: note: each undeclared identifier is reported only once for each function it appears in moonbridge.c:1444:36: error: 'FD_CLOEXEC' undeclared (first use in this function); did you mean 'SOCK_CLOEXEC'? 1444 | if (fcntl(peerfd, F_SETFD, FD_CLOEXEC) == -1) { | ^~~~~~~~~~ | SOCK_CLOEXEC moonbridge.c: In function 'moonbr_listen_init_pool': moonbridge.c:1881:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 1881 | } while(0) | ^~~~~ moonbridge.c:2050:5: note: in expansion of macro 'moonbr_listen_init_pool_forkoption' 2050 | moonbr_listen_init_pool_forkoption("pre_fork", pre_fork, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moonbridge.c:1878:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 1878 | #define moonbr_listen_init_pool_forkoption(luaname, cname, defval) { \ | ^ moonbridge.c:2051:5: note: in expansion of macro 'moonbr_listen_init_pool_forkoption' 2051 | moonbr_listen_init_pool_forkoption("min_fork", min_fork, pool->pre_fork > 2 ? pool->pre_fork : 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moonbridge.c:1881:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 1881 | } while(0) | ^~~~~ moonbridge.c:2051:5: note: in expansion of macro 'moonbr_listen_init_pool_forkoption' 2051 | moonbr_listen_init_pool_forkoption("min_fork", min_fork, pool->pre_fork > 2 ? pool->pre_fork : 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moonbridge.c:1878:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 1878 | #define moonbr_listen_init_pool_forkoption(luaname, cname, defval) { \ | ^ moonbridge.c:2052:5: note: in expansion of macro 'moonbr_listen_init_pool_forkoption' 2052 | moonbr_listen_init_pool_forkoption("max_fork", max_fork, pool->min_fork > 16 ? pool->min_fork : 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moonbridge.c: In function 'main': moonbridge.c:2281:13: error: 'O_WRONLY' undeclared (first use in this function) 2281 | O_WRONLY|O_NONBLOCK|O_CREAT|O_APPEND|O_CLOEXEC, | ^~~~~~~~ moonbridge.c:2281:22: error: 'O_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'? 2281 | O_WRONLY|O_NONBLOCK|O_CREAT|O_APPEND|O_CLOEXEC, | ^~~~~~~~~~ | SOCK_NONBLOCK moonbridge.c:2281:33: error: 'O_CREAT' undeclared (first use in this function) 2281 | O_WRONLY|O_NONBLOCK|O_CREAT|O_APPEND|O_CLOEXEC, | ^~~~~~~ moonbridge.c:2281:41: error: 'O_APPEND' undeclared (first use in this function) 2281 | O_WRONLY|O_NONBLOCK|O_CREAT|O_APPEND|O_CLOEXEC, | ^~~~~~~~ moonbridge.c:2281:50: error: 'O_CLOEXEC' undeclared (first use in this function); did you mean 'SOCK_CLOEXEC'? 2281 | O_WRONLY|O_NONBLOCK|O_CREAT|O_APPEND|O_CLOEXEC, | ^~~~~~~~~ | SOCK_CLOEXEC *** Error code 1 Stop. pmake: stopped in /var/tmp/portage/www-servers/moonbridge-1.0.1/work/moonbridge-v1.0.1 >>> Source compiled. >>> Test phase [not enabled]: www-servers/moonbridge-1.0.1 >>> Install www-servers/moonbridge-1.0.1 into /var/tmp/portage/www-servers/moonbridge-1.0.1/image !!! dobin: moonbridge does not exist * ERROR: www-servers/moonbridge-1.0.1::gentoo failed (install phase): * dobin failed * * If you need support, post the output of `emerge --info '=www-servers/moonbridge-1.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-servers/moonbridge-1.0.1::gentoo'`. * The complete build log is located at '/var/log/portage/www-servers:moonbridge-1.0.1:20211210-033711.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-servers/moonbridge-1.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-servers/moonbridge-1.0.1/temp/environment'. * Working directory: '/var/tmp/portage/www-servers/moonbridge-1.0.1/work/moonbridge-v1.0.1' * S: '/var/tmp/portage/www-servers/moonbridge-1.0.1/work/moonbridge-v1.0.1' * QA Notice: command not found: * * sh: line 1: lsb_release: command not found * QA Notice: file does not exist: * * dobin: moonbridge does not exist