From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7199546208794181632 X-Received: by 2002:a5d:84ce:0:b0:75c:d7d7:aba with SMTP id z14-20020a5d84ce000000b0075cd7d70abamr1529429ior.0.1680161845991; Thu, 30 Mar 2023 00:37:25 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6602:2ccb:b0:75c:98b0:98a9 with SMTP id j11-20020a0566022ccb00b0075c98b098a9ls228437iow.5.-pod-prod-gmail; Thu, 30 Mar 2023 00:37:25 -0700 (PDT) X-Google-Smtp-Source: AK7set9PNqnEU+hZEfK6WvcFEQ1fzEqD7rqvE2/GtgEtcirYoL2JUNEVkCTBTW19jzz3A4846gG1 X-Received: by 2002:a6b:5b17:0:b0:758:6e42:83e4 with SMTP id v23-20020a6b5b17000000b007586e4283e4mr16049885ioh.11.1680161845336; Thu, 30 Mar 2023 00:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680161845; cv=none; d=google.com; s=arc-20160816; b=GqVSIclKNLlvrvJ26HERleQ+ufCdqi2eU8BbX0kWVydMyfks4o6CxgYTCfKYiLkebJ EQINIXXp8tJCSBz9MpCvbUAb4oie39PaSUpLih5RM3T2AK3sCSsA2cmBPJveREadbich XR6+oeA4sejY9eoTGWKz2+2J7219MYXJ8qxosiVPH89gkcEhzyA0WY5ZYwlsXNXaDLPA scD6mJTXbbndNSTBW4CUzWm8WO0lrtcjDWERBMjvfsAM+95r5XAFpdFUNNgB7kV3/fv4 vXaw+he36r/KwAztNaRyVacMSp8cp8rQ280IllyenuBBGzRe2XYDtAEnSwPJAW1Vvd1S A0Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=Z/bCOGZMLwbvZZ14o+SP7n54moAfpF0yj42ddA0y2IE=; b=0anG8qqSZc30i2ta1zg4P5vFgYIBAiB9l7dCMSIXkW3kk+ExLlfEZLMzk8I6BtlNBF z1sgjBYxEju7RR2fQAWh2qO7oigwHHy326GNb3W+L89Nlu9EHzMUyop3Ou770gLfyxYJ I67yxDxMMY7DbHSy8W+7bCbh9mj8fIpX9mBXOds3Q144M/0CrTORjdoaFahv692dl876 YBmNAhQV6+370JK2WeFHoaTnsDXKjV+Sb1NlIEvLknPNrd6XchjQhdKutZclX7GtAL6+ 1qmc19pnTas46brzOgMX6t+adHjzju+0djURL8k6cYrr9nYI+2xvriH17wmHhZWOk3gE VVDg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id cs25-20020a056638471900b00403008ac9dasi3621013jab.5.2023.03.30.00.37.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Mar 2023 00:37:25 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from hp.localnet (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 32U7bIeb006595 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 09:37:19 +0200 From: Uladzimir Bely To: "isar-users@googlegroups.com" , "Moessbauer, Felix" Subject: Re: [PATCH v2 0/4] Fix ccache issues Date: Thu, 30 Mar 2023 10:37:14 +0300 Message-ID: <3485605.dWV9SEqChM@hp> In-Reply-To: <9c4580332e0520197ed589f26af61c89ca8bb955.camel@siemens.com> References: <20230213075611.5694-1-amikan@ilbers.de> <2105157.9o76ZdvQCi@hp> <9c4580332e0520197ed589f26af61c89ca8bb955.camel@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: apD2P9yD40Tf In mail from Wednesday, 29 March 2023 15:43:10 +03 user Moessbauer, Felix wrote: > On Tue, 2023-03-28 at 18:56 +0300, Uladzimir Bely wrote: > > > In mail from Tuesday, 28 March 2023 18:51:58 +03 user Moessbauer, > > Felix wrote: > > > > > On Mon, 2023-03-27 at 08:27 +0300, Uladzimir Bely wrote: > > > > > > > > > > In mail from Monday, 13 February 2023 10:56:07 +03 user Anton > > > > Mikanovich > > > > wrote: > > > > > > > > > > > > > This patchset just fixes some ccache-related issues which > > > > > prevented > > > > > us > > > > > from enabling ccache globally. > > > > > > > > > > > > Hi, > > > > > > since this commit, I again see ccache issues when mixing cross and > > > non- > > > cross compilation for arm64 targets: > > > > > > ccache: error: Failed to create directory /ccache/a/7: Not a > > > directory > > > > > > The error happened in the non-cross recipe. > > > > > > I'm not 100% sure if this is related, but with ISAR f95f69d3 I did > > > not > > > observe these on the same layer. > > > > > > Felix > > > > > > > > > Probably, it's related to patch2. > > > > You might have /ccache/a/ created earlier by 'root', and not it can't > > create a > > subdir as sbuild user. > > > Hi, this could very well be the case. However, when running in a CI on > a project with multiple branches (e.g. during feature integration), > this situation cannot be avoided. The cache is shared across all builds > of a single project, but these builds might use different ISAR > versions. > Yes, it sounds a bit challenging. Returning back to root-owned ccache would not be a good solution. But if there are no other ways to deal with it, we might have to do it. Alternatively, kas-based downstreams using old isar could apply patch2 as isar patch, until updated. > This technically means, we need to update all branches of the project > in a lockstep to be able to re-enable the ccache. > > It would be good if we could find a way to avoid this situation. > > Felix > > > > > > > > >