[{"id":1770959,"web_url":"http://patchwork.ozlabs.org/comment/1770959/","msgid":"<87k20u27at.fsf@dell.be.48ers.dk>","list_archive_url":null,"date":"2017-09-19T12:37:30","subject":"Re: [Buildroot] [PATCH] bash: fix static build","submitter":{"id":42365,"url":"http://patchwork.ozlabs.org/api/people/42365/","name":"Peter Korsgaard","email":"peter@korsgaard.com"},"content":">>>>> \"Baruch\" == Baruch Siach <baruch@tkos.co.il> writes:\n\n > When building bash statically, configure does not initialize the\n > SHOBJ_STATUS variable. The SHOBJ_STATUS make variable in\n > examples/loadables/Makefile.in must resolve to either 'supported' or\n > 'unsupported'. Otherwise, the install-$(SHOBJ_STATUS) target does not\n > exist.\n\n > This leads to the following build failure:\n\n > make[2]: Entering directory '.../output/build/bash-4.4/examples/loadables'\n > make[2]: *** No rule to make target 'install-', needed by 'install'.  Stop.\n > make[2]: Leaving directory '.../output/build/bash-4.4/examples/loadables'\n > Makefile:793: recipe for target 'install' failed\n\nHmm, while this is correct it doesn't really error out here:\n\n( cd /home/peko/source/buildroot/output-bash/build/bash-4.4/examples/loadables && /usr/bin/make -j --jobserver-fds=3,4 --no-print-directory DESTDIR=/home/peko/source/buildroot/output-bash/target install )\nmake[3]: *** No rule to make target 'install-', needed by 'install'.  Stop.\nMakefile:793: recipe for target 'install' failed\nmake[2]: [install] Error 2 (ignored)\nrm -f /home/peko/source/buildroot/output-bash/target/bin/bashbug\n\nSo that probably explains why it doesn't fail in the autobuilders.\n\nDoes it really fail the build for you?\n\nHave you looked into why SHOBJ_STATUS doesn't get expanded correctly,\nand if this can fixed more nicely upstream / is already fixed?","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.136; helo=silver.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=\"Vjdk/zHP\"; dkim-atps=neutral"],"Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3xxMpZ4Rcvz9s7F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 22:37:42 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 523432DA7E;\n\tTue, 19 Sep 2017 12:37:38 +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 aET6ywk7jVg5; Tue, 19 Sep 2017 12:37:36 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 4CBBE2DA42;\n\tTue, 19 Sep 2017 12:37:36 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id CBC341CEB94\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 12:37:34 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C392E88877\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 12:37:34 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id hDO301D4X5fo for <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 12:37:34 +0000 (UTC)","from mail-wm0-f50.google.com (mail-wm0-f50.google.com\n\t[74.125.82.50])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id C1D4288861\n\tfor <buildroot@busybox.net>; Tue, 19 Sep 2017 12:37:33 +0000 (UTC)","by mail-wm0-f50.google.com with SMTP id r68so4813100wmg.3\n\tfor <buildroot@busybox.net>; Tue, 19 Sep 2017 05:37:33 -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\te24sm5443072edc.9.2017.09.19.05.37.31\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 19 Sep 2017 05:37:31 -0700 (PDT)","from peko by dell.be.48ers.dk with local (Exim 4.88)\n\t(envelope-from <peter@korsgaard.com>)\n\tid 1duHmM-0006RI-9E; Tue, 19 Sep 2017 14:37:30 +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;\n\tbh=/4NFCnC0mTR1YD9CDmVUildkPCjLUvnO4F+Cg12faec=;\n\tb=Vjdk/zHPRIAh7rDCT6Cvx1Jx8QDUxFYoA/bySbOkqvn00SF3ZTILds0s8jpOaDHK3x\n\t6YpFubhvFKTtRNCzfJZC2CzWr+q7fK+7dhQeE7L2leS8iDLr5s9+R0qM01RViUkh/T+k\n\tk+239SsKUUXf8AXi5+62cGRvRmpdI9LkgneThRv+x9YUW+3fXNTCHxWYajZF9nhkK0j/\n\tROzRkOLfASY6JSby3+ffJCqZt3mVhpyHQS3MZEMuOfhkwKPPgxb1HppE2ovyHXhpjPxb\n\ttmkDkk84T6w15nbkMXwjn5hldD6YWDnCobNnwz1pG1JEUBVgrUTlbll7geCVZSyW9JEY\n\txXzw==","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\tbh=/4NFCnC0mTR1YD9CDmVUildkPCjLUvnO4F+Cg12faec=;\n\tb=LxFcf5BOf0gHehHroSay8dquUVhfcVBZP2Gq6ZrUSFZwTTqnDiGYoMbAZBQPfplVW4\n\tbwW3m8xLCIOfdvxW+KKxUVhjgP6yCBADomF5MTZBpW7D6sZO0b7p4wIyusvY25TsZ9Xj\n\tINRaDNkTsGS3NqulgUT1SJciPVthR2YjlJgT9P0O2GWM4/fefLhVZ7gbaUPqDM8WSoC0\n\tdquZRUJ+lSWoj4fqXSCMWbrahEOHtV/jfAD7QtWIeS1xO6sp19RBKDIyNyUM1KQDig1K\n\t6EiJrp7+JoxgHKDntNrEvA6r3JqMQFQwC98J2JWhu+/3U/5LUOFR5Gz6oupfJmJaS8P8\n\tSvZw==","X-Gm-Message-State":"AHPjjUhCbGS/RQ+BXLTI5RY9QVdZqpB7lpjGU9Y2HM0gSuWkmjuMn1As\n\t8bskeNd+TpxuUrL8CimB+A4=","X-Google-Smtp-Source":"AOwi7QBWtVzTLPsLsxceeM59K6IvqEeS/SXG+Af18afDZfqDWNtL5puoMcI4NHDkNt/1zFFdhATBbw==","X-Received":"by 10.80.224.79 with SMTP id g15mr1533483edl.259.1505824652119; \n\tTue, 19 Sep 2017 05:37:32 -0700 (PDT)","From":"Peter Korsgaard <peter@korsgaard.com>","To":"Baruch Siach <baruch@tkos.co.il>","References":"<e61b7469d3048416c7e3c681a75f773843fe48a6.1505759427.git.baruch@tkos.co.il>","Date":"Tue, 19 Sep 2017 14:37:30 +0200","In-Reply-To":"<e61b7469d3048416c7e3c681a75f773843fe48a6.1505759427.git.baruch@tkos.co.il>\n\t(Baruch Siach's message of \"Mon, 18 Sep 2017 21:30:27 +0300\")","Message-ID":"<87k20u27at.fsf@dell.be.48ers.dk>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)","MIME-Version":"1.0","Cc":"buildroot@busybox.net","Subject":"Re: [Buildroot] [PATCH] bash: fix static 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=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1771274,"web_url":"http://patchwork.ozlabs.org/comment/1771274/","msgid":"<20170919181932.o4ih6ppwwbdqwetb@tarshish>","list_archive_url":null,"date":"2017-09-19T18:19:32","subject":"Re: [Buildroot] [PATCH] bash: fix static build","submitter":{"id":1458,"url":"http://patchwork.ozlabs.org/api/people/1458/","name":"Baruch Siach","email":"baruch@tkos.co.il"},"content":"Hi Peter,\n\nOn Tue, Sep 19, 2017 at 02:37:30PM +0200, Peter Korsgaard wrote:\n> >>>>> \"Baruch\" == Baruch Siach <baruch@tkos.co.il> writes:\n> \n>  > When building bash statically, configure does not initialize the\n>  > SHOBJ_STATUS variable. The SHOBJ_STATUS make variable in\n>  > examples/loadables/Makefile.in must resolve to either 'supported' or\n>  > 'unsupported'. Otherwise, the install-$(SHOBJ_STATUS) target does not\n>  > exist.\n> \n>  > This leads to the following build failure:\n> \n>  > make[2]: Entering directory '.../output/build/bash-4.4/examples/loadables'\n>  > make[2]: *** No rule to make target 'install-', needed by 'install'.  Stop.\n>  > make[2]: Leaving directory '.../output/build/bash-4.4/examples/loadables'\n>  > Makefile:793: recipe for target 'install' failed\n> \n> Hmm, while this is correct it doesn't really error out here:\n> \n> ( cd /home/peko/source/buildroot/output-bash/build/bash-4.4/examples/loadables && /usr/bin/make -j --jobserver-fds=3,4 --no-print-directory DESTDIR=/home/peko/source/buildroot/output-bash/target install )\n> make[3]: *** No rule to make target 'install-', needed by 'install'.  Stop.\n> Makefile:793: recipe for target 'install' failed\n> make[2]: [install] Error 2 (ignored)\n> rm -f /home/peko/source/buildroot/output-bash/target/bin/bashbug\n> \n> So that probably explains why it doesn't fail in the autobuilders.\n> \n> Does it really fail the build for you?\n\nIt doesn't. I should have checked that. This patch is not really needed then.\n\n> Have you looked into why SHOBJ_STATUS doesn't get expanded correctly,\n> and if this can fixed more nicely upstream / is already fixed?\n\nSHOBJ_STATUS is not set when the \"$ac_cv_func_dlopen\" = \"yes\" condition \nevaluates to false. This is the case when building statically. Current bash \ncode is not fixes, as far as I can see.\n\nSomething like this should fix the issue:\n\ndiff -Nuar bash-4.4-orig/configure.ac bash-4.4/configure.ac\n--- bash-4.4-orig/configure.ac\t2016-09-07 23:56:28.000000000 +0300\n+++ bash-4.4/configure.ac\t2017-09-19 21:15:00.376316006 +0300\n@@ -1151,6 +1151,9 @@\n \tAC_SUBST(SHOBJ_LIBS)\n \tAC_SUBST(SHOBJ_STATUS)\n \tAC_MSG_RESULT($SHOBJ_STATUS)\n+else\n+\tSHOBJ_STATUS=unsupported\n+\tAC_SUBST(SHOBJ_STATUS)\n fi\n \n # try to create a directory tree if the source is elsewhere\n\nBut bash does not autoreconf nicely, so I didn't test that approach.\n\nbaruch","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.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3xxWPK66M8z9sBZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 04:19:49 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 7DA8F2E392;\n\tTue, 19 Sep 2017 18:19:45 +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 6m8XymscQ0+J; Tue, 19 Sep 2017 18:19:42 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id E7F372DDE6;\n\tTue, 19 Sep 2017 18:19:41 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id A3AA31CE899\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 18:19:40 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9DC998897E\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 18:19:40 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id jrPOQiEn6HbA for <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 18:19:38 +0000 (UTC)","from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 2983E88981\n\tfor <buildroot@busybox.net>; Tue, 19 Sep 2017 18:19:38 +0000 (UTC)","from tarshish (unknown [10.0.8.6])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mx.tkos.co.il (Postfix) with ESMTPS id DE982440107;\n\tTue, 19 Sep 2017 21:19:16 +0300 (IDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","Date":"Tue, 19 Sep 2017 21:19:32 +0300","From":"Baruch Siach <baruch@tkos.co.il>","To":"Peter Korsgaard <peter@korsgaard.com>","Message-ID":"<20170919181932.o4ih6ppwwbdqwetb@tarshish>","References":"<e61b7469d3048416c7e3c681a75f773843fe48a6.1505759427.git.baruch@tkos.co.il>\n\t<87k20u27at.fsf@dell.be.48ers.dk>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<87k20u27at.fsf@dell.be.48ers.dk>","User-Agent":"NeoMutt/20170609 (1.8.3)","Cc":"buildroot@busybox.net","Subject":"Re: [Buildroot] [PATCH] bash: fix static 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=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1771328,"web_url":"http://patchwork.ozlabs.org/comment/1771328/","msgid":"<877ewu1ni3.fsf@dell.be.48ers.dk>","list_archive_url":null,"date":"2017-09-19T19:45:08","subject":"Re: [Buildroot] [PATCH] bash: fix static build","submitter":{"id":42365,"url":"http://patchwork.ozlabs.org/api/people/42365/","name":"Peter Korsgaard","email":"peter@korsgaard.com"},"content":">>>>> \"Baruch\" == Baruch Siach <baruch@tkos.co.il> writes:\n\nHi,\n\n >> So that probably explains why it doesn't fail in the autobuilders.\n >> \n >> Does it really fail the build for you?\n\n > It doesn't. I should have checked that. This patch is not really needed then.\n\nOk, good.\n\n >> Have you looked into why SHOBJ_STATUS doesn't get expanded correctly,\n >> and if this can fixed more nicely upstream / is already fixed?\n\n > SHOBJ_STATUS is not set when the \"$ac_cv_func_dlopen\" = \"yes\" condition \n > evaluates to false. This is the case when building statically. Current bash \n > code is not fixes, as far as I can see.\n\n > Something like this should fix the issue:\n\n > diff -Nuar bash-4.4-orig/configure.ac bash-4.4/configure.ac\n > --- bash-4.4-orig/configure.ac\t2016-09-07 23:56:28.000000000 +0300\n > +++ bash-4.4/configure.ac\t2017-09-19 21:15:00.376316006 +0300\n > @@ -1151,6 +1151,9 @@\n >  \tAC_SUBST(SHOBJ_LIBS)\n >  \tAC_SUBST(SHOBJ_STATUS)\n >  \tAC_MSG_RESULT($SHOBJ_STATUS)\n > +else\n > +\tSHOBJ_STATUS=unsupported\n > +\tAC_SUBST(SHOBJ_STATUS)\n >  fi\n \n >  # try to create a directory tree if the source is elsewhere\n\n > But bash does not autoreconf nicely, so I didn't test that approach.\n\nOk, 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.137; helo=fraxinus.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=\"Hq5oBuz3\"; dkim-atps=neutral"],"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 3xxYJ301JJz9rxm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 05:45:22 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 91F2F87C49;\n\tTue, 19 Sep 2017 19:45:20 +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 7w4TyMLeER9m; Tue, 19 Sep 2017 19:45:16 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 140D6870CC;\n\tTue, 19 Sep 2017 19:45:16 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0AC4F1C0F41\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 19:45:15 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0442A88B13\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 19:45:15 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id HSouwS43hncL for <buildroot@lists.busybox.net>;\n\tTue, 19 Sep 2017 19:45:12 +0000 (UTC)","from mail-wm0-f50.google.com (mail-wm0-f50.google.com\n\t[74.125.82.50])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 7284C88B0D\n\tfor <buildroot@busybox.net>; Tue, 19 Sep 2017 19:45:12 +0000 (UTC)","by mail-wm0-f50.google.com with SMTP id i189so1741433wmf.1\n\tfor <buildroot@busybox.net>; Tue, 19 Sep 2017 12:45:12 -0700 (PDT)","from dell.be.48ers.dk (d51A5BC31.access.telenet.be.\n\t[81.165.188.49])\n\tby smtp.gmail.com with ESMTPSA id 58sm38555edt.75.2017.09.19.12.45.09\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tTue, 19 Sep 2017 12:45:10 -0700 (PDT)","from peko by dell.be.48ers.dk with local (Exim 4.88)\n\t(envelope-from <peter@korsgaard.com>)\n\tid 1duOSC-0006OM-T9; Tue, 19 Sep 2017 21:45:08 +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;\n\tbh=hH0hjtE7VbwF9mwQQe+xc+hrCgeHFGBU93GHaYWoGIs=;\n\tb=Hq5oBuz3xjUJ0ns4nrlX73YTxHqXGTKFZtOBc8LV3UlleaeGy+bUTa9obqKZnOg48T\n\t7S0Cm0LfHUTDHIG56kdvpUz9G6Ym5fiN9lP8+yfnmbZlC0tG1pt/FL/aj7O3VaTWxGgD\n\tilkVyXdXNRLigOaQJedhHUEFjTz8CJhuRIMYV09w5tJEu263DqAPLaXBtM76K6RorsTz\n\tJpCasxfPzhsfpO2173SnDtwm2rTWc+lUEIjNFFi8FkW8Hz4QVsSjck+MztFH/bsGI9+l\n\t+/qXZhsIxO64oa9ElcpccmFhWp/OUTIz4Ug5dOos//nnjybjZ8D2en48lxHj0SSs6Hn2\n\typMQ==","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\tbh=hH0hjtE7VbwF9mwQQe+xc+hrCgeHFGBU93GHaYWoGIs=;\n\tb=lQkUdeailch1E0VqRtLTYa+apQdu0MbEelKPkZxHAaENGAYYk4LFn6okxkfvXu7RUA\n\tzf1Np5bfknnq94m6tYwV3VUf8Wu0YsEyOdwe5uONZFtTN3U63nhfqmIHmh0hD1oZAgei\n\t2fVDeVeIoiw+hYAnE41Jzoe/m2HuP6mmIcxd2Uxi8XD5A2SvhX8434SYEGdzuJVndA4m\n\tuBbgwlywxQHIJJsyf2SetN37hHnGatoGWF+6hVN77QF5r6IMgs9YJvyUHBAhn+uw810L\n\tPqSHU5iPLiQ/n+N2cqz8Z+Zvvn4BaqTRKHZWZUEHONfia3xN9brg/TqtU44X9GXfitp+\n\tZH9g==","X-Gm-Message-State":"AHPjjUg3rYDvaxQZRhXcnec9xP9Hwcu+nF7rDs+wOFUD+ip/i7HkqPzl\n\tVWmHEEaejfBJhS1Mn1qRICIADt9k","X-Google-Smtp-Source":"AOwi7QAmOKJjMaxjKEAY+NHAnq68xWjmfBmo31QlaX413itVUhvgbrWUtJMVV4le8nZ/n7S7QdQoyg==","X-Received":"by 10.80.163.186 with SMTP id s55mr2801685edb.3.1505850310889;\n\tTue, 19 Sep 2017 12:45:10 -0700 (PDT)","From":"Peter Korsgaard <peter@korsgaard.com>","To":"Baruch Siach <baruch@tkos.co.il>","References":"<e61b7469d3048416c7e3c681a75f773843fe48a6.1505759427.git.baruch@tkos.co.il>\n\t<87k20u27at.fsf@dell.be.48ers.dk>\n\t<20170919181932.o4ih6ppwwbdqwetb@tarshish>","Date":"Tue, 19 Sep 2017 21:45:08 +0200","In-Reply-To":"<20170919181932.o4ih6ppwwbdqwetb@tarshish> (Baruch Siach's\n\tmessage of \"Tue, 19 Sep 2017 21:19:32 +0300\")","Message-ID":"<877ewu1ni3.fsf@dell.be.48ers.dk>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)","MIME-Version":"1.0","Cc":"buildroot@busybox.net","Subject":"Re: [Buildroot] [PATCH] bash: fix static 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=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1774194,"web_url":"http://patchwork.ozlabs.org/comment/1774194/","msgid":"<84c95fdc-b9cf-4008-2e8e-5c158f74c983@mind.be>","list_archive_url":null,"date":"2017-09-24T13:34:07","subject":"Re: [Buildroot] [PATCH] bash: fix static build","submitter":{"id":11809,"url":"http://patchwork.ozlabs.org/api/people/11809/","name":"Arnout Vandecappelle","email":"arnout@mind.be"},"content":"On 18-09-17 20:30, Baruch Siach wrote:\n> When building bash statically, configure does not initialize the\n> SHOBJ_STATUS variable. The SHOBJ_STATUS make variable in\n> examples/loadables/Makefile.in must resolve to either 'supported' or\n> 'unsupported'. Otherwise, the install-$(SHOBJ_STATUS) target does not\n> exist.\n> \n> This leads to the following build failure:\n> \n> make[2]: Entering directory '.../output/build/bash-4.4/examples/loadables'\n> make[2]: *** No rule to make target 'install-', needed by 'install'.  Stop.\n> make[2]: Leaving directory '.../output/build/bash-4.4/examples/loadables'\n> Makefile:793: recipe for target 'install' failed\n> \n> with the following defconfig:\n> \n> BR2_arm=y\n> BR2_STATIC_LIBS=y\n> BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y\n> BR2_PACKAGE_BASH=y\n> \n> Set SHOBJ_STATUS in the configure environment as a workaround.\n> \n> Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n\n Even though this doesn't fail the build (because the error is ignored), it's\npretty fragile. And SHOBJ_STATUS=unsupported is certainly correct for static\nbuilds. So I applied after all.\n\n Regards,\n Arnout","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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 3y0Sqf3Cmfz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 23:34:22 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2336A8830B;\n\tSun, 24 Sep 2017 13:34:19 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id yO6vi5SAAZVt; Sun, 24 Sep 2017 13:34:17 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9BB8F882CE;\n\tSun, 24 Sep 2017 13:34:17 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id B83F21C0167\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 24 Sep 2017 13:34:15 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A6D148829F\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 24 Sep 2017 13:34:15 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 21on++eC32rq for <buildroot@lists.busybox.net>;\n\tSun, 24 Sep 2017 13:34:15 +0000 (UTC)","from exchange.essensium.com (220.77.144.195.ipv4.evonet.be\n\t[195.144.77.220])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id EBF95882CB\n\tfor <buildroot@busybox.net>; Sun, 24 Sep 2017 13:34:14 +0000 (UTC)","from [10.8.0.14] (10.3.7.11) by beleexch01.local.ess-mail.com\n\t(10.3.7.8) with Microsoft SMTP Server (TLS) id 15.0.847.32;\n\tSun, 24 Sep 2017 15:34:08 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","To":"Baruch Siach <baruch@tkos.co.il>, <buildroot@busybox.net>","References":"<e61b7469d3048416c7e3c681a75f773843fe48a6.1505759427.git.baruch@tkos.co.il>","From":"Arnout Vandecappelle <arnout@mind.be>","Organization":"Essensium/Mind","Message-ID":"<84c95fdc-b9cf-4008-2e8e-5c158f74c983@mind.be>","Date":"Sun, 24 Sep 2017 15:34:07 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<e61b7469d3048416c7e3c681a75f773843fe48a6.1505759427.git.baruch@tkos.co.il>","Content-Language":"en-GB","X-Originating-IP":"[10.3.7.11]","X-ClientProxiedBy":"beleexch01.local.ess-mail.com (10.3.7.8) To\n\tbeleexch01.local.ess-mail.com (10.3.7.8)","Subject":"Re: [Buildroot] [PATCH] bash: fix static 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=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}}]