| ^~~~~ 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 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20211209-163207 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 * php cli: HEAD of ::gentoo commit 30a6680e46f970f64c96d1f26503f2dbbf7e4954 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 10 02:36:41 2021 +0000 2021-12-10 02:36:40 UTC emerge -qpvO www-servers/moonbridge [ebuild N ] www-servers/moonbridge-1.0.1 LUA_SINGLE_TARGET="lua5-3"
Created attachment 757910 [details] emerge-info.txt
Created attachment 757911 [details] emerge-history.txt
Created attachment 757912 [details] environment
Created attachment 757913 [details] etc.portage.tar.bz2
Created attachment 757914 [details] temp.tar.bz2
Created attachment 757915 [details] www-servers:moonbridge-1.0.1:20211210-033711.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b810c67bdeed3a2ea8ddea55034dbf7f3f33de7 commit 9b810c67bdeed3a2ea8ddea55034dbf7f3f33de7 Author: brahmajit das <brahmajit.xyz@gmail.com> AuthorDate: 2022-07-11 19:24:41 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2022-07-11 19:27:27 +0000 www-servers/moonbridge: Fix building on musl. Include fcntl It is explicitely required to include fcntl.h in musl. Else we get F_SETFD, FD_CLOEXEC undefined errors. Closes: https://bugs.gentoo.org/828671 Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26352 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> www-servers/moonbridge/files/moonbridge-1.0.1-fcntl.patch | 14 ++++++++++++++ www-servers/moonbridge/moonbridge-1.0.1.ebuild | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-)