From owner-freebsd-ports@freebsd.org Wed Feb 28 21:07:23 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1515EF22C8D for ; Wed, 28 Feb 2018 21:07:23 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0148D706 for ; Wed, 28 Feb 2018 21:07:22 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 490E3F22C83; Wed, 28 Feb 2018 21:07:22 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37EEEF22C7F for ; Wed, 28 Feb 2018 21:07:22 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C27F38D705 for ; Wed, 28 Feb 2018 21:07:21 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-io0-x233.google.com with SMTP id e30so4761778ioc.3 for ; Wed, 28 Feb 2018 13:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/oKHTxcS2p1C7QJP0qmM9JmWbhTXjtgjMRJ+EyEoUe0=; b=D60AQV2SRu5+ua7/90Fru0XpWOQTlV5CO81geffqWI+gLBBz2sYw+rjDYeXytH/BYK wU4ikg85UtZk/KSp1oJ8g103j1B3W5HHE3FEbLv9UV99HtsNcZq24p2pYZjvYdKLBwgL pTtzvf0hillBVYIw1Qc5N13Eu8pMebEHSiTP662EgAJ+GDSFU08F2okx1ZynggA/k/Rm oy9QXBERuDkB/VBIMgynOSsQa+2y/zoAZhpkUCX03+V9pWj/x5lHZYbVYcFZEsiVHEgv UYkbaiLOmD4lA/kyfUH2PiK/Av8E/XBKK9sDNuEpygiSxGYdNCDh2k5/6v3McI4J5sm5 VyBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/oKHTxcS2p1C7QJP0qmM9JmWbhTXjtgjMRJ+EyEoUe0=; b=LNWzDda7bkygR3d6JJm0DjzRYOEMJwYPbqaVqHl8Q8UHo+5Fu/ZEgBjeNhlNzTQYDp M9LuSVjrUzJK6gSwgtrTWEvMrCZBDS0MNnx549g8w0Ai6gPJ7hJuD1Ib53bPKVTHhB6z 9qbH4rbcFnLIup/8Dl6S/oxEYDFzPg/IzNiIhjVagkjFDy9VexHLrcQD+YAPhgk7iu80 4HTttsjDbTU6bBx+kyNgV7jdSo998JwomqYq+Lzi4y9Z6USRu3O17nhXTRkUxFTz4ejL 99d0lO85bWmkEO0B0ccPjLnZkke3QQ2rBLIDNo60CnPGtjLeID1JyKsLIHoLCA2hlyVD h94g== X-Gm-Message-State: APf1xPDCgj/M9VJ+/jRx7nljkZaoOnvsVYNwQ7d56RmHqokO2q3hF/Wn TvjrCT+wXlyqwPLN9IrqxEOgR1becAp8RD66Om4= X-Google-Smtp-Source: AG47ELu18sXLMlnkKQ9zecraspDIMhyh38+UOiCKIobD6ekbXj+HloIwXGePiMlcKeRAR9mpnJFvx8O1I/8nY965SCE= X-Received: by 10.107.59.77 with SMTP id i74mr21726802ioa.110.1519852041184; Wed, 28 Feb 2018 13:07:21 -0800 (PST) MIME-Version: 1.0 Sender: antoine.brodin.freebsd@gmail.com Received: by 10.107.143.86 with HTTP; Wed, 28 Feb 2018 13:07:20 -0800 (PST) In-Reply-To: <6550e780-5758-044c-5936-bbcf917d455e@rawbw.com> References: <54d0d073-b443-48c9-abaa-665df04052f4@rawbw.com> <6550e780-5758-044c-5936-bbcf917d455e@rawbw.com> From: Antoine Brodin Date: Wed, 28 Feb 2018 22:07:20 +0100 X-Google-Sender-Auth: p1Kf272VUtongEUyHj4vFOUYLyc Message-ID: Subject: Re: Go ports fail with fs violation: Error: Filesystem touched during build:,extra: root/.cache To: Yuri Cc: "ports@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 21:07:23 -0000 On Wed, Feb 28, 2018 at 9:57 PM, Yuri wrote: > On 02/28/18 00:35, Antoine Brodin wrote: >> >> Ports that use CONFIGURE_ENV / MAKE_ENV have this violation issue with >> HOME=${WRKDIR}. >> Maybe this should be added to GO_ENV and go ports should respect more >> this environment. > > > > PGo also tries "XDG_CACHE_HOME" when "GOCACHE" isn't defined. > > Mk/ does define "XDG_DATA_HOME" in MAKE_ENV. > > Maybe the right solution is to just add "XDG_CACHE_HOME" there? No, HOME is already enough to fix the violation. The problem is that those ports/go.mk do fancy things and do not respect BUILD_ENV. Antoine