Created attachment 218048 [details] poudriere log databases/rocksdb 6.11.4 does not compile on FreeBSD 11.4. The errors are: CC shared-objects/options/options_helper.o options/options_helper.cc:659:19: error: loop variable 'iter' of type 'const std::__1::pair<const std::__1::basic_string<char>, rocksdb::OptionTypeInfo>' creates a copy from type 'const std::__1::pair<const std::__1::basic_string<char>, rocksdb::OptionTypeInfo>' [-Werror,-Wrange-loop-construct] for (const auto iter : type_info) { ^ options/options_helper.cc:659:8: note: use reference type 'const std::__1::pair<const std::__1::basic_string<char>, rocksdb::OptionTypeInfo> &' to prevent copying for (const auto iter : type_info) { ^~~~~~~~~~~~~~~~~ & 1 error generated. gmake[1]: *** [Makefile:834: shared-objects/options/options_helper.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/rocksdb/work/rocksdb-6.11.4' *** Error code 1 Stop. make: stopped in /usr/ports/databases/rocksdb Since there are no previous reports about this, perhaps the error is clang 10 specific?
There seems to be an upstream fix (will test shortly): https://github.com/facebook/rocksdb/pull/7025
(In reply to Bengt Ahlgren from comment #1) Pull request #7025 has not been merged into 6.11.fb branch yet, but has already been merged into 6.12.fb and 6.13.fb branch. Is 6.11.fb branch (and also 6.11.4) maintained yet? [6.11.fb branch] https://github.com/facebook/rocksdb/tree/6.11.fb [6.12.fb branch] https://github.com/facebook/rocksdb/tree/6.12.fb [6.13.fb branch] https://github.com/facebook/rocksdb/tree/6.13.fb
It should be fixed in r549685. Thanks!