From patchwork Tue Dec 11 11:04:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 205172 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 4B1182C0087 for ; Tue, 11 Dec 2012 22:04:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7317C100E21; Tue, 11 Dec 2012 11:04:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OJCVQ1R5XBoq; Tue, 11 Dec 2012 11:04:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2E015100D12; Tue, 11 Dec 2012 11:04:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8D8378F74B for ; Tue, 11 Dec 2012 11:04:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 21A6F8082D for ; Tue, 11 Dec 2012 11:04:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V-GaCJ6XyGxZ for ; Tue, 11 Dec 2012 11:04:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id 288AF8033B for ; Tue, 11 Dec 2012 11:04:16 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1TiNdC-0004Jf-Va; Tue, 11 Dec 2012 12:04:12 +0100 Received: from arnout by vandecaa-laptop with local (Exim 4.80) (envelope-from ) id 1TiNdB-000125-VR; Tue, 11 Dec 2012 12:04:10 +0100 From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@busybox.net Date: Tue, 11 Dec 2012 12:04:09 +0100 Message-Id: <1355223849-3934-1-git-send-email-arnout@mind.be> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] host-libxml2: enable debug for mesa3d X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The API generation script in mesa3d requires libxml2 to be built with debug, because it uses the lsCountNode function which is only available in debug mode. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- I'm very surprised there are not autobuilder failures for mesa3d, since this fails consistently for me on all configs that have python enabled. package/libxml2/libxml2.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index fde3735..0c84652 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -26,7 +26,12 @@ LIBXML2_POST_INSTALL_STAGING_HOOKS += LIBXML2_STAGING_LIBXML2_CONFIG_FIXUP HOST_LIBXML2_DEPENDENCIES = host-pkgconf +# mesa3d uses functions that are only available with debug +ifeq ($(BR2_PACKAGE_MESA3D),y) +HOST_LIBXML2_CONF_OPT = --with-debug +else HOST_LIBXML2_CONF_OPT = --without-debug +endif ifeq ($(BR2_PACKAGE_HOST_LIBXML2_PYTHON),y) HOST_LIBXML2_DEPENDENCIES += host-python