From patchwork Thu Mar 5 16:43:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagaert Johan X-Patchwork-Id: 446777 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 8172C140146 for ; Fri, 6 Mar 2015 03:43:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id ECE9733A08; Thu, 5 Mar 2015 16:43:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Eek-q0Cq0Wpz; Thu, 5 Mar 2015 16:43:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5A2DB32F1D; Thu, 5 Mar 2015 16:43:53 +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 BFF391BF9A7 for ; Thu, 5 Mar 2015 16:43:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BA8A889458 for ; Thu, 5 Mar 2015 16:43:51 +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 pMeZYH2HPZ+J for ; Thu, 5 Mar 2015 16:43:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailrelay101.isp.belgacom.be (mailrelay101.isp.belgacom.be [195.238.20.128]) by whitealder.osuosl.org (Postfix) with ESMTP id 02B058658C for ; Thu, 5 Mar 2015 16:43:48 +0000 (UTC) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=aVuRYB9jFzFsbHnyIO6WTXMsFsysg296qeRS+2aVNsk= c=1 sm=2 a=kj9zAlcOel0A:10 a=MKtGQD3n3ToA:10 a=uP1ucDPQAAAA:8 a=J0Tn2xNtAAAA:8 a=X5cafRjLrQ8QRGeojxsA:9 a=CjuIK1q_8ugA:10 a=DmcG2yAZOHOWfLn7:21 a=aKsYZKIErn073Fj9:21 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CFCwC0hvhU//GjQldagwZSWogSuSKFbgQCAoE2TgEBAQEBAXyEDwEBAQMBCDIcCBsFCAMCBgMhHgcZGgYNEQEBBBMIA4gcDAHYGAEBAQEGAQEBAR6LF4Q9MQeDF4EUBZAHXoMFmVkjg289MYJDAQEB Received: from 241.163-66-87.adsl-dyn.isp.belgacom.be (HELO JohanW7) ([87.66.163.241]) by relay.skynet.be with ESMTP; 05 Mar 2015 17:43:47 +0100 From: "Sagaert Johan" To: "'Thomas Petazzoni'" References: <10AA8E3F675B42669EDF6C02D65AAE63@JohanW7> <20150305145830.67207a96@free-electrons.com> In-Reply-To: <20150305145830.67207a96@free-electrons.com> Date: Thu, 5 Mar 2015 17:43:46 +0100 Message-ID: <00C4503C104D4EF284ED7523CEE3AAA3@JohanW7> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 thread-index: AdBXTHZxdvQbFmb+Q6ytxjHhWWp4vQAFr3yA X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17609 Cc: buildroot@busybox.net Subject: Re: [Buildroot] mjpgstreamer build error with ccache and J=0 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" -----Oorspronkelijk bericht----- Van: Thomas Petazzoni [mailto:thomas.petazzoni@free-electrons.com] Verzonden: donderdag 5 maart 2015 14:59 Aan: Sagaert Johan CC: buildroot@busybox.net Onderwerp: Re: [Buildroot] mjpgstreamer build error with ccache and J=0 Dear Sagaert Johan, On Thu, 5 Mar 2015 14:44:38 +0100, Sagaert Johan wrote: > mjpgstreamer seems to fail bilding when I have ccache on and number of jobs=0 > > I cleaned the ccache before building. > > This is the output of make V=1 Can you try the below patch? Thanks, Thomas diff --git a/package/mjpg-streamer/mjpg-streamer.mk b/package/mjpg-streamer/mjpg-streamer.mk index 2385429..2a0c717 100644 --- a/package/mjpg-streamer/mjpg-streamer.mk +++ b/package/mjpg-streamer/mjpg-streamer.mk @@ -15,7 +15,7 @@ MJPG_STREAMER_LICENSE_FILES = LICENSE MJPG_STREAMER_DEPENDENCIES = jpeg define MJPG_STREAMER_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CC=$(TARGET_CC) -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) endef define MJPG_STREAMER_INSTALL_TARGET_CMDS