Opened 6 years ago

Closed 6 years ago

#57240 closed defect (fixed)

p5.26-dbd-mysql @4.048 +mariabd: error: invalid token at start of a preprocessor expression

Reported by: khorton (Kevin Horton) Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ctreleaven (Craig Treleaven), dbevans (David B. Evans)
Port: p5-dbd-mysql

Description

Attempts to build p5.26-dbd-mysql 4.048 [+mariabd] on macOS 10.14 fail identically on two computers. The build log ends with (full log attached):

:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-dbd-mysql/p5.26-dbd-mysql/work/DBD-mysql-4.048'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-dbd-mysql/p5.26-dbd-mysql/work/DBD-mysql-4.048" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build Failed to build p5.26-dbd-mysql: command execution failed
:debug:build Error code: CHILDSTATUS 27310 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build 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.

Attachments (1)

dbi-mysql_error.log (38.7 KB) - added by khorton (Kevin Horton) 6 years ago.
Build error log

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by khorton (Kevin Horton)

Attachment: dbi-mysql_error.log added

Build error log

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Port: p5-dbd-mysql added; p5.26-dbd-mysql removed
Summary: p5.26-dbd-mysql @4.048 +mariabd: build failure on macOS 10.14p5.26-dbd-mysql @4.048 +mariabd: error: invalid token at start of a preprocessor expression

comment:2 Changed 6 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven added

comment:3 Changed 6 years ago by curranfey

I'm encountering the same error on macOS 10.11, MacPorts 2.5.4, Xcode 8.2.1

comment:4 Changed 6 years ago by mojca (Mojca Miklavec)

Cc: dbevans added
Version: 2.5.4

comment:5 Changed 6 years ago by mojca (Mojca Miklavec)

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231271 with a link to the patch which solved the issues for FreeBSD at least.

comment:6 Changed 6 years ago by ctreleaven (Craig Treleaven)

Owner: set to ctreleaven
Resolution: fixed
Status: newclosed

In f67f573256941c47101db966bfacba3b75e5e689/macports-ports (master):

p5-dbd-mysql: bump to 4.049

Fixes: #57240

Note: See TracTickets for help on using tickets.