Bug 1231163 - FTBFS: julia with LLVM 3.6
Summary: FTBFS: julia with LLVM 3.6
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: julia
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Bouchet-Valat
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1239622 (view as bug list)
Depends On: 1109390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-12 10:09 UTC by Nils Philippsen
Modified: 2015-08-27 17:57 UTC (History)
2 users (show)

Fixed In Version: 0.4.0-0.1.20150823git.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-27 17:57:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nils Philippsen 2015-06-12 10:09:37 UTC
Description of problem:
I attempted to rebuild julia against suitesparse-4.4.4 in Rawhide and it failed to build[1]:

...
gcc -march=x86-64 -m64 -DJL_SYSTEM_IMAGE_PATH="../lib64/julia/sys.ji" -DJULIA_TARGET_ARCH=x86-64 -DSYSTEM_LLVM -O3 -ggdb3 -falign-functions -momit-leaf-frame-pointer -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -std=gnu99 -pipe -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/julia-0.3.7/deps/libuv/include -DLIBRARY_EXPORTS -Wall -Wno-strict-aliasing -fvisibility=hidden -DNDEBUG -c arraylist.c -o arraylist.o
codegen.cpp:27:51: fatal error: llvm/ExecutionEngine/JITMemoryManager.h: No such file or directory
...

As you're aware, upstream doesn't seem to be willing to support LLVM-3.6 for version 0.3[2]. I'm not sure about the best course of action (I'm not familiar with the package), but I can think of these options:

- build the current development version (probably undesirable for a language package)
- identiy and backport fixes from the development version
- develop a targeted fix on your own (cf. the changes done in mesa[3][4])

[1] http://koji.fedoraproject.org/koji/taskinfo?taskID=10025421
[2] https://github.com/JuliaLang/julia/issues/10786
[3] https://bugs.freedesktop.org/show_bug.cgi?id=85030
[4] http://cgit.freedesktop.org/mesa/mesa/commit/?id=065256dfc4464cb510f84d638da1b345ff65b693


Version-Release number of selected component (if applicable):
julia-0.3.7-4.fc23

Comment 1 Milan Bouchet-Valat 2015-06-12 11:43:08 UTC
Indeed my plan was to ship the development version, which should be released before F23 is out. I don't think backporting the changes to 0.3 would be feasible, else upstream would have done it (I'd rather package LLVM 3.3 if that's really needed).

I just need LLVM 3.6.1 to be packaged: cf. Bug 1224835.

Comment 2 Milan Bouchet-Valat 2015-07-06 07:46:37 UTC
*** Bug 1239622 has been marked as a duplicate of this bug. ***

Comment 3 Milan Bouchet-Valat 2015-07-06 07:47:35 UTC
Actually, I'm going to use a new llvm33 package with the current stable version of Julia.

Comment 4 Jan Kurik 2015-07-15 14:01:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 5 Fedora Update System 2015-08-23 23:49:04 UTC
julia-0.4.0-0.1.20150823git.fc23 has been submitted as an update to Fedora 23. https://bugzilla.redhat.com/show_bug.cgi?id=1231163

Comment 6 Fedora Update System 2015-08-24 21:58:07 UTC
julia-0.4.0-0.1.20150823git.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update julia'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14030

Comment 7 Milan Bouchet-Valat 2015-08-25 09:43:44 UTC
I've pushed an update to fix the build. Could you test it and add Karma? I only need one person to get it pushed to stable without waiting for two weeks.

Comment 8 Fedora Update System 2015-08-27 17:57:45 UTC
julia-0.4.0-0.1.20150823git.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.