Skip to content

freebsd compiler error: semaphore.cpp:69:5: error: no member named 'sync' in namespace 'ipc::detail' #174

Description

@cscd98

Hi,

Couple of errors building for freebsd:

  • semaphore.cpp:69:5: error: no member named 'sync' in namespace 'ipc::detail'
  • mutex.h:130:13: error: unexpected namespace name 'log': expected expression

Full build log:

Builder: pr-freebsd-x64
Build number: 8830
Worker name: freebsd
ninja
 in dir /usr/home/buildbot/freebsd/pr-freebsd-x64/build/build (timeout 1200 secs)
 watching logfiles {}
 argv: [b'ninja']
 environment:
  BLOCKSIZE=K
  EDITOR=vi
  GROUP=buildbot
  HOME=/home/buildbot
  HOST=dolphin-buildbot
  HOSTTYPE=FreeBSD
  LANG=C.UTF-8
  LOGNAME=buildbot
  MACHTYPE=x86_64
  MAIL=/var/mail/buildbot
  OSTYPE=FreeBSD
  PAGER=more
  PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/buildbot/bin
  PWD=/usr/home/buildbot/freebsd/pr-freebsd-x64/build/build
  SHELL=/bin/sh
  SHLVL=1
  SUDO_COMMAND=/usr/bin/nice -n 5 csh -c /usr/local/bin/buildbot-worker start ~buildbot/freebsd
  SUDO_GID=0
  SUDO_UID=0
  SUDO_USER=root
  TERM=unknown
  USER=buildbot
  VENDOR=amd
 using PTY: False
[0/2] Re-checking globbed directories...
[1/41] Building C object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/platform/platform.c.o
[2/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/imp/codecvt.cpp.o
[3/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/imp/fmt.cpp.o
[4/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/shm.cpp.o
[5/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/imp/nameof.cpp.o
[6/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/buffer.cpp.o
[7/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/platform/platform.cpp.o
[8/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/ipc.cpp.o
[9/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/imp/system.cpp.o
[10/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/mem/bytes_allocator.cpp.o
[11/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/mem/monotonic_buffer_resource.cpp.o
[12/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/mem/central_cache_allocator.cpp.o
[13/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/mem/new_delete_resource.cpp.o
[14/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/mem/new.cpp.o
[15/41] cd /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/mGBA/mgba && /usr/local/bin/cmake -DBINARY_NAME=mgba -DCONFIG_FILE=/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/mGBA/mgba/src/core/version.c.in -DOUT_FILE=/usr/home/buildbot/freebsd/pr-freebsd-x64/build/build/Externals/mGBA/mgba/version.c -P /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/mGBA/mgba/version.cmake
[16/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.o
FAILED: Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.o 
/usr/local/bin/ccache /usr/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CUBEB -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUNICODE -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86_64=1 -D_UNICODE -D__LIBUSB__ -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Source/Core -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/discord-rpc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/picojson -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/linux -Qunused-arguments -fcolor-diagnostics -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -fPIC -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -w -fexceptions -MD -MT Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.o -MF Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.o.d -o Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/semaphore.cpp.o -c /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/semaphore.cpp
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/semaphore.cpp:22:5: error: no member named 'sync' in namespace 'ipc::detail'; did you mean simply 'sync'?
    ipc::detail::sync::semaphore sem_;
    ^~~~~~~~~~~~~~~~~
    sync
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/semaphore.cpp:18:11: note: 'sync' declared here
namespace sync {
          ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/semaphore.cpp:69:5: error: no member named 'sync' in namespace 'ipc::detail'; did you mean simply 'sync'?
    ipc::detail::sync::semaphore::clear_storage(name);
    ^~~~~~~~~~~~~~~~~
    sync
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/semaphore.cpp:18:11: note: 'sync' declared here
namespace sync {
          ^
2 errors generated.
[17/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.o
FAILED: Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.o 
/usr/local/bin/ccache /usr/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CUBEB -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUNICODE -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86_64=1 -D_UNICODE -D__LIBUSB__ -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Source/Core -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/discord-rpc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/picojson -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/linux -Qunused-arguments -fcolor-diagnostics -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -fPIC -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -w -fexceptions -MD -MT Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.o -MF Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.o.d -o Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/waiter.cpp.o -c /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/waiter.cpp
In file included from /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/waiter.cpp:9:
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:130:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutexattr_init[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:135:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutexattr_setpshared[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:139:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutexattr_setrobust[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:144:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutex_init[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:169:29: error: variable 'log' cannot be implicitly captured in a lambda with no capture-default specified
                            log.error("fail pthread_mutex_destroy[", eno, "]");
                            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:152:9: note: 'log' declared here
        LIBIPC_LOG();
        ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include/libipc/imp/log.h:189:8: note: expanded from macro 'LIBIPC_LOG'
  auto log \
       ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:45: note: lambda expression begins here
                release_mutex(shm_->name(), [this] {
                                            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:50: note: capture 'log' by value
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:50: note: capture 'log' by reference
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , &log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:46: note: default capture by reference
                release_mutex(shm_->name(), [this] {
                                             ^
                                             &, 
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:192:25: error: variable 'log' cannot be implicitly captured in a lambda with no capture-default specified
                        log.error("fail pthread_mutex_destroy[", eno, "]");
                        ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:183:9: note: 'log' declared here
        LIBIPC_LOG();
        ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include/libipc/imp/log.h:189:8: note: expanded from macro 'LIBIPC_LOG'
  auto log \
       ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:45: note: lambda expression begins here
                release_mutex(shm_->name(), [this] {
                                            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:50: note: capture 'log' by value
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:50: note: capture 'log' by reference
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , &log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:46: note: default capture by reference
                release_mutex(shm_->name(), [this] {
                                             ^
                                             &, 
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:256:21: error: unexpected namespace name 'log': expected expression
                    log.error("fail pthread_mutex_timedlock[", eno, "], pthread_mutex_consistent[", eno2, "]");
                    ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:264:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutex_timedlock[", eno, "]");
            ^
8 errors generated.
[18/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.o
FAILED: Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.o 
/usr/local/bin/ccache /usr/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CUBEB -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUNICODE -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86_64=1 -D_UNICODE -D__LIBUSB__ -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Source/Core -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/discord-rpc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/picojson -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/linux -Qunused-arguments -fcolor-diagnostics -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -fPIC -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -w -fexceptions -MD -MT Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.o -MF Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.o.d -o Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/condition.cpp.o -c /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/condition.cpp
In file included from /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/condition.cpp:13:
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/condition.h:98:17: error: unexpected namespace name 'log': expected expression
                log.error("fail pthread_cond_destroy[", eno, "]");
                ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/condition.h:140:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_cond_signal[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/condition.h:150:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_cond_broadcast[", eno, "]");
            ^
3 errors generated.
[19/41] Building CXX object Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.o
FAILED: Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.o 
/usr/local/bin/ccache /usr/bin/c++ -DAUTOUPDATE=1 -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DHAS_OPENGL -DHAS_VULKAN -DHAVE_CUBEB -DHAVE_EGL=1 -DHAVE_FFMPEG -DHAVE_X11=1 -DHAVE_XRANDR=1 -DUNICODE -DUSE_ANALYTICS=1 -DUSE_MEMORYWATCHER=1 -DUSE_PIPES=1 -DUSE_UPNP -D_ARCH_64=1 -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_X86_64=1 -D_UNICODE -D__LIBUSB__ -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Source/Core -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/discord-rpc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/picojson -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src -I/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/linux -Qunused-arguments -fcolor-diagnostics -O3 -DNDEBUG -DNDEBUG -O2 -std=gnu++17 -fPIC -msse2 -fdiagnostics-color -fno-strict-aliasing -fno-exceptions -fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer -w -fexceptions -MD -MT Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.o -MF Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.o.d -o Externals/cpp-ipc/cpp-ipc/src/CMakeFiles/ipc.dir/libipc/sync/mutex.cpp.o -c /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/mutex.cpp
In file included from /usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/sync/mutex.cpp:13:
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:130:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutexattr_init[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:135:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutexattr_setpshared[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:139:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutexattr_setrobust[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:144:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutex_init[", eno, "]");
            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:169:29: error: variable 'log' cannot be implicitly captured in a lambda with no capture-default specified
                            log.error("fail pthread_mutex_destroy[", eno, "]");
                            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:152:9: note: 'log' declared here
        LIBIPC_LOG();
        ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include/libipc/imp/log.h:189:8: note: expanded from macro 'LIBIPC_LOG'
  auto log \
       ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:45: note: lambda expression begins here
                release_mutex(shm_->name(), [this] {
                                            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:50: note: capture 'log' by value
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:50: note: capture 'log' by reference
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , &log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:155:46: note: default capture by reference
                release_mutex(shm_->name(), [this] {
                                             ^
                                             &, 
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:192:25: error: variable 'log' cannot be implicitly captured in a lambda with no capture-default specified
                        log.error("fail pthread_mutex_destroy[", eno, "]");
                        ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:183:9: note: 'log' declared here
        LIBIPC_LOG();
        ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/include/libipc/imp/log.h:189:8: note: expanded from macro 'LIBIPC_LOG'
  auto log \
       ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:45: note: lambda expression begins here
                release_mutex(shm_->name(), [this] {
                                            ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:50: note: capture 'log' by value
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:50: note: capture 'log' by reference
                release_mutex(shm_->name(), [this] {
                                                 ^
                                                 , &log
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:186:46: note: default capture by reference
                release_mutex(shm_->name(), [this] {
                                             ^
                                             &, 
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:256:21: error: unexpected namespace name 'log': expected expression
                    log.error("fail pthread_mutex_timedlock[", eno, "], pthread_mutex_consistent[", eno2, "]");
                    ^
/usr/home/buildbot/freebsd/pr-freebsd-x64/build/Externals/cpp-ipc/cpp-ipc/src/libipc/platform/posix/mutex.h:264:13: error: unexpected namespace name 'log': expected expression
            log.error("fail pthread_mutex_timedlock[", eno, "]");
            ^
8 errors generated.
[20/41] cd /usr/home/buildbot/freebsd/pr-freebsd-x64/build/build && /usr/local/bin/cmake -DPROJECT_SOURCE_DIR=/usr/home/buildbot/freebsd/pr-freebsd-x64/build -DPROJECT_BINARY_DIR=/usr/home/buildbot/freebsd/pr-freebsd-x64/build/build -DDISTRIBUTOR=dolphin-emu.org -DDOLPHIN_DEFAULT_UPDATE_TRACK= -DGIT_FOUND=TRUE -DGIT_EXECUTABLE=/usr/local/bin/git -DDOLPHIN_WC_REVISION= -DDOLPHIN_WC_DESCRIBE= -DDOLPHIN_WC_BRANCH= -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15.0 -P /usr/home/buildbot/freebsd/pr-freebsd-x64/build/CMake/ScmRevGen.cmake
ninja: build stopped: subcommand failed.
program finished with exit code 1
elapsedTime=3.078852```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions