From owner-freebsd-current@freebsd.org Tue Sep 10 19:48:30 2019 Return-Path: Delivered-To: freebsd-current@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 85A9BE2620 for ; Tue, 10 Sep 2019 19:48:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (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 46SbDs5DlCz3R8W for ; Tue, 10 Sep 2019 19:48:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x741.google.com with SMTP id x5so18314000qkh.5 for ; Tue, 10 Sep 2019 12:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oYinMlE0C7pCJgPKN/9oA5BzF+lHzM/G/B/7N9eucAw=; b=Pu6VliFNoOD64Q9hbgGGEwCdp8G9SW8my80hKX8uqDhCk9UtjbCPqrN55ilgAaKRyu WyrQKjkpymXei+e3sLwnqRmEB8EP8oHOqwR6azKpgBfuzzDZ20n+2d6wSq6mCrDHJKcJ VVu6PHtwYVwTVS3TByvuK50ptIoEa0q1k6oJ22jx6Lb1cnYS77vtdUQs2Ucq2FOZ343n O7LLctWyAe/9ZyGeF+1kgRjWrupTCY/AnbYAatdLG2SqcWpz0FVX3URMZIwUvrmHsUBx SXhq/+9oxsScMdfDrOs/T3OFzNYvGZwgs1ZBHS17coW4xH6S3LxeGoHgzYjylCCRYdF7 cwBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oYinMlE0C7pCJgPKN/9oA5BzF+lHzM/G/B/7N9eucAw=; b=iq+keyhYU6j0SeUIs9rtUI6ifqgl3QgcW8lHJ3XTR9uUWBIw6MJ8yrtoh/heVWH+vh c4BgEwGQ3oDwLx3THFhJtodQUqFUKxsMIzzp24MKq1LN9AeTjnC8bJGHHws9pmP3pfk0 SxVfAj9FALhPImUWOr3KrtHA0nwb61h4hUWeouFT31dN+fV67xYCPE20Q1Fmc5jsRO2J nf3OIzQB2t9suODm13br8VDM6bhBjbdlAR9IRvUe00ikoT3w6WO/qxKztcI7DPx7mTRd bVE9sfvD2CslTB4Y1JHbTNwIEm39djXTNNwCCvNyimkEM7IhpG6yQoTj7TrTwaJEztv7 8e1Q== X-Gm-Message-State: APjAAAUZAeYxY1XsKFvpETQHUQ1v66lmNPSkr+HtaxpxtIfDulhUgfga +x/JSz1yjN2DWcd0j32PcdVqGgTklVktEXNO95s3zw== X-Google-Smtp-Source: APXvYqzyFE/3r8ZgjhjaigItbRssGzdmoiDS+w8cr54E5RKSzzAu43TJqh/Ndgw5Y6IDC1daPyWyRmzMRidoqJJejJo= X-Received: by 2002:a05:620a:16ab:: with SMTP id s11mr32239864qkj.215.1568144908285; Tue, 10 Sep 2019 12:48:28 -0700 (PDT) MIME-Version: 1.0 References: <289ADD78-FD39-435B-80D5-91901FE065DD@FreeBSD.org> <6140ae514e02b029e7451065da08c49c749f029e.camel@freebsd.org> In-Reply-To: <6140ae514e02b029e7451065da08c49c749f029e.camel@freebsd.org> From: Warner Losh Date: Tue, 10 Sep 2019 13:48:16 -0600 Message-ID: Subject: Re: Source tree has many empty directories? To: Ian Lepore Cc: Dimitry Andric , FreeBSD Current X-Rspamd-Queue-Id: 46SbDs5DlCz3R8W X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Pu6VliFN; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::741) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; IP_SCORE(-0.52)[ip: (2.42), ipnet: 2607:f8b0::/32(-2.73), asn: 15169(-2.26), country: US(-0.05)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[1.4.7.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]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 19:48:30 -0000 On Tue, Sep 10, 2019, 1:43 PM Ian Lepore wrote: > On Tue, 2019-09-10 at 21:41 +0200, Dimitry Andric wrote: > > On 10 Sep 2019, at 20:14, Ian Lepore wrote: > > > > > > On Tue, 2019-09-10 at 11:01 -0600, Warner Losh wrote: > > > > However, please do *NOT* remove the sys/*/compile directories. > > > > > > > > Warner > > > > > > Uhhh... that's interesting. I just nuked one of those on my system > > > yesterday, because it had been hanging around since 2013 and I had no > > > idea what was -- I just assumed the build machinery created it because > > > I had accidentally done a make in a wrong directory once. > > > > > > So what are those directories about? I'm not used to seeing mystery > > > directories appear inside a source tree. > > > > There's not much mystery to be found. Subversion does not warn you when > you > > remove the last files from a directory, and it also does not > automatically > > remove such empty directories, like Git. Hence, those directories tend > to > > stick around, because every simply forgets about them. > > > > With regards to those empty directories under contrib/llvm, those were > actually > > imported from upstream. But since the llvm project will switch to Git > soon, > > this problem will automagically disappear. :-) > > > > -Dimitry > > > > I was referring specifically to the sys/*/compile directories Warner > mentioned. > They are for old school builds. Config(8) doesn't create them, so we have them in the tree. Because svn does this, we deleted the keep me files after the cut over. Warner >