Re: problem building mesa-24.1.7
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On 2/3/25 6:17 AM, Rainer Fiebig ([email protected] via lfs-support Mailing List) wrote: > Am 03.02.25 um 07:54 schrieb tjoen ([email protected] via lfs-support Mailing > List): >> Problem building mesa-24.1.7 (same with 24.1.5) >> Not mentioned in the book is dependency >> crates.io/api/v1/crates/syn/2.0.39/download >> $ cargo build --release >> # cargo install >> error: no packages found with binaries or examples >> >> Three other crate dependencies also needed but that is next problem >> Currently migrating from lib64/ to lib/ >> >> Using LFS for 15+ years > Experience won't help you much in those cases where developers seem to > be on a rampage to bloat and complicate things as much as possible. That's not true. We actually try to make things as simple as possible. In this case, the simple way is to build with an active network connection. Note that in many ways we are constrained by what upstream publishes. > Naturally, this includes demanding an internet-connection during build. > In self-defence I've written a little script that creates a > downloadlist for the "crates" that are listed somewhere in the > mesa-build-directory. The list for mesa-24.1.7 comprises the following: > > https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.70.crate > https://static.crates.io/crates/syn/syn-2.0.39.crate > https://static.crates.io/crates/paste/paste-1.0.14.crate > https://static.crates.io/crates/quote/quote-1.0.33.crate > https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.12.crate > > The download works but I don't know whether these are really the crates > you need or where they need to be placed for an offline-build or how to > verify them - you'd have to figure that out yourself. > > Interestingly, those 5 crates amount to only 380k. I'm wondering why > they couldn't just include that petty stuff in the mesa-package. > Perhaps it would make things too simple. I suspect that the upstream developers want downstream users to use the latest versions of those crates. That does not seem very wise to me. I agree that upstream should include known good files instead of downloading them at build time. -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page