From nobody Mon Feb 03 20:38:13 2025 X-Original-To: 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 4Ymyxm1YPrz5mdgl for ; Mon, 03 Feb 2025 20:38:20 +0000 (UTC) (envelope-from nxjoseph@protonmail.com) Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) (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 (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ymyxl02N3z4FM5 for ; Mon, 03 Feb 2025 20:38:19 +0000 (UTC) (envelope-from nxjoseph@protonmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=F2YXfdJ6; spf=pass (mx1.freebsd.org: domain of nxjoseph@protonmail.com designates 185.70.40.140 as permitted sender) smtp.mailfrom=nxjoseph@protonmail.com; dmarc=pass (policy=quarantine) header.from=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1738615096; x=1738874296; bh=SMLkz6kPsk6V1nBQWN3sz4fGTXDnmZt5WfFTw57cR3c=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=F2YXfdJ6CGJ/6Pj2/SpFPgMtqoY5eTTwsvQmP6W6Fo6BeUwJKk8YeXvgP9SMrroYf UM5RsPLAUvgdCEMlU8vIn96CbmMfFvimRo/6HIgxTiBVs4+rmMyE74rRcNWUan8KM2 /klov8QP5nrhbmIk4YoMyY8GXgvP0yBozzUsjUJKPMav4sYNdag2xAPkLCPPws30Rd NsGGc+2bOm4fUU6doOVArhLqOUZwye88zZRWhrHxCzQhHPmMMliRDcnlEwCXG5L38z pNRrP+W4EalgMcwRCC8ep1woe9lue1RTg0zWvsSNmaGGhyqSXA3DXVqUWmFj4kJGph aFWfki3jCHfTw== Date: Mon, 03 Feb 2025 20:38:13 +0000 To: ports@freebsd.org From: Yusuf Yaman Subject: Re: How can i prevent blueprint-compiler from generating pycache files thus causing build_fs_violation Message-ID: <715c84e2-ae15-4a31-93e4-9f3514bf4031@protonmail.com> In-Reply-To: References: Feedback-ID: 21989843:user:proton X-Pm-Message-ID: b8a8fdd621077a10ab16ac108e0a3a53cd3fc9d9 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; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.66 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[185.70.40.140:from]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; NEURAL_HAM_LONG(-0.33)[-0.330]; NEURAL_HAM_SHORT(-0.23)[-0.226]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail3]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[185.70.40.140:from]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; FREEMAIL_FROM(0.00)[protonmail.com]; RCVD_IN_DNSWL_NONE(0.00)[185.70.40.140:from]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[protonmail.com:+] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Ymyxl02N3z4FM5 # grep blueprint-compiler=20 work/flare-f412701ad8eb30d8ff0aa15db5cbc4997b21b340/data/resources/meson.bu= ild =C2=A0 command: [find_program('blueprint-compiler', version: '>=3D 0.12.0'= ),=20 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'], I guess that meson.build file is running blueprint-compiler and then i=20 assume it generates __pycache__ files and i can't even seem to delete=20 these __pycache__ directories in the Makefile either. I saw that some ports use that environment variable to prevent=20 generating __pycache__ files but why it doesn't work for my port while=20 it does for others? is it an issue with blueprint-compiler program? On 2/1/25 20:12, Yusuf Yaman wrote: > Hello, > > I am trying to port a third-party Signal messaging app which has buil > dependency on devel/blueprint-compiler and the port builds fine but i am > getting build_fs_violation error in poudriere testport even though I > have that PYTHONDONTWRITEBYTECODE=3D1 set in MAKE_ENV variable in > Makefile. How can i overcome this? Thanks in advance. > > =3D>> Checking for filesystem violations... done > =3D>> Error: Filesystem touched during build: > extra: > usr/local/lib/python3.11/site-packages/blueprintcompiler/outputs/xml/__py= cache__ > extra: > usr/local/lib/python3.11/site-packages/blueprintcompiler/outputs/__pycach= e__ > extra: usr/local/lib/python3.11/site-packages/blueprintcompiler/__pycache= __ > extra: > usr/local/lib/python3.11/site-packages/blueprintcompiler/language/__pycac= he__ > =3D>> Cleaning up wrkdir > > https://github.com/nxjosephofficial/flare-ports > > Best regards, > > Yusuf. >