[Bug 273370] irc/anope: MySQL database support not working with databases/mariadb106-client
Date: Sun, 27 Aug 2023 13:30:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273370 --- Comment #1 from Fabian Wenk <fabian@wenks.ch> --- As Sadie recommended the patch irc/anope/files/patch-modules_extra_m__mysql.cpp does prevent anope from building with mysql, I have removed it and tried to build again, which now gives a build error: riddler:/usr/ports/irc/anope/ # rm files/patch-modules_extra_m__mysql.cpp riddler:/usr/ports/irc/anope/ # make [...] ===> Applying FreeBSD patches for anope-2.0.14 from /usr/ports/irc/anope/files /bin/ln -s /usr/ports/irc/anope/work/anope-2.0.14/modules/extra/m_mysql.cpp /usr/ports/irc/anope/work/anope-2.0.14/modules/ /bin/ln -s /usr/ports/irc/anope/work/anope-2.0.14/modules/extra/m_sql_authentication.cpp /usr/ports/irc/anope/work/anope-2.0.14/modules/ [...] ===> anope-2.0.14 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) ===> anope-2.0.14 depends on shared library: libmariadb.so.3 - found (/usr/local/lib/mysql/libmariadb.so.3) ===> anope-2.0.14 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) [...] -- Looking for kqueue -- Looking for kqueue - found CMake Error at cmake/Anope.cmake:477 (message): /usr/ports/irc/anope/work/anope-2.0.14/modules/m_mysql.cpp needs library mysqlclient but we were unable to locate that library! Check that the library is within the search path of your OS. Call Stack (most recent call first): modules/CMakeLists.txt:74 (calculate_libraries) modules/CMakeLists.txt:203 (build_modules) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. make[1]: stopped in /usr/ports/irc/anope *** Error code 1 Stop. make: stopped in /usr/ports/irc/anope I also have added this to upstream, see: https://github.com/anope/anope/issues/319#issuecomment-1694668291 -- You are receiving this mail because: You are the assignee for the bug.