[MacPorts] #57449: p5.26-dbd-mysql @4.48.0_0 +mariadb10_2 fails to build (was: p5.26-dbd-mysql fails to build)
MacPorts
noreply at macports.org
Fri Oct 26 00:04:05 UTC 2018
#57449: p5.26-dbd-mysql @4.48.0_0 +mariadb10_2 fails to build
------------------------------+--------------------
Reporter: hbsimon | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: p5.26-dbd-mysql |
------------------------------+--------------------
Changes (by jmroot):
* port: => p5.26-dbd-mysql
Old description:
> Hi,
>
> p5.26-dbd-mysql fails to build with following error on macOS Sierra
> 10.12.6 and MacPorts-2.5.4-10.12-Sierra
>
> Error: Failed to build p5.26-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.26-dbd-mysql/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port p5.26-dbd-mysql failed
>
> Install command was sudo port -N install p5.26-dbd-mysql +mariadb10_2
New description:
Hi,
p5.26-dbd-mysql fails to build with following error on macOS Sierra
10.12.6 and MacPorts-2.5.4-10.12-Sierra
{{{
Error: Failed to build p5.26-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.26-dbd-mysql/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port p5.26-dbd-mysql failed
}}}
Install command was sudo port -N install p5.26-dbd-mysql +mariadb10_2
--
Comment:
The error in the log is:
{{{
:info:build dbdimp.c:1910:56: error: invalid token at start of a
preprocessor expression
:info:build #if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID <
MARIADB_BASE_VERSION)
:info:build ^
:info:build /opt/local/include/mariadb-10.2/mysql/mariadb_version.h:14:31:
note: expanded from macro 'MARIADB_BASE_VERSION'
:info:build #define MARIADB_BASE_VERSION "mariadb-10.2"
:info:build ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57449#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list