build is broken with llvm19
fixes:
[00:35:47] In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp:2:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler.cpp:7:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:10:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler.h:14:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSCompartment.h:22:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/gc/Zone.h:18:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:27:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/frontend/NameCollections.h:13:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/Stack.h:23:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/jit/JSJitFrameIter.h:15:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSFunction.h:17:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/JSScript.h:31:
[00:35:48] In file included from src/third_party/mozjs-60/extract/js/src/vm/SharedImmutableStringsCache.h:21:
[00:35:48] src/third_party/mozjs-60/extract/js/src/threading/ExclusiveData.h:124:33: error: reference to non-static member function must be called
[00:35:48] 124 | : lock_(mozilla::Move(rhs.lock))
[00:35:48] | ~~~~^~~~
By popular demand as this port is used by net-mgmt/unifi8.
I couldn't find any information on the internet that the binary really
does something which requires AVX. For example this discussion:
https://github.com/turnkeylinux/tracker/issues/1724
PR: 277990
Requested by: glebius@
* BOOST_NO_CXX98_FUNCTION_BASE fixes:
In file included from src/third_party/boost/boost/functional/hash.hpp:6:
src/third_party/boost/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
struct hash_base : std::unary_function<T, std::size_t> {};
~~~~~^~~~~~~~~~~~~~
__unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
* And "#if 1" fixes:
In file included from src/third_party/boost/boost/mpl/integral_c.hpp:32:
src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp:73:31: error:
integer value -1 is outside the valid range of values [0, 3] for the enumeration
type 'lock_access_mode' [-Wenum-constexpr-conversion]
typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE,
(value - 1)) ) prior;
PR: 272295
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
changelog:
https://www.mongodb.com/docs/manual/release-notes/5.0/
Please read the release notes: Some past releases have critical issues.
Followed an upstream chagne in mongod.conf about removal of 2 settings. See UPDATING.
Upstream defaults to Sandybridge+ CPUs for amd64.
It is reported to still work with older CPUs.
No revision bump as the change does not impact the default build.
PR: 268510
Approved by: rene (mentor)
Differential Revision: https://reviews.freebsd.org/D37924
ChangeLog:
https://www.mongodb.com/docs/manual/release-notes/5.0/#5.0.12---sep-05--2022
* Add new implicitlyCreateIndex and enforceUniquenessCheck to shardCollection
command
* Add new enforceUniqueness to refineCollectionShardKey command
* Add addl. activation condition for
interruptBeforeProcessingPrePostImageOriginatingOp fail point
* A retry of _configSvrReshardCollection can succeed causing
resharding_coordinator_recovers_abort_decision.js to fail
* A retry of _shardsvrReshardCollection can cause DuplicateKey error
(resharding_nonblocking_coordinator_rebuild.js)
PR: 266293
Reported by: ronald-lists@klop.ws (maintainer)
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)
ChangeLog: https://github.com/mongodb/mongo/releases/tag/r5.0.9
* Remove limits on number of LDAP connections per host
* Detect namespace changes when refreshing Collection after yielding
* Sharding an empty collection releases the critical section too early
* Mongos fails to attach RetryableWrite Error Label For Command Interrupted
In _parseCommand
* Fix search near returning wrong key/value sometimes when key doesn't exist
PR: 264341
Reported by: ulassayginim@gmail.com
MFH: 2022Q2 (many bugfixes)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.
While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names.
- Fix scons by using in source scons 3.1.2 (They are planning to move to Scons
4.2.0 in the future)
- Disable LTO on clang12/aarch64, bug #257765
- Build already installs in $STAGEDIR, so only strip in do-install.
- Fix a portlint warnings about the comment at the LICENSE section.
PR: 257925