Opened 6 years ago

Closed 6 years ago

#57449 closed defect (duplicate)

p5.26-dbd-mysql @4.48.0_0 +mariadb10_2 fails to build

Reported by: hbsimon (Horst Simon) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: p5.26-dbd-mysql

Description (last modified by jmroot (Joshua Root))

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

Attachments (1)

main.log.gz (5.0 KB) - added by hbsimon (Horst Simon) 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by hbsimon (Horst Simon)

Attachment: main.log.gz added

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: p5.26-dbd-mysql added
Summary: p5.26-dbd-mysql fails to buildp5.26-dbd-mysql @4.48.0_0 +mariadb10_2 fails to build

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                                         ^

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.