After [1], CMake trusts OPENSSL_ROOT_DIR implicitly, so if isn't set
right, OpenSSL may not be found.
This project uses OPENSSL_PATHS to set OPENSSL_ROOT_DIR, so CMake tries
to find OpenSSL in TILEDB_EP_INSTALL_PREFIX which is problably not where
we want to look. Pass ${OPENSSLBASE} to set OPENSSL_PATHS so we are
looking in the right location.
[1] 5cc8a69867
PR: 274225
Approved by: portmgr (blanket build fix)
Same fix as the one sunpoet@ previously applied for i386.
Obtained from: 204c0a1aad
Approved by: portmgr (build fix blanket)
MFH: 2023Q4
databases/tiledb: Update to 2.17.1
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:281:50: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
return {static_cast<uint8_t*>(data_.data()), data_.size()};
^~~~~~~~~~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:281:50: note: insert an explicit cast to silence this issue
return {static_cast<uint8_t*>(data_.data()), data_.size()};
^~~~~~~~~~~~
static_cast<size_type>( )
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:291:53: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
return {static_cast<uint8_t*>(offsets_.data()), offsets_.size()};
^~~~~~~~~~~~~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:291:53: note: insert an explicit cast to silence this issue
return {static_cast<uint8_t*>(offsets_.data()), offsets_.size()};
^~~~~~~~~~~~~~~
static_cast<size_type>( )
2 errors generated.
Reference: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pe4b8bfc7570d_sf7a5903de2/logs/tiledb-2.17.1.loghttps://pkg-status.freebsd.org/beefy15/data/132i386-default/e4b8bfc7570d/logs/tiledb-2.17.1.log
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1721:18: error: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'std::basic_string_view::size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
return {min, size};
^~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1721:18: note: insert an explicit cast to silence this issue
return {min, size};
^~~~
static_cast<size_type>( )
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1725:38: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'std::basic_string_view::size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
return {static_cast<char*>(min), size};
^~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1725:38: note: insert an explicit cast to silence this issue
return {static_cast<char*>(min), size};
^~~~
static_cast<size_type>( )
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1794:18: error: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'std::basic_string_view::size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
return {max, size};
^~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1794:18: note: insert an explicit cast to silence this issue
return {max, size};
^~~~
static_cast<size_type>( )
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1798:38: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'std::basic_string_view::size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
return {static_cast<char*>(max), size};
^~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.15.2/tiledb/sm/fragment/fragment_metadata.cc:1798:38: note: insert an explicit cast to silence this issue
return {static_cast<char*>(max), size};
^~~~
static_cast<size_type>( )
4 errors generated.
Reference: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pdf5b273c8e36_s83d5725005/logs/tiledb-2.15.2.log
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)