Re: problem building mesa-24.1.7

"Rainer Fiebig" ([email protected] via lfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
Am 03.02.25 um 18:11 schrieb Bruce Dubbs ([email protected] via
lfs-support Mailing List):
> 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.
Please don't get me wrong.  I didn't have you or the other editors in
mind, absolutely not.  My criticism was directed at certain trends in
development, esp. ever more complicated and ballooning software (often
for hard to see additional value) and taking control away from
users/builders, for instance by forcing them to accept intransparent
downloads during a build or hard to tame build-systems like ninja.

> 
> Note that in many ways we are constrained by what upstream publishes.
Sure, I'm absolutely aware of that.  And I highly appreciate what the
LFS/BLFS team provide for users.

Rainer

> 
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.