From owner-freebsd-gecko@FreeBSD.ORG Sun Nov 16 17:44:23 2014 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B26567C1 for ; Sun, 16 Nov 2014 17:44:23 +0000 (UTC) Received: from vfemail.net (nine.vfemail.net [108.76.175.9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CFC71CD for ; Sun, 16 Nov 2014 17:44:22 +0000 (UTC) Received: (qmail 77566 invoked by uid 89); 16 Nov 2014 17:11:01 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Nov 2014 17:10:46 -0000 Received: (qmail 3320 invoked by uid 89); 16 Nov 2014 10:23:11 -0000 Received: by simscan 1.3.1 ppid: 3318, pid: 3319, t: 0.0045s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 16 Nov 2014 10:23:11 -0000 Received: (qmail 15389 invoked by uid 89); 16 Nov 2014 10:23:10 -0000 Received: by simscan 1.4.0 ppid: 15358, pid: 15375, t: 0.8136s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 16 Nov 2014 10:23:09 -0000 From: Jan Beich To: brunomaximom@openmailbox.org Subject: Re: Tor browser References: <55a36fd9ce26f1796549327f9a05c4ff@openmailbox.org> Date: Sun, 16 Nov 2014 11:23:05 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-gecko@freebsd.org X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 17:44:23 -0000 brunomaximom@openmailbox.org writes: > Hi, I was trying to buil linux-tor-browser but when I run it I got this > error: > > mkdir: cannot create directory `.config': Permission denied > ln: creating symbolic link `.config/ibus': No such file or directory A regular user has no write access under /usr/local/lib/linux-tor-browser where those commands are run. As the port moves TorBrowser/Data to %%USERDATADIR%% the quoted path may need to be adjusted as well. ticket#9353 probably doesn't affect linux-tor-browser because only GTK_IM_MODULE=xim is supported due to lack of extra gtk immodules among linux- ports. So, the quoted error about applying IBus workaround can be ignored for now. > expr: error while loading shared libraries: libgmp.so.3: cannot open > shared object file: No such file or directory Indeed. linux_base-* are missing libgmp.so.3 despite some apps that maybe used within linux shell scripts depending on it. expr(1) usage in particular is pretty common even though one can easily replace it with $((...)) arithmetics and case/esac shell patterns. $ /compat/linux/usr/bin/expr /compat/linux/usr/bin/expr: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory $ /compat/linux/usr/bin/factor /compat/linux/usr/bin/factor: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory However, the quoted error wouldn't occur if: - the script is executed by linux shell - linuxulator strips /compat/linux prefix before giving up - PATH environment variable contains /bin before /usr/bin $ /compat/linux/bin/bash bash-4.1$ PATH=/bin:/usr/bin which expr /bin/expr bash-4.1$ PATH=/usr/bin:/bin which expr /usr/bin/expr To fix try default PATH or file a bug against emulators/linux_base-c6. > /usr/local/bin/linux-tor-browser: line 213: [: 32: unary operator > expected The code assumes *ARCHITECTURE assignments never fail. In your case TORARCHITECTURE is unset which leads to: $ /compat/linux/bin/bash bash-4.1$ [ 32 -ne ] bash: [: 32: unary operator expected > > Copying skeleton profile to /tmp/linux-tor-browser > Launching Tor Browser for Linux in > /usr/local/lib/linux-tor-browser/Browser... > Gtk-Message: Failed to load module "canberra-gtk-module" libcanberra dependency is optional and mostly used for theme sound effects and notifications (e.g. alarm, new mail). As there's no audio/linux-*-libcanberra dlopen(3) always fails for linux-firefox, linux-tor-browser, etc. > Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line > 70: non-double matrix element > Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line > 70: non-double matrix element > Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line > 78: saw unknown, expected number > Tor Browser exited abnormally. Exit code: 1 > > Any idea? Be careful with PATH and linux_base-* ports are known to provide only complementary environment not enough to chroot(8) into. ------------------------------------------------- VFEmail.net - http://www.vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!