From patchwork Fri Dec 5 23:23:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 418321 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 4174F14011B for ; Sat, 6 Dec 2014 10:23:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0AF96960CF; Fri, 5 Dec 2014 23:23:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J2vcrzlDc8dk; Fri, 5 Dec 2014 23:23:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1EEC5960BE; Fri, 5 Dec 2014 23:23:42 +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 5D1691C218E for ; Fri, 5 Dec 2014 23:23:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5A0228C7B4 for ; Fri, 5 Dec 2014 23:23:41 +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 4-ChxCOA3PA6 for ; Fri, 5 Dec 2014 23:23:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2FAA286B2A for ; Fri, 5 Dec 2014 23:23:40 +0000 (UTC) Received: from linux.local ([94.216.58.185]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LeRKD-1XegYn2iGz-00qCvw for ; Sat, 06 Dec 2014 00:23:36 +0100 From: Peter Seiderer To: buildroot@busybox.net Date: Sat, 6 Dec 2014 00:23:35 +0100 Message-Id: <1417821815-9924-1-git-send-email-ps.report@gmx.net> X-Mailer: git-send-email 2.1.2 X-Provags-ID: V03:K0:uRnZoVBxwdIjxm4+Kc5hnf4B4y2WCQ9VgnwNCtkUtM7ayb57DsA DpuCulnX6h12MhpLrIkG+mrN3xo+nfTjP2WYw+ZjfEoVfu/h1SV1xBAMVxZ/7K6yU2iMKBr 5XiG3nt9LZojnVTiftLa12OeTfuFSr5tlpkGxR6wKrfTwPbiJ3IxqKULXh31jWyXazQ80DT sCdGHm4uAGc2XJNkvbGcQ== X-UI-Out-Filterresults: notjunk:1; Subject: [Buildroot] [PATCH] ruby: fix verconf.h related build failure X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" See [1] for failure analysis. Fixes: http://autobuild.buildroot.net/results/c94fef5d2cfb00a336905ae3c110d7680f6d5416/ http://autobuild.buildroot.net/results/4375cb1e325a336dbf59f22f975be9165ad0648a/ [1] http://lists.busybox.net/pipermail/buildroot/2014-December/114273.html Signed-off-by: Peter Seiderer --- package/ruby/ruby.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk index 20a2a11..00a785c 100644 --- a/package/ruby/ruby.mk +++ b/package/ruby/ruby.mk @@ -64,6 +64,13 @@ else RUBY_CONF_OPTS += --without-gmp endif +# workaround for amazing build failure, see +# http://lists.busybox.net/pipermail/buildroot/2014-December/114273.html +define RUBY_REMOVE_VERCONF_H + rm -f $(@D)/verconf.h +endef +RUBY_POST_CONFIGURE_HOOKS += RUBY_REMOVE_VERCONF_H + # Remove rubygems and friends, as they need extensions that aren't # built and a target compiler. RUBY_EXTENSIONS_REMOVE = rake* rdoc* rubygems*