LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-24-2022, 06:48 PM   #1
LinLuc
LQ Newbie
 
Registered: Sep 2018
Posts: 9

Rep: Reputation: Disabled
Firefox on LFS


Hi,
Has anyone tried to install Firefox-101 on LFS 11.1 yet? I run in the following error:
0:08.44 File "/sources/firefox-101.0.1/third_party/python/PyYAML/lib3/yaml/reader.py", line 101, in forward
0:08.44 self.update(length+1)
0:08.44 File "/sources/firefox-101.0.1/third_party/python/PyYAML/lib3/yaml/reader.py", line 169, in update
0:08.44 self.check_printable(data)
0:08.44 File "/sources/firefox-101.0.1/third_party/python/PyYAML/lib3/yaml/reader.py", line 143, in check_printable
0:08.44 raise ReaderError(self.name, position, ord(character),
0:08.44 yaml.reader.ReaderError: unacceptable character #x0080: special characters are not allowed
0:08.44 in "/sources/firefox-101.0.1/toolkit/components/nimbus/FeatureManifest.yaml", position 14415
0:08.44 ./TelemetryScalarData.h.stub
0:08.44 make[3]: *** [backend.mk:804: toolkit/components/nimbus/lib/.deps/NimbusFeatureManifest.h.stub] Error 1

Has anybody an idea, what goes wrong here?
Luc
 
Old 06-25-2022, 10:52 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Error 1 is 'Operation not permitted' usually but not always a permissions error. You have a python tailspin, followed by the crash
Code:
0:08.44 raise ReaderError(self.name, position, ord(character),
0:08.44 yaml.reader.ReaderError: unacceptable character #x0080: special characters are not allowed
0:08.44 in "/sources/firefox-101.0.1/toolkit/components/nimbus/FeatureManifest.yaml", position 14415
0:08.44 ./TelemetryScalarData.h.stub
0:08.44 make[3]: *** [backend.mk:804: toolkit/components/nimbus/lib/.deps/NimbusFeatureManifest.h.stub] Error 1
It looks like something in the source. But it could be version numbers. It's possible LFS aren't on the latest versions, or a lack of up to date python modules. Websearch for it, and file a bug if needed.
 
Old 11-23-2022, 02:43 AM   #3
xlfs-0.2
Member
 
Registered: Oct 2022
Posts: 207

Rep: Reputation: 44
i've not tried FF on LFS/BLFS but here's some advice

the last FF that published open source was 44.0 (and it's an ugly build - 42.0 was easier)

FF requires rustc python cargo all kinds of junk that phones home to california uploads you don't know what and likely will fail so they keep their jobs safe providing you the binaries! (that's just a guess - shhhh)

If I were you I'd provide all the requirements for FF (make your libs), run FF binary. Then compile FF using CARGO if you have time.

> what goes wrong here?

I would guess allot more than LQ would allow in a single thread, I might be wrong.

Last edited by xlfs-0.2; 11-30-2022 at 03:57 PM.
 
Old 11-23-2022, 04:47 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
FF's dependencies are extreme. OTOH, there are clones like Palemoon, Waterfox, Basilisk & possibly others that didn't like the Google ownership or the many strange decions that were made and have forked themselves off as separate projects. Palemoon for sure distributes source, and the other two probably also do. FF is reliant on google now, and it's policies & tracking reflect that.
 
Old 11-23-2022, 07:10 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Falkon builds and runs well on LFS it's qt 5 based, been running it for years now had no great problems.
 
Old 11-24-2022, 08:02 AM   #6
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled
Even BLFS dev. book sticks to firefox ESR versions. You're on your own. I suggest seeing how Arch linux builds it (especially what up to date deps it requires) or some other distro.

I've now replaced Firefox with Falkon. I'm going to miss some FF extensions Falkon doesn't have but it (Falkon) is a better browser. Good thing it exists - otherwise, i would be driven to try and build Chromium - doesn't look like much fun..

Last edited by bryan_S; 11-24-2022 at 08:04 AM. Reason: misspelled 'Falcon'
 
Old 11-25-2022, 08:50 AM   #7
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled
Just thought of something. To the OP - Do you have cython installed?

If not, install it (it's in the development blfs book under python modules). Then, rebuild py-yaml, then try building firefox again. IIRC, the only reason cython was added to the book is because py-yaml was not being built correctly.

Last edited by bryan_S; 11-25-2022 at 08:52 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
cannot login as user 'lfs' [su - lfs] mayasedai Linux From Scratch 2 07-26-2005 06:10 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration