From nobody Thu Jun 04 18:39:35 2026 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 4gWYJS2DDhz6gldq for ; Thu, 04 Jun 2026 18:39:36 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gWYJS1gSqz4LKp for ; Thu, 04 Jun 2026 18:39:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780598376; 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=8ji162MVDhL5jmW3dpc3qSHzcs2M480XstwjxFztmcA=; b=ezAJeTmlOJGVheS3xv0GlP8fO7e/3dis4g5v+qtMF4+M/0jI8C4sMB0UHZrc3xXjRCks08 w22GFnNjKwkqXVDYYXqyj10A5+oAlmCOgacS2GCFqQIkCt22lyCKNIIhCyy/Uj20Ss8zC2 jORyGdMRjhuP8VlIXK20UHIAcOrDSPg+lHoFe9kF80mCivqaepZzYZqaRRxDH9bVjzZL/M ulowD4d/KnVqAQzRcbYaT4trpSN7u3izDZHOv94PLh3mZLxqvomIVxUoX0qurnL1mkF/Te ySetf03UBSyxAXVwni5QPJZNo2kH2cOjfXt2k0cGVUka+T0hGwKR4nFcjl3MCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780598376; a=rsa-sha256; cv=none; b=w2jsLYBu1QQQe0K17aGCD4jf86zZo+z0Eulol90TkbvLP98SsolMQl43IUnI5c9jt2tGHD KQcVMPa5GQjTY5ZRwzLMLGMctQuk3uhCL1BfNOVSTje9NLLFQMKg4EtNVG0G06Pq7BPHFy u9VIsslnKLGPdfqkfc4ZJuwcA4nrIUysfEptnHtlcy67XCAbNBKeuNGkqwBuC+9CGRAjVV VmYE80vd7tQ3VwQEK4DD/s29CTmHA+FR/IHjqZulFZ8WM9fwql2wE7E1xFQjYUoWy0E1nN UygFOGRUVBRyfTAq6Ao1tvbNrSW3Yw/lJyfxBbNqV5FOagJr+CikAWQZciRZtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780598376; 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=8ji162MVDhL5jmW3dpc3qSHzcs2M480XstwjxFztmcA=; b=MiLFlcr3s2GihlthoPPV0AVoS3PHCKQ4Y4EeSBKO3DvfAcRRh1RGnrlvvBQP1aCpUIyn/o tmbZGmubYzUu9YJnsSMQ2NekaA0nfP3d0VMzvcBbZsU7ijiuLjvHzfeSFfRF2Z9kSQfpwa gI3dcdyysVCChzcgBghQZcHgqaWUebdgrXfGAQIQM4gFgw/McvpFwPctz31v76ncxT/BkJ nC/d09i+RRUVFluxCgLzW9uSuE2CAh7ezWye1PA+9uyyqXOFvT1ytU680sM/G7rd1pm7pB uctLm5TG1HFysOoYH51kbyfnflvQsOpZZgxwEX/ShcsKlBTeBmjXhNXWgghEtA== 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 4gWYJS116rz18pD for ; Thu, 04 Jun 2026 18:39:36 +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 654Idaot035659 for ; Thu, 4 Jun 2026 18:39:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 654Idan9035658 for ports-bugs@FreeBSD.org; Thu, 4 Jun 2026 18:39:36 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 295854] databases/php8[2-5]-pdo_mysql: unable to build with /var/run/mysql/mysql.sock default Date: Thu, 04 Jun 2026 18:39:35 +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: bofh@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295854 Bug ID: 295854 Summary: databases/php8[2-5]-pdo_mysql: unable to build with /var/run/mysql/mysql.sock default Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: fabian@wenks.ch Flags: maintainer-feedback?(bofh@freebsd.org) Assignee: bofh@freebsd.org Since MariaDB 10.6 the default socket has changed from /tmp/mysql.sock to /var/run/mysql/mysql.sock. It would be nice if databases/php8[2-5]-pdo_mysql would also be able to be built with this new path. Discussion started with bug #267835 in November 2022, but just recently in = bug #267835 comment 17 I got encouraged to try to look again into this. I have tried a few things, but so far I was unable to build databases/php84-pdo_my= sql with the new default path to /var/run/mysql/mysql.sock default. As Marcos M= ello thinks it seems that the two ports databases/php84-pdo_mysql and databases/php84-mysqli may need to be built together and not as individual ports. I at least was able to build databases/php84-mysqli with the new def= ault path, but it failed for the binaries and libraries in lang/php84, www/mod_p= hp84 and databases/php84-pdo_mysql. I will not repeat the whole long details / outputs here, as everything is available starting at bug #267835 comment 18. Hopefully someone with more FreeBSD Ports, and especially PHP ports related know-how is able to come up with a solution for this. As a workaround in /usr/local/etc/php.ini the option 'pdo_mysql.default_soc= ket =3D /var/run/mysql/mysql.sock' needs to be set, or else MariaDB 10.6+ may be reverted in /usr/local/etc/mysql/my.cnf with the "old" default path in the [client-server] section with 'socket =3D /tmp/mysql.socket'. --=20 You are receiving this mail because: You are the assignee for the bug.=