From patchwork Fri Jun 2 05:55:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Siegumfeldt X-Patchwork-Id: 100988 Delivered-To: patch@linaro.org Received: by 10.182.202.35 with SMTP id kf3csp74125obc; Fri, 2 Jun 2017 00:29:48 -0700 (PDT) X-Received: by 10.98.134.72 with SMTP id x69mr5527457pfd.106.1496388588179; Fri, 02 Jun 2017 00:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496388588; cv=none; d=google.com; s=arc-20160816; b=hF46Bg6E/SeOp8/SBVMbaxNn3oaQ+ISuKr026T7MP+hTAamqrUtINphpbU56ZThDre lv9esU9zFarqUEsbJ64SBk4ibA1D0H96fXswhMKijWrPmHuhU4RWD8MPrfPRNOdy6DyP U6QQ7Ec1rImEkqL01Nt4zELUv5O87M4mmhXHxVBAngIG6Xjtr3Qe6oBbpDjkMIEKSHR2 /v5fJ5PHdXFmVxLFS5zZGg0ib2UBIyqZ2BceowaQ6gYCLEecmOlUHw769kiB67A0ZfMo xC1fvH1K1ePfswLZG12mZHulOY/CZ2cdgjrudm+nTOGVVsnwkkP/fpIMM4UDm2H1EcHp 0K+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:spamdiagnosticmetadata:spamdiagnosticoutput:mime-version :references:in-reply-to:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=on5WrUt+ZjQw/5WTvPU6eMNjTcPkVq3tIJD8KAwKYQo=; b=eLuRK0QVC19E/TZDr5ltQTk+uA+EwCPCiFEljA5FBIv2NhMkzoO/tBM1YbZG5SAMfe AkhlLqsG+qrNM0MLePfg3zwko9gKS41MD2CUmx6ByQ32P3P3/TCDS03PJSmgry1e/hY2 J74sfyi6zg0PUxlGfteMBQtdzYZC/bV3GUeZHi+Ky5dNKnBn7frnzcdE1DMlC8APLNm+ GJJnljM97egaX7qwPF3dFu6vJryb6MHm+I5G09fZR70+XCEMEgRgx8yK+kpoK9K5FxMU gyZCj/DTLhOa5Sa+DAlVsXVb6/kgjeTJIOSfOHb4pUgEd4wkmPjLtDmMZ6DBuV8JwUtM 2ppw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gomspace01.onmicrosoft.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y125si22614387pfy.16.2017.06.02.00.29.47; Fri, 02 Jun 2017 00:29:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gomspace01.onmicrosoft.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EDFD777E58; Fri, 2 Jun 2017 07:29:34 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0098.outbound.protection.outlook.com [104.47.2.98]) by mail.openembedded.org (Postfix) with ESMTP id CB42677B99 for ; Fri, 2 Jun 2017 07:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gomspace01.onmicrosoft.com; s=selector1-gomspace-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k76CGwbRMo+hHlKYaJ16lCmCk+Rf2FgbCvwo4n6WXfA=; b=R6EqRXmiqXsBTuXdtyF6QAL3L45pKAmBgsPXwUUGYSZuYLR7ryo+uFjDjOYUZt+Q2RVlHdV/URSptFZVN3sVXyjOOwIPLH7ZXsKJjZTUhk3KhSp73VpzJF5YzbN0txZx9GMDgYD0x/v5tPdvS4NiA+wX3VHVXL2YxvhqM6aKsRQ= Authentication-Results: lists.openembedded.org; dkim=none (message not signed) header.d=none; lists.openembedded.org; dmarc=none action=none header.from=gomspace.com; Received: from martin-Precision-5510.gomspace.lan (77.243.61.136) by VI1PR0402MB2783.eurprd04.prod.outlook.com (2603:10a6:800:ad::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Fri, 2 Jun 2017 05:56:12 +0000 From: Martin Siegumfeldt To: openembedded-devel@lists.openembedded.org Date: Fri, 2 Jun 2017 07:55:45 +0200 Message-Id: <20170602055545.20448-2-mns@gomspace.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170602055545.20448-1-mns@gomspace.com> References: <20170602055545.20448-1-mns@gomspace.com> MIME-Version: 1.0 X-Originating-IP: [77.243.61.136] X-ClientProxiedBy: AM4PR0802CA0017.eurprd08.prod.outlook.com (2603:10a6:200:57::27) To VI1PR0402MB2783.eurprd04.prod.outlook.com (2603:10a6:800:ad::13) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR0402MB2783: X-MS-Office365-Filtering-Correlation-Id: 7216af4b-7ed1-49df-d25a-08d4a97c12cf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075); SRVR:VI1PR0402MB2783; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB2783; 3:8pjYHO90BnKmorY6Fhj5C4tp2j8qHi29X+roqiDhu1YrW9ZTyGF3uFc4yvC9cuiscmTH/k4xwhK19/K5ZkGkbBraGKOmH9fQSOzUdycj+P1CiSeQpb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dihhFDFeoXj13PMwqUFZ3O46l3/u6S7SSxeLc5aLA4Ji7mpW01/i8LIwZLq9anM4r/jXhuJtBiIWZ5+3HEB3sQit4zm/nGSz/y732CZdD2LMg49Lq55gmc4wCL7gUGCSr6/SNK1aNdQF5QqchH4iCHzYhzKvFO7f9n9nuXMgAJqLsqo1IJFeXnuQLrLcegnw0CBaXl86B4bWVQgYb/T7++VAoQ7cAwNleaprMC27GhYW5RpKhhB1dJU3MRpO/QU6bEIMGOH5Q9Z4j3I5vbPlEuvAuILvmxd2W2ZmkXGMVA9ym+vPGmwDRJx0aUNJvHC8z8JfnSEu+oaZDP0cmPPb1RQssxiFFnJYRX2cOI2EpB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(31051911155226)(58145275503218); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123564025)(20161123560025)(2016111802025)(20161123562025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(6043046)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0402MB2783; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0402MB2783; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0402MB2783; 4:2hK4KQ1csDcv69O3aelV67LjE95M1Y8osNCgqwtj?= /9QiDsNXAi58VBDjtoCeSfpWBYro5B31H0pYSB0tjwqQmDoEe7W95yGiSo8WLX+gK6xq3VAWtRkmdjuJ/X2AF2oD2LrGpso8y2hckjUb2VEAC8QWTHz73dfJoXWbfDz9AxtON77u7pDR20yhtFttDeDRZUmlgODs4hoCPKgmiaeQuIJWpD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efront-PRVS: 03264AEA72 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39450400003)(39410400002)(39400400002)(39830400002)(25786009)(36756003)(6506006)(47776003)(50986999)(53936002)(6486002)(189998001)(76176999)(38730400002)(110136004)(53416004)(6512007)(478600001)(6306002)(54906002)(5003940100001)(42186005)(6916009)(2950100002)(7736002)(86362001)(575784001)(6666003)(66066001)(48376002)(2906002)(4326008)(1076002)(2361001)(5660300001)(6116002)(33646002)(2351001)(3846002)(50466002)(8676002)(50226002)(81166006)(305945005)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0402MB2783; H:martin-Precision-5510.gomspace.lan; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0402MB2783; 23:L/4k/rjFhDaF9qCCzIIFwBnnNNKEZXJZIsNuJNF?= ZwrLq79GnBylWqxrchAkZM7F9aQ6URipzDn1Ux0IqAAyG2EhWiSOB9VxszUQap88mOhLCORzMg+6z5/X7+h2ZmJcHpMcunO9XadLjd75TkN2hevjT6GJVlvKKRzt9TIP8KxzVwLZcXycXs7OAvKPmkD0FJ0Q3UvOsPEFru0QK3WI2NhoSBJJQilUp8L/oZtj39vYrLPH7N482FwLUOso3b8mJ2O6CZxwqT5HRvGv2tAZVZHGKJSkKIfMM506B15nDTqo8CDibC4o/J1GM6c2WdOLg5DryFtMnf7CWhRIs8OgGfEPwynAC9nPTefaE5aqBuRbwwAdwcx1EGaWlu5wyYqrMAJhcMel+DA9ST/J0pfCY2ERqFiH4mbj1lTlwZPprcnUnR0Xlb56dfTCWGnFMLMd/GZH328Llu+k8CRalvwmQtKzrqLC71qIBSpwVbq4Zpizrn9jdRf6rkQ/a+A1uzMisIxueJf8JO3pXBncLSmfvIdh2ykiRV2TnXlZ3ImC7SCN3IjTbk4sZ7PM5cNrJYFy6k777qOd8wJgiae2Cw7BrqiaFAtjpnmYBaAOtYTBm9yeZBEcqm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v50cOHFNhTNgZsv/FWIqSanEq9NwvbR4wO801jWUPmCPOEO0vYRT2LQ== X-OriginatorOrg: gomspace.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2017 05:56:12.0856 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2783 Cc: Denys Dmytriyenko Subject: [oe] [meta-oe][PATCH 2/2] devmem2: use different filename to avoid checksum conflicts X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org From: Denys Dmytriyenko The newly resurrected devmem2.c file besides having a new location, also updates its header, producing different checksums, which would conflict with any previously cached or mirrored instances. To avoid such conflicts, use a different filename in fetch(). Rename it back to original name at unpack() for devmem2-fixups-2.patch to succeed w/o modifications. WARNING: devmem2-1.0-r7 do_fetch: Fetcher failure for URL: 'http://www.free-electrons.com/pub/mirror/devmem2.c'. Checksum mismatch! File: '/OE/master/downloads/devmem2.c' has md5 checksum be12c0132a1ae118cbf5e79d98427c1d when e23f236e94be4c429aa1ceac0f01544b was expected File: '/OE/master/downloads/devmem2.c' has sha256 checksum ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191 when 3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 was expected If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe: SRC_URI[md5sum] = "be12c0132a1ae118cbf5e79d98427c1d" SRC_URI[sha256sum] = "ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191" Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified. WARNING: devmem2-1.0-r7 do_fetch: Renaming /OE/sources/devmem2.c to /OE/sources/devmem2.c_bad-checksum_be12c0132a1ae118cbf5e79d98427c1d Signed-off-by: Denys Dmytriyenko Signed-off-by: Martin Jansa --- meta-oe/recipes-support/devmem2/devmem2.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.9.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/devmem2/devmem2.bb b/meta-oe/recipes-support/devmem2/devmem2.bb index c42eb5e..c86eb2e 100644 --- a/meta-oe/recipes-support/devmem2/devmem2.bb +++ b/meta-oe/recipes-support/devmem2/devmem2.bb @@ -3,12 +3,16 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://devmem2.c;endline=38;md5=a9eb9f3890384519f435aedf986297cf" PR = "r7" -SRC_URI = "http://www.free-electrons.com/pub/mirror/devmem2.c \ +SRC_URI = "http://www.free-electrons.com/pub/mirror/devmem2.c;downloadfilename=devmem2-new.c \ file://devmem2-fixups-2.patch;apply=yes;striplevel=0" S = "${WORKDIR}" CFLAGS += "-DFORCE_STRICT_ALIGNMENT" +python do_unpack_append() { + os.rename("devmem2-new.c", "devmem2.c") +} + do_compile() { ${CC} -o devmem2 devmem2.c ${CFLAGS} ${LDFLAGS} }