Package Details: julia-git 1.8.0.DEV.r51125.g1db8b8f1607-1

Git Clone URL: https://aur.archlinux.org/julia-git.git (read-only, click to copy)
Package Base: julia-git
Description: High-level, high-performance, dynamic programming language
Upstream URL: https://julialang.org/
Licenses: MIT
Conflicts: julia
Provides: julia
Submitter: mihi
Maintainer: TrialnError (fusion809, mar)
Last Packager: fusion809
Votes: 53
Popularity: 0.000000
First Submitted: 2012-02-22 08:57 (UTC)
Last Updated: 2023-06-15 12:34 (UTC)

Required by (20)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 21 Next › Last »

MarsSeed commented on 2023-06-15 12:31 (UTC)

TLDR; Please change optdepends openblas-lapack to blas-openblas.

Please note that Arch announced on June 14 a new blas-openblas repo package.

The earlier AUR package openblas-lapack is the same, therefore it will have to be deleted.

Brettmahar commented on 2021-07-15 23:03 (UTC)

Julia is not simple to compile, the language is nice but build failures are not rare, eg https://github.com/JuliaLang/julia/issues/40585

FYI for anyone with this issue, the prebuilt binaries for Linux x86 and aarch64 work fine - available at https://julialang.org/downloads/ and https://julialang.org/downloads/nightlies/

Volker_Weissmann commented on 2021-06-08 23:47 (UTC)

I can confirm this build error:

 g++ -m64 -shared  -pipe -fPIC -fno-rtti -std=c++14 -pedantic -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -w  -O3 -ggdb2 -falign-functions -momit-leaf-frame-pointer -D_GNU_SOURCE -I. -I/home/volker/cloned/julia-git/src/julia/src -I/home/volker/cloned/julia-git/src/julia/src/flisp -I/home/volker/cloned/julia-git/src/julia/src/support -I/home/volker/cloned/julia-git/src/julia/usr/include -I/home/volker/cloned/julia-git/src/julia/usr/include -DLIBRARY_EXPORTS -I/home/volker/cloned/julia-git/src/julia/deps/valgrind -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden -fno-common -Wno-comment -Wpointer-arith -Wundef -Wno-unused-result -DJL_BUILD_ARCH='"x86_64"' -DJL_BUILD_UNAME='"Linux"' -I/home/volker/cloned/julia-git/src/julia/usr/include -DLLVM_SHLIB "-DJL_SYSTEM_IMAGE_PATH=\"../lib/julia/sys.so\"" "-DJL_LIBJULIA_SONAME=\"libjulia.so.1\""       "-DJL_LIBJULIA_INTERNAL_SONAME=\"libjulia-internal.so.1\"" ./jloptions.o ./runtime_ccall.o ./rtutils.o ./codegen.o ./llvm-ptls.o ./jltypes.o ./gf.o ./typemap.o ./smallintset.o ./ast.o ./builtins.o ./module.o ./interpreter.o ./symbol.o ./dlload.o ./sys.o ./init.o ./task.o ./array.o ./dump.o ./staticdata.o ./toplevel.o ./jl_uv.o ./datatype.o ./simplevector.o ./runtime_intrinsics.o ./precompile.o ./threading.o ./partr.o ./stackwalk.o ./gc.o ./gc-debug.o ./gc-pages.o ./gc-stacks.o ./method.o ./jlapi.o ./signal-handling.o ./safepoint.o ./timing.o ./subtype.o ./crc32c.o ./APInt-C.o ./processor.o ./ircode.o ./opaque_closure.o ./jitlayers.o ./aotcompile.o ./debuginfo.o ./disasm.o ./llvm-simdloop.o ./llvm-muladd.o ./llvm-final-gc-lowering.o ./llvm-pass-helpers.o ./llvm-late-gc-lowering.o ./llvm-lower-handlers.o ./llvm-gc-invariant-verifier.o ./llvm-propagate-addrspaces.o ./llvm-multiversioning.o ./llvm-alloc-opt.o ./cgmemmgr.o ./llvm-api.o ./llvm-remove-addrspaces.o ./llvm-remove-ni.o ./llvm-julia-licm.o ./llvm-demote-float16.o -Wl,-rpath,'$ORIGIN/julia' -Wl,-rpath,'$ORIGIN' -Wl,-z,origin -o /home/volker/cloned/julia-git/src/julia/usr/lib/libjulia-internal.so.1.7 -Wl,-Bdynamic -Wl,-no-undefined -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-Bsymbolic-functions -L/home/volker/cloned/julia-git/src/julia/usr/lib -L/home/volker/cloned/julia-git/src/julia/usr/lib -Wl,--whole-archive ./flisp/libflisp.a -Wl,--whole-archive ./support/libsupport.a -ljulia /home/volker/cloned/julia-git/src/julia/usr/lib/libuv.a -lutf8proc -Wl,--no-whole-archive -lunwind -L/home/volker/cloned/julia-git/src/julia/usr/lib  -lLLVM -Wl,--no-as-needed -ldl -lrt -lpthread -latomic -Wl,--export-dynamic,--as-needed,--no-whole-archive -Wl,--version-script=/home/volker/cloned/julia-git/src/julia/src/julia.expmap   -Wl,-soname=libjulia-internal.so.1
/usr/local/bin/ld: /usr/local/bin/ld: DWARF error: can't find .debug_ranges section.
./codegen.o: in function `gen_cfun_wrapper(llvm::Module*, jl_codegen_params_t&, function_sig_t const&, _jl_value_t*, char const*, _jl_value_t*, _jl_method_instance_t*, jl_unionall_t*, jl_svec_t*, jl_array_t**)':
codegen.cpp:(.text+0x41483): undefined reference to `std::__throw_bad_array_new_length()'
/usr/local/bin/ld: /usr/local/bin/ld: DWARF error: can't find .debug_ranges section.
./llvm-late-gc-lowering.o: in function `std::vector<int, std::allocator<int> >::operator=(std::vector<int, std::allocator<int> > const&) [clone .isra.0]':
llvm-late-gc-lowering.cpp:(.text+0x8d7): undefined reference to `std::__throw_bad_array_new_length()'
/usr/local/bin/ld: ./llvm-late-gc-lowering.o: in function `TrackCompositeType(llvm::Type*, std::vector<unsigned int, std::allocator<unsigned int> >&, std::vector<std::vector<unsigned int, std::allocator<unsigned int> >, std::allocator<std::vector<unsigned int, std::allocator<unsigned int> > > >&)':
llvm-late-gc-lowering.cpp:(.text+0x47a9): undefined reference to `std::__throw_bad_array_new_length()'
/usr/local/bin/ld: ./llvm-late-gc-lowering.o: in function `LateLowerGCFrame::ComputeLiveSets(State&)':
llvm-late-gc-lowering.cpp:(.text+0x16a79): undefined reference to `std::__throw_bad_array_new_length()'
/usr/local/bin/ld: llvm-late-gc-lowering.cpp:(.text+0x16e51): undefined reference to `std::__throw_bad_array_new_length()'
/usr/local/bin/ld: ./llvm-late-gc-lowering.o:llvm-late-gc-lowering.cpp:(.text._ZNSt6vectorIiSaIiEEC2ERKS1_[_ZNSt6vectorIiSaIiEEC5ERKS1_]+0xa7): more undefined references to `std::__throw_bad_array_new_length()' follow
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:300: /home/volker/cloned/julia-git/src/julia/usr/lib/libjulia-internal.so.1.7] Error 1
make[1]: Leaving directory '/home/volker/cloned/julia-git/src/julia/src'
make: *** [Makefile:76: julia-src-release] Error 2
make: Leaving directory '/home/volker/cloned/julia-git/src/julia'
==> ERROR: A failure occurred in build().
    Aborting...

gustaphe commented on 2021-06-08 06:28 (UTC)

I get a build error:

/usr/bin/ld: ./codegen.o: in function `__gnu_cxx::new_allocator<llvm::Type*>::allocate(unsigned long, void const*)':
/usr/include/c++/11.1.0/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)':
/usr/include/c++/11.1.0/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator<unsigned int>::allocate(unsigned long, void const*)':
/usr/include/c++/11.1.0/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)':
/usr/include/c++/11.1.0/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: /usr/include/c++/11.1.0/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: ./llvm-late-gc-lowering.o:/usr/include/c++/11.1.0/ext/new_allocator.h:110: more undefined references to `std::__throw_bad_array_new_length()' follow
collect2: error: ld returned 1 exit status

sh4kesbeer commented on 2020-12-31 09:04 (UTC)

There seems to be a dependency on 7z, as the build is failing with following error for me:

caused by: 7z binary not found

Volker_Weissmann commented on 2020-12-25 21:15 (UTC)

Without the patch below, build+installation fails on my machine because the stringreplace binary was not found.

diff --git a/PKGBUILD b/PKGBUILD
index 87ecf86..b56957a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,7 +26,7 @@ sha256sums=('SKIP'
             '1aee33d62dcd8e6b65672bd9996a61c83e44056dd31efa79761cb85effb0e6a1'
             'd4c8fe9eec1bc416549924ae328ceb3f63cc736ecd5e67886faa924e7c14bc5d'
             '856dab2da8124df95e4fbd17f1164bebe1b10e99852fedf38f9dfe31f8ae295c'
-            '0b57e0bc6e25c92fde8a6474394f7a99bfb57f9b5d0f7b53f988622ae67de8b7')
+            '09b6077149fa3d22b71b63e471f077d1f3dbeb39d682030c73c316e939e2cc19')


 pkgver() {
diff --git a/make-install-no-build.patch b/make-install-no-build.patch
index 6d89d95..19eeb43 100644
--- a/make-install-no-build.patch
+++ b/make-install-no-build.patch
@@ -10,7 +10,7 @@
 -else
 -  @$(MAKE) $(QUIET_MAKE) release
 -endif
-+install:
++install: $(build_depsbindir)/stringreplace
    @for subdir in $(bindir) $(datarootdir)/julia/stdlib/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir) $(libexecdir); do \
        mkdir -p $(DESTDIR)$$subdir; \
    done

PedroHLC commented on 2020-10-22 13:42 (UTC)

Building form a clean chroot, it failed with:

make[1]: Entering directory '/home/main-builder/pkgwork/src/julia'
 cd /home/main-builder/pkgwork/src/julia/base && /home/main-builder/pkgwork/src/julia/usr/bin/julia -C "native" --output-ji /home/main-builder/pkgwork/src/julia/usr/lib/julia/corecompiler.ji.tmp --startup-file=no --warn-overwrite=yes -g0 -O0 compiler/compiler.jl
ERROR: Unable to load dependent library /home/main-builder/pkgwork/src/julia/usr/bin/../lib/libgcc_s.so.1
Message:/home/main-builder/pkgwork/src/julia/usr/bin/../lib/libgcc_s.so.1: cannot open shared object file: No such file or directory
make[1]: *** [sysimage.mk:61: /home/main-builder/pkgwork/src/julia/usr/lib/julia/corecompiler.ji] Error 1
make[1]: Leaving directory '/home/main-builder/pkgwork/src/julia'
make: *** [Makefile:81: julia-sysimg-ji] Error 2
make: Leaving directory '/home/main-builder/pkgwork/src/julia'
==> ERROR: A failure occurred in build().

TrialnError commented on 2020-06-22 19:39 (UTC)

@fusion809: Every little thing helps. Thank you for your offer :) I will add you as a co-maintainer.

fusion809 commented on 2020-06-21 14:27 (UTC)

@TrialInError I'd be happy to be a co-maintainer. Although, I will admit, I too have my limits in what I can fix. But I can at least fix the odd little things I know how to fix.

fusion809 commented on 2020-06-21 14:25 (UTC)

Build currently fails as docs aren't built but package_julia-git-docs() tries to install them anyway. To fix this, replace lines 68 to 70 of the PKGBUILD with: make.