From nobody Sat Aug 26 21:41:54 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RY9JN0KLMz4r435 for ; Sat, 26 Aug 2023 21:41:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RY9JL6N2nz4Ygx for ; Sat, 26 Aug 2023 21:41:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693086114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JqeqjuLQwv48mZZzYog89gDp8cKejjWzKGVsLLQmgcQ=; b=G+lGPEYox8BT6i0J8qCgTiP/tzVrYTgj8ubRq/+h9358wU7nRD3ozRw4w1sbt2/nokf2tf Fq0TFL7sgmfZKFZJO+2r2oSvPCaObmZwTOPEYYQinngCOH7tkmj05Wy+u6yqXqsBM3ckgp VEgLgKN274VcVC0xT/nvv4Ve23ZlrNxbjsJTPzPpV7Dpu70xOdgEQCSeCxW6QXdiH2ZXj+ Nh/5xXflTFiF/6Z0qO2BtOnjtX5b+XUorYLM/8jkXWQjuENHHKuA/FHHoSPYh0o9kU7ysB Qwen9aEnQyrVpIhGcIlAdRVjdspQgToLxAbOj9FK8itAGKSKcgRjuHrkEAgKgA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693086114; a=rsa-sha256; cv=none; b=MG4ZQgACVeD3RJac/3Pksu4FcJcM2YbUAd7KYBtxwVVwGWzML9zn5+ARbGpbTGBCv8CopP 96W9EWkjai8VhU3zQ3DZJuvp9m8zw7D3hm4teTX/TSZPit9yx8R8WxUhde5ZWlLGVRWYVS FezkfYleY6XVh8jkFzLGemALErJFG9EpTiWZnolaFWc+3MltjWXRfTU/6JrGC8nLi+ECLf Bi2EAV9NSYJwCYNwBqXi1Z74v125Wi6M5p4PnrYxBa7pFPkaNNN+GmLoWW3Rp2Yl2vVnck OQ+gxQl71FfZdvsnXp1KeXUVntVJSAN7VV5KiHvJKT5kQ9eZ/8sZVepzllOrxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RY9JL5Tw1zqq9 for ; Sat, 26 Aug 2023 21:41:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 37QLfsuO099454 for ; Sat, 26 Aug 2023 21:41:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37QLfsCV099453 for ports-bugs@FreeBSD.org; Sat, 26 Aug 2023 21:41:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 273370] irc/anope: MySQL database support not working with databases/mariadb106-client Date: Sat, 26 Aug 2023 21:41:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fabian@wenks.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273370 Bug ID: 273370 Summary: irc/anope: MySQL database support not working with databases/mariadb106-client Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fabian@wenks.ch CC: brnrd@freebsd.org, devnull@apt322.org CC: brnrd@freebsd.org, devnull@apt322.org I have configured the port with: [x] MYSQL MySQL database support I am running on FreeBSD 12.4 and with mariadb106-client-10.6.14 installed. On startup anope reports this in the current /usr/local/anope/logs/services.log.*: [Aug 26 21:20:59 2023] lib/modules/m_mysql.so: Undefined symbol "mysql_init" Relevant steps and output of a test build: # cd /usr/ports/irc/anope/ # make [...] =3D=3D=3D> Applying FreeBSD patches for anope-2.0.14 from /usr/ports/irc/a= nope/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/ [...] =3D=3D=3D> anope-2.0.14 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) =3D=3D=3D> anope-2.0.14 depends on shared library: libmariadb.so.3 - found (/usr/local/lib/mysql/libmariadb.so.3) =3D=3D=3D> anope-2.0.14 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) (/usr/local/lib/mysql/libmariadb.so.3) [...] [ 76% 311/402] /usr/bin/c++ -Dm_mysql_so_EXPORTS -I/usr/ports/irc/anope/work/.build/include -I/usr/ports/irc/anope/work/anope-2.0.14/include -I/usr/ports/irc/anope/work/.build/language -I/usr/ports/irc/anope/work/anope-2.0.14/modules/pseudoclients -I/usr/ports/irc/anope/work/anope-2.0.14/modules -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -= fPIC -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -isystem /usr/local/include= =20 -DNDEBUG -fPIC -Wall -Wshadow -ansi -pedantic -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -= fPIC -isystem /usr/local/include -pipe -MD -MT modules/CMakeFiles/m_mysql.so.dir/m_mysql.o -MF modules/CMakeFiles/m_mysql.so.dir/m_mysql.o.d -o modules/CMakeFiles/m_mysql.so.dir/m_mysql.o -c /usr/ports/irc/anope/work/anope-2.0.14/modules/m_mysql.cpp [ 76% 312/402] : && /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -isystem /usr/local/include= =20 -DNDEBUG -Wl,-rpath,/usr/local/lib -fstack-protector-strong -L/usr/local/l= ib=20 -pthread -shared -o modules/m_mysql.so modules/CMakeFiles/m_mysql.so.dir/m_mysql.o && : [...] -- Installing: /usr/ports/irc/anope/work/stage/usr/local/anope/lib/modules/m_mysql.so [...] # ldd /usr/ports/irc/anope/work/stage/usr/local/anope/lib/modules/m_mysql.so /usr/ports/irc/anope/work/stage/usr/local/anope/lib/modules/m_mysql.so: libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x8006a7000) libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x80077e000) libm.so.5 =3D> /lib/libm.so.5 (0x8007a0000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x8007d7000) libthr.so.3 =3D> /lib/libthr.so.3 (0x800e00000) libc.so.7 =3D> /lib/libc.so.7 (0x80024e000) Any idea where this fails in the build process? --=20 You are receiving this mail because: You are the assignee for the bug.=