From nobody Wed Sep 04 02:03:57 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wz5QG0pRhz5Mvk6 for ; Wed, 04 Sep 2024 02:04:06 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [209.237.23.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wz5QF05lGz4fVM for ; Wed, 4 Sep 2024 02:04:04 +0000 (UTC) (envelope-from marquis@roble.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=roble.com header.s=rs060402 header.b=pS2LjTQk; dmarc=pass (policy=none) header.from=roble.com; spf=pass (mx1.freebsd.org: domain of marquis@roble.com designates 209.237.23.5 as permitted sender) smtp.mailfrom=marquis@roble.com Received: from roble.com (roble.com [209.237.23.50]) by mx5.roble.com (Postfix) with ESMTP id AB05F38A633 for ; Tue, 03 Sep 2024 19:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roble.com; s=rs060402; t=1725415437; bh=txDIZ8k+SBA5myokEzjbDd9lNG7jktD4EmjR8kOkBT4=; h=Date:From:To:Subject; b=pS2LjTQkLzOlOtw8CSDmjrJIKklYa5OfqWHZ7NBKnNGdjxpnorKQOW+pECEW4dIeS +KTXMFz7YC2wjP/SFsXYKhSI2ImgGfnzUshVNXL3Jlep33mRIdWpdSzvqYaZDZ0DEd OIL+w6NKg9Uhex35y9CEEr9O4rOb1FrBDLjtdwbE= Date: Tue, 3 Sep 2024 19:03:57 -0700 (PDT) From: Roger Marquis To: freebsd-ports@freebsd.org Subject: Poudriere vs ccache Message-ID: <488qqrpq-969s-406r-0s2p-qo3nn549119s@mx.roble.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.88 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; DMARC_POLICY_ALLOW(-0.50)[roble.com,none]; R_DKIM_ALLOW(-0.20)[roble.com:s=rs060402]; R_SPF_ALLOW(-0.20)[+ip4:209.237.23.0/24]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:17403, ipnet:209.237.0.0/18, country:US]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[roble.com:+] X-Rspamd-Queue-Id: 4Wz5QF05lGz4fVM Am seeing a CCACHE error in Poudriere since moving to a new disk (permissions are the same): ccache: error: Failed to create temporary file for /root/.ccache/tmp/opt.stdout: Permission denied Now you'd think having CCACHE_DIR=/var/cache/ccache in make.conf and poudriere.conf would address this but it does not. What I also have is: etc/make.conf:CCACHE_BUILD=yes etc/make.conf:CCACHE_DIR=/var/cache/ccache etc/make.conf:SCCACHE_DIR=/var/cache/ccache etc/make.conf:OVERLAYS+=/var/cache/ccache/overlay etc/make.conf:CCACHE_SIZE="50.0G" poudriere.conf:CCACHE_DIR=/var/cache/ccache poudriere.conf:CCACHE_DIR_NON_ROOT_SAFE=yes poudriere.conf:ALLOW_MAKE_JOBS_PACKAGES="pkg ccache py*" /var/cache/ccache/ccache.conf:cache_dir = /var/cache/ccache /var/cache/ccache/ccache.conf:base_dir = /var/cache/ccache /var/cache/ccache/ccache.conf:hash_dir = false /var/cache/ccache/ccache.conf:max_size = 50.0G Probably not all of these settings are necessary but then there is conflicting info on various websites. Can anyone see what might be breaking ccache here or recommend additional debugging? Roger Marquis