[Bug 272245] databases/rocksdb: Version 8.1.1 Build fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jun 2023 11:14:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272245

            Bug ID: 272245
           Summary: databases/rocksdb: Version 8.1.1 Build fails
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: a.marchenko@miatel.ru
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Created attachment 243035
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243035&action=edit
parch for fixing build error

The build is broken.
As I think, it is needs to comment or remove four strings.
Please look the patch.

tools/db_bench_tool.cc:6964:14: error: variable 'num_seek_to_first' set but not
used [-Werror,-Wunused-but-set-variable]
    uint64_t num_seek_to_first = 0;
             ^
tools/db_bench_tool.cc:6965:14: error: variable 'num_next' set but not used
[-Werror,-Wunused-but-set-variable]
    uint64_t num_next = 0;
             ^
2 errors generated.
gmake[1]: *** [Makefile:2507: tools/db_bench_tool.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/databases/rocksdb/work/rocksdb-8.1.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

BR, Alexey

-- 
You are receiving this mail because:
You are the assignee for the bug.