Package Details: julia-git 0.7.0.DEV.r41074.g018fb61ff6-1

Git Clone URL: https://aur.archlinux.org/julia-git.git (read-only)
Package Base: julia-git
Description: High-level, high-performance, dynamic programming language
Upstream URL: http://julialang.org
Licenses: MIT
Conflicts: julia
Provides: julia
Submitter: mihi
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 51
Popularity: 1.158234
First Submitted: 2012-02-22 08:57
Last Updated: 2018-02-23 19:34

Dependencies (38)

Required by (8)

Sources (2)

Latest Comments

TrialnError commented on 2018-02-23 19:29

I followed the bug for the julia package from the repo where they discussed the llvm situation. I assumed, reading those comments, that the situation isn't that "dire" if building directly from master. But well. Apparently not. Will change the build options

robsmith11 commented on 2018-02-23 13:22

I got it to build by changing it to use the bundled LLVM and libm.

robsmith11 commented on 2018-02-22 12:19

Has anyone built this recently?

First I ran into https://github.com/JuliaLang/julia/issues/23615 which was easily solved.

But now I'm getting more errors:

    LINK usr/bin/julia
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::CloneModule(llvm::Module const*, llvm::ValueMap<llvm::Value const*, llv
m::WeakVH, llvm::ValueMapConfig<llvm::Value const*, llvm::sys::SmartMutex<false> > >&)'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APInt::EqualSlowCase(unsigned long) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::AttributeSet::addAttribute(llvm::LLVMContext&, unsigned int, llvm::Stri
ngRef, llvm::StringRef) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::Value::stripInBoundsOffsets()'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::AttributeSet::getFnAttributes() const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `vtable for llvm::GetElementPtrInst'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::User::anchor()'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::Function::getReturnType() const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APInt::shl(llvm::APInt const&) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APFloat::IEEEdouble'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::APInt::operator+(llvm::APInt const&) const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::TargetRecip::TargetRecip()'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `llvm::AttributeSet::getNumSlots() const'
/tmp/julia-git/src/julia/usr/lib/libjulia.so: undefined reference to `vtable for llvm::ICmpInst'
...

smldis commented on 2017-03-01 22:57

Ok I missed that, I solved the problem with this patch to Cxx.jl (Maybe it is not necessary anymore if it's working for you):
```
diff --git a/deps/BuildBootstrap.Makefile b/deps/BuildBootstrap.Makefile
index 2d1731c..27e8661 100644
--- a/deps/BuildBootstrap.Makefile
+++ b/deps/BuildBootstrap.Makefile
@@ -158,7 +158,7 @@ LLVM_LIB_NAME := LLVM-$(CXX_LLVM_VER)
endif
LDFLAGS += -l$(LLVM_LIB_NAME)

-LIB_DEPENDENCY += $(LIBDIR)/lib$(LLVM_LIB_NAME).$(SHLIB_EXT)
+LIB_DEPENDENCY += /usr/lib/libLLVM-3.9.so #$(LIBDIR)/lib$(LLVM_LIB_NAME).$(SHLIB_EXT)

usr/lib:
@mkdir -p $(CURDIR)/usr/lib/
```

TrialnError commented on 2017-02-22 23:41

Cannot replicate the issue smldis. Maybe a temporary problem in the build process.
And as a hint for future contributions. Localized output can be blocker. To make life easier either translate non-english stuff to english, or use LANG=C or similar in front of the command to set the language for the actual process/programm :)

smldis commented on 2017-02-22 21:09

Any hints on what's wrong with the Cxx.jl build?
The output is:
`
Pkg.build("Cxx")
INFO: Building Cxx
writing path.jl file
Tuning for julia installation at /usr/bin with sources possibly at /usr/bin/../..
INFO: Building julia binary build
mkdir -p src/clang-3.9.1
mkdir -p src/llvm-3.9.1
make: *** Nessuna regola per generare l'obiettivo "/usr/bin/../lib/julia/libLLVM.so", necessario per "build/bootstrap.o". Arresto.
make: *** Attesa per i processi non terminati....
tar -C src/clang-3.9.1 --strip-components=1 -xf src/cfe-3.9.1.src.tar.xz
tar -C src/llvm-3.9.1 --strip-components=1 -xf src/llvm-3.9.1.src.tar.xz
=======================================================================[ ERROR: Cxx ]=======================================================================

LoadError: failed process: Process(`make -j2 -f BuildBootstrap.Makefile BASE_JULIA_BIN=/usr/bin BASE_JULIA_SRC=/usr/bin/../..`, ProcessExited(2)) [2]
while loading /home/smldis/.julia/v0.6/Cxx/deps/build.jl, in expression starting on line 54

============================================================================================================================================================

======================================================================[ BUILD ERRORS ]======================================================================

WARNING: Cxx had build errors.

- packages with build errors remain installed in /home/smldis/.julia/v0.6
- build the package(s) and all dependencies with `Pkg.build("Cxx")`
- build a single package by running its `deps/build.jl` script

============================================================================================================================================================
`

TrialnError commented on 2017-01-12 20:54

Thanks for the note ajdunlap.
And I was still waiting for that package to get orphaned. I filed my request, it got deleted (whatever it caused, because there is no report), the request was rejected, but I didn't get notified. Splendid

ajdunlap commented on 2017-01-12 17:44

The package currently depends on "openlibm" which is a non-existent package.

Deathaluz commented on 2016-08-10 23:17

I was able to install the package after installing several missing packages, which were causing building errors.
I actually used the sugestion given by the wiki: makepkg -sri

TrialnError commented on 2016-08-10 08:14

And again, 2015 pcre2 got included in the deps line.
How did you get/update the PKGBUILD?
What was the _exact_ command you used to build the package with makepkg? (at least -s would be needed)

All comments