From owner-freebsd-emulation@freebsd.org Mon Jan 23 22:14:01 2017 Return-Path: Delivered-To: freebsd-emulation@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 C3ADFCBE30E for ; Mon, 23 Jan 2017 22:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id ACE83970 for ; Mon, 23 Jan 2017 22:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A95ECCBE30D; Mon, 23 Jan 2017 22:14:01 +0000 (UTC) Delivered-To: emulation@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 A905DCBE30C for ; Mon, 23 Jan 2017 22:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 981CF96F for ; Mon, 23 Jan 2017 22:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0NME1du054078 for ; Mon, 23 Jan 2017 22:14:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 216346] emulators/linux_base-c6: Mathematica 10.x doesn't work with recent linux_base-c6 or -c7 Date: Mon, 23 Jan 2017 22:14:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tijl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2017 22:14:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216346 --- Comment #7 from Tijl Coosemans --- A possible workaround is to modify /usr/local/Wolfram/Mathematica/10.0/Executables/math. Change "/bin/sh" on = the first line into "/compat/linux/bin/sh". To fix the "cannot determine operating system" error on linux_base-c6 create the following symlink: ln -s /bin/uname /compat/linux/usr/bin/uname An alternative is to comment out line 7 PATH=3D"/usr/bin:/bin:${PATH}" in /usr/local/Wolfram/Mathematica/10.0/SystemFiles/FrontEnd/Binaries/Linux/Mat= hematica. By putting /usr/bin before /bin the script runs FreeBSD /usr/bin/uname ins= tead of /compat/linux/bin/uname. This problem doesn't exist with linux_base-c7 because /compat/linux/usr/bin/uname exists there. --=20 You are receiving this mail because: You are the assignee for the bug.=