From nobody Thu Jan 12 20:22:11 2023 X-Original-To: questions@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 4NtGNx3F9wz2qrK7 for ; Thu, 12 Jan 2023 20:29:21 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NtGNw0t2gz4TkS for ; Thu, 12 Jan 2023 20:29:20 +0000 (UTC) (envelope-from jerry@seibercom.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=I6Xry0ds; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::e36 as permitted sender) smtp.mailfrom=jerry@seibercom.net; dmarc=none Received: by mail-vs1-xe36.google.com with SMTP id i185so20270112vsc.6 for ; Thu, 12 Jan 2023 12:29:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=content-transfer-encoding:mime-version:organization:reply-to :message-id:subject:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=oCI/XJsQBvT8URfT6MBYbdjCihd+Dyfctl85HsadgWM=; b=I6Xry0dsMnhaXZE5Z3/90wQRbkAGxDbcSEGjIHd8o7B1URT+QPR/BRE5QjUb3Hzd5V XppbZjthClvACzdVE9Om4ca6o0Xjxe3kqqBbLas0FJ/5QedRGf8dSzoIJNgp5WPll8wV YrIno0sIg3R7Qev1UHAm49ZJEYF7d1kcqHoLE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:organization:reply-to :message-id:subject:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oCI/XJsQBvT8URfT6MBYbdjCihd+Dyfctl85HsadgWM=; b=Ar4YsrSipPJ1ESU71EB/bSbDBiS8DBPWXyIxlFcrZIwWBinzEye4tNbBGi8hIId7ym 8ED0KNLwGkd3D9vvDljvTF/IljJicVft0/XpEr790kRKlWCMtubMseOc76GsF1XPb5QN U8jD/QfvJ3j4bg5Jh0x/uOi/Xsj6m0ZcDyYHKRSXLFAd8QjcXC3SZGkp3tTpzTW8xpCV dzua+7UpMs09NyU4eFbpUkJ413YpIqeMq/qWa4hJnvFTIKPpREGPxys4eQp47wSxabmq v8pMkYGC0dOAkJhIWJ+aMQYezvaggD9kVqIRecB5i9HzgoAxI8DOlLw6Yu6TULoN+OQE waqg== X-Gm-Message-State: AFqh2koD/qawYs9TmsHzLHY+WgEFemrCjt0wkOAAADFAP8fmje2bOYkq F0gKfNv+QgNw05/5oB71Ch9uOSjTpIGnWdrk X-Google-Smtp-Source: AMrXdXvVnmz+f2TAHrm1haCRdvZmyfyxINHjf7OJ57iD+ekolEqp6EdqkXKPBvynQxYsuUu9pru7ng== X-Received: by 2002:a1f:a793:0:b0:3d5:a1b9:f56 with SMTP id q141-20020a1fa793000000b003d5a1b90f56mr28448034vke.13.1673554934437; Thu, 12 Jan 2023 12:22:14 -0800 (PST) Received: from mystic.seibercom.net (cpe-71-77-18-211.nc.res.rr.com. [71.77.18.211]) by smtp.gmail.com with ESMTPSA id dt27-20020a05620a479b00b00705e7daf6f0sm2979849qkb.129.2023.01.12.12.22.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Jan 2023 12:22:13 -0800 (PST) Received: from localhost (ZEUS.seibercom.net [192.168.1.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by mystic.seibercom.net (Postfix) with ESMTPSA id 4NtGDh6W3kz12jS for ; Thu, 12 Jan 2023 15:22:12 -0500 (EST) Date: Thu, 12 Jan 2023 15:22:11 -0500 From: "Gerard E. Seibert" To: questions@freebsd.org Subject: using "sccache" with poudriere Message-ID: <20230112152211.0000437e@seibercom.net> Reply-To: questions@freebsd.org Organization: seibercom NET X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 1.0.0 at mystic.seibercom.net X-Virus-Status: Clean X-Spamd-Result: default: False [1.62 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.88)[-0.877]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e36:from]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[seibercom.net:+]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; GREYLIST(0.00)[pass,body] X-Rspamd-Queue-Id: 4NtGNw0t2gz4TkS X-Spamd-Bar: + X-ThisMailContainsUnwantedMimeParts: N I am unable to get =E2=80=9Csccache=E2=80=9D to work with poudriere. I have= tried to follow all the various =E2=80=9CHOW-TO=E2=80=9D examples, but nothing seems= to work. This is an excep[t from the latest poudriere build log: ---Begin make.conf--- USE_PACKAGE_DEPENDS=3Dyes BATCH=3Dyes WRKDIRPREFIX=3D/wrkdirs PORTSDIR=3D/usr/ports PACKAGES=3D/packages DISTDIR=3D/distfiles OVERLAYS+=3D/overlays/sccache FORCE_PACKAGE=3Dyes PACKAGE_BUILDING=3Dyes PACKAGE_BUILDING_FLAVORS=3Dyes #### #### DEFAULT_VERSIONS=3Dsamba=3D4.13 ssl=3Dopenssl mysql=3D8.0 php=3D8.1 SCCACHE_DIR=3D/usr/home/gerard/.ccache/sccache WITH_CCACHE_BUILD=3Dyes CCACHE_DIR=3D/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=3D0 UID=3D0 DISABLE_MAKE_JOBS=3Dpoudriere ---End make.conf--- =3D=3D=3D> Returning to build of rust-1.66.1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 >GID=3D0 =3D=3D=3D> Configuring for rust-1.66.1 =3D=3D> Starting sccache sccache: Starting the server... sccache: Listening on port 0 Compile requests 0 Compile requests executed 0 Cache hits 0 Cache misses 0 Cache timeouts 0 Cache read errors 0 Forced recaches 0 Cache write errors 0 Compilation failures 0 Cache errors 0 Non-cacheable compilations 0 Non-cacheable calls 0 Non-compilation calls 0 Unsupported compiler calls 0 Average cache write 0.000 s Average cache read miss 0.000 s Average cache read hit 0.000 s Failed distributed compilations 0 Cache location Local disk: "/usr/home/gerard/.ccache/sccache" Cache size 0 bytes Max cache size 16 GiB After poudriere has finished building =E2=80=9Crust=E2=80=9D, the output of= =E2=80=9Csccache -s=E2=80=9D is the same: sccache -s Compile requests 0 Compile requests executed 0 Cache hits 0 Cache misses 0 Cache timeouts 0 Cache read errors 0 Forced recaches 0 Cache write errors 0 Compilation failures 0 Cache errors 0 Non-cacheable compilations 0 Non-cacheable calls 0 Non-compilation calls 0 Unsupported compiler calls 0 Average cache write 0.000 s Average cache read miss 0.000 s Average cache read hit 0.000 s Failed distributed compilations 0 Cache location Local disk: "/home/gerard/.cache/sccache" Cache size 0 bytes Max cache size 10 GiB It is evident that it did not cache anything. =E2=80=9Cccache=E2=80=9D; how= ever, it seems to be working perfectly. I was told to place the following entry in the =E2=80=9C/usr/local/etc/poudriere.d/make.conf=E2=80=9D file: SCCACHE_DIR=3D/usr/home/gerard/.ccache/sccache I did so; however, nothing seemed to have changed. I am also confused about where the =E2=80=9CCCACHE_DIR=3D/root/.ccache=E2=80=9D setting origin= ates. --=20 Jerry