Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD: no matching function for call to ‘flock::flock(tr_sys_file_t&, const int&)’ #6842

Open
goodpaperman opened this issue May 16, 2024 · 1 comment

Comments

@goodpaperman
Copy link

What is the issue?

After handling previous cmake error:
BUILD: cmake failed with submodule miniupnpc -- install FILES given no DESTINATION! #6835
I get a new compile error:

/ext/code/transmission/libtransmission/file-posix.cc: In function ‘bool tr_sys_file_lock(tr_sys_file_t, int, tr_error*)’:
/ext/code/transmission/libtransmission/file-posix.cc:969:43: error: no matching function for call to ‘flock::flock(tr_sys_file_t&, const int&)’
         if (flock(handle, native_operation) != -1)
                                           ^
In file included from /usr/include/fcntl.h:35,
                 from /ext/code/transmission/libtransmission/file-posix.cc:22:
/usr/include/bits/fcntl.h:35:8: note: candidate: ‘flock::flock()’
 struct flock
        ^~~~~
/usr/include/bits/fcntl.h:35:8: note:   candidate expects 0 arguments, 2 provided
/usr/include/bits/fcntl.h:35:8: note: candidate: ‘constexpr flock::flock(const flock&)’
/usr/include/bits/fcntl.h:35:8: note:   candidate expects 1 argument, 2 provided
/usr/include/bits/fcntl.h:35:8: note: candidate: ‘constexpr flock::flock(flock&&)’
/usr/include/bits/fcntl.h:35:8: note:   candidate expects 1 argument, 2 provided

full message:

$ make -j8
Scanning dependencies of target deflate
Scanning dependencies of target event
Scanning dependencies of target miniupnpc
Scanning dependencies of target dht
Scanning dependencies of target natpmp
Scanning dependencies of target psl
[  1%] Creating directories for 'event'
Scanning dependencies of target wildmat
Scanning dependencies of target libutp
[  2%] Creating directories for 'deflate'
[  3%] Creating directories for 'natpmp'
[  4%] Creating directories for 'miniupnpc'
[  5%] Creating directories for 'dht'
[  6%] Creating directories for 'psl'
[  6%] No download step for 'deflate'
[  6%] No download step for 'event'
[  6%] Building C object third-party/wildmat/CMakeFiles/wildmat.dir/wildmat.c.o
[  6%] No download step for 'miniupnpc'
[  6%] No patch step for 'event'
[  6%] No patch step for 'deflate'
[  6%] No download step for 'natpmp'
[  6%] No download step for 'dht'
[  6%] No patch step for 'miniupnpc'
[  6%] No download step for 'psl'
[  6%] No patch step for 'natpmp'
[  7%] No update step for 'deflate'
[  7%] Building CXX object third-party/libutp.bld/CMakeFiles/libutp.dir/utp_api.cpp.o
[  8%] No update step for 'natpmp'
[  9%] No update step for 'event'
[ 10%] No update step for 'miniupnpc'
[ 10%] No patch step for 'dht'
[ 10%] No patch step for 'psl'
[ 11%] Performing configure step for 'miniupnpc'
[ 12%] Performing configure step for 'event'
[ 13%] No update step for 'psl'
Not searching for unused variables given on the command line.
[ 14%] No update step for 'dht'
Not searching for unused variables given on the command line.
[ 15%] Performing configure step for 'deflate'
[ 16%] Performing configure step for 'psl'
[ 17%] Performing configure step for 'natpmp'
Not searching for unused variables given on the command line.
Not searching for unused variables given on the command line.
Not searching for unused variables given on the command line.
[ 18%] Performing configure step for 'dht'
[ 19%] Linking C static library libwildmat.a
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc -- works
-- Detecting C compiler ABI info
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc -- works
-- Detecting C compiler ABI info
-- The C compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc
[ 19%] Built target wildmat
-- The C compiler identification is GNU 8.2.0
Scanning dependencies of target libb64
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc
-- Detecting C compiler ABI info - done
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compile features
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc -- works
-- Detecting C compiler ABI info
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compile features
[ 19%] Building C object third-party/libb64.bld/src/CMakeFiles/libb64.dir/cdecode.c.o
-- Check for working C compiler: /opt/compiler/gcc-8.2/bin/gcc -- works
-- Detecting C compiler ABI info
[ 20%] Building C object third-party/libb64.bld/src/CMakeFiles/libb64.dir/cencode.c.o
-- Detecting C compiler ABI info - done
-- Detecting C compiler ABI info - done
[ 20%] Linking C static library libb64.a
-- Detecting C compiler ABI info - done
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features
-- Detecting C compile features
-- Detecting C compile features
[ 20%] Built target libb64
Scanning dependencies of target gtestall
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Detecting C compile features - done
-- Build files have been written to: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/src/miniupnpc-build
[ 20%] Performing build step for 'miniupnpc'
-- Detecting C compile features - done
Scanning dependencies of target libminiupnpc-static
-- Configuring done
-- Detecting C compile features - done
-- Generating done
-- Build files have been written to: /ext/code/transmission/build/third-party/libnatpmp.bld/src/natpmp-build
-- Performing Test HAVE_WDECLARATION_AFTER_STATEMENT
[ 20%] Performing build step for 'natpmp'
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /ext/code/transmission/build/third-party/dht.bld/src/dht-build
-- Detecting C compile features - done
Scanning dependencies of target natpmp
[ 20%] Performing build step for 'dht'
Scanning dependencies of target dht
-- Performing Test HAVE_WDECLARATION_AFTER_STATEMENT - Success
-- Performing Test HAVE_WIMPLICIT_FALLTHROUGH
-- Found Git: /usr/bin/git (found version "2.38.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /ext/code/transmission/build/third-party/libpsl.bld/src/psl-build
[ 20%] Performing build step for 'psl'
-- Performing Test HAVE_WIMPLICIT_FALLTHROUGH - Success
-- Performing Test HAVE_WMISSING_FIELD_INITIALIZERS
Scanning dependencies of target suffixes_dafsa.h
[ 50%] Building C object CMakeFiles/dht.dir/dht.c.o
[ 33%] Building C object CMakeFiles/natpmp.dir/getgateway.c.o
-- Performing Test HAVE_WMISSING_FIELD_INITIALIZERS - Success
-- Performing Test HAVE_WMISSING_PROTOTYPES
-- Performing Test HAVE_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_WPEDANTIC
-- Performing Test HAVE_WPEDANTIC - Success
-- Performing Test HAVE_WSHADOW
-- Performing Test HAVE_WSHADOW - Success
-- Performing Test HAVE_WSTRICT_PROTOTYPES
-- Performing Test HAVE_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_WUNDEF
-- Performing Test check_c_compiler_flag__Wall
-- Performing Test HAVE_WUNDEF - Success
-- Performing Test HAVE_WVLA
-- Performing Test check_c_compiler_flag__Wall - Success
-- Performing Test check_c_compiler_flag__Wextra
-- Performing Test HAVE_WVLA - Success
[ 21%] Building CXX object tests/gtest/CMakeFiles/gtestall.dir/__/__/third-party/googletest/googletest/src/gtest-all.cc.o
-- Configuring done
-- Generating done
-- Build files have been written to: /ext/code/transmission/build/third-party/libdeflate.bld/src/deflate-build
[ 21%] Performing build step for 'deflate'
-- Performing Test check_c_compiler_flag__Wextra - Success
-- Performing Test check_c_compiler_flag__Wno_unused_parameter
Scanning dependencies of target libdeflate_static
[  5%] Building C object CMakeFiles/libminiupnpc-static.dir/src/igd_desc_parse.c.o
[ 66%] Building C object CMakeFiles/natpmp.dir/natpmp.c.o
In file included from /ext/tools/gcc-8.2/include/string.h:25,
                 from /ext/code/transmission/third-party/libnatpmp/natpmp.c:32:
/ext/tools/gcc-8.2/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
[ 10%] Building C object CMakeFiles/libminiupnpc-static.dir/src/miniupnpc.c.o
-- Performing Test check_c_compiler_flag__Wno_unused_parameter - Success
-- Performing Test check_c_compiler_flag__Wstrict_aliasing
[100%] Linking C static library libnatpmp.a
[100%] Built target natpmp
[ 21%] Performing install step for 'natpmp'
[  8%] Building C object CMakeFiles/libdeflate_static.dir/lib/arm/cpu_features.c.o
-- Performing Test check_c_compiler_flag__Wstrict_aliasing - Success
-- Performing Test check_c_compiler_flag__Wstrict_prototypes
[ 16%] Building C object CMakeFiles/libdeflate_static.dir/lib/utils.c.o
[100%] Built target natpmp
[ 15%] Building C object CMakeFiles/libminiupnpc-static.dir/src/minixml.c.o
[ 25%] Building C object CMakeFiles/libdeflate_static.dir/lib/x86/cpu_features.c.o
Install the project...
-- Install configuration: "Release"
-- Installing: /ext/code/transmission/build/third-party/libnatpmp.bld/pfx/lib/libnatpmp.a
-- Installing: /ext/code/transmission/build/third-party/libnatpmp.bld/pfx/include/natpmp_declspec.h
-- Installing: /ext/code/transmission/build/third-party/libnatpmp.bld/pfx/include/natpmp.h
-- Performing Test check_c_compiler_flag__Wstrict_prototypes - Success
-- Performing Test check_c_compiler_flag__fno_strict_aliasing
[ 22%] Completed 'natpmp'
[ 21%] Building C object CMakeFiles/libminiupnpc-static.dir/src/minisoap.c.o
[ 23%] Building CXX object third-party/libutp.bld/CMakeFiles/libutp.dir/utp_callbacks.cpp.o
[ 23%] Built target natpmp
[ 23%] Building CXX object tests/gtest/CMakeFiles/gtestall.dir/__/__/third-party/googletest/googletest/src/gtest_main.cc.o
-- Performing Test check_c_compiler_flag__fno_strict_aliasing - Success
-- Performing Test check_c_compiler_flag__Wmissing_prototypes
[ 26%] Building C object CMakeFiles/libminiupnpc-static.dir/src/minissdpc.c.o
-- Performing Test check_c_compiler_flag__Wmissing_prototypes - Success
-- Performing Test check_c_compiler_flag__Winit_self
[ 33%] Building C object CMakeFiles/libdeflate_static.dir/lib/deflate_compress.c.o
[ 31%] Building C object CMakeFiles/libminiupnpc-static.dir/src/miniwget.c.o
[100%] Linking C static library libdht.a
[100%] Built target dht
-- Performing Test check_c_compiler_flag__Winit_self - Success
-- Performing Test check_c_compiler_flag__Wmissing_field_initializers
[ 23%] Building CXX object third-party/libutp.bld/CMakeFiles/libutp.dir/utp_hash.cpp.o
[ 23%] Performing install step for 'dht'
[ 36%] Building C object CMakeFiles/libminiupnpc-static.dir/src/upnpcommands.c.o
[ 24%] Building CXX object third-party/libutp.bld/CMakeFiles/libutp.dir/utp_internal.cpp.o
[ 24%] Building CXX object third-party/libutp.bld/CMakeFiles/libutp.dir/utp_packedsockaddr.cpp.o
[100%] Built target dht
[  0%] Built target suffixes_dafsa.h
Install the project...
-- Install configuration: "Release"
-- Installing: /ext/code/transmission/build/third-party/dht.bld/pfx/lib/libdht.a
-- Installing: /ext/code/transmission/build/third-party/dht.bld/pfx/include/dht/dht.h
-- Performing Test check_c_compiler_flag__Wmissing_field_initializers - Success
Scanning dependencies of target psl
-- Performing Test check_c_compiler_flag__Wdeclaration_after_statement
[ 41%] Building C object CMakeFiles/libdeflate_static.dir/lib/deflate_decompress.c.o
[ 33%] Building C object CMakeFiles/psl.dir/src/lookup_string_in_fixed_set.c.o
[ 42%] Building C object CMakeFiles/libminiupnpc-static.dir/src/upnpdev.c.o
[ 25%] Completed 'dht'
[ 66%] Building C object CMakeFiles/psl.dir/src/psl.c.o
[ 47%] Building C object CMakeFiles/libminiupnpc-static.dir/src/upnpreplyparse.c.o
[ 25%] Built target dht
[ 50%] Building C object CMakeFiles/libdeflate_static.dir/lib/adler32.c.o
-- Performing Test check_c_compiler_flag__Wdeclaration_after_statement - Success
-- Performing Test check_c_compiler_flag__Waddress
[ 52%] Building C object CMakeFiles/libminiupnpc-static.dir/src/upnperrors.c.o
[ 57%] Building C object CMakeFiles/libminiupnpc-static.dir/src/connecthostport.c.o
-- Performing Test check_c_compiler_flag__Waddress - Success
-- Performing Test check_c_compiler_flag__Wnormalized_id
[100%] Linking C static library libpsl.a
[ 63%] Building C object CMakeFiles/libminiupnpc-static.dir/src/portlistingparse.c.o
[100%] Built target psl
[ 25%] Performing install step for 'psl'
-- Performing Test check_c_compiler_flag__Wnormalized_id - Success
-- Performing Test check_c_compiler_flag__Woverride_init
[ 68%] Building C object CMakeFiles/libminiupnpc-static.dir/src/receivedata.c.o
[ 73%] Building C object CMakeFiles/libminiupnpc-static.dir/src/addr_is_reserved.c.o
-- Performing Test check_c_compiler_flag__Woverride_init - Success
-- Performing Test check_c_compiler_flag__Wlogical_op
[ 78%] Linking C static library libminiupnpc.a
[ 78%] Built target libminiupnpc-static
Scanning dependencies of target upnp-listdevices-static
[ 84%] Building C object CMakeFiles/upnp-listdevices-static.dir/src/listdevices.c.o
-- Performing Test check_c_compiler_flag__Wlogical_op - Success
-- Performing Test check_c_compiler_flag__Wwrite_strings
[ 26%] Building CXX object third-party/libutp.bld/CMakeFiles/libutp.dir/utp_utils.cpp.o
[ 58%] Building C object CMakeFiles/libdeflate_static.dir/lib/zlib_compress.c.o
[ 66%] Building C object CMakeFiles/libdeflate_static.dir/lib/zlib_decompress.c.o
[ 89%] Linking C executable upnp-listdevices-static
[ 75%] Building C object CMakeFiles/libdeflate_static.dir/lib/crc32.c.o
-- Performing Test check_c_compiler_flag__Wwrite_strings - Success
-- Looking for __GNU_LIBRARY__
-- Looking for __GNU_LIBRARY__ - found
-- Looking for include file fcntl.h
[ 89%] Built target upnp-listdevices-static
Scanning dependencies of target upnpc-static
[ 83%] Building C object CMakeFiles/libdeflate_static.dir/lib/gzip_compress.c.o
[ 94%] Building C object CMakeFiles/upnpc-static.dir/src/upnpc.c.o
[ 26%] Linking CXX static library libutp.a
-- Looking for include file fcntl.h - found
-- Looking for include files fcntl.h, inttypes.h
[ 91%] Building C object CMakeFiles/libdeflate_static.dir/lib/gzip_decompress.c.o
-- Looking for include files fcntl.h, inttypes.h - found
-- Looking for 3 include files fcntl.h, ..., memory.h
[100%] Linking C static library libdeflate.a
-- Looking for 3 include files fcntl.h, ..., memory.h - found
-- Looking for 4 include files fcntl.h, ..., signal.h
[ 26%] Built target libutp
[100%] Built target libdeflate_static
[ 26%] Performing install step for 'deflate'
-- Looking for 4 include files fcntl.h, ..., signal.h - found
-- Looking for 5 include files fcntl.h, ..., stdarg.h
[100%] Built target libdeflate_static
[100%] Linking C executable upnpc-static
Install the project...
-- Looking for 5 include files fcntl.h, ..., stdarg.h - found
-- Looking for 6 include files fcntl.h, ..., stddef.h
-- Install configuration: "Release"
-- Installing: /ext/code/transmission/build/third-party/libdeflate.bld/pfx/lib/libdeflate.a
-- Installing: /ext/code/transmission/build/third-party/libdeflate.bld/pfx/include/libdeflate.h
-- Installing: /ext/code/transmission/build/third-party/libdeflate.bld/pfx/lib/pkgconfig/libdeflate.pc
-- Installing: /ext/code/transmission/build/third-party/libdeflate.bld/pfx/lib/cmake/libdeflate/libdeflate-targets.cmake
-- Installing: /ext/code/transmission/build/third-party/libdeflate.bld/pfx/lib/cmake/libdeflate/libdeflate-targets-release.cmake
-- Installing: /ext/code/transmission/build/third-party/libdeflate.bld/pfx/lib/cmake/libdeflate/libdeflate-config.cmake
-- Installing: /ext/code/transmission/build/third-party/libdeflate.bld/pfx/lib/cmake/libdeflate/libdeflate-config-version.cmake
[100%] Built target upnpc-static
[ 26%] Performing install step for 'miniupnpc'
[ 26%] Completed 'deflate'
[ 26%] Built target deflate
[ 78%] Built target libminiupnpc-static
[ 89%] Built target upnpc-static
[100%] Built target upnp-listdevices-static
Install the project...
-- Install configuration: "Release"
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/lib/cmake/miniupnpc/miniupnpc-private.cmake
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/lib/libminiupnpc.a
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/lib/cmake/miniupnpc/libminiupnpc-static.cmake
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/lib/cmake/miniupnpc/libminiupnpc-static-release.cmake
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/bin/upnpc-static
-- Looking for 6 include files fcntl.h, ..., stddef.h - found
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/bin/upnp-listdevices-static
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/miniupnpc.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/miniwget.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/upnpcommands.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/igd_desc_parse.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/upnpreplyparse.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/upnperrors.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/upnpdev.h
-- Looking for 7 include files fcntl.h, ..., stdint.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/miniupnpctypes.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/portlistingparse.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/include/miniupnpc/miniupnpc_declspec.h
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/lib/cmake/miniupnpc/miniupnpc-config.cmake
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/lib/pkgconfig/miniupnpc.pc
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/share/man/man3/miniupnpc.3
-- Installing: /ext/code/transmission/build/third-party/miniupnp/miniupnpc.bld/pfx/bin/external-ip.sh
[ 27%] Completed 'miniupnpc'
[ 27%] Built target miniupnpc
-- Looking for 7 include files fcntl.h, ..., stdint.h - found
-- Looking for 8 include files fcntl.h, ..., stdlib.h
-- Looking for 8 include files fcntl.h, ..., stdlib.h - found
-- Looking for 9 include files fcntl.h, ..., string.h
-- Looking for 9 include files fcntl.h, ..., string.h - found
-- Looking for 10 include files fcntl.h, ..., errno.h
-- Looking for 10 include files fcntl.h, ..., errno.h - found
-- Looking for 11 include files fcntl.h, ..., unistd.h
-- Looking for 11 include files fcntl.h, ..., unistd.h - found
-- Looking for 12 include files fcntl.h, ..., time.h
-- Looking for 12 include files fcntl.h, ..., time.h - found
-- Looking for 13 include files fcntl.h, ..., sys/types.h
-- Looking for 13 include files fcntl.h, ..., sys/types.h - found
-- Looking for 14 include files fcntl.h, ..., sys/stat.h
-- Looking for 14 include files fcntl.h, ..., sys/stat.h - found
-- Looking for 15 include files fcntl.h, ..., sys/time.h
[  0%] Built target suffixes_dafsa.h
Scanning dependencies of target psl
[ 33%] Building C object CMakeFiles/psl.dir/src/psl.c.o
-- Looking for 15 include files fcntl.h, ..., sys/time.h - found
-- Looking for 16 include files fcntl.h, ..., sys/param.h
-- Looking for 16 include files fcntl.h, ..., sys/param.h - found
-- Looking for 17 include files fcntl.h, ..., netdb.h
-- Looking for 17 include files fcntl.h, ..., netdb.h - found
-- Looking for 18 include files fcntl.h, ..., dlfcn.h
-- Looking for 18 include files fcntl.h, ..., dlfcn.h - found
-- Looking for 19 include files fcntl.h, ..., arpa/inet.h
[ 66%] Linking C static library libpsl.a
[100%] Built target psl
Install the project...
-- Install configuration: "Release"
-- Installing: /ext/code/transmission/build/third-party/libpsl.bld/pfx/lib/libpsl.a
-- Installing: /ext/code/transmission/build/third-party/libpsl.bld/pfx/include/libpsl.h
[ 28%] Completed 'psl'
[ 28%] Built target psl
-- Looking for 19 include files fcntl.h, ..., arpa/inet.h - found
-- Looking for 20 include files fcntl.h, ..., poll.h
-- Looking for 20 include files fcntl.h, ..., poll.h - found
-- Looking for 21 include files fcntl.h, ..., port.h
-- Looking for 21 include files fcntl.h, ..., port.h - not found
-- Looking for 21 include files fcntl.h, ..., sys/socket.h
-- Looking for 21 include files fcntl.h, ..., sys/socket.h - found
-- Looking for 22 include files fcntl.h, ..., sys/random.h
-- Looking for 22 include files fcntl.h, ..., sys/random.h - not found
-- Looking for 22 include files fcntl.h, ..., sys/un.h
-- Looking for 22 include files fcntl.h, ..., sys/un.h - found
-- Looking for 23 include files fcntl.h, ..., sys/devpoll.h
-- Looking for 23 include files fcntl.h, ..., sys/devpoll.h - not found
-- Looking for 23 include files fcntl.h, ..., sys/epoll.h
-- Looking for 23 include files fcntl.h, ..., sys/epoll.h - found
-- Looking for 24 include files fcntl.h, ..., sys/eventfd.h
-- Looking for 24 include files fcntl.h, ..., sys/eventfd.h - found
-- Looking for 25 include files fcntl.h, ..., sys/event.h
-- Looking for 25 include files fcntl.h, ..., sys/event.h - not found
-- Looking for 25 include files fcntl.h, ..., sys/ioctl.h
-- Looking for 25 include files fcntl.h, ..., sys/ioctl.h - found
-- Looking for 26 include files fcntl.h, ..., sys/mman.h
-- Looking for 26 include files fcntl.h, ..., sys/mman.h - found
-- Looking for 27 include files fcntl.h, ..., sys/queue.h
-- Looking for 27 include files fcntl.h, ..., sys/queue.h - found
-- Looking for 28 include files fcntl.h, ..., sys/select.h
-- Looking for 28 include files fcntl.h, ..., sys/select.h - found
-- Looking for 29 include files fcntl.h, ..., sys/sendfile.h
-- Looking for 29 include files fcntl.h, ..., sys/sendfile.h - found
-- Looking for 30 include files fcntl.h, ..., sys/uio.h
-- Looking for 30 include files fcntl.h, ..., sys/uio.h - found
-- Looking for 31 include files fcntl.h, ..., sys/wait.h
-- Looking for 31 include files fcntl.h, ..., sys/wait.h - found
-- Looking for 32 include files fcntl.h, ..., sys/resource.h
-- Looking for 32 include files fcntl.h, ..., sys/resource.h - found
-- Looking for 33 include files fcntl.h, ..., sys/timerfd.h
-- Looking for 33 include files fcntl.h, ..., sys/timerfd.h - found
-- Looking for 34 include files fcntl.h, ..., netinet/in.h
-- Looking for 34 include files fcntl.h, ..., netinet/in.h - found
-- Looking for 35 include files fcntl.h, ..., netinet/in6.h
-- Looking for 35 include files fcntl.h, ..., netinet/in6.h - not found
-- Looking for 35 include files fcntl.h, ..., netinet/tcp.h
-- Looking for 35 include files fcntl.h, ..., netinet/tcp.h - found
-- Looking for 36 include files fcntl.h, ..., ifaddrs.h
-- Looking for 36 include files fcntl.h, ..., ifaddrs.h - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for getprotobynumber
-- Looking for getprotobynumber - found
-- Looking for getservbyname
-- Looking for getservbyname - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for signal
-- Looking for signal - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for splice
-- Looking for splice - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strsep
-- Looking for strsep - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for timerclear
-- Looking for timerclear - found
-- Looking for timercmp
-- Looking for timercmp - found
-- Looking for timerisset
-- Looking for timerisset - found
-- Looking for timeradd
-- Looking for timeradd - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for putenv
-- Looking for putenv - found
-- Looking for umask
-- Looking for umask - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for getifaddrs
-- Looking for getifaddrs - found
-- Looking for select
-- Looking for select - found
-- Looking for epoll_create
-- Looking for epoll_create - found
-- Looking for epoll_create1
-- Looking for epoll_create1 - found
-- Looking for epoll_ctl
-- Looking for epoll_ctl - found
-- Looking for eventfd
-- Looking for eventfd - found
-- Looking for poll
-- Looking for poll - found
-- Looking for port_create
-- Looking for port_create - not found
-- Looking for kqueue
-- Looking for kqueue - not found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for pipe
-- Looking for pipe - found
-- Looking for pipe2
-- Looking for pipe2 - found
-- Looking for sendfile
-- Looking for sendfile - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for strsignal
-- Looking for strsignal - found
-- Looking for sysctl
-- Looking for sysctl - not found
-- Looking for accept4
-- Looking for accept4 - found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for arc4random_buf
-- Looking for arc4random_buf - not found
-- Looking for arc4random_addrandom
-- Looking for arc4random_addrandom - not found
-- Looking for getrandom
-- Looking for getrandom - not found
-- Looking for getegid
-- Looking for getegid - found
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for issetugid
-- Looking for issetugid - not found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for timerfd_create
-- Looking for timerfd_create - found
-- Looking for setenv
[ 29%] Linking CXX static library libgtestall.a
-- Looking for setenv - found
-- Looking for unsetenv
[ 29%] Built target gtestall
-- Looking for unsetenv - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Checking prototype gethostbyname_r for EVENT__HAVE_GETHOSTBYNAME_R_3_ARG - False
-- Checking prototype gethostbyname_r for EVENT__HAVE_GETHOSTBYNAME_R_5_ARG - False
-- Checking prototype gethostbyname_r for EVENT__HAVE_GETHOSTBYNAME_R_6_ARG - True
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of struct sockaddr_un
-- Check size of struct sockaddr_un - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned
-- Check size of unsigned - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Performing Test HAVE_INLINE
-- Performing Test HAVE_INLINE - Success
-- Looking for __func__
-- Looking for __func__ - found
-- Looking for __FUNCTION__
-- Looking for __FUNCTION__ - found
-- Looking for TAILQ_FOREACH
-- Looking for TAILQ_FOREACH - found
-- Performing Test EVENT__HAVE_DECL_CTL_KERN
-- Performing Test EVENT__HAVE_DECL_CTL_KERN - Success
-- Looking for CTL_KERN - found
-- Performing Test EVENT__HAVE_DECL_KERN_ARND
-- Performing Test EVENT__HAVE_DECL_KERN_ARND - Failed
-- Looking for KERN_ARND - not found
-- Looking for F_SETFD
-- Looking for F_SETFD - found
-- Check size of fd_mask
-- Check size of fd_mask - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of SSIZE_T
-- Check size of SSIZE_T - failed
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Check size of pid_t
-- Check size of pid_t - done
-- Check size of pthread_t
-- Check size of pthread_t - done
-- Check size of uintptr_t
-- Check size of uintptr_t - done
-- Check size of void *
-- Check size of void * - done
-- Check size of time_t
-- Check size of time_t - done
-- Check size of struct addrinfo
-- Check size of struct addrinfo - done
-- Check size of struct in6_addr
-- Check size of struct in6_addr - done
-- Performing Test EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16
-- Performing Test EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16 - Success
-- Performing Test EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32
-- Performing Test EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32 - Success
-- Check size of sa_family_t
-- Check size of sa_family_t - done
-- Check size of struct sockaddr_in6
-- Check size of struct sockaddr_in6 - done
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN - Failed
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN - Failed
-- Check size of struct sockaddr_storage
-- Check size of struct sockaddr_storage - done
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY - Success
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY
-- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY - Failed
-- Check size of struct linger
-- Check size of struct linger - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
--
--         ---( Libevent 2.1.12-stable )---
--
-- Available event backends:
-- CMAKE_BINARY_DIR:         /ext/code/transmission/build/third-party/libevent.bld/src/event-build
-- CMAKE_CURRENT_BINARY_DIR: /ext/code/transmission/build/third-party/libevent.bld/src/event-build
-- CMAKE_SOURCE_DIR:         /ext/code/transmission/third-party/libevent
-- CMAKE_CURRENT_SOURCE_DIR: /ext/code/transmission/third-party/libevent
-- PROJECT_BINARY_DIR:       /ext/code/transmission/build/third-party/libevent.bld/src/event-build
-- PROJECT_SOURCE_DIR:       /ext/code/transmission/third-party/libevent
-- CMAKE_MODULE_PATH:        /ext/code/transmission/third-party/libevent/cmake/
-- CMAKE_COMMAND:            /usr/local/bin/cmake
-- CMAKE_ROOT:               /usr/local/share/cmake-3.14
-- CMAKE_SYSTEM:             Linux-3.10.0-1160.80.1.el7.x86_64
-- CMAKE_SYSTEM_NAME:        Linux
-- CMAKE_SYSTEM_VERSION:     3.10.0-1160.80.1.el7.x86_64
-- CMAKE_SYSTEM_PROCESSOR:   x86_64
-- CMAKE_SKIP_RPATH:         NO
-- CMAKE_VERBOSE_MAKEFILE:   FALSE
-- CMAKE_C_FLAGS:             -Wall -Wextra -Wno-unused-parameter -Wstrict-aliasing -Wstrict-prototypes -fno-strict-aliasing -Wmissing-prototypes -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement -Waddress -Wnormalized=id -Woverride-init -Wlogical-op -Wwrite-strings
-- CMAKE_BUILD_TYPE:         Release
-- CMAKE_C_COMPILER:         /opt/compiler/gcc-8.2/bin/gcc (id GNU, clang 0, GNUC 1)
-- CMAKE_AR:                 /opt/compiler/gcc-8.2/bin/ar
-- CMAKE_RANLIB:             /opt/compiler/gcc-8.2/bin/ranlib
--
-- Configuring done
-- Generating done
-- Build files have been written to: /ext/code/transmission/build/third-party/libevent.bld/src/event-build
[ 29%] Performing build step for 'event'
Scanning dependencies of target event_core_static
[  1%] Building C object CMakeFiles/event_core_static.dir/buffer.c.o
[  3%] Building C object CMakeFiles/event_core_static.dir/bufferevent_pair.c.o
[  5%] Building C object CMakeFiles/event_core_static.dir/bufferevent_ratelim.c.o
[  7%] Building C object CMakeFiles/event_core_static.dir/bufferevent_filter.c.o
[  9%] Building C object CMakeFiles/event_core_static.dir/event.c.o
[ 11%] Building C object CMakeFiles/event_core_static.dir/bufferevent.c.o
[ 13%] Building C object CMakeFiles/event_core_static.dir/bufferevent_sock.c.o
[ 15%] Building C object CMakeFiles/event_core_static.dir/evmap.c.o
[ 17%] Building C object CMakeFiles/event_core_static.dir/evthread.c.o
[ 19%] Building C object CMakeFiles/event_core_static.dir/evutil.c.o
[ 21%] Building C object CMakeFiles/event_core_static.dir/evutil_rand.c.o
[ 23%] Building C object CMakeFiles/event_core_static.dir/evutil_time.c.o
[ 25%] Building C object CMakeFiles/event_core_static.dir/listener.c.o
[ 27%] Building C object CMakeFiles/event_core_static.dir/signal.c.o
[ 29%] Building C object CMakeFiles/event_core_static.dir/log.c.o
[ 31%] Building C object CMakeFiles/event_core_static.dir/strlcpy.c.o
[ 33%] Building C object CMakeFiles/event_core_static.dir/select.c.o
[ 35%] Building C object CMakeFiles/event_core_static.dir/poll.c.o
[ 37%] Building C object CMakeFiles/event_core_static.dir/epoll.c.o
[ 39%] Linking C static library lib/libevent_core.a
[ 39%] Built target event_core_static
Scanning dependencies of target event_pthreads_static
Scanning dependencies of target event_extra_static
Scanning dependencies of target event_static
[ 41%] Building C object CMakeFiles/event_pthreads_static.dir/evthread_pthread.c.o
[ 43%] Linking C static library lib/libevent_pthreads.a
[ 43%] Built target event_pthreads_static
[ 45%] Building C object CMakeFiles/event_extra_static.dir/event_tagging.c.o
[ 49%] Building C object CMakeFiles/event_extra_static.dir/http.c.o
[ 49%] Building C object CMakeFiles/event_extra_static.dir/evdns.c.o
[ 50%] Building C object CMakeFiles/event_extra_static.dir/evrpc.c.o
[ 52%] Building C object CMakeFiles/event_static.dir/buffer.c.o
[ 54%] Building C object CMakeFiles/event_static.dir/bufferevent.c.o
[ 56%] Building C object CMakeFiles/event_static.dir/bufferevent_filter.c.o
[ 58%] Building C object CMakeFiles/event_static.dir/bufferevent_pair.c.o
[ 60%] Building C object CMakeFiles/event_static.dir/bufferevent_ratelim.c.o
[ 62%] Building C object CMakeFiles/event_static.dir/bufferevent_sock.c.o
[ 64%] Building C object CMakeFiles/event_static.dir/event.c.o
[ 66%] Building C object CMakeFiles/event_static.dir/evmap.c.o
[ 68%] Building C object CMakeFiles/event_static.dir/evthread.c.o
[ 70%] Building C object CMakeFiles/event_static.dir/evutil.c.o
[ 72%] Building C object CMakeFiles/event_static.dir/evutil_rand.c.o
[ 74%] Building C object CMakeFiles/event_static.dir/evutil_time.c.o
[ 76%] Building C object CMakeFiles/event_static.dir/listener.c.o
[ 78%] Building C object CMakeFiles/event_static.dir/log.c.o
[ 80%] Building C object CMakeFiles/event_static.dir/signal.c.o
[ 82%] Building C object CMakeFiles/event_static.dir/strlcpy.c.o
[ 84%] Building C object CMakeFiles/event_static.dir/poll.c.o
[ 86%] Building C object CMakeFiles/event_static.dir/select.c.o
[ 88%] Building C object CMakeFiles/event_static.dir/epoll.c.o
[ 90%] Building C object CMakeFiles/event_static.dir/event_tagging.c.o
[ 92%] Building C object CMakeFiles/event_static.dir/http.c.o
[ 94%] Building C object CMakeFiles/event_static.dir/evdns.c.o
[ 96%] Building C object CMakeFiles/event_static.dir/evrpc.c.o
[ 98%] Linking C static library lib/libevent_extra.a
[ 98%] Built target event_extra_static
[100%] Linking C static library lib/libevent.a
[100%] Built target event_static
[ 29%] Performing install step for 'event'
[ 39%] Built target event_core_static
[ 43%] Built target event_pthreads_static
[ 52%] Built target event_extra_static
[100%] Built target event_static
Install the project...
-- Install configuration: "Release"
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/libevent_core.a
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/pkgconfig/libevent_core.pc
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/libevent_extra.a
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/pkgconfig/libevent_extra.pc
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/libevent_pthreads.a
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/pkgconfig/libevent_pthreads.pc
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/libevent.a
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/pkgconfig/libevent.pc
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/evdns.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/evrpc.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/evhttp.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/evutil.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/buffer.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/bufferevent.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/bufferevent_compat.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/bufferevent_struct.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/buffer_compat.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/dns.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/dns_compat.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/dns_struct.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/event.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/event_compat.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/event_struct.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/http.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/http_compat.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/http_struct.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/keyvalq_struct.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/listener.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/rpc.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/rpc_compat.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/rpc_struct.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/tag.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/tag_compat.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/thread.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/util.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/visibility.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/include/event2/event-config.h
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/cmake/libevent/LibeventConfig.cmake
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/cmake/libevent/LibeventConfigVersion.cmake
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/cmake/libevent/LibeventTargets-static.cmake
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/lib/cmake/libevent/LibeventTargets-static-release.cmake
-- Installing: /ext/code/transmission/build/third-party/libevent.bld/pfx/bin/event_rpcgen.py
[ 30%] Completed 'event'
[ 30%] Built target event
Scanning dependencies of target transmission
[ 31%] Building CXX object libtransmission/CMakeFiles/transmission.dir/announce-list.cc.o
[ 32%] Building CXX object libtransmission/CMakeFiles/transmission.dir/announcer-http.cc.o
[ 32%] Building CXX object libtransmission/CMakeFiles/transmission.dir/announcer-udp.cc.o
[ 32%] Building CXX object libtransmission/CMakeFiles/transmission.dir/announcer.cc.o
[ 33%] Building CXX object libtransmission/CMakeFiles/transmission.dir/bandwidth.cc.o
[ 34%] Building CXX object libtransmission/CMakeFiles/transmission.dir/block-info.cc.o
[ 34%] Building CXX object libtransmission/CMakeFiles/transmission.dir/bitfield.cc.o
[ 34%] Building CXX object libtransmission/CMakeFiles/transmission.dir/blocklist.cc.o
[ 35%] Building CXX object libtransmission/CMakeFiles/transmission.dir/cache.cc.o
[ 35%] Building CXX object libtransmission/CMakeFiles/transmission.dir/clients.cc.o
[ 36%] Building CXX object libtransmission/CMakeFiles/transmission.dir/completion.cc.o
^[
[ 36%] Building CXX object libtransmission/CMakeFiles/transmission.dir/crypto-utils-fallback.cc.o
[ 37%] Building CXX object libtransmission/CMakeFiles/transmission.dir/crypto-utils-openssl.cc.o
[ 37%] Building CXX object libtransmission/CMakeFiles/transmission.dir/crypto-utils.cc.o
/ext/code/transmission/libtransmission/clients.cc: In function ‘void tr_clientForId(char*, size_t, tr_peer_id_t)’:
/ext/code/transmission/libtransmission/clients.cc:135:13: warning: ‘<anonymous>’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return {};
             ^
[ 38%] Building CXX object libtransmission/CMakeFiles/transmission.dir/error.cc.o
[ 38%] Building CXX object libtransmission/CMakeFiles/transmission.dir/file-capacity.cc.o
[ 39%] Building CXX object libtransmission/CMakeFiles/transmission.dir/file-piece-map.cc.o
[ 39%] Building CXX object libtransmission/CMakeFiles/transmission.dir/file-posix.cc.o
[ 40%] Building CXX object libtransmission/CMakeFiles/transmission.dir/file.cc.o
[ 40%] Building CXX object libtransmission/CMakeFiles/transmission.dir/global-ip-cache.cc.o
[ 40%] Building CXX object libtransmission/CMakeFiles/transmission.dir/handshake.cc.o
/ext/code/transmission/libtransmission/file-posix.cc: In function ‘bool tr_sys_file_lock(tr_sys_file_t, int, tr_error*)’:
/ext/code/transmission/libtransmission/file-posix.cc:969:43: error: no matching function for call to ‘flock::flock(tr_sys_file_t&, const int&)’
         if (flock(handle, native_operation) != -1)
                                           ^
In file included from /usr/include/fcntl.h:35,
                 from /ext/code/transmission/libtransmission/file-posix.cc:22:
/usr/include/bits/fcntl.h:35:8: note: candidate: ‘flock::flock()’
 struct flock
        ^~~~~
/usr/include/bits/fcntl.h:35:8: note:   candidate expects 0 arguments, 2 provided
/usr/include/bits/fcntl.h:35:8: note: candidate: ‘constexpr flock::flock(const flock&)’
/usr/include/bits/fcntl.h:35:8: note:   candidate expects 1 argument, 2 provided
/usr/include/bits/fcntl.h:35:8: note: candidate: ‘constexpr flock::flock(flock&&)’
/usr/include/bits/fcntl.h:35:8: note:   candidate expects 1 argument, 2 provided
[ 41%] Building CXX object libtransmission/CMakeFiles/transmission.dir/inout.cc.o
make[2]: *** [libtransmission/CMakeFiles/transmission.dir/file-posix.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/ext/code/transmission/libtransmission/announcer.cc: In function ‘tr_announce_request {anonymous}::announce_helpers::create_announce_request(const tr_announcer_impl*, tr_torrent*, const tr_tier*, tr_announce_event)’:
/ext/code/transmission/libtransmission/announcer.cc:915:22: warning: potential null pointer dereference [-Wnull-dereference]
     req.announce_url = current_tracker->announce_url;
     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [libtransmission/CMakeFiles/transmission.dir/all] Error 2
make: *** [all] Error 2

Who can help me! Waiting online...

Which application of Transmission?

None

Which version of Transmission?

lastest

@goodpaperman
Copy link
Author

goodpaperman commented May 16, 2024

I tried to fix that, let me pass through please~

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

No branches or pull requests

1 participant