Le 23/12/2019 à 23:09, Ken Moffat via blfs-dev a écrit :
> On Mon, Dec 23, 2019 at 09:08:48PM +0000, Ken Moffat via blfs-dev wrote:
>> On Mon, Dec 23, 2019 at 09:33:48PM +0100, Pierre Labastie via blfs-dev wrote:
>>> Hi
>>> Looks like there has been some API change in llvm, leading to:
>>> ---------------
>>> error: failed to run custom build command for `rustc_llvm v0.0.0
>>> (/sources/rust/rustc-1.37.0-src/src/librustc_llvm)`
>>>
>>> Caused by:
>>>   process didn't exit successfully:
>>> `/sources/rust/rustc-1.37.0-src/build/x86_64-unknown-linux-gnu/stage0-codegen/release/build/rustc_llvm-1acb7c1e485f87ef/build-script-build`
>>> (exit code: 101)
>>> --- stdout
>> [...]
>>> I think the problem is "error: too few arguments to function...", which 
>>> looks
>>> like an API change.
>>>
>>> Actually, I've found this patch:
>>> https://github.com/rust-lang/rust/commit/04304fcd16e40c936dc5ba71c9ac3c445597f8bb
>>> which seems to be included into 1.38 and following... Time to update rust?
>>>
>>> Pierre
>>>
>> From memory, the last time I tried to use 1.38 on thunderbird it did
>> not build.  I think that was 68.2 or 68.1, but the nature of
>> esr releases is that little changes.  Similarly, firefox will
>> probably break.
>>
> Arch have a patch for thunderbird, described as for rustc-1.39.0.
> https://git.archlinux.org/svntogit/packages.git/plain/trunk/thunderbird-rust-1.39.patch?h=packages/thunderbird
> 
> The first hunk looks pretty hairy,

json format...
I think one md5sum is changed, so diff writes the whole line.

> I doubt that there is a similar
> patch for firefox-68.  If people want to use the latest llvm then
> they'll have to use a newer firefox with newer rust (details of
> firefox build changes for versions newer than 68-esr are in the
> wiki).
> 

FWIIW, I've built rustc-1.40.0 with current book instructions, and librsvg
built OK. Not tried cbindgen, nor firefox or thunderbird. I am rather
interested in building kde, which is broken by qt-5.14, ATM. Will try the
other packages later.

Pierre



-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to