* Package: net-mail/mswatch-1.2.0-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 6.4.14-gentoo-dist * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking mswatch-1.2.0.tar.gz to /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work >>> Source unpacked in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work >>> Preparing source in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0 ... * Applying mswatch-1.2.0-gcc47.patch ... [ ok ] * Applying mswatch-1.2.0-gcc6.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0 ... * econf: updating mswatch-1.2.0/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mswatch-1.2.0/config/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/mswatch-1.2.0-r1 --htmldir=/usr/share/doc/mswatch-1.2.0-r1/html --libdir=/usr/lib64 --with-notify=inotify --enable-shared --disable-static checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking dependency style of clang... none checking how to run the C preprocessor... clang-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by clang... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld.lld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... llvm-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... llvm-ar checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm output from clang object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (ld.lld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... none checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ accepts -g... (cached) yes checking dependency style of clang++... (cached) none checking how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... ld.lld -m elf_x86_64 checking if the linker (ld.lld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (ld.lld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... no checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (ld.lld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking dependency style of clang... (cached) none checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ accepts -g... (cached) yes checking dependency style of clang++... (cached) none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for pid_t... yes checking for size_t... yes checking for inline... inline checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking dependency style of clang... (cached) none checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... (cached) no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking for pid_t... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ accepts -g... (cached) yes checking dependency style of clang++... (cached) none checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... (cached) no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking for pid_t... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ accepts -g... (cached) yes checking dependency style of clang++... (cached) none checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... (cached) no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking for size_t... (cached) yes checking for inline... (cached) inline checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking inotify... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/mswatch/Makefile config.status: creating src/mswatch/rcparser/Makefile config.status: creating src/watch_maildirs/Makefile config.status: creating src/watch_maildirs/inotify/Makefile config.status: creating src/watch_maildirs/dnotify/Makefile config.status: creating src/inputkill/Makefile config.status: creating src/socketwatch/Makefile config.status: creating src/lib/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands Build mswatch: yes Build watch_maildirs: yes Build inputkill: yes Build socketwatch: yes File system notification: inotify >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0 ... make -j5 Making all in src make[1]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' make all-recursive make[2]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' Making all in lib make[3]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/lib' rdlibtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/lib -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o util.lo util.cc rdlibtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/lib -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o util.lo util.cc rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/lib"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 160, .st_ino = 3844391}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 160, .st_ino = 3844339}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 160, .st_ino = 3844323}. rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/libtool". rdlibtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/lib -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c util.cc -DPIC -fPIC -o .libs/util.o rdlibtool --tag=CXX --mode=link clang++ -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libutil.la util.lo rdlibtool --tag=CXX --mode=link clang++ -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libutil.la util.lo rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/lib"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 160, .st_ino = 3844391}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 160, .st_ino = 3844339}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 160, .st_ino = 3844323}. rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/libtool". rdlibtool: link: ln -s libutil.so.def .libs/libutil.so.def.linux rdlibtool: link: ln -s libutil.so.def.linux .libs/libutil.so.def.host rdlibtool: link: x86_64-pc-linux-gnu-ar crs .libs/libutil.a .libs/util.o rdlibtool: link: ln -s ../libutil.la .libs/libutil.la rdlibtool: link: ln -s ../libutil.la .libs/libutil.lai make[3]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/lib' Making all in mswatch make[3]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch' Making all in rcparser make[4]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch/rcparser' make all-am make[5]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch/rcparser' clang -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/mswatch -I../../../src/mswatch/rcparser -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c lexer.c clang -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/mswatch -I../../../src/mswatch/rcparser -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c parser.c clang -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/mswatch -I../../../src/mswatch/rcparser -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c parser_types.c clang -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/mswatch -I../../../src/mswatch/rcparser -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c semantic_actions.c clang++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/mswatch -I../../../src/mswatch/rcparser -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o rcparser.o rcparser.cc lexer.c:1376:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] static int input (void) ^ 1 warning generated. In file included from rcparser.cc:6: In file included from ./rcparser.h:5: ../../../src/mswatch/mswatch_config.h:35:2: warning: struct 'mailstore_config' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct mailstore_config store[NWATCHERS]; ^ ../../../src/mswatch/mailstore_watcher.h:15:7: note: previous use is here class mailstore_config ^ ../../../src/mswatch/mswatch_config.h:35:2: note: did you mean class here? struct mailstore_config store[NWATCHERS]; ^~~~~~ class 1 warning generated. rm -f librcparser.a llvm-ar cru librcparser.a lexer.o parser.o parser_types.o semantic_actions.o rcparser.o llvm-ranlib librcparser.a make[5]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch/rcparser' make[4]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch/rcparser' make[4]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch' clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/mswatch -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o mswatch.o mswatch.cc clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/mswatch -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o mailstore_watcher.o mailstore_watcher.cc clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/mswatch -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o timeout_calc.o timeout_calc.cc In file included from timeout_calc.cc:3: In file included from ./timeout_calc.h:6: ./mswatch_config.h:35:2: warning: struct 'mailstore_config' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct mailstore_config store[NWATCHERS]; ^ ./mailstore_watcher.h:15:7: note: previous use is here class mailstore_config ^ ./mswatch_config.h:35:2: note: did you mean class here? struct mailstore_config store[NWATCHERS]; ^~~~~~ class 1 warning generated. In file included from mswatch.cc:23: ./mswatch_config.h:35:2: warning: struct 'mailstore_config' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct mailstore_config store[NWATCHERS]; ^ ./mailstore_watcher.h:15:7: note: previous use is here class mailstore_config ^ ./mswatch_config.h:35:2: note: did you mean class here? struct mailstore_config store[NWATCHERS]; ^~~~~~ class mswatch.cc:104:14: warning: address of array 'config.mailbox_prefix' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!config.mailbox_prefix) ~~~~~~~~^~~~~~~~~~~~~~ 2 warnings generated. rdlibtool --tag=CXX --mode=link clang++ -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mswatch mswatch.o mailstore_watcher.o timeout_calc.o ../lib/libutil.la rcparser/librcparser.a -lglib-2.0 rdlibtool --tag=CXX --mode=link clang++ -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mswatch mswatch.o mailstore_watcher.o timeout_calc.o ../lib/libutil.la rcparser/librcparser.a -lglib-2.0 rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 160, .st_ino = 3844397}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 160, .st_ino = 3844339}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 160, .st_ino = 3844323}. rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/libtool". rdlibtool: link: clang++ mswatch.o mailstore_watcher.o timeout_calc.o ../lib/.libs/libutil.a rcparser/librcparser.a -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lglib-2.0 -o .libs/mswatch rdlibtool: link: ln -s ../mswatch .libs/mswatch.exe.wrapper make[4]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch' make[3]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/mswatch' Making all in watch_maildirs make[3]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/watch_maildirs' Making all in inotify make[4]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/watch_maildirs/inotify' clang++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/watch_maildirs -I../../../src/watch_maildirs/inotify -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o watch.o watch.cc clang++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/watch_maildirs -I../../../src/watch_maildirs/inotify -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o state.o state.cc clang++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/watch_maildirs -I../../../src/watch_maildirs/inotify -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o watcher_maildir.o watcher_maildir.cc clang++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/watch_maildirs -I../../../src/watch_maildirs/inotify -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o watcher_partial.o watcher_partial.cc clang++ -DHAVE_CONFIG_H -I. -I../../../src -I../../../src -I../../../src/watch_maildirs -I../../../src/watch_maildirs/inotify -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o watcher_base.o watcher_base.cc In file included from watcher_partial.cc:12: ./watcher_maildir.h:16:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_maildir(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:16:18: note: did you mean class here? watcher_maildir(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_maildir.h:34:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:34:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class In file included from watcher_partial.cc:13: ./watcher_partial.h:17:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_partial(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:17:18: note: did you mean class here? watcher_partial(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_partial.h:25:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:25:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class watcher_partial.cc:17:34: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_partial::watcher_partial(struct inotify_state* state, const stri... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ watcher_partial.cc:17:34: note: did you mean class here? watcher_partial::watcher_partial(struct inotify_state* state, const stri... ^~~~~~ class In file included from watch.cc:14: ./watcher_base.h:14:15: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_base(struct inotify_state* state); ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_base.h:14:15: note: did you mean class here? watcher_base(struct inotify_state* state); ^~~~~~ class ./watcher_base.h:26:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_base.h:26:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class In file included from watch.cc:15: ./watcher_maildir.h:16:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_maildir(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:16:18: note: did you mean class here? watcher_maildir(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_maildir.h:34:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:34:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class In file included from watch.cc:16: ./watcher_partial.h:17:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_partial(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:17:18: note: did you mean class here? watcher_partial(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_partial.h:25:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:25:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class watch.cc:25:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state state(maildir); ^ ./state.h:10:7: note: previous use is here class inotify_state ^ watch.cc:25:2: note: did you mean class here? struct inotify_state state(maildir); ^~~~~~ class In file included from watcher_base.cc:7: ./watcher_maildir.h:16:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_maildir(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:16:18: note: did you mean class here? watcher_maildir(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_maildir.h:34:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:34:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class In file included from watcher_base.cc:8: ./watcher_partial.h:17:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_partial(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:17:18: note: did you mean class here? watcher_partial(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_partial.h:25:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:25:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class In file included from watcher_base.cc:9: ./watcher_base.h:14:15: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_base(struct inotify_state* state); ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_base.h:14:15: note: did you mean class here? watcher_base(struct inotify_state* state); ^~~~~~ class ./watcher_base.h:26:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_base.h:26:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class watcher_base.cc:14:28: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_base::watcher_base(struct inotify_state* state) ^ ./state.h:10:7: note: previous use is here class inotify_state ^ watcher_base.cc:14:28: note: did you mean class here? watcher_base::watcher_base(struct inotify_state* state) ^~~~~~ class 5 warnings generated. In file included from watcher_maildir.cc:7: ./watcher_partial.h:17:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_partial(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:17:18: note: did you mean class here? watcher_partial(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_partial.h:25:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_partial.h:25:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class In file included from watcher_maildir.cc:8: ./watcher_maildir.h:16:18: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_maildir(struct inotify_state* state, const std::string& ... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:16:18: note: did you mean class here? watcher_maildir(struct inotify_state* state, const std::string& ... ^~~~~~ class ./watcher_maildir.h:34:2: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct inotify_state* state; ^ ./state.h:10:7: note: previous use is here class inotify_state ^ ./watcher_maildir.h:34:2: note: did you mean class here? struct inotify_state* state; ^~~~~~ class watcher_maildir.cc:12:34: warning: struct 'inotify_state' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] watcher_maildir::watcher_maildir(struct inotify_state* state, const stri... ^ ./state.h:10:7: note: previous use is here class inotify_state ^ watcher_maildir.cc:12:34: note: did you mean class here? watcher_maildir::watcher_maildir(struct inotify_state* state, const stri... ^~~~~~ class 7 warnings generated. 5 warnings generated. 7 warnings generated. rm -f libwatch.a llvm-ar cru libwatch.a watch.o state.o watcher_maildir.o watcher_partial.o watcher_base.o llvm-ranlib libwatch.a make[4]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/watch_maildirs/inotify' make[4]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/watch_maildirs' clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/watch_maildirs/ -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o watch_maildirs.o watch_maildirs.cc rdlibtool --tag=CXX --mode=link clang++ -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o watch_maildirs watch_maildirs.o inotify/libwatch.a ../lib/libutil.la -lglib-2.0 rdlibtool --tag=CXX --mode=link clang++ -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o watch_maildirs watch_maildirs.o inotify/libwatch.a ../lib/libutil.la -lglib-2.0 rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/watch_maildirs"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 160, .st_ino = 3844356}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 160, .st_ino = 3844339}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 160, .st_ino = 3844323}. rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/libtool". rdlibtool: link: clang++ watch_maildirs.o inotify/libwatch.a ../lib/.libs/libutil.a -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lglib-2.0 -o .libs/watch_maildirs rdlibtool: link: ln -s ../watch_maildirs .libs/watch_maildirs.exe.wrapper make[4]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/watch_maildirs' make[3]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/watch_maildirs' Making all in inputkill make[3]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/inputkill' clang -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/inputkill -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c inputkill.c rdlibtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o inputkill inputkill.o ../lib/libutil.la -lstdc++ -lglib-2.0 rdlibtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o inputkill inputkill.o ../lib/libutil.la -lstdc++ -lglib-2.0 rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/inputkill"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 160, .st_ino = 3844350}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 160, .st_ino = 3844339}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 160, .st_ino = 3844323}. rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/libtool". rdlibtool: link: clang inputkill.o ../lib/.libs/libutil.a -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lstdc++ -lglib-2.0 -o .libs/inputkill rdlibtool: link: ln -s ../inputkill .libs/inputkill.exe.wrapper make[3]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/inputkill' Making all in socketwatch make[3]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/socketwatch' rdlibtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/socketwatch -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -fno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o libsocketwatch_la-libsocketwatch.lo `test -f 'libsocketwatch.cc' || echo './'`libsocketwatch.cc clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/socketwatch -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o socketwatch.o socketwatch.cc rdlibtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/socketwatch -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -fno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c -o libsocketwatch_la-libsocketwatch.lo libsocketwatch.cc rdlibtool: lconf: {.name="libtool"}. rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/socketwatch"}. rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 160, .st_ino = 3844341}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 160, .st_ino = 3844339}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = -1 [ENOENT]. rdlibtool: lconf: openat(3,"../",O_DIRECTORY,0) = 4. rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 160, .st_ino = 3844323}. rdlibtool: lconf: openat(4,"libtool",O_RDONLY,0) = 3. rdlibtool: lconf: found "/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/libtool". rdlibtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../src -I../../src/socketwatch -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -fno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -W -Wall -c libsocketwatch.cc -DPIC -fPIC -o .libs/libsocketwatch_la-libsocketwatch.o libsocketwatch.cc:100:9: error: redefinition of a 'extern inline' function 'read' is not supported in C++ ssize_t read(int fd, void *buf, size_t count) ^ /usr/include/bits/unistd.h:26:1: note: previous definition is here read (int __fd, void *__buf, size_t __nbytes) ^ 1 error generated. rdlibtool: error logged in slbt_exec_compile(), line 209: Success. make[3]: *** [Makefile:396: libsocketwatch_la-libsocketwatch.lo] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/socketwatch' make[2]: *** [Makefile:300: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' make[1]: *** [Makefile:236: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' make: *** [Makefile:289: all-recursive] Error 1 * ERROR: net-mail/mswatch-1.2.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/mswatch-1.2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/mswatch-1.2.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:mswatch-1.2.0-r1:20230903-150047.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0' * S: '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0'