Icecat on Mobian on PinePhone
#1
(03-17-2022, 11:28 AM)3460p Wrote: I’m not able to speak with any degree of authority on this so take this with my advice to double check it but so far as I understand from unix and RPi stackexchange discussions on performing the above operation as mentioned by @rgreen, 3Gb is nowhere near enough RAM and even IBM’s machines take ~7H to compile Firefox from source so realistically we’re not going to be able to on the H64, PinePhone, RPi etc.
From my own adventures trying to get Icecat running on the PinePhone, I followed advice given in the stackexchange posts to install GUIX over the OS I’m running on the PinePhone (Mobian), then run “guix install icecat” - this after having already tried the savannah build script route, which also failed - but after a few hours the phone has run out of battery and shutdown, even though it’s charging from the keyboard case. Even after configuring 1.5Gb of ZRAM, it still wouldn’t work - and I monitored the Usage app (scrolled down so that displaying the CPU usage graphs wouldn’t add to the load), which showed both the 2.9Gb RAM and the 1.5Gb ZRAM maxing our after a while and freezing up the system. So this experience at least anecdotally validates the requirements described in the stackexchange posts. That being said, I haven’t tried the compilation varying the ZRAM config between a min. of 10% and a max. of 250% but I figured a more appropriate route might be to see if there was an Icecat package precompiled for aarch64 / arm64.

Varying my DuckDuckGo search terms led me to discover that The Fedora Project has Icecat packages precompiled for aarch64 as RPMs. I installed Alien to enable me to convert from .rpm to .deb, then downloaded the main Icecat package from TFP’s repository, as well as the -X11- and -Wayland- packages (just in case they were also needed). Once converted, I tried installing them and that appeared to work so far as generating the Icecat logo in my apps list (actually three - one for each of the packages). However, tapping on any of the Icecat logos wouldn’t load anything so I tried launching Icecat from the command line, from within the Icecat directory (found at /usr/lib64/icecat), with “./icecat” and “./run-icecat” when that failed.
Both of these attempts failed for ostensibly the same reasons:

libstdc++.so.6 versions GLIBCXX_3.4.29 and GLIBCXX_3.4.30 were not found but are required

libc.so.6 versions GLIBC_2.33 and GLIBC_2.34 were not found but are required

Following advice in more stackexchange posts, I tried to locate these libraries on the system with “dpkg -L libstdc++.so.6”, for example, but received the message “package is not installed” - which is strange because when I then double checked by flicking through different directories in the GUI Portfolio app, I found entries for it under /usr/lib/aarch64-linux-gnu/ and under /lib/aarch64-linux-gnu/ . Indeed, when I tried running “sudo apt-get install libstdc++6” and “sudo apt-get install libc6”, both gave me that they were already installed as newest versions (libstdc++6 10.2.1-6 and libc6 2.31-33+deb11u2).
So, further searches seem to indicate that people are resolving similar library issues with symlinks but there was also a suggestion in the Ubuntu forum that this is not the correct way to go about such an issue as it may break some backwards compatibility measures.

Does anyone have any further suggestions? This feels tantalisingly close to working so would really appreciate getting this over the line!

N.B. I’m running a few weeks’ old build of Mobian from a 512Gb microSD card, rather than from the eMMC, don’t know if that’s important to mention.


Rather than write this out again, I’m quoting it from where I posted previously, but creating a thread of it in the Mobian on PinePhone section of the forum (where it is perhaps more relevant) in the hopes that it gains some more views and advice for a solution.


Thoughts?
  Reply


Messages In This Thread
Icecat on Mobian on PinePhone - by 3460p - 03-18-2022, 08:20 AM
RE: Icecat on Mobian on PinePhone - by wibble - 03-19-2022, 05:44 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 03-19-2022, 12:01 PM
RE: Icecat on Mobian on PinePhone - by wibble - 03-20-2022, 08:13 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 04-21-2022, 08:54 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 04-23-2022, 09:02 AM
RE: Icecat on Mobian on PinePhone - by clover - 04-23-2022, 02:21 PM
RE: Icecat on Mobian on PinePhone - by 3460p - 04-28-2022, 08:00 AM
RE: Icecat on Mobian on PinePhone - by wibble - 04-25-2022, 03:53 AM
RE: Icecat on Mobian on PinePhone - by wibble - 04-29-2022, 02:56 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 05-05-2022, 01:14 PM
RE: Icecat on Mobian on PinePhone - by wibble - 05-06-2022, 05:07 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 05-06-2022, 11:04 AM
RE: Icecat on Mobian on PinePhone - by wibble - 05-07-2022, 04:28 AM
RE: Icecat on Mobian on PinePhone - by 3460p - 05-14-2022, 04:29 AM
RE: Icecat on Mobian on PinePhone - by wibble - 05-15-2022, 05:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian repository status henrythemouse 16 8,746 04-10-2024, 10:02 AM
Last Post: diederik
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 15 2,002 03-25-2024, 09:07 AM
Last Post: anonymous
  cant verify mobian image at website gnugpg penguins_rule 0 131 03-18-2024, 08:54 PM
Last Post: penguins_rule
  unofficial kali linux for pinephone help needed pinesmell 5 3,630 01-08-2024, 02:50 PM
Last Post: ERPlegend
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 1,994 11-22-2023, 11:46 AM
Last Post: aLoop100o
  What actions needed to keep on mobian testing user641 3 1,821 09-05-2023, 06:44 AM
Last Post: Zebulon Walton
  Mobian boot failed with zstd message after upgrade. Mahgue 0 633 09-01-2023, 11:29 AM
Last Post: Mahgue
  how to update mobian over tor vusra 13 6,897 07-09-2023, 08:57 PM
Last Post: vusra
  opensnitch outbound firewall now works on mobian vusra 2 1,898 07-09-2023, 01:37 AM
Last Post: vusra
  Using Nativefier on PP64 with Mobian paulcarton 0 631 07-05-2023, 03:57 AM
Last Post: paulcarton

Forum Jump:


Users browsing this thread: 3 Guest(s)