From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 380AFC11F67 for ; Thu, 1 Jul 2021 22:33:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 13AFE61413 for ; Thu, 1 Jul 2021 22:33:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233360AbhGAWfh (ORCPT ); Thu, 1 Jul 2021 18:35:37 -0400 Received: from dispatch1-us1.ppe-hosted.com ([67.231.154.183]:44508 "EHLO dispatch1-us1.ppe-hosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230213AbhGAWfg (ORCPT ); Thu, 1 Jul 2021 18:35:36 -0400 X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.110.51.23]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id D45442006A; Thu, 1 Jul 2021 22:33:04 +0000 (UTC) Received: from mail3.candelatech.com (mail2.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 88570900066; Thu, 1 Jul 2021 22:33:04 +0000 (UTC) Received: from [192.168.100.195] (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 1116813C2B1; Thu, 1 Jul 2021 15:33:04 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 1116813C2B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1625178784; bh=EZTSOet80qPrXVM3DPO63FhZQ5/H+IbmAFxcXfk0LR0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=MyKJhIRGfOPkoyOeZ+5DaOZfJwcroAKte2DvmCd/d3OWTDEMYSy1vZJP8Nf6ZjVdR XHtHnxHv5Q96JquShRIinloBjnOjDda7Vb84XqOVs0wH3II3N4Hr1EDYQ+NW723PIu MHImgLVyYIb6IShhtnKQFvO27XEAVfJdWXkHaPAI= Subject: Re: backports spatch question To: Johannes Berg , Hauke Mehrtens Cc: backports@vger.kernel.org References: <84336f24b55f6ef407511235a90af4b24a8488ce.camel@sipsolutions.net> <6260cc7d2771a5d67e04736a036ae23c8441c57d.camel@sipsolutions.net> From: Ben Greear Organization: Candela Technologies Message-ID: <2b1c748b-190a-80de-64d0-7eb876fbd007@candelatech.com> Date: Thu, 1 Jul 2021 15:33:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <6260cc7d2771a5d67e04736a036ae23c8441c57d.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-MDID: 1625178785-EVFkPQgyhcdQ Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org On 7/1/21 2:51 PM, Johannes Berg wrote: > On Thu, 2021-07-01 at 14:40 -0700, Ben Greear wrote: >> >> [greearb@v-f34-64 backports]$ spatch --version >> spatch version 1.0.8-gf4ba8df-dirty compiled with OCaml version 4.11.1 > > > I just realized I never even tried on my system recently, I'm still on > F33 and have > > spatch version 1.0.8-gc1dbb4f-dirty compiled with OCaml version 4.11.1 > > Could you try some other version? Backports says it needs "at least" > 1.0.7 but perhaps only exactly that works? I tried compiling 1.0.8 tag from github, and it seemed to compile and install OK, but then it complains about python: [greearb@v-f34-64 backports]$ spatch --sp-file patches/0001-group-attr/0001-group_attr_class.cocci --dir /tmp/x init_defs_builtins: /usr/local/bin/../lib/coccinelle/standard.h Py.find_library: unable to find the Python library [/lib64/libpython3.9.so.1.0 returned Cannot resolve PyImport_Cleanup. ] [greearb@v-f34-64 backports]$ I'll try to reproduce my work on a Fedora-33 system, every time I tangle with spatch & friends it never goes well for me. Thanks, Ben > > johannes > -- Ben Greear Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe backports" in