FireFox Aarch64 ARM64 FreeBSD Raspberry Pi 4B, Getting Firefox version 1.20.0_2,2 November 20, 2023
FireFox Aarch64 ARM64 FreeBSD Raspberry Pi 4B, Getting Firefox version 1.20.0_2,2 November 20, 2023
Last Update: 2023-11-20 21:32:36
https://www.freshports.org/www/firefox/#history
Documenting what I do NOT KNOW how to do very well.
Getting the latest version of FireFox running on FreeBSD 15.0-CURRENT install to my development system. Turning off WebGL with the 'about:config' entry to the search URLs field. Robonuggie, mentioned this trick to get FireFox not to crash when operating.
Fred Finster November 25, 2023 https://ghostbsd-arm64.blogspot.com
I opened a URVXT Terminal window under XFCE on the FreeBSD 15.0-CURRENT O/S running my development workstation on a Raspberry Pi 4B with 8 GB dram, HDMI interface to a TV Monitor, and 1 TerraByte SSD connected to the USB 3.0 host port.
logged in as user 'fred'. switch to 'root' user with 'su -' . cd /root
First try updating the binary package to an extended supported release version with 'pkg install firefox-esr'
That gave me Firefox-ESR version 115_4, but I prefer to try the latest version 120.0. But firefox-esr and firefox use the same application name, 'firefox' and file location /usr/local/bin/firefox.
pkg delete firefox-esr
root@fredselfbuilt_rpi4b:/usr/local/poudriere/data/.m/ghostbsd-14-aarch64-ghostbsd_ports # firefox --version
Mozilla Firefox 118.0.2
root@fredselfbuilt_rpi4b:/usr/local/poudriere/data/.m/ghostbsd-14-aarch64-ghostbsd_ports # pkg install firefox
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
firefox: 118.0.2,2 -> 119.0.1,2
Number of packages to be upgraded: 1
59 MiB to be downloaded.
Proceed with this action? [y/N]: N
root@fredselfbuilt_rpi4b:/usr/local/poudriere/data/.m/ghostbsd-14-aarch64-ghostbsd_ports # pkg install firefox-esr
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
firefox-esr: 115.4.0_1,1
Number of packages to be installed: 1
The process will require 242 MiB more space.
57 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching firefox-esr-115.4.0_1,1.pkg: 100% 57 MiB 6.6MB/s 00:09
Checking integrity... done (1 conflicting)
- firefox-esr-115.4.0_1,1 conflicts with firefox-118.0.2,2 on /usr/local/bin/firefox
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 4 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
firefox-esr: 115.4.0_1,1
Installed packages to be REINSTALLED:
pkg-1.20.8
Number of packages to be installed: 1
Number of packages to be reinstalled: 1
The process will require 242 MiB more space.
Proceed with this action? [y/N]: y
Fetching firefox-119.0.1,2.pkg: 100% 59 MiB 6.9MB/s 00:09
[1/4] Deinstalling firefox-118.0.2,2...
[1/4] Deleting files for firefox-118.0.2,2: 100%
[2/4] Reinstalling pkg-1.20.8...
[2/4] Extracting pkg-1.20.8: 100%
/etc/rc.conf: sendmail_enable-NONE: not found
/etc/rc.conf: /root: Permission denied
/etc/rc.conf: sendmail_enable-NONE: not found
/etc/rc.conf: /: Permission denied
[2/4] Installing firefox-119.0.1,2...
[2/4] Extracting firefox-119.0.1,2: 100%
[3/4] Installing firefox-esr-115.4.0_1,1...
pkg: firefox-esr-115.4.0_1,1 conflicts with firefox-119.0.1,2 (installs files into the same place). Problematic file: /usr/local/bin/firefox
root@fredselfbuilt_rpi4b:/usr/local/poudriere/data/.m/ghostbsd-14-aarch64-ghostbsd_ports # firefox --version
Mozilla Firefox 119.0.1
root@fredselfbuilt_rpi4b:/usr/local/poudriere/data/.m/ghostbsd-14-aarch64-ghostbsd_ports #
Run command 'portsnap fetch update' 7048 new patches later
cd /usr/ports/www/firefox
cd /usr/ports/www/firefox
root@fredselfbuilt_rpi4b:/usr/ports/www/firefox # cat distinfo
TIMESTAMP = 1700158809
SHA256 (firefox-120.0.source.tar.xz) = e710058701074eda53ca9f5fd52c57254858a027984f735bdcd58d6906f6b574
SIZE (firefox-120.0.source.tar.xz) = 534394880
root@fredselfbuilt_rpi4b:/usr/ports/www/firefox #
That looks like what I need to use, so lets build it with, 'make install clean'
- To install the port:
- cd /usr/ports/www/firefox/ && make install clean
pwd
/usr/ports/www/firefox
root@fredselfbuilt_rpi4b:/usr/ports/www/firefox # make install clean
===> firefox-120.0_2,2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by firefox-120.0_2,2 for building
===> Extracting for firefox-120.0_2,2
=> SHA256 Checksum OK for firefox-120.0.source.tar.xz.
===> Patching for firefox-120.0_2,2
===> Applying FreeBSD patches for firefox-120.0_2,2 from /usr/ports/www/firefox/files
===> firefox-120.0_2,2 depends on package: nspr>=4.32 - found
===> firefox-120.0_2,2 depends on package: nss>=3.94 - not found
===> Building/installing portconfig as it is required for the config dialog
===> Cleaning for portconfig-0.6.1
===> License BSD2CLAUSE accepted by the user
===> portconfig-0.6.1 depends on file: /usr/local/sbin/pkg - found
=> portconfig-0.6.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://gitlab.com/alfix/portconfig/-/archive/0.6.1/portconfig-0.6.1.tar.bz2
fetch: https://gitlab.com/alfix/portconfig/-/archive/0.6.1/portconfig-0.6.1.tar.bz2: size unknown
fetch: https://gitlab.com/alfix/portconfig/-/archive/0.6.1/portconfig-0.6.1.tar.bz2: size of remote file is not known
portconfig-0.6.1.tar.bz2 117 kB 3296 kBps 00s
===> Fetching all distfiles required by portconfig-0.6.1 for building
===> Extracting for portconfig-0.6.1
=> SHA256 Checksum OK for portconfig-0.6.1.tar.bz2.
===> Patching for portconfig-0.6.1
===> portconfig-0.6.1 depends on file: /usr/local/lib/libbsddialog.a - not found
===> License BSD2CLAUSE accepted by the user
===> bsddialog-1.0.1 depends on file: /usr/local/sbin/pkg - found
=> bsddialog-1.0.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://gitlab.com/alfix/bsddialog/-/archive/1.0.1/bsddialog-1.0.1.tar.bz2
fetch: https://gitlab.com/alfix/bsddialog/-/archive/1.0.1/bsddialog-1.0.1.tar.bz2: size unknown
fetch: https://gitlab.com/alfix/bsddialog/-/archive/1.0.1/bsddialog-1.0.1.tar.bz2: size of remote file is not known
bsddialog-1.0.1.tar.bz2 69 kB 3608 kBps 00s
===> Fetching all distfiles required by bsddialog-1.0.1 for building
===> Extracting for bsddialog-1.0.1
=> SHA256 Checksum OK for bsddialog-1.0.1.tar.bz2.
===> Patching for bsddialog-1.0.1
===> bsddialog-1.0.1 depends on file: /usr/local/bin/ccache - found
===> Configuring for bsddialog-1.0.1
===> Building for bsddialog-1.0.1
--- /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/libbsddialog.so ---
/usr/bin/make -C /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib
--- barbox.o ---
--- datebox.o ---
--- formbox.o ---
--- barbox.o ---
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99 -fstack-protector-strong -c barbox.c -o barbox.o
--- datebox.o ---
Harfbuzz needed to be updated to newer version. already installed (harfbuzz-8.2.1)
pkg delete harfbuzz did not work, would delete too many other packages
pkg install harfbuzz did work
===> Installing for harfbuzz-8.3.0
===> Checking if harfbuzz is already installed
===> An older version of harfbuzz is already installed (harfbuzz-8.2.1)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of harfbuzz
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/print/harfbuzz
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/print/harfbuzz
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1
Stop.
make: stopped in /usr/ports/www/firefox
root@fredselfbuilt_rpi4b:/usr/ports/www/firefox # pkg delete harfbuzz
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 68 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
adwaita-icon-theme: 40.1.1_1
ffmpeg: 6.0_4,1
garcon: 4.18.1
gcr: 3.40.0_1
greybird-theme: 3.23.2
gspell: 1.10.0_3
gstreamer1-libav: 1.22.5
gstreamer1-plugins-core: 1.22.5
gstreamer1-plugins-pango: 1.22.5
gtk-murrine-engine: 0.98.2_6
gtk2: 2.24.33_1
gtk3: 3.24.34_1
gtk4: 4.10.4_1
gtksourceview3: 3.24.11_3
gvfs: 1.50.2_1
harfbuzz: 8.2.1
harfbuzz-icu: 8.2.1
libass: 0.17.1_1
libdbusmenu: 16.04.0_7
libexo: 4.18.0_1
libgepub: 0.6.0_4
librsvg2-rust: 2.56.3
libwnck3: 3.36.0_1
libxfce4menu: 4.18.4
mate-desktop: 1.26.0_1
mousepad: 0.6.1
otter-browser: 1.0.03_2
pango: 1.50.14
qt5-declarative: 5.15.8p21
qt5-gui: 5.15.8p157_2
qt5-imageformats: 5.15.8p6_2
qt5-location: 5.15.8p3
qt5-multimedia: 5.15.8p1
qt5-opengl: 5.15.8p157
qt5-printsupport: 5.15.8p157
qt5-sensors: 5.15.8p0
qt5-svg: 5.15.8p8
qt5-wayland: 5.15.8p57
qt5-webchannel: 5.15.8p3
qt5-webengine: 5.15.15.p0
qt5-webkit: 5.212.0.a4_14
qt5-widgets: 5.15.8p157
qt5-xmlpatterns: 5.15.8p0
qt6-5compat: 6.5.3
qt6-base: 6.5.3
qt6-declarative: 6.5.3
qt6-imageformats: 6.5.3
qt6-languageserver: 6.5.3
qt6-lottie: 6.5.3
qt6-shadertools: 6.5.3
qt6-svg: 6.5.3_1
qt6-wayland: 6.5.3
qt6-websockets: 6.5.3
telegram-desktop-qt6: 4.10.3
thunar: 4.18.6
vte3: 0.70.2_3
webkit2-gtk3: 2.34.6_8
xfce: 4.18
xfce4-appfinder: 4.18.0_1
xfce4-desktop: 4.18.1_1
xfce4-notifyd: 0.8.2_1
xfce4-panel: 4.18.4
xfce4-power-manager: 4.18.2
xfce4-session: 4.18.3
xfce4-settings: 4.18.3
xfce4-terminal: 1.0.4_1
xfce4-tumbler: 4.18.1_3
xfce4-wm: 4.18.0_1
Number of packages to be removed: 68
The operation will free 958 MiB.
Proceed with deinstalling packages? [y/N]: n
root@fredselfbuilt_rpi4b:/usr/ports/www/firefox # pkg install harfbuzz
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
harfbuzz: 8.2.1 -> 8.2.2
Number of packages to be upgraded: 1
1 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching harfbuzz-8.2.2.pkg: 100% 1 MiB 1.1MB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Upgrading harfbuzz from 8.2.1 to 8.2.2...
[1/1] Extracting harfbuzz-8.2.2: 100%
/etc/rc.conf: sendmail_enable-NONE: not found
/etc/rc.conf: /root: Permission denied
/etc/rc.conf: sendmail_enable-NONE: not found
/etc/rc.conf: /: Permission denied
root@fredselfbuilt_rpi4b:/usr/ports/www/firefox # make install clean
===> firefox-120.0_2,2 depends on package: nspr>=4.32 - found
===> firefox-120.0_2,2 depends on package: nss>=3.94 - found
===> firefox-120.0_2,2 depends on package: icu>=73.1 - found
===> firefox-120.0_2,2 depends on package: libevent>=2.1.8 - found
===> firefox-120.0_2,2 depends on package: harfbuzz>=8.2.2 - found
===> firefox-120.0_2,2 depends on package: graphite2>=1.3.14 - found
===> firefox-120.0_2,2 depends on package: png>=1.6.39 - found
===> firefox-120.0_2,2 depends on package: dav1d>=1.0.0 - found
===> firefox-120.0_2,2 depends on package: libvpx>=1.13.1 - found
===> firefox-120.0_2,2 depends on package: py39-sqlite3>0 - found
===> firefox-120.0_2,2 depends on package: v4l_compat>0 - found
===> firefox-120.0_2,2 depends on executable: autoconf2.13 - found
===> firefox-120.0_2,2 depends on executable: nasm - found
===> firefox-120.0_2,2 depends on executable: yasm - found
===> firefox-120.0_2,2 depends on executable: zip - found
===> firefox-120.0_2,2 depends on file: /usr/local/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a - found
===> firefox-120.0_2,2 depends on file: /usr/local/share/wasi-sysroot/lib/wasm32-wasi/libc.a - found
===> firefox-120.0_2,2 depends on package: wasi-compiler-rt15>0 - not found
===> License LLVM2 accepted by the user
===> wasi-compiler-rt15-15.0.7 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by wasi-compiler-rt15-15.0.7 for building
===> Extracting for wasi-compiler-rt15-15.0.7
=> SHA256 Checksum OK for llvm-project-15.0.7.src.tar.xz.
https://klarasystems.com/articles/building-customized-freebsd-images/ What I used to direct my path for creating a USB Flash drive image.
Make the Final Image for 'dd' writing to a USB Flash drive
mkimg -s gpt -f raw \
-p efi/esp:=efi.part \
-p freebsd-swap/swapfs::2G \
-p freebsd-ufs/rootfs:=rootfs.ufs.ghost14 \
-o Ghost14_selfbuilt.img
Comments
Post a Comment