From owner-freebsd-toolchain@freebsd.org Mon Jul 2 06:45:54 2018 Return-Path: Delivered-To: freebsd-toolchain@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 93B93FD5C24 for ; Mon, 2 Jul 2018 06:45:54 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (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 334A175D8A for ; Mon, 2 Jul 2018 06:45:54 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x230.google.com with SMTP id h127-v6so4705611ybg.12 for ; Sun, 01 Jul 2018 23:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to; bh=C2VdXSXEmJcST4fmFqxzPjEYC7y0U1p8HHbkPCJrBMA=; b=RJ+raRfUvFHhkReqsJvzgkA5A/AvXGMscUAWzudBY5e+prLEM0KBnWtiEIoGCKc+0m A8I1RugWE/iei1IIwMg80NbhT9MajqYjfNfpsnwo9S2blbtvVHdgWr1DEI+nLxIrz+08 0FPawegjFFukr1vS1F7RlVCr48cAVgdn+2qn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=C2VdXSXEmJcST4fmFqxzPjEYC7y0U1p8HHbkPCJrBMA=; b=mhre86GXUqGj3paDLYZhP0od+IEJLsTlFjdCvNA8V6s6f9Ri1Y5pflrj1xKcfhnsb6 LkwGo1hdN53BY5tp6AeSGk5asRothEHEjK50bU8sQlBrcgSU/TUjfdo78eNAcM2Kj0B5 0Dh85SS8YDG31GocanoQMvQc0tqlSRKrKh0BXF8wwZFG58lmbFWj1vwm/Unp+stZTX+R hQTmJSaFdriM7kzyyu7nsRg6Vtxuj0sNENtR9RJPr7RdGzvGnN6u38oQ3Ki+h6PkgFvL un3sUwFCSCYkWCLMDHjVI15JlLJDOkoKy+o+wMQ4NpSFepxErflIpHuwzpU/DcoLLGeL t32w== X-Gm-Message-State: APt69E29eiayGDB1peoKXaVdTYpjnz08cGlNrNS7Z+rfLMhaLoFMofmI wm1WAGNP6Y2QDFePthXUaE1K/7SH0gu1g532fOqb3g== X-Google-Smtp-Source: ADUXVKI923FUMHLPXokNFk6cSMJ3NM+gLJnKsXGza4pNb21wdgrFcdA5fwJbGKqD0WRklWLWN0VxJCeFClgDYG6c8fk= X-Received: by 2002:a25:a05:: with SMTP id 5-v6mr12353845ybk.479.1530513953396; Sun, 01 Jul 2018 23:45:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:870e:0:0:0:0:0 with HTTP; Sun, 1 Jul 2018 23:45:22 -0700 (PDT) From: Eitan Adler Date: Sun, 1 Jul 2018 23:45:22 -0700 Message-ID: Subject: make delete-old safety checks To: Bryan Drewery , FreeBSD Toolchain Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2018 06:45:54 -0000 Hey all, I recently shot myself in the foot by running make delete-old on a tree that was newer than the installed version of my system. It happened to be that this resulted in deleting many compiler headers, thus making it impossible to recompile and recover without resorting to backups. Is it possible to add safety checks, similar to the recent additions of 'installworld before buildworld', for this case? -- Eitan Adler