From patchwork Mon Nov 27 10:48:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 841629 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RJSoqgRL"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ylkgW0mpNz9rxl for ; Mon, 27 Nov 2017 22:13:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D2DDB86E81; Mon, 27 Nov 2017 11:13:24 +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 po9lK6z1I0eM; Mon, 27 Nov 2017 11:13:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A2D4786E19; Mon, 27 Nov 2017 11:13:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id AD04A1BFC2F for ; Mon, 27 Nov 2017 10:49:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A2BF686E81 for ; Mon, 27 Nov 2017 10:49:02 +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 A_0rnKSvuQlH for ; Mon, 27 Nov 2017 10:49:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DD18186D3C for ; Mon, 27 Nov 2017 10:49:00 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id x63so33081248wmf.2 for ; Mon, 27 Nov 2017 02:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Yknjo71irPwonERKSH5qe9O1Ttuy36p2+Ktp/pw80w4=; b=RJSoqgRLLxX3nLaf0pBiFNU5rTRN2OHT/+dIaCo7gvHFNhOmn/R9nqOiYteSDjdh/u xrKJchPTq3M/TnpUMioFBQhR6SC+XmNDBml2i4bih4qflRjE4/teirqpqkBKpQ2y9YCl y3mi70T8o47DRrpzcI0qaFkR4EN17RacTkWO9TOZ8U7q1DmPKVvbAH1eByAkD6lq/xBP ccAOuyO0H9lko4Ev0gXAkSQJUBjYClQ3CUwfrXVvMeqMNn40cM+gvr3obV55yn8QYgph /znoKei7ZIrTifEaSfOIU7K1kKjjsBdHrGS7LttfOZKRa+vG6KROgOsjdhez5RGrLFWW Syqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Yknjo71irPwonERKSH5qe9O1Ttuy36p2+Ktp/pw80w4=; b=FBiTBWxbObGr7YYhS64mIeS/ZPRzWTk21eZpbfibEZAJ0Yb877s+iEHZOCjLPsSve5 RpaZ86RXhe+4Y8qggSL73wbSzGp/hEEE9h/E5xnTISxJOaN0SC8p0LK2IV5bOnxLi2pA I4z9S+2fMuAQOzyawbHIBnYQTlMZPbePxknrLsltplkgo/KctL+ymTQXcDBIPYw/e6Sa CAG0j/d1NrmHXh3xAXgfR4MJiNn04N+XjPkrvL3885s971dduO3QkZZi2YHlM7rOv3p0 6yV5QitWparesgDXLF90G3SBw3eu7xI41c/X4C7ne8D39CcBRL04+AP4wsko2jZYDghg qJkA== X-Gm-Message-State: AJaThX6ZsR/8c3v2QHokKLjC4x/+jFAb2+vpn4j25AVtMv44BkW40P7K IaVaXoBxW10QOgk6MI7uZCNOKg== X-Google-Smtp-Source: AGs4zMYTbgMo51i1m3YZr5XVSXVCnmcwKqcTGA/h30bpwx7oAp4lmUCaWctHCIRZzH9KZJsXmp5Jjw== X-Received: by 10.28.118.4 with SMTP id r4mr18030615wmc.71.1511779739282; Mon, 27 Nov 2017 02:48:59 -0800 (PST) Received: from localhost.localdomain (2a01cb08861073004cc25543c1449771.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:4cc2:5543:c144:9771]) by smtp.gmail.com with ESMTPSA id l33sm9929243wrl.88.2017.11.27.02.48.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 02:48:58 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Mon, 27 Nov 2017 11:48:54 +0100 Message-Id: <3756298044e002e93aa851a58b8337e6f676c91a.1511779719.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/3] package/dvb-apps: fix build with some perl version X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" perl can't find a module that is located in the current directory, so help it locate it. Signed-off-by: "Yann E. MORIN" Cc: Francois Perrad --- Note: I have no idea why perl on my machine does not find that file, while it does on all the autobuilders so far... I just assume that this is a perl version issue, but I may very well be wrong. François ? --- package/dvb-apps/dvb-apps.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/dvb-apps/dvb-apps.mk b/package/dvb-apps/dvb-apps.mk index 8ba1501d5c..8aa4a29307 100644 --- a/package/dvb-apps/dvb-apps.mk +++ b/package/dvb-apps/dvb-apps.mk @@ -15,6 +15,8 @@ DVB_APPS_DEPENDENCIES = libiconv DVB_APPS_LDLIBS += -liconv endif +DVB_APPS_MAKE_OPTS = PERL5LIB=$(@D)/util/scan + ifeq ($(BR2_STATIC_LIBS),y) DVB_APPS_MAKE_OPTS += enable_shared=no else ifeq ($(BR2_SHARED_LIBS),y) From patchwork Mon Nov 27 10:48:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 841628 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="HXGi+m9d"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ylkgS47klz9rxl for ; Mon, 27 Nov 2017 22:13:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 640D18773E; Mon, 27 Nov 2017 11:13:21 +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 eIARXfM2qguR; Mon, 27 Nov 2017 11:13:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 161E787B5B; Mon, 27 Nov 2017 11:13:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 95B611BFC2F for ; Mon, 27 Nov 2017 10:49:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8B79C875BE for ; Mon, 27 Nov 2017 10:49:03 +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 cdxVhq6LAMd0 for ; Mon, 27 Nov 2017 10:49:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 39768875B6 for ; Mon, 27 Nov 2017 10:49:02 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id y42so25942024wrd.3 for ; Mon, 27 Nov 2017 02:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=cx7aNcHy2+oIZMlk923NLHnkpr39s8jmVImsRm/tEDg=; b=HXGi+m9djTLWzt/L1pYK0ZVb1VB9xsc67QMyokCZzcihINWvTmNUhl1GJb8AR6rq8M UcraMeZ+vU/jf6tl90p7ncEPxHd6SWRe6q4WXzQA1gJwSRDNBlWqJcdvcbixD4RmrC2v jqJpcYohBjCNwxKYPWQXuLEuwHSTSGzl2TGU4nWTrFo7B2XAOhUaNO+MuHauZkPsLxua vXbVwr+XuEAlhhOsVUDGRHUtdUeJfsnGf1Bx8Z7IhfQpPQfObZLAw+/pjS9TzVnBpt8l DMXawGlK54vG3vLkRMnpGzgFTWzZgqDVL6UnGfS5XMqijfbGZuBHrFpKfKFjo9jYXBgv 4QQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=cx7aNcHy2+oIZMlk923NLHnkpr39s8jmVImsRm/tEDg=; b=jFsQbquj17WgfEm07uj/TN2+sbGYkG62kL19kH9YGRdTKcwZZwwf87NqAmsWdnMnuh iqCS2XS1asMWgyDpb7XtmMQYKQ9t6lokuSClqu9GlIKuap1cZlYpBfVr6rQ+K9KiVERf yuwcGeu80Zo2D3Xs1rABnEof9IDwYbdtF8Sf52guNgerJ6zcrWjq2co6jPlNPYqLE82e UWo6Y5oqdMCl2MxKiWdmyOyh8XBrfp8Bdj5gepN4FWb+TNrW9nqiuL9leyEkszudPBY9 6l2LdB8riwwDY6Zzd5DchCggobLq4GBni+YiPyQ12Kbbf8GRf0nqgkxkfxdCrNmTdp0u Ll8g== X-Gm-Message-State: AJaThX7JRO/q6FgawHKuLnOBJPPukxcqdxMZ5t4B9wSi7m+SR6mlKVmw lf7XTrQMmkWRIUs83swYhlHQrw== X-Google-Smtp-Source: AGs4zMYaHhMrxGYZEgMuRub0+SLCSGG+oJxeESHnH/K95vj3Ua1LRHfrOw8YLWLw9NwO6d8fumh6eQ== X-Received: by 10.223.176.113 with SMTP id g46mr879437wra.267.1511779740576; Mon, 27 Nov 2017 02:49:00 -0800 (PST) Received: from localhost.localdomain (2a01cb08861073004cc25543c1449771.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:4cc2:5543:c144:9771]) by smtp.gmail.com with ESMTPSA id l33sm9929243wrl.88.2017.11.27.02.48.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 02:48:59 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Mon, 27 Nov 2017 11:48:55 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Subject: [Buildroot] [PATCH 2/3] package/dvb-apps: is not parallel-safe X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This is invisible because the timings make it excessively difficult to hit, but the Makefile is inherently flawed for parallel build, as it contains: $(objects): atsc_psip_section.c atsc_psip_section.h atsc_psip_section.c atsc_psip_section.h: perl section_generate.pl atsc_psip_section.pl and the perl script section_generate.pl will create both the .c and .h files in one go, but given the construct above, there can be two such script that run in parallel, which can clobber the generated .c and/or .h files. So, make dvb-apps a MAKE1 package. Signed-off-by: "Yann E. MORIN" --- The time to build increased by one third, from ~7.5s to ~10s, on a core-i7 quad-core, which is not much in the end, and totally acceptable. --- package/dvb-apps/dvb-apps.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dvb-apps/dvb-apps.mk b/package/dvb-apps/dvb-apps.mk index 8aa4a29307..ffab0db682 100644 --- a/package/dvb-apps/dvb-apps.mk +++ b/package/dvb-apps/dvb-apps.mk @@ -27,7 +27,7 @@ DVB_APPS_INSTALL_STAGING = YES define DVB_APPS_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \ - $(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \ + $(MAKE1) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \ $(DVB_APPS_MAKE_OPTS) endef From patchwork Mon Nov 27 10:48:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 841630 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EHgJ20zH"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ylkgd0nFrz9rxl for ; Mon, 27 Nov 2017 22:13:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 78EBC86BBB; Mon, 27 Nov 2017 11:13:30 +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 X4JYURnFp9Qy; Mon, 27 Nov 2017 11:13:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CB94C87010; Mon, 27 Nov 2017 11:13:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8BF1C1BFC2F for ; Mon, 27 Nov 2017 10:49:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 83E468217D for ; Mon, 27 Nov 2017 10:49:04 +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 PLLH-mvUoLUq for ; Mon, 27 Nov 2017 10:49:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 938BF81FEE for ; Mon, 27 Nov 2017 10:49:03 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id x63so33728878wmf.4 for ; Mon, 27 Nov 2017 02:49:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=6l84s4+5ECgOUCEtjmFgXyXr6lzcVwxfhaL6WMfiNTw=; b=EHgJ20zHjs9HulHY3CVCjQBHhNHtMSA7zcPHn9ycKWV042PUMw1xxSSHPuQM+TNsUf +QwAjRIgMc9QsO7VPryMINbQ3sr4UbHQ52I7ZASzQMwZjdy0qdEmQee/nMQJTl1zWhkl XtFB+K+Bj35PHcz0Q4xC2Lh3Esg7tTpAVV3N1b8bg28dBMJpSKNwEQXeml66nroeG2iB a2Czc3VvjxzWyw/PodSDv5t2wI5WsyMlyv9/QN7JArciD4rC+h6MmrwWp//sF8889GrD g9Di3X8e4GgXo815MyjamAQwmwTrLczDtCPMYNs4SgT5QB5OjKIRENSGhwrK3R2wr9aU NgBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=6l84s4+5ECgOUCEtjmFgXyXr6lzcVwxfhaL6WMfiNTw=; b=jp3kOB7KSBlGa9HKYt06sqmQ7xo8hDbQzKYvDMA0rS6las7HEs1H2JuWNxMmDi1B4V EZyPZUjTAW++KgEUHmIZeEAS/elMDBzj4semUmHuOktBEwxse4H9eaE/ecvX84yZ2QPT YFuShhzoAptpKFKvk3x/zSVkjgrQ97LhbkOzzzFmsTPkskt+WeZVYKS/uO4xBFadcfda UhpjnJnINGaq47KdwfZIixAVMjTmZEQ0yaUTeUkHK93OrD+ADKEsD0oZkvuO7kndOaEE 6s7rRTNv5xOiplqyaZTxzl4y/f8n4hgmqLuNs5AcCcAljUJTQPJt7gAc5t36Hyb2QH7k vpTg== X-Gm-Message-State: AJaThX6uKXI0PGk3st4nxDrnFtjqwRKJW2XCwncPDsftPVNanBd+tFr2 k21HcMP+T+SHWqJFvfPjzvSXDQ== X-Google-Smtp-Source: AGs4zMYTce8d26Fj8ZhQSbJHnO5Qb/gqQS6YZhvW9uCKFzT/mb7jgBS0GYAmtGixBxwHAyZHiElvhQ== X-Received: by 10.28.23.129 with SMTP id 123mr15845613wmx.54.1511779741899; Mon, 27 Nov 2017 02:49:01 -0800 (PST) Received: from localhost.localdomain (2a01cb08861073004cc25543c1449771.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:4cc2:5543:c144:9771]) by smtp.gmail.com with ESMTPSA id l33sm9929243wrl.88.2017.11.27.02.49.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 02:49:00 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Mon, 27 Nov 2017 11:48:56 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Subject: [Buildroot] [PATCH 3/3] package/dvb-apps: fix build with kernel headers >= 4.14 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: http://autobuild.buildroot.org/results/708/708f11809b2cafc2a3375dc515803c87b376ed4d/ http://autobuild.buildroot.org/results/6e1/6e161926577355ced82426536227ddd2ba130f06/ [...] Signed-off-by: "Yann E. MORIN" --- Note: I'll send the patch upstream soonish, even though dvb-apps has not been touched since March 2014. --- ...-utils-fix-build-with-kernel-headers-4.14.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch diff --git a/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch b/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch new file mode 100644 index 0000000000..279cdecb77 --- /dev/null +++ b/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch @@ -0,0 +1,52 @@ +# HG changeset patch +# User "Yann E. MORIN" +# Date 1511772629 -3600 +# Mon Nov 27 09:50:29 2017 +0100 +# Branch yem/fixes +# Node ID 0848fa96c6eb13cf37249d317eff12cbd2f59ff7 +# Parent 3d43b280298c39a67d1d889e01e173f52c12da35 +utils: fix build with kernel headers >= 4.14 + +In kernel 4.14, CA_SET_PID was removed, in commit 833ff5e7feda (media: +ca.h: get rid of CA_SET_PID). + +Fix dst-util to not fail the build when this is missing. + +Fiuxes build failures such as: + http://autobuild.buildroot.org/results/708/708f11809b2cafc2a3375dc515803c87b376ed4d/build-end.log + http://autobuild.buildroot.org/results/e39/e3939d44376e92e8a35fb179d9890510334d8304/build-end.log + +Signed-off-by: "Yann E. MORIN" + +diff --git a/util/dst-utils/dst_test.c b/util/dst-utils/dst_test.c +--- a/util/dst-utils/dst_test.c ++++ b/util/dst-utils/dst_test.c +@@ -111,6 +111,7 @@ + return 0; + } + ++#if defined CA_SET_PID + static int dst_set_pid(int cafd) + { + if ((ioctl(cafd, CA_SET_PID)) < 0) { +@@ -120,6 +121,7 @@ + + return 0; + } ++#endif + + static int dst_get_descr(int cafd) + { +@@ -230,8 +232,12 @@ + dst_reset(cafd); + break; + case 'p': ++#if defined CA_SET_PID + printf("%s: PID\n", __FUNCTION__); + dst_set_pid(cafd); ++#else ++ printf("%s: PID not supported\n", __FUNCTION__); ++#endif + break; + case 'g': + printf("%s: Get Desc\n", __FUNCTION__);