Commit graph

117 commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
0f7cca74de Allow build with Clang 8
Clang 8 detects shadow enums and stops the build. This workaround adds -Wno-error=shadow to bypass it.

In file included from db/builder.cc:19:
./db/internal_stats.h:112:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    WAL_FILE_BYTES,
    ^
./include/rocksdb/statistics.h:196:3: note: previous declaration is here
  WAL_FILE_BYTES,   // Number of bytes written to WAL
  ^
In file included from db/builder.cc:19:
./db/internal_stats.h:113:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    WAL_FILE_SYNCED,
    ^
./include/rocksdb/statistics.h:195:3: note: previous declaration is here
  WAL_FILE_SYNCED,  // Number of times WAL sync is done
  ^
In file included from db/builder.cc:19:
./db/internal_stats.h:114:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    BYTES_WRITTEN,
    ^
./include/rocksdb/statistics.h:131:3: note: previous declaration is here
  BYTES_WRITTEN,
  ^
In file included from db/builder.cc:19:
./db/internal_stats.h:115:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    NUMBER_KEYS_WRITTEN,
    ^
./include/rocksdb/statistics.h:124:3: note: previous declaration is here
  NUMBER_KEYS_WRITTEN,
  ^
In file included from db/builder.cc:19:
./db/internal_stats.h:116:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    WRITE_DONE_BY_OTHER,
    ^
./include/rocksdb/statistics.h:201:3: note: previous declaration is here
  WRITE_DONE_BY_OTHER,  // Equivalent to writes done for others
  ^
In file included from db/builder.cc:19:
./db/internal_stats.h:117:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    WRITE_DONE_BY_SELF,
    ^
./include/rocksdb/statistics.h:200:3: note: previous declaration is here
  WRITE_DONE_BY_SELF,
  ^
In file included from db/builder.cc:19:
./db/internal_stats.h:118:5: error: declaration shadows a variable in namespace 'rocksdb' [-Werror,-Wshadow]
    WRITE_WITH_WAL,
    ^
./include/rocksdb/statistics.h:203:3: note: previous declaration is here
  WRITE_WITH_WAL,       // Number of Write calls that request WAL
  ^
7 errors generated.
gmake[1]: *** [Makefile:683: shared-objects/db/builder.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/rocksdb/work/rocksdb-6.2.2'
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/rocksdb

PR:		236213
Reported by:	jbeich
Reference:	https://github.com/facebook/rocksdb/issues/4946
2019-09-28 20:02:33 +00:00
Sunpoet Po-Chuan Hsieh
1c3d881267 Update to 6.2.4
Changes:	https://github.com/facebook/rocksdb/releases
2019-09-27 21:26:12 +00:00
Sunpoet Po-Chuan Hsieh
f0a6349b52 Update to 6.2.2
Changes:	https://github.com/facebook/rocksdb/releases
2019-08-04 16:10:04 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Sunpoet Po-Chuan Hsieh
354d765e61 Update to 6.1.2
Changes:	https://github.com/facebook/rocksdb/releases
2019-06-06 18:36:37 +00:00
Sunpoet Po-Chuan Hsieh
3c20011aed Update to 6.0.2
Changes:	https://github.com/facebook/rocksdb/releases
2019-04-24 17:42:02 +00:00
Sunpoet Po-Chuan Hsieh
cb3e63ae6e Update to 6.0.1
Changes:	https://github.com/facebook/rocksdb/releases
2019-04-18 17:59:48 +00:00
Sunpoet Po-Chuan Hsieh
feb9e0022d Convert to test framework 2019-04-16 23:49:12 +00:00
Sunpoet Po-Chuan Hsieh
d345741594 Update to 5.18.3
Changes:	https://github.com/facebook/rocksdb/releases
2019-03-01 11:18:26 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Antoine Brodin
c06409c76b Spell CHOSEN_COMPILER_TYPE correctly
PR:		199098
With hat:	portmgr
2018-12-11 10:10:02 +00:00
Sunpoet Po-Chuan Hsieh
e351c7490b Fix build and unbreak this port
Approved by:	portmgr (blanket)
2018-11-26 18:59:28 +00:00
Sunpoet Po-Chuan Hsieh
6a42830a29 Fix build on i386 2018-11-25 17:10:50 +00:00
Sunpoet Po-Chuan Hsieh
f221f8ec3e Update to 5.17.2
Changes:	https://github.com/facebook/rocksdb/releases
2018-11-13 23:55:17 +00:00
Sunpoet Po-Chuan Hsieh
a39a1d668b Update to 5.15.10
Changes:	https://github.com/facebook/rocksdb/releases
2018-09-15 23:59:53 +00:00
Sunpoet Po-Chuan Hsieh
50ffafbd07 Update to 5.14.3
Changes:	https://github.com/facebook/rocksdb/releases
2018-08-23 17:53:44 +00:00
Sunpoet Po-Chuan Hsieh
12ddabb329 Update WWW 2018-08-22 21:45:00 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Sunpoet Po-Chuan Hsieh
4a46ba1813 Update to 5.14.2
Changes:	https://github.com/facebook/rocksdb/releases
2018-07-29 19:09:40 +00:00
Sunpoet Po-Chuan Hsieh
db5765792f Update to 5.13.4
Changes:	https://github.com/facebook/rocksdb/releases
2018-06-24 20:16:04 +00:00
Mark Linimon
836c2938d1 Mark ports broken on powerpc64, categories d-f.
While here, pet portlint and do some other cleanup.

Approved by:	portmgr (tier-2 blanket)
2018-06-18 03:49:09 +00:00
Sunpoet Po-Chuan Hsieh
603c669939 Update to 5.13.2
Changes:	https://github.com/facebook/rocksdb/releases
2018-05-26 17:46:38 +00:00
Sunpoet Po-Chuan Hsieh
01c6f839ca Update to 5.13.1
Changes:	https://github.com/facebook/rocksdb/releases
2018-05-16 23:54:06 +00:00
Sunpoet Po-Chuan Hsieh
c872ad9740 Update to 5.12.4
Changes:	https://github.com/facebook/rocksdb/releases
2018-04-27 15:55:13 +00:00
Sunpoet Po-Chuan Hsieh
f4638fe478 Update to 5.12.2
Changes:	https://github.com/facebook/rocksdb/releases
2018-04-04 18:50:36 +00:00
Sunpoet Po-Chuan Hsieh
65306f3d04 Update to 5.11.3
Changes:	https://github.com/facebook/rocksdb/releases
2018-03-13 20:30:20 +00:00
Sunpoet Po-Chuan Hsieh
585f0638d9 Update to 5.10.4
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/5.10.fb/HISTORY.md
2018-03-02 18:51:28 +00:00
Sunpoet Po-Chuan Hsieh
db8ed76618 Fix rocksdb-lite for osquery
- Bump PORTREVISION for package change

Requested by:	lx
Reference:	https://github.com/facebook/osquery/issues/4059
2018-02-25 05:31:39 +00:00
Sunpoet Po-Chuan Hsieh
ff9ed7f222 Update to 5.10.3
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/5.10.fb/HISTORY.md
2018-02-22 19:50:12 +00:00
Sunpoet Po-Chuan Hsieh
63c38b7244 Fix build on FreeBSD 10
PR:		225785
Submitted by:	lbartoletti <lbartoletti@tuxfamily.org>
MFH:		2018Q1
2018-02-15 12:48:04 +00:00
Sunpoet Po-Chuan Hsieh
c0fde41884 Update to 5.10.2
- Use newly-added ROCKSDB_DISABLE_* environment variables

Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2018-02-07 20:09:59 +00:00
Sunpoet Po-Chuan Hsieh
af872954fd Pet portlint: move BROKEN_* upward 2017-12-27 19:51:30 +00:00
Mark Linimon
8c16acd767 Remove "-march=native" as a barrier to building on arm.
However, the builds still fail, but much farther along in the process.
So, this fix is necessary, but insufficient.

TODO: confirm the exact way rocksdb-lite fails on armv7 (I haven't run
that combination yet).

Approved by:	portmgr (tier-2 blanket)
2017-12-27 08:02:58 +00:00
Sunpoet Po-Chuan Hsieh
07accf827f Cosmetic change to avoid unpaired symbols 2017-12-23 16:49:17 +00:00
Sunpoet Po-Chuan Hsieh
d93dc7ae1a Update to 5.9.2
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-12-19 18:20:26 +00:00
Sunpoet Po-Chuan Hsieh
9afc1e4bbc Update to 5.8.8
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-12-11 10:36:44 +00:00
Sunpoet Po-Chuan Hsieh
ef0543a66b Update to 5.8.7
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-12-03 20:34:18 +00:00
Ryan Steinmetz
6596575b71 - Fix sysutils/osquery build by adding USE_RTTI=1 to MAKE_ENV
- Bump PORTREVISION

PR:		223836
Submitted by:	lwshu@
2017-12-01 12:56:49 +00:00
Mark Linimon
bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00
Sunpoet Po-Chuan Hsieh
a02a0c65db Update to 5.8.6
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-11-21 18:05:51 +00:00
Sunpoet Po-Chuan Hsieh
84cd922109 Update to 5.8
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-11-20 04:30:26 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Sunpoet Po-Chuan Hsieh
2bd877d023 Update to 5.7.3
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-08-31 15:31:29 +00:00
Sunpoet Po-Chuan Hsieh
449449220b Pet portlint: move BROKEN_* upward 2017-08-20 12:26:24 +00:00
Sunpoet Po-Chuan Hsieh
3fa1238d18 Update to 5.7.2
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-08-16 15:44:39 +00:00
Sunpoet Po-Chuan Hsieh
16fbc3b1f5 Update to 5.7.1
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-08-12 18:58:43 +00:00
Sunpoet Po-Chuan Hsieh
530124da8e Update to 5.6.1
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-07-26 18:20:14 +00:00
Sunpoet Po-Chuan Hsieh
1d9e7d669c Update to 5.5.5
- Update LICENSE

Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-07-19 18:04:46 +00:00
Sunpoet Po-Chuan Hsieh
53f99758a3 Update to 5.5.3
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-07-18 17:54:55 +00:00
Sunpoet Po-Chuan Hsieh
21032dc19e Update to 5.5.2
Changes:	https://github.com/facebook/rocksdb/releases
		https://github.com/facebook/rocksdb/blob/master/HISTORY.md
2017-07-14 20:09:44 +00:00