Compilation failed for me today:
util/rsdir.cc:280:38: error: ‘create_directories’ is not a member of ‘std::filesystem’
280 | if(!std::filesystem::create_directories(dest_dir))
| ^~~~~~~~~~~~~~~~~~
util/rsdir.cc: In function ‘int RsDirUtil::createLockFile(const string&, rs_lock_handle_t&)’:
util/rsdir.cc:897:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
897 | write(lock_handle, ourPID.c_str(), sizeof(char)*ourPID.size() );
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-inconsistent-missing-override’ may have been intended to silence earlier diagnostics
make[1]: *** [Makefile.libretroshare:9817: temp/linux-g++/obj/rsdir.o] Error 1
make[1]: Leaving directory '/opt/src/retroshare/src/retroshare-0.6.6/libretroshare/src'
make: *** [Makefile:102: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
On both retroshare and retroshare-git packages.
Pinned Comments
xiota commented on 2024-08-16 17:04 (UTC) (edited on 2024-08-25 00:56 (UTC) by xiota)
This package now uses pinned commits.