Hi, I just noticed that mysql 8.0 server fails on head after commit 50d7464c3fe6 (import of clang/llvm 15.0.7). Upstream already has a patch for this here: https://github.com/mysql/mysql-server/commit/69fb953b55474f32d0e1e35b043599c34e516349 I'm reporting this right away so it can be fixed quickly, I have still not tested the fix.
(In reply to Guido Falsi from comment #0) Hi, can you give me more info on this? I had tested it without problems on FreeBSD 12.3, 13.1 and CURRENT (amd64 / i386) in poudriere.
Yesterday evening llvm 15.0.7 has been imported into head (commit 50d7464c3fe6 to src is the last one completing the import). __FreeBSD_version was also bumped in commit 3264f6b88fce7c5437d205685863617d8f6a22dd Looks like this version of clang includes changes to the libc++ library affecting MySql server. there are also other changes affecting other ports for which I;m testing my own fixes. Since in this case the fix is coming from upstream and is beyond my understanding of how it works, I thought I could report it right away. I'm building a bunch of ports to update my machines on current at commit e6cf1a0826c9d7f229e41224ec7b783501636528, committed at 2023-02-08 20:50:46 +0000 (that's yesterday evening UTC)
thanks for the feedback. i will update my build machine with CURRENT and test it.
Created attachment 240048 [details] patch v1 I created a simple patch I tested i poudriere that makes it compile in all supported FreeBSD versions. Hope it helps.
Do you have more details for me? I can not reproduce the error. I have updated my server running on CURRENT, and also both CURRENT jails (i386 / amd64). In both CURRENT jails MySQL 8.0 builds successfully.
I'm getting the error compiling with poudriere with latest head, here is alink to a log file: https://www.madpilot.net/cloud/s/KWC92qayFeb5kTZ The failure may not show if, for example, you configured your systems to use another compiler by default.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f33a321916b70feece270f78b03eb081a7cefbf commit 9f33a321916b70feece270f78b03eb081a7cefbf Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2023-02-12 01:22:17 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2023-02-12 01:24:41 +0000 databases/mysql80-server: Fix build with LLVM15 This Patch fix an LLVM15 Problem on CURRENT PR: 269442 Reported by: madpilot Sponsored by: Netzkommune GmbH .../mysql80-server/files/patch-llvm15-fix (new) | 103 +++++++++++++++++++++ 1 file changed, 103 insertions(+)