[Pkg-julia-devel] Bug#928131: julia: FTBFS on arm64 and armhf

peter green plugwash at p10link.net
Wed Nov 11 05:29:39 GMT 2020


retitle 928131 julia: FTBFS on armhf
thanks

Since version 1.4.0+dfsg-1 once again builds on arm64. On the other hand on armhf is still failing.

> /<<PKGBUILDDIR>>/src/debuginfo.cpp: In member function ‘virtual void JuliaJITEventListener::_NotifyObjectEmitted(const llvm::object::ObjectFile&, const llvm::RuntimeDyld::LoadedObjectInfo&, llvm::RTDyldMemoryManager*)’:
> /<<PKGBUILDDIR>>/src/debuginfo.cpp:283:27: error: no match for ‘operator!=’ (operand types are ‘llvm::Expected<llvm::StringRef>’ and ‘const char [11]’)
>   283 |                 if (sName != ".ARM.exidx") {
>       |                     ~~~~~ ^~ ~~~~~~~~~~~~
>       |                     |        |
>       |                     |        const char [11]
>       |                     llvm::Expected<llvm::StringRef>

I did some digging and was able to find an upstream commit fixing this issue.

https://github.com/JuliaLang/julia/commit/master?diff=unified&short_path=30dfa74

With that patch applied, I was able to successfully update the package in Raspbian,
we have the testsuite disabled in raspbian though. I have not tested the patch
on Debian armhf at this time.



More information about the Pkg-julia-devel mailing list