Re: Firefox and glibc 2.43

"Maurice van der Stee" ([email protected] via blfs-dev Mailing List) <[email protected]> Fri, 30 Jan 2026 08:46:03 +0100
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On Fri, 2026-01-30 at 04:32 +0800, Xi Ruoyao wrote:
> On Thu, 2026-01-29 at 09:50 +0100, Maurice van der Stee wrote:
> > For what it is worth.
> > 
> > After installing glibc 2.43 firefox would not compile anymore.
> > 
> > In my case this was version 147.0.2 but it applies equally to
> > 140.7.0
> > which is in the book.
> > 
> > I fixed this by applying the attached patch and the two seds below.
> > I
> > tired to use seds instead of the patch but I couldn;t get one
> > working
> > for the third hunk.
> > 
> > 
> > old_checksum="f8ad2b69fa472e332b50572c1b2dcc1c8a0fa783a1199aad24539
> > 8d3d
> > f421b4b"
> > new_checksum="30426773c6200dc97b27b0fa10e7d31fc42bc1199369bebfd97b9
> > 3cc3
> > 74b5ef5"
> > 
> > sed -e "s:${old_checksum}:${new_checksum}:" -i
> > third_party/rust/glslopt/.cargo-checksum.json
> 
> Don't do this.  Add
> 
> glslopt = { path = "third_party/rust/glslopt" }
> 
> into the [patch.crates-io] section in Cargo.toml to make cargo skip
> the
> checksum, and then remove the source and checksum of glslopt in
> Cargo.lock instead (IIRC the Cargo.lock change can be done via a
> cargo
> update -p command but I'm not so sure I don't have time to try it
> now).
> 
> In general you shouldn't be editing the .cargo-checksum.json files in
> the first place, as cargo already provides the [patch.*] section to
> skip
> the checksum verification.

Thanks I'll look into this. You learn something every day.
-- 
=================================================
Maurice van der Stee

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page