From patchwork Sat Dec 16 03:49:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent McIntyre X-Patchwork-Id: 10116811 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 17B6A603FA for ; Sat, 16 Dec 2017 03:49:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDFC629F9A for ; Sat, 16 Dec 2017 03:49:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF5AC2A046; Sat, 16 Dec 2017 03:49:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58A3029F9A for ; Sat, 16 Dec 2017 03:49:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756143AbdLPDty (ORCPT ); Fri, 15 Dec 2017 22:49:54 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:45263 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755977AbdLPDtx (ORCPT ); Fri, 15 Dec 2017 22:49:53 -0500 Received: by mail-pg0-f43.google.com with SMTP id m25so7035026pgv.12 for ; Fri, 15 Dec 2017 19:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oyXK3mfJfey/mp3GMeeK24fp1WLRuFYXx/id13ccW28=; b=BlcVNk5uEHHwVjznurziDQz2PS8mO2walhQbeCDyaCr2CVhl2fVr5gN7j0Bu0UT0c2 jbEQiN7+vOqnzeiW2jUueZ17lej3nXNSAR8Iul1xU8fbtSSGcyu9JAbC2q7JYENryd4K ORfXd9n4L1EFZ4d+7rDlb/mtbNFmJ7sp2HfsRGISFjH5IaQeqikcYd/rK1azsxyCbq+D jhZyXQ7bz6R5DQKyQ/kYz9E6oOpGj+JHm/FCtkmPKBtdbjYwkaXS/XJHAbnjPv5bDL0j SKFRU9QpDgCY4N24imb5NXQpgnbiUeKhdrJM93QxK4wayl22A4XPT2/EV8G23gcEjxPE vQ3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oyXK3mfJfey/mp3GMeeK24fp1WLRuFYXx/id13ccW28=; b=JOjJSLUP7kbseZhyKbXVZRHtBmwqvOwyGzYOmo5b+QmLUnG8nH5m2y/B18qrJOjS54 vxU0cyI3S3fV6DeK9h5vAfoXRcjraRZSQ0eR6KePDUMFYmMueY3HGlfKoBcYbTkAfycK AeRrTZmyRExGHWUA+16q7N5Ivyc5+kQJ/T+Yw5QKY3loaJgdo3ZXOXdQ04Td+46iVwqJ vTxQbY+io+wQ1wkAI71BxfInAJ/Ng9wBELBk8z+KHxYHOuuSiyl8l1xPe7cn8ZPiGMCV GhLQ0veEqENWNGHGhjdvkh4KEiNZq9herAJ18GPEgcJOljGAX52/Aag3zwIkJTc5cT3X bqSw== X-Gm-Message-State: AKGB3mJridvQBFdMvYLsfndmievu/ewYWDkSbr0pJDbnrhU0pPcOu/X7 PdSx0mRVe4q0B6bVwrNmLgnLGw== X-Google-Smtp-Source: ACJfBotrTlNu2oTcLZAR7y8bYJWcbwmko5fmSzvOe2vPdaH0pXt06YZhmG8/350Q9MZ74XEFWt58WA== X-Received: by 10.99.110.131 with SMTP id j125mr14043172pgc.241.1513396192864; Fri, 15 Dec 2017 19:49:52 -0800 (PST) Received: from ubuntu.windy (c122-106-151-124.carlnfd1.nsw.optusnet.com.au. [122.106.151.124]) by smtp.gmail.com with ESMTPSA id i186sm13691111pfg.178.2017.12.15.19.49.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Dec 2017 19:49:51 -0800 (PST) Date: Sat, 16 Dec 2017 14:49:41 +1100 From: Vincent McIntyre To: linux-media@vger.kernel.org Subject: Re: more build failures Message-ID: <20171216034939.GA20217@ubuntu.windy> References: <20171215124111.GA29657@ubuntu.windy> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171215124111.GA29657@ubuntu.windy> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Fri, Dec 15, 2017 at 11:41:13PM +1100, Vincent McIntyre wrote: > > ... > > $ make allyesconfig > make -C /home/me/git/clones/media_build/v4l allyesconfig > make[1]: Entering directory '/home/me/git/clones/media_build/v4l' > No version yet, using 4.4.0-103-generic > make[2]: Entering directory '/home/me/git/clones/media_build/linux' > Syncing with dir ../media/ > Applying patches for kernel 4.4.0-103-generic > patch -s -f -N -p1 -i ../backports/api_version.patch > patch -s -f -N -p1 -i ../backports/pr_fmt.patch > patch -s -f -N -p1 -i ../backports/debug.patch > patch -s -f -N -p1 -i ../backports/drx39xxj.patch > patch -s -f -N -p1 -i ../backports/v4.14_compiler_h.patch > patch -s -f -N -p1 -i ../backports/v4.14_saa7146_timer_cast.patch > patch -s -f -N -p1 -i ../backports/v4.14_module_param_call.patch > patch -s -f -N -p1 -i ../backports/v4.12_revert_solo6x10_copykerneluser.patch > patch -s -f -N -p1 -i ../backports/v4.10_sched_signal.patch > 1 out of 1 hunk FAILED > The text leading up to this was: > -------------------------- > |diff --git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c > |index 015e41bd036e..fd61081b47d9 100644 > |--- a/drivers/staging/media/lirc/lirc_zilog.c > |+++ b/drivers/staging/media/lirc/lirc_zilog.c > -------------------------- > No file to patch. Skipping patch. > 1 out of 1 hunk ignored > Makefile:130: recipe for target 'apply_patches' failed > make[2]: *** [apply_patches] Error 1 > make[2]: Leaving directory '/home/me/git/clones/media_build/linux' > Makefile:374: recipe for target 'allyesconfig' failed > make[1]: *** [allyesconfig] Error 2 > make[1]: Leaving directory '/home/me/git/clones/media_build/v4l' > Makefile:26: recipe for target 'allyesconfig' failed > make: *** [allyesconfig] Error 2 > can't select all drivers at ./build line 525 > + status=29 > + date > Friday 15 December 23:29:17 AEDT 2017 > + [ 0 = 29 ] I managed to get past the failure above with this change - media: rc: move ir-lirc-codec.c contents into lirc_dev.c media: lirc: remove last remnants of lirc kapi - Sean removed lirc_zilog.c, so it no longer needs patching ... CC [M] /home/me/git/clones/media_build/v4l/pvrusb2-i2c-core.o CC [M] /home/me/git/clones/media_build/v4l/pvrusb2-audio.o CC [M] /home/me/git/clones/media_build/v4l/pvrusb2-encoder.o CC [M] /home/me/git/clones/media_build/v4l/pvrusb2-video-v4l.o CC [M] /home/me/git/clones/media_build/v4l/pvrusb2-eeprom.o CC [M] /home/me/git/clones/media_build/v4l/pvrusb2-main.o CC [M] /home/me/git/clones/media_build/v4l/pvrusb2-hdw.o /home/me/git/clones/media_build/v4l/pvrusb2-hdw.c: In function 'pvr2_send_request_ex': /home/me/git/clones/media_build/v4l/pvrusb2-hdw.c:3651:7: error: implicit declaration of function 'usb_urb_ep_type_check' [-Werror=implicit-function-declaration] if (usb_urb_ep_type_check(hdw->ctl_write_urb)) { ^ cc1: some warnings being treated as errors scripts/Makefile.build:258: recipe for target '/home/me/git/clones/media_build/v4l/pvrusb2-hdw.o' failed make[3]: *** [/home/me/git/clones/media_build/v4l/pvrusb2-hdw.o] Error 1 Makefile:1423: recipe for target '_module_/home/me/git/clones/media_build/v4l' failed make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-103-generic' Makefile:51: recipe for target 'default' failed make[1]: *** [default] Error 2 make[1]: Leaving directory '/home/me/git/clones/media_build/v4l' Makefile:26: recipe for target 'all' failed make: *** [all] Error 2 Cheers Vince --- a/backports/v4.10_sched_signal.patch +++ b/backports/v4.10_sched_signal.patch @@ -195,19 +195,6 @@ index 0e8025b7b4dd..8c59d4f53200 100644 #include #include #include -diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c -index db1e7b70c998..fc03068e22b5 100644 ---- a/drivers/media/rc/lirc_dev.c -+++ b/drivers/media/rc/lirc_dev.c -@@ -18,7 +18,7 @@ - #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - - #include --#include -+#include - #include - #include - #include diff --git a/drivers/media/usb/cpia2/cpia2_core.c b/drivers/media/usb/cpia2/cpia2_core.c index 0efba0da0a45..5d8aa65ab40b 100644 --- a/drivers/media/usb/cpia2/cpia2_core.c @@ -246,19 +233,6 @@ index 0b5c43f7e020..36bd904946bd 100644 #include #include -diff --git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c -index 015e41bd036e..fd61081b47d9 100644 ---- a/drivers/staging/media/lirc/lirc_zilog.c -+++ b/drivers/staging/media/lirc/lirc_zilog.c -@@ -42,7 +42,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include However it falls over later in a way I don't think I can help with.