[MacPorts] #72576: p5.34-dbd-mysql @5.12.0_0+mariadb10_11 fails to build
MacPorts
noreply at macports.org
Wed Jun 4 14:19:04 UTC 2025
#72576: p5.34-dbd-mysql @5.12.0_0+mariadb10_11 fails to build
---------------------+-----------------------------
Reporter: acediac | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.7
Keywords: | Port: p5.34-dbd-mysql
---------------------+-----------------------------
p5.34-dbd-mysql for the mariadb-10.11 variant fails to build.
{{{
sudo port install p5.34-dbd-mysql +mariadb10_11
---> Computing dependencies for p5.34-dbd-mysql
---> Fetching distfiles for p5.34-dbd-mysql
---> Verifying checksums for p5.34-dbd-mysql
---> Extracting p5.34-dbd-mysql
---> Configuring p5.34-dbd-mysql
---> Building p5.34-dbd-mysql
Error: Failed to build p5.34-dbd-mysql: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-dbd-mysql/p5.34-dbd-mysql/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port p5.34-dbd-mysql failed
}}}
Looking into the logs, it seems on line 769 of dbdimp.c the
''mysql_real_escape_string_quote'' function is being called but cannot be
found.
It also seems like in other places of the file (e.g. line 5545) there is a
#if wrapper that calls ''mysql_real_escape_string'' instead for certain
versions of mysql and for mariadb. For some reason line 769 was missed. I
did the same thing to line 769 and it then compiled and installed. I have
enclosed the patchfile in case it helps.
I have not tested this on any other variant except +mariadb10_11.
--
Ticket URL: <https://trac.macports.org/ticket/72576>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list