Created attachment 245993 [details] patch to fix type incompatibilities Scenario: - FreeBSD stable/14 (Oct. 27) - ports latest - compiling ports using portmaster - building databases/grass8 Result: - build fails in db/drivers/mysql/db.c with incompatible types (char * instead of required int for parameter "port") Expected result: - build should succeed Patch attached (compiles, but untested). This could never have worked before - all combinations of grass7/8 and mysql 5.7/8.0 seem to be wrong. -- Martin
Indeed, has been patched upstream https://github.com/OSGeo/grass/pull/3325
(In reply to Loïc Bartoletti from comment #1) has upstream been pulled down? failed for me today while doing my ports rebuild after upgrading to 14.0p5 release amd64. Same error with mysql driver
Hi, Should be fixed in https://cgit.freebsd.org/ports/commit/?id=4d6dff20cdbc7e3bc41a3e0b668d474033d9bb2c Please, let me know, if it's ok to you.
(In reply to Loïc Bartoletti from comment #3) I rebuilt the port after it was upgraded, and the patch (see the attachments) still applied cleanly. So I guess it is still needed and the issue has not yet been fixed upstream. -- Martin
(In reply to Loïc Bartoletti from comment #3) I didn't try Martin's patch, but from ports alone no it still fails to build the mysql driver as of a ports tree pull about 2 hours ago.