From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 13:39:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C0FB106567E for ; Tue, 28 Apr 2009 13:39:48 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from kfs.ru (kfs.kfs.ru [194.186.81.194]) by mx1.freebsd.org (Postfix) with ESMTP id AEA2C8FC1E for ; Tue, 28 Apr 2009 13:39:46 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from bsam by kfs.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1LynXD-0005PE-Tk for freebsd-questions@freebsd.org; Tue, 28 Apr 2009 17:39:43 +0400 To: freebsd-questions@freebsd.org References: <20090426135527.GA36455@dell1> From: Boris Samorodov Date: Tue, 28 Apr 2009 17:39:43 +0400 In-Reply-To: <20090426135527.GA36455@dell1> (William Bulley's message of "Sun, 26 Apr 2009 09:55:27 -0400") Message-ID: <35600848@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Subject: Re: fatal error from /usr/ports/Mk/bsd.linux-apps.mk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2009 13:39:48 -0000 On Sun, 26 Apr 2009 09:55:27 -0400 William Bulley wrote: > On Friday I ran the following: > # cd /usr/local/etc/cvsup > # csup -L2 ports-supfile > # csup -L2 doc-supfile > # csup -L2 stable-supfile (tag=RELENG_7) > I then rebuilt the world and installed it. When I rebooted, > I was very pleasantly surprised to find: > % uname -a > FreeBSD freebsd 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: > Fri Apr 24 16:13:56 EDT 2009 [snip] i386 > I began the process of rebuilding my all ports on Saturday: > # pkg_delete -a > # \rm -rf /usr/ports/*/work > Things progressed fine until I started building any ports > having some dependency on Linux emulation: > [this is true for /usr/ports/print/acroread8 and 9 > astro/google-earth, multimedia/linux-realplayer, > www/opera-linuxplugins, etc.] > # make install clean > "/usr/ports/Mk/bsd.linux-apps.mk", line 72: Malformed conditional > (${LINUX_DIST_SUFFIX}=="") > "/usr/ports/Mk/bsd.linux-apps.mk", line 130: Malformed conditional > (${LINUX_DIST_SUFFIX} == "-f8") > Error expanding embedded variable. > Here are the relevant settings in the indicated files: > /etc/fstab > linprocfs /compat/linux/proc linprocfs rw 0 0 > # kldstat > Id Refs Address Size Name > 1 12 0xc0400000 48d204 kernel > 2 1 0xc088e000 6a45c acpi.ko > 3 1 0xc5403000 7000 linprocfs.ko > 4 1 0xc540f000 22000 linux.ko > /etc/rc.conf > linux_enable="YES" > /etc/make.conf > OVERRIDE_LINUX_BASE_PORT=f9 > OVERRIDE_LINUX_NONBASE_PORTS=f9 The last variable may take a value of "f8" only. For more information you may take a look at /usr/ports/UPDATING, /usr/ports/Mk/bsd.linux-apps.mk. > /etc/sysctl.conf > compat.linux.osrelease=2.6.16 > I don't know what to do to fix this problem. I don't > know whether I should submit a pr or try to determine > what is going on myself. Not sure I would succeed at > the latter. Please advise. If more information or > detail is required, let me know. > The next thing I will try is changing /etc/make.conf > to override "f8" instead of "f9" As for OVERRIDE_LINUX_BASE_PORT it can be assigned a value "f9". WBR -- bsam