Received: by 10.223.164.202 with SMTP id h10csp4616623wrb; Wed, 29 Nov 2017 09:05:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMbEREOPhgH1l7Ut0Tbi86PVMG9a4txufRY9eYowgruzoW6qLpvVJqpuKDTCKJXPyo4l50xG X-Received: by 10.84.129.197 with SMTP id b63mr3554419plb.278.1511975103940; Wed, 29 Nov 2017 09:05:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511975103; cv=none; d=google.com; s=arc-20160816; b=Br5w0JUyBaxZEBSMrB215XgxK7YkzefasoatnFLHAIPB2sYonKGlAnU8IZy9Hi3Ppd NLEgmN2umgXT3GN5dfyzNkzxyc+IULdZEFh9U2LOxmbId4vppZk0SEBRtQm6AEFBKQ+H GJphxAW3MEYe7qrF3BhuJMwo04FzdGlHO8IpyUX3s5CpvzQT/jXrK43wtoRM8ODWrViv G5mXMzPOfOb2aPCpH8+gfi3evTtMnu6YEqrjKNDkhpiwIOpwbG6yfSGweMTIuHOnCkL2 iE5FpgQEkcgAM30VlQS+hO+EkWEU/qCMeDMEVvESml/Vuq/VG9PWCX2kIMQeamhTJEPh 3jNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :arc-authentication-results; bh=lI1YNrxT9sWR7fDFWoEE7uIREVt13kGIthTq0fKuTvw=; b=ZxokXAryaDIojlWwB/hbH4uUa7E5gWihekKwEsgFtfA3v4TYfoqGKCnwQKV42BfpBO 48xnqI0aJerhFRTPAQfT3Su42P+hqwG6GyR5wweGK+aJL4JAm+3B7VGXyGP6BcUKTWid i1y4od6gL2CHp5fIQMSytCZ1biV1xGkQvwIkxQXDTeECQ7MgcRVm+Ww4Sl9tSjm2JZJv 5pBCjcyydeC/U8DG0utfzRO2zVwwmz+EG9Xrrh6vcnZa7NdD0KOflI4vlk9BKbNcaIsi P6MnA2HPVpTvtoGpyX05YDsUHYQjfOny1WJ9QlhIBNvIr1yPHFKa1S8Wq6X/x/4WAHzJ FYnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4si1631666pfj.350.2017.11.29.09.04.53; Wed, 29 Nov 2017 09:05:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933797AbdK2RDM convert rfc822-to-8bit (ORCPT + 70 others); Wed, 29 Nov 2017 12:03:12 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:51907 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932234AbdK2RDK (ORCPT ); Wed, 29 Nov 2017 12:03:10 -0500 Received: from mail-ot0-f198.google.com ([74.125.82.198]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1eK5lN-0000jA-Iy for linux-kernel@vger.kernel.org; Wed, 29 Nov 2017 17:03:09 +0000 Received: by mail-ot0-f198.google.com with SMTP id f62so686621otf.6 for ; Wed, 29 Nov 2017 09:03:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=BssgxwDGJT8g+koXaZjcnzdPV2A7QihhYcHWGosdJN0=; b=lyK1SsTFs+dfrp56Ssgv6hb4/YBkpLmotEl9/85ygDRAv6MrlFJYQJPIu08npVln4Z TJs83LJFhQBOmIy6EEMGsgkhVZtYFACfPnwb5OrfWQVV6AskdAkyz1YdvLOtSdXWmpB+ XLJv+1LZtjPT/78F/70T4H/GXgIfsVPhp7fWtpHLBpFuywSZQKgJS7MKB2RyLxniIjgU SfYNXnUkUFHYfOEs8POQj4DoGrIBsnRk6rNWGGdsM2pa92bFRF3WQhTPM5mUST2ih4+T eUsO3YPKhEfk3/Tw9MLKVcMgUe1oow4TZtukWwM3t0nRkF0Njjgpyz8A6KbaxHN9v9os z9Gg== X-Gm-Message-State: AJaThX5BIlC7+1x0tPlWN6A4F5nlxzgVHHIeyExh8kwP1LN+IohKsEw4 baDIwnwWgwB8om5f8BToQQG/J3sdIPkia1egRFRC/dOpcKgor+dLMo7iQLRMMVdaHYUwnFrDSyY yFFHoLOPxfLliWoDAs8NMfcZiS2WHYuFM1HMqS3m6YCV4FxWGwJA9fLDPnw== X-Received: by 10.157.0.239 with SMTP id 44mr2867671otk.327.1511974988432; Wed, 29 Nov 2017 09:03:08 -0800 (PST) X-Received: by 10.157.0.239 with SMTP id 44mr2867644otk.327.1511974988078; Wed, 29 Nov 2017 09:03:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.136.79 with HTTP; Wed, 29 Nov 2017 09:03:07 -0800 (PST) In-Reply-To: References: <20171114123834.xsjiy2ynvott4gae@brain> <1511780854-7213-1-git-send-email-paolo.pisati@canonical.com> From: Paolo Pisati Date: Wed, 29 Nov 2017 18:03:07 +0100 Message-ID: Subject: Re: [PATCH v3] scripts/package: snap-pkg target To: Jim Davis Cc: Masahiro Yamada , Michal Marek , Behan Webster , Matthias Kaehlcke , =?UTF-8?Q?Vin=C3=ADcius_Tinti?= , linux-kbuild , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Weird, are you sure you are checking the snap version? $ /snap/bin/snapcraft --version snapcraft, version 2.35+git26.0474d85 $ snap info snapcraft name: snapcraft summary: easily create snaps publisher: canonical contact: snappy-canonical-storeaccount@canonical.com description: | Snapcraft aims to make upstream developers' lives easier and as such is not a single toolset, but instead is a collection of tools that enable the natural workflow of an upstream to be extended with a simple release step into Snappy enabled system. snap-id: vMTKRaLjnOJQetI78HjntT37VuoyssFE commands: - snapcraft tracking: edge installed: 2.35+git26.0474d85 (864) 53MB classic refreshed: 2017-11-29 09:54:04 +0100 CET channels: stable: 2.35 (794) 53MB classic candidate: ↑ beta: ↑ edge: 2.35+git26.0474d85 (864) 53MB classic On Tue, Nov 28, 2017 at 8:35 PM, Jim Davis wrote: > 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 -- bye, p. From 1585385006466736486@xxx Wed Nov 29 07:36:02 +0000 2017 X-GM-THRID: 1578328285370326982 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread