Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D28F200CFC for ; Thu, 14 Sep 2017 00:05:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 389A01609CB; Wed, 13 Sep 2017 22:05:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 803291609CA for ; Thu, 14 Sep 2017 00:05:31 +0200 (CEST) Received: (qmail 97324 invoked by uid 500); 13 Sep 2017 22:05:30 -0000 Mailing-List: contact bugs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apr.apache.org Delivered-To: mailing list bugs@apr.apache.org Received: (qmail 97313 invoked by uid 99); 13 Sep 2017 22:05:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2017 22:05:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 04DDE1A618C for ; Wed, 13 Sep 2017 22:05:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QtEVk4kOccMv for ; Wed, 13 Sep 2017 22:05:27 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B5D5C5F29A for ; Wed, 13 Sep 2017 22:05:26 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 45D41E0026 for ; Wed, 13 Sep 2017 22:05:26 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 527DA60602; Wed, 13 Sep 2017 22:05:23 +0000 (UTC) From: bugzilla@apache.org To: bugs@apr.apache.org Subject: [Bug 61517] New: APR-Util configure fails against mariadb-10.2.8+ Date: Wed, 13 Sep 2017 22:05:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: APR X-Bugzilla-Component: APR-util X-Bugzilla-Version: 1.6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugs-a17@moonlit-rail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@apr.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 archived-at: Wed, 13 Sep 2017 22:05:32 -0000 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D61517 Bug ID: 61517 Summary: APR-Util configure fails against mariadb-10.2.8+ Product: APR Version: 1.6.0 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: APR-util Assignee: bugs@apr.apache.org Reporter: bugs-a17@moonlit-rail.com Target Milestone: --- Created attachment 35325 --> https://bz.apache.org/bugzilla/attachment.cgi?id=3D35325&action=3Dedit Patch to fix MariaDB-10.2 detection The configure script for APR-Util fails to detect the current "GA" release = of MariaDB, 10.2. This is due to a re-factoring of header files under /usr/include/mysql, introduced in mariadb-10.2.8, that move "server" and ot= her internal headers into their own private subdirectories. The actual MySQL code, in dbd/apr_dbd_mysql.c, has been written to deal with different versions of header files being loaded; it compiles just fine with= the newer MariaDB. But the autoconf script in build/dbd.m4 looks for internal header files that are not really supposed to be used by client code, specifically my_sys.h and my_global.h. I rewrote the logic to gate inclusion of MySQL on only two cl= ient headers, mysql.h and errmsg.h. The other header files are still tested, bu= t do not gate inclusion of MySQL. As the newer mariadb-10.2 changes the name of its shared library from libmysqlclient to libmariadb, I also added detection and handling for that. I have attached my patch against apr-util-1.6.0 --=20 You are receiving this mail because: You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org For additional commands, e-mail: bugs-help@apr.apache.org