pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Error building rust



On 08/02, Patrick Welche wrote:
> On Thu, Aug 02, 2018 at 06:07:26AM -0400, D'Arcy Cain wrote:
> > I have been unable to build rust for a few days.  Anyone else seeing this?
> > 
> > [ 51%] Building CXX object
> > lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86CallFrameOptimization.cpp.o
> > Assembler messages:
> > Fatal error: can't create
> > CMakeFiles/LLVMX86CodeGen.dir/X86CallFrameOptimization.cpp.o: No such
> > file or directory
> > gmake[2]: ***
> > [lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/build.make:76:
> > lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86CallFrameOptimization.cpp.o]
> > Error 1
> > gmake[1]: *** [CMakeFiles/Makefile2:6062:
> > lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/all] Error 2
> > gmake: *** [Makefile:152: all] Error 2
> > thread 'main' panicked at '
> > command did not execute successfully, got: exit code: 2
> 
> I frequently have to rerun make in lang/rust, and eventually it succeeds.
> So much for repeatability...

Is MAKE_JOBS greater than 1 for the build?  Have you tried with
MAKE_JOBS=1 or MAKE_JOBS_SAFE=no for lang/rust?

Lewis


Home | Main Index | Thread Index | Old Index