From owner-freebsd-x11@freebsd.org Wed Aug 14 18:58:33 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D95BBB6C42 for ; Wed, 14 Aug 2019 18:58:33 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 467zPj4TB7z3J6w for ; Wed, 14 Aug 2019 18:58:33 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 97BA4B6C40; Wed, 14 Aug 2019 18:58:33 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9727BB6C3E; Wed, 14 Aug 2019 18:58:33 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 467zPh5yx0z3J6r; Wed, 14 Aug 2019 18:58:32 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: by mail-pg1-x541.google.com with SMTP id n190so47253pgn.0; Wed, 14 Aug 2019 11:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=qnVLL3XGJhGyvl8qPdkbm9/pahitNBKUYT+fg/2vOno=; b=Ufp6STO24qy0qtkt5+fCCYdGWQSp6+PoRJ0S1Uvq7qMeRiQ8Vj4Sfh6ASdDHN1fEsK cAKCnV8uW28lQTeGt4Q0PSRQffZt8sAfUANTujXboHGMcMOXi4Qp4WlhChmuqILVqwW2 LyqNtPb/abjh2SamZCbPIsTuxzYdTMg+SJun9qYrimMxQsJEoRhZhayVq1NgSVtjPGqJ ex93wGnrt47Wv7wBFyUsi5QNlHARAYicvpLIQBAPPlbA1tgCmcEMgCQXa19Tcsf6AHKg niATYm+a4VjFewTT6eyN+4U2kXQMbfDVZC6O+JZQl8i6GfhYhvF/zodNxoKdr5dmuROU 2uAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=qnVLL3XGJhGyvl8qPdkbm9/pahitNBKUYT+fg/2vOno=; b=KdGStMNpx2e6IVOvHoF/4PpwAf/J1SWcN/FsUbAbW80aInGgS2pv5ghu2oFIPgNwmU pSwA+zhzeB0z8dz9dUjXmmNtN9C2/vaGRsSB8/zfWWC1aTjcbcWw28Ptj8JfrncVleyl yhpr/LTpkyMnN7LG0j7IZpj2pjsxuLemmN8o0vgyp+NZ1kwuzCV4Xxi3iuvHObHLQHc/ +cMlZkEjUC0kHaSIMbupPwAe2p+iOwQ/f0/y9dKDO2COaD50caPy/5G4LDaGTuzZOhN9 6RA44o6HqJ2TW9Ga+KM21sDakPcvqrF4eMdqxVNYE/CEqAcmTWEZnsn7egrvA8zPjo+m Q92A== X-Gm-Message-State: APjAAAUMbMkLsA1YKbBpfKWhUW/P8nyn8YcQ7vYkYg7ruPa2I7IWZCO3 MjfcwLKaMnZOLxGbDMbrZKDpuYl+zj8= X-Google-Smtp-Source: APXvYqz1e+2V3JSiG2IRPzeVEL3QgPlCgr0b6ClZ2WNWajTGOUoOLggURpsDlHK3ivxq0n6Ne7v77A== X-Received: by 2002:a17:90b:907:: with SMTP id bo7mr1088741pjb.107.1565809111417; Wed, 14 Aug 2019 11:58:31 -0700 (PDT) Received: from [192.168.1.23] (c-73-170-47-221.hsd1.ca.comcast.net. [73.170.47.221]) by smtp.gmail.com with ESMTPSA id r12sm427172pgb.73.2019.08.14.11.58.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Aug 2019 11:58:30 -0700 (PDT) Sender: Theron Tarigo Subject: Re: HEADSUP: drm-current-kmod now installs sources To: Kyle Evans , Ian Lepore Cc: x11@freebsd.org, current , John Baldwin , Niclas Zeising References: <67ca217f-b7de-8707-c4de-51e3f895d06f@FreeBSD.org> <469b61c7c939b4e70f4304eaeb73eaae9b1d4c9a.camel@freebsd.org> <20190814192353.166bd3e7d1af44a55a61c915@bidouilliste.com> From: Theron Message-ID: <8ffd1652-2745-aeb3-5f12-b3aa84aebf57@gmail.com> Date: Wed, 14 Aug 2019 11:58:29 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 467zPh5yx0z3J6r X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ufp6STO2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of therontarigo@gmail.com designates 2607:f8b0:4864:20::541 as permitted sender) smtp.mailfrom=therontarigo@gmail.com X-Spamd-Result: default: False [-3.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; RECEIVED_SPAMHAUS_PBL(0.00)[221.47.170.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; IP_SCORE(0.00)[ip: (-0.33), ipnet: 2607:f8b0::/32(-2.98), asn: 15169(-2.39), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2019 18:58:33 -0000 On 2019-08-14 11:04, Ian Lepore wrote: > I can't understand what you guys are not-understanding. New machinery > has been added that says "if some module source code exists in this > absolute fixed location on the build machine, then whenever you do any > kernel build for any OS version or any arch, rebuild that module source > code so that the the build machine's video drivers stay in sync with > the build machine's kernel." > > Do you not see that for some of us, only a tiny fraction of the builds > done (maybe none of them at all) involve the kernel for the build host > machine or the video drivers for the build host machine? And yet, for > us, every build we do will now inapppropriately rebuild this video > driver module which has nothing to do with the machine the build is > targeting. Most of the kernel builds I do _are_ for the host machine, yet I don't want the new behavior either.  Why?  The build logic of the source tree should be self-contained and easily understandable. Looking all over the system and trying to automate fixes is what ports are for. Automated hacks for this sort of situation, that do the right thing 90% of the time but inevitably break down on other perfectly reasonable use cases, are one of the factors that pushed me away from the operating systems I used before FreeBSD. Managing the host's kernel and needed modules from source from a single tool certainly is useful, but I think it should be just that: a tool, used when appropriate, not a default behavior. This tool can be recommended to kmod port users/developers for local system work while everyone else may continue using source tree as expected. On 2019-08-14 11:06, Kyle Evans wrote: > LOCAL_MODULES="" does seem like a sensible default when we're not > building a native kernel. More generally there should be a switch for defeating any and all attempts to use anything "local" (non /usr/src).