From owner-freebsd-perl@freebsd.org Tue Sep 11 10:42:34 2018 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8028108CAE0 for ; Tue, 11 Sep 2018 10:42:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7145171B8A for ; Tue, 11 Sep 2018 10:42:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 35EF0108CADC; Tue, 11 Sep 2018 10:42:33 +0000 (UTC) Delivered-To: perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 141C6108CADA for ; Tue, 11 Sep 2018 10:42:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9258A71B87 for ; Tue, 11 Sep 2018 10:42:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A811623C24 for ; Tue, 11 Sep 2018 10:42:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8BAgVap090840 for ; Tue, 11 Sep 2018 10:42:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8BAgVYI090839 for perl@FreeBSD.org; Tue, 11 Sep 2018 10:42:31 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: perl@FreeBSD.org Subject: [Bug 231299] databases/p5-DBD-mysql: Does not compile with MariaDB 10.1 Date: Tue, 11 Sep 2018 10:42:31 +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 Only Me X-Bugzilla-Who: sascha@root-login.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: perl@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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 10:42:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231299 Bug ID: 231299 Summary: databases/p5-DBD-mysql: Does not compile with MariaDB 10.1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: perl@FreeBSD.org Reporter: sascha@root-login.org Assignee: perl@FreeBSD.org Flags: maintainer-feedback?(perl@FreeBSD.org) Hi, after the update to 4.047 the port doesn't compile with MariaDB installed: --- dbdimp.o --- dbdimp.c:1910:56: error: invalid token at start of a preprocessor expression #if (MYSQL_VERSION_ID >=3D 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSI= ON) ^ /usr/local/include/mysql/mysql_version.h:16:31: note: expanded from macro 'MARIADB_BASE_VERSION' #define MARIADB_BASE_VERSION "mariadb-10.1" ^ dbdimp.c:1917:56: error: invalid token at start of a preprocessor expression #if (MYSQL_VERSION_ID >=3D 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSI= ON) ^ /usr/local/include/mysql/mysql_version.h:16:31: note: expanded from macro 'MARIADB_BASE_VERSION' #define MARIADB_BASE_VERSION "mariadb-10.1" Full poudriere log at: https://pkgs.blumenschaender.de/data/112amd64-default-desk/2018-09-11_04h09= m16s/logs/errors/p5-DBD-mysql-4.047.log There is already a bug report open upstream: https://github.com/perl5-dbi/DBD-mysql/issues/262=20 The code in question was introduced with commit f4b0004ea5422ed724a252be07731f0bd8c24c79. I'm not quite sure what the author had in mind here and there is also no MARIADB equivalent to MYSQL_VERSION_ID in /usr/local/include/mysql/mysql_version.h. So i've not come up with a workaround, yet. --=20 You are receiving this mail because: You are the assignee for the bug.=