From owner-freebsd-current@freebsd.org Sat May 27 07:42:33 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99EF5D8437A for ; Sat, 27 May 2017 07:42:33 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7501C1571 for ; Sat, 27 May 2017 07:42:33 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [74.134.208.22] ([74.134.208.22:21926] helo=localhost) by dnvrco-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id B7/B7-01815-7ED29295; Sat, 27 May 2017 07:42:32 +0000 Date: Sat, 27 May 2017 07:42:23 +0000 Message-ID: From: "Thomas Mueller" To: freebsd-current@freebsd.org CC: Ngie Cooper , "Simon J. Gerraty" Subject: Re: Bug in make setting wrong MAKESYSPATH References: <4E.66.25473.9D551295@dnvrco-omsmta03> <81057.1495500066@kaos.jnpr.net> <95058.1495555282@kaos.jnpr.net> <24672.1495645494@kaos.jnpr.net> <68.62.09002.EB636295@dnvrco-omsmta01> <38541.1495688881@kaos.jnpr.net> X-RR-Connecting-IP: 107.14.64.88:25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 27 May 2017 07:42:33 -0000 >From Simon J. Gerraty: >> Bug occurs when building or configuring ports, syntax error in >> /BETA1/usr/share/mk/bsd.compiler.mk line 52 >This is of course specific to your particular arrangement >if you'd mounted /BETA1/usr/ports on /usr/ports, it would function as >you wish, or if /BETA1/usr/share/mk happend to match /usr/share/mk >it would work fine. >So, anoying in this case, but not a bug. >> I don't know about other situations such as building doc. >> I could avoid this error either by setting (setenv or export, depending on shell) MAKESYSPATH or >> by null-mounting /BETA1/usr/ports at /usr/ports . >Yes. Just because I found a workaround does not mean it is not a bug. If I were setting up a computer or hard disk from the beginning, I would put ports tree, src tree(s) and doc trees on a separate partition with no FreeBSD installation. NetBSD pkgsrc and src trees could be installed on same or another partition. That would facilitate backing up the entire installation (FreeBSD or NetBSD) without backing up the src and other trees, which could be redownloaded by cvs, svn or git, as the case might be. I guess then I would need to set MAKESYSPATH in FreeBSD ports, or null-mount PORTSDIR at /usr/ports. If you look at github.com/FreeBSD, you see some modified ports trees that might be installed at, for instance /freebsd-ports-graphics Tom