From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbdK2Hdv (ORCPT ); Wed, 29 Nov 2017 02:33:51 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:61643 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241AbdK2Hdu (ORCPT ); Wed, 29 Nov 2017 02:33:50 -0500 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com vAT7XiBj030989 X-Nifty-SrcIP: [209.85.217.180] X-Google-Smtp-Source: AGs4zMbwC7LaYGTEp/s95e5da+IZ3a6Ej1zVklnC6TXPLlHFm57OWaLumP4W7FLSAJXkKIew6pAlupjdEFOQjCR0Jfk= MIME-Version: 1.0 In-Reply-To: References: <20171114123834.xsjiy2ynvott4gae@brain> <1511780854-7213-1-git-send-email-paolo.pisati@canonical.com> From: Masahiro Yamada Date: Wed, 29 Nov 2017 16:33:03 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] scripts/package: snap-pkg target To: Jim Davis , Paolo Pisati Cc: Michal Marek , Behan Webster , Matthias Kaehlcke , =?UTF-8?Q?Vin=C3=ADcius_Tinti?= , linux-kbuild , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-29 4:35 GMT+09:00 Jim Davis : > On Tue, Nov 28, 2017 at 10:14 AM, Paolo Pisati > wrote: >> On Mon, Nov 27, 2017 at 7:33 PM, Jim Davis wrote: >>> >>> With this patch applied to the 4.14 kernel source, and running make >>> snap-pkg on a Ubuntu 16.04 VM with the latest 16.04 kernel config >>> file, I ran into >>> >>> Traceback (most recent call last): >>> File "/usr/lib/python3.5/shutil.py", line 538, in move >>> os.rename(src, real_dst) >>> FileNotFoundError: [Errno 2] No such file or directory: >>> '/home/jim/linux/snap/parts/kernel/install/lib/firmware' -> >>> '/home/jim/linux/snap/parts/kernel/install/firmware' >>> >>> What did I miss? >> >> You need a recent version of snapcraft, i landed a fix for that last week. >> >> $ snap install --classic --edge snapcraft >> >> or refresh it, in case you already installed via snaps: >> >> $ snap refresh --edge snapcraft >> >> and then 'make snap-pkg' again. >> Beware of $PATH in case you have the snap and deb version installed. > > Ok, after updating and setting ~/snapcraft/bin/snapcraft ahead of > /usr/bin in my $PATH, the build completed. Oddly both > /usr/bin/snapcraft --version and ~/snapcraft/bin/snapcraft --version > return 2.34, though the build failed with /usr/bin/snapcraft. > > -- > Jim > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Worked for me too, after updating snapcraft. Is it really impossible to check the snapcraft version? What is the minimum version? 2.35 ? -- Best Regards Masahiro Yamada