[{"id":1762193,"web_url":"http://patchwork.ozlabs.org/comment/1762193/","msgid":"<20170902231217.530a9008@windsurf.lan>","list_archive_url":null,"date":"2017-09-02T21:12:17","subject":"Re: [Buildroot] [PATCH v2] package/xmlstarlet: fix host build","submitter":{"id":2230,"url":"http://patchwork.ozlabs.org/api/people/2230/","name":"Thomas Petazzoni","email":"thomas.petazzoni@free-electrons.com"},"content":"Hello,\n\nOn Sat,  2 Sep 2017 22:07:41 +0200, Romain Naour wrote:\n\n> Fixes:\n> src/xml_C14N.c:12:31: erreur fatale : libxml/xmlversion.h : No such file or directory\n>  #include <libxml/xmlversion.h>\n>                                ^\n> In file included from src/trans.c:4:0:\n> src/trans.h:32:30: erreur fatale : libxml/xmlmemory.h : No such file or directory\n>  #include <libxml/xmlmemory.h>\n\nStill some french messages here, so I've fixed that.\n\n> +HOST_XMLSTARLET_CONF_OPTS += \\\n> +\t--with-libxml-prefix=$(HOST_DIR)/usr \\\n> +\t--with-libxslt-prefix=$(HOST_DIR)/usr \\\n> +\t--with-libiconv-prefix=$(HOST_DIR)/usr\n\nThe last option is not needed, we don't have libiconv on the host.\n\nCommitted with those issues fixed. Thanks!\n\nThomas","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xl82Y1cVpz9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 07:12:28 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 034CF86DC9;\n\tSat,  2 Sep 2017 21:12:25 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id FZeuQXHRRYsM; Sat,  2 Sep 2017 21:12:22 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8E86E869F7;\n\tSat,  2 Sep 2017 21:12:22 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id E26FF1C1539\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 21:12:20 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 1C0B32EC14\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 21:12:16 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id MvBkW36equbg for <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 21:12:15 +0000 (UTC)","from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby silver.osuosl.org (Postfix) with ESMTP id 23F492694E\n\tfor <buildroot@buildroot.org>; Sat,  2 Sep 2017 21:12:15 +0000 (UTC)","by mail.free-electrons.com (Postfix, from userid 110)\n\tid CF71E209FD; Sat,  2 Sep 2017 23:12:17 +0200 (CEST)","from windsurf.lan (unknown [185.94.29.10])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 7C441209CB;\n\tSat,  2 Sep 2017 23:12:17 +0200 (CEST)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Sat, 2 Sep 2017 23:12:17 +0200","From":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>","To":"Romain Naour <romain.naour@gmail.com>","Message-ID":"<20170902231217.530a9008@windsurf.lan>","In-Reply-To":"<20170902200741.2878-1-romain.naour@gmail.com>","References":"<20170902200741.2878-1-romain.naour@gmail.com>","Organization":"Free Electrons","X-Mailer":"Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","Cc":"Bernd Kuhls <bernd.kuhls@t-online.de>, buildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH v2] package/xmlstarlet: fix host build","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1787770,"web_url":"http://patchwork.ozlabs.org/comment/1787770/","msgid":"<87vajewyxf.fsf@dell.be.48ers.dk>","list_archive_url":null,"date":"2017-10-16T21:44:12","subject":"Re: [Buildroot] [PATCH v2] package/xmlstarlet: fix host build","submitter":{"id":42365,"url":"http://patchwork.ozlabs.org/api/people/42365/","name":"Peter Korsgaard","email":"peter@korsgaard.com"},"content":">>>>> \"Romain\" == Romain Naour <romain.naour@gmail.com> writes:\n\n > Provide the path to HOST_DIR for libxml, libxslt and libiconv like for\n > the target variant to avoid a build issue on host where /bin is a\n > symlink to /usr/bin.\n\n > Indeed, the configure script use a custom m4 macro XSTAR_LIB_CHECK to\n > find xml2-config:\n\n > XSTAR_LIB_CHECK([LIBXML], [xml2-config])\n\n > This macro come from a local m4 file m4/xstar-check-libs.m4 where it\n > use:\n\n > AC_PATH_PROG(LIBXXX()_CONFIG, xxx_config(),\n >                [], [$LIBXXX()_PREFIX/bin$PATH_SEPARATOR$PATH]\n\n > Since no prefix seems to be defined by $LIBXXX()_PREFIX, AC_PATH_PROG\n > look by itself at /bin/ for xml2-config. So the PATH variable set\n > by Buildroot containing HOST_DIR/bin is ignored.\n\n > The wrong xml2-config is used during the build and the build fail\n > when no xml2 headers are installed on the host.\n\n > Fixes:\n > src/xml_C14N.c:12:31: erreur fatale : libxml/xmlversion.h : No such file or directory\n >  #include <libxml/xmlversion.h>\n >                                ^\n > In file included from src/trans.c:4:0:\n > src/trans.h:32:30: erreur fatale : libxml/xmlmemory.h : No such file or directory\n >  #include <libxml/xmlmemory.h>\n\n > Signed-off-by: Romain Naour <romain.naour@gmail.com>\n > Cc: Bernd Kuhls <bernd.kuhls@t-online.de>\n > ---\n > v2: improve the commit message (ThomasP)\n\nCommitted to 2017.08.x, thanks.","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"uQWeNP/j\"; dkim-atps=neutral"],"Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yGBft0RfBz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 17 Oct 2017 08:44:21 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8A430873FC;\n\tMon, 16 Oct 2017 21:44:19 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 5N6ibXCpiWw5; Mon, 16 Oct 2017 21:44:17 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 54B0A8738D;\n\tMon, 16 Oct 2017 21:44:17 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id A73291C1699\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 16 Oct 2017 21:44:16 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9BF368738D\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 16 Oct 2017 21:44:16 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 7Xi6o5H1Y7Iz for <buildroot@lists.busybox.net>;\n\tMon, 16 Oct 2017 21:44:16 +0000 (UTC)","from mail-wm0-f68.google.com (mail-wm0-f68.google.com\n\t[74.125.82.68])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id E9CFF87355\n\tfor <buildroot@buildroot.org>; Mon, 16 Oct 2017 21:44:15 +0000 (UTC)","by mail-wm0-f68.google.com with SMTP id t69so93030wmt.2\n\tfor <buildroot@buildroot.org>; Mon, 16 Oct 2017 14:44:15 -0700 (PDT)","from dell.be.48ers.dk (d51a5bc31.access.telenet.be.\n\t[81.165.188.49]) by smtp.gmail.com with ESMTPSA id\n\tw51sm6003688edd.60.2017.10.16.14.44.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tMon, 16 Oct 2017 14:44:13 -0700 (PDT)","from peko by dell.be.48ers.dk with local (Exim 4.88)\n\t(envelope-from <peter@korsgaard.com>)\n\tid 1e4DBE-0003TX-Kb; Mon, 16 Oct 2017 23:44:12 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:references:date:in-reply-to:message-id\n\t:user-agent:mime-version:content-transfer-encoding;\n\tbh=c2iLmMT51OnH1nzzrvxF85NyCtAXzQxk2X3dgQPpkpg=;\n\tb=uQWeNP/jG93XoI4KLzsnYAYPq/HPZY51BCaJj6zm++P5IP43FbEs4bEl6ovnnS8PPj\n\tkJOXAFpzv+yrRyODJhtPoDy/RmtfaMpAt5AnaGZFPxCkPQgrMN5JfJ+DGM2rd+BHlHS6\n\tYdyos8l3o5BbEdfqUxGPpN+Xn0u1JSfeVCFqXtque5mAvuAJhSI3/jYRz+19YXbQWzB/\n\tymoLBYDNSjvV8jHiRKC3aKiLp4XW1pD95s/aZbvfzgGjmU9BnKHMnfH/3vM5YK+dDoIg\n\ttja1cm9l/cpF98mQOWcGydTfxwpLqe+JMiHjmFIN35T/2uZ5L/A9zd/qfQ1gbm1+KWCE\n\t6tnA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:references:date\n\t:in-reply-to:message-id:user-agent:mime-version\n\t:content-transfer-encoding;\n\tbh=c2iLmMT51OnH1nzzrvxF85NyCtAXzQxk2X3dgQPpkpg=;\n\tb=oivKl2Y0HlRGifFVTK8OWsFMYMJj81AuvjMk+xNOvnyTgk01ynr+8MQ689Id/Pbq/Y\n\tcdlwWLRoiH7+sVBtcLmf15UXRNYby3PQMI1ianmZJFZatqnDl73IPgIfh2t73A3YuDKl\n\t+erqjt4Tf/3/5XdF0Ae28nPkrN7RkdDWTK9FlxiQNVI7sk8hXIHzMBZG4NH/AF5vChyi\n\tx/X4ZNhKYs4JQMAnuLYAZ9MB77lBem6cRtmVIBoM6jZhcFBm72wo4nPeBUrN3i6l3VDr\n\tZGh/tzOkD9M5VN0kUS/CPLeQm8QPZz+/fGCqV1RCYfBTujZn+hk7u0R54Aw0al6NxUMA\n\tuyWA==","X-Gm-Message-State":"AMCzsaUhLTTVELZ1jYvHxVCkbKyVv72wSJRjp8l8hA7/cagEud0W35Zb\n\tT3/Vo9yGhqGnJDmAEDGb7xg=","X-Google-Smtp-Source":"ABhQp+Q9cVtGEAT4/fxO1Y7o5/Yb5MJtn488bwZIlGgsWuyVzbwAag4aSd2cPavkHKokyJTHyVYXuA==","X-Received":"by 10.80.128.133 with SMTP id 5mr2672787edb.114.1508190254510;\n\tMon, 16 Oct 2017 14:44:14 -0700 (PDT)","From":"Peter Korsgaard <peter@korsgaard.com>","To":"Romain Naour <romain.naour@gmail.com>","References":"<20170902200741.2878-1-romain.naour@gmail.com>","Date":"Mon, 16 Oct 2017 23:44:12 +0200","In-Reply-To":"<20170902200741.2878-1-romain.naour@gmail.com> (Romain Naour's\n\tmessage of \"Sat, 2 Sep 2017 22:07:41 +0200\")","Message-ID":"<87vajewyxf.fsf@dell.be.48ers.dk>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)","MIME-Version":"1.0","Cc":"Bernd Kuhls <bernd.kuhls@t-online.de>, buildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH v2] package/xmlstarlet: fix host build","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}}]