Page MenuHomeFreeBSD

databases/mongodb60: mark broken on FreeBSD 12.
ClosedPublic

Authored by ronald_klop.ws on Nov 1 2022, 3:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 14 2024, 10:27 AM
Unknown Object (File)
Jan 26 2024, 4:18 PM
Unknown Object (File)
Jan 12 2024, 6:29 AM
Unknown Object (File)
Dec 29 2023, 3:12 AM
Unknown Object (File)
Dec 20 2023, 8:19 AM
Unknown Object (File)
Nov 6 2023, 5:07 AM
Unknown Object (File)
Oct 9 2023, 10:27 AM
Unknown Object (File)
Oct 9 2023, 10:27 AM
Subscribers

Details

Summary

Llvm in FreeBSD 12.3 gives several compile errors.
One example:
src/mongo/s/sharding_initialization.cpp:171:49: error: no viable constructor or deduction guide for deduction of template arguments of 'weak_ptr'

connPoolOptions.controllerFactory = [srwp = std::weak_ptr(srsp)] {

http://beefy6.nyi.freebsd.org/data/123amd64-default/0116f5c59197/logs/errors/mongodb60-6.0.2.log

PR: 266587

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I tried compiling with llvm12, but got the same error.
So lets try again when 12.4 is released. When this is in I want to merge the fixes to quarterly.

I tried compiling with llvm12, but got the same error.
So lets try again when 12.4 is released. When this is in I want to merge the fixes to quarterly.

Do note there is a 3-4 month overlap between 12.3 and 12.4.

databases/mongodb60/Makefile
17

FreeBSD 12.4 will have a newer libc++ so the port will probably build there, so an alternative would be to add a BROKEN for 12.3 only (which needs manual code, see e.g. commit df6f60b28be35b500fec4d8573159e22a88b489c in www/chromium)

databases/mongodb60/Makefile
17

Thanks. I’m going to try your OSREL suggestion.

Use OSREL=12.3 so it will start compiling again when 12.4 is released. As suggested by rene.

This revision is now accepted and ready to land.Nov 3 2022, 9:08 AM

Perhaps IGNORE would be better, as it indicates that the port will not be fixed anymore on 12.3. See https://docs.freebsd.org/en/books/porters-handbook/porting-dads/#dads-noinstall-variables The main difference is that the port won't be built anymore in a TRY_BROKEN run if it is marked as IGNORE.