From owner-freebsd-ports@freebsd.org Sat Oct 20 09:01:21 2018 Return-Path: Delivered-To: freebsd-ports@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 E09BAFFF26A for ; Sat, 20 Oct 2018 09:01:21 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84A6E850B8 for ; Sat, 20 Oct 2018 09:01:21 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1gDn8C-0005Uc-Pt for freebsd-ports@freebsd.org; Sat, 20 Oct 2018 11:01:14 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-ports@freebsd.org Subject: Re: Compiling firefox on Raspberry Pi 2 References: <20181020033214.GA73497@www.zefox.net> Date: Sat, 20 Oct 2018 11:01:15 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20181020033214.GA73497@www.zefox.net> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 0cb660a7d4ce909c6359c48b0bded22a X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2018 09:01:22 -0000 On Sat, 20 Oct 2018 05:32:14 +0200, bob prohaska wrote: > Attempts to compile firefox63 on an RPI2 fail with > ===> rust-1.29.2 is only for aarch64 amd64 i386, while you are running > armv6 > (reason: requires prebuilt bootstrap compiler). > *** Error code 1 > > while compilation of firefox-esr stops with > dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(856): > arm not implemented > dtrace: failed to link script > /usr/ports/www/firefox-esr/work/firefox-52.8.0esr/js/src/devtools/javascript-trace.d: > an error was encountered while processing jsarray.o > gmake[5]: *** > [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/rules.mk:788: > js-dtrace.o] Error 1 > gmake[5]: Leaving directory > '/usr/ports/www/firefox-esr/work/.build/js/src' > gmake[4]: *** > [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/recurse.mk:71: > js/src/target] Error 2 > gmake[4]: Leaving directory '/usr/ports/www/firefox-esr/work/.build' > gmake[3]: *** > [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/recurse.mk:33: > compile] Error 2 > gmake[3]: Leaving directory '/usr/ports/www/firefox-esr/work/.build' > gmake[2]: *** > [/usr/ports/www/firefox-esr/work/firefox-52.8.0esr/config/rules.mk:523: > all] Error 2 > > Can anybody suggest workaround for either problem? Not a workaround. Buy you can try to port rust to armv6. Which will benefit some other ports also. Rust has tier 2 support for linux/arm, so it might be not so hard to do. https://forge.rust-lang.org/platform-support.html For Firefox-esr, try to disable DTRACE in the build options of the port. It says it is not implemented on arm. Regards, Ronald. > > Thanks for reading, > > bob prohaska > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"