Bug 2165534 - julia: FTBFS in Fedora Rawhide
Summary: julia: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: julia
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Bouchet-Valat
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-30 11:40 UTC by Pete Walter
Modified: 2023-03-12 00:16 UTC (History)
3 users (show)

Fixed In Version: 1.9.0-0.beta4.fc39 julia-1.9.0-0.beta4.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 15:46:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pete Walter 2023-01-30 11:40:47 UTC
Description of problem:
Package julia fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.8.2-2.fc38

Steps to Reproduce:
koji build --scratch f38 julia-1.8.2-2.fc38.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/julia

Julia failed in F38 mass rebuild and is currently FTBFS. This is blocking libgit2 1.5.x update and rebuilds.

Comment 1 André da Costa Barros 2023-02-02 16:10:08 UTC
Hi,

Perhaps, the problems you had may be associated to julia now needing ILP64? I was able to build version 1.8.5 on openSUSE (15.4 - I'm just a user), but had to compile many packages using customized compiler settings.

I posted the following observations there:

"Some of the libraries were a bit more laborious to adjust, and I had to patch their building process, but seems to be fine now. Also, needed to fix the rpm .spec files.

Now, as a last decision, would be nice to establish what will be used for library suffix and include files (mainly).

My suggestion is to put them under "%{_libdir}/ilp64" and "%{_includedir}/ilp64". Even though this simple step seems to fix most of the problems, I had an error while building SuiteSparse and it's mongoose library picking the installed regular Suitesparse suitesparseconfig, so, I suggest really adding _ilp64 to libraries to prevent this kind of error, or others that could arise from using just the regular names and risk ld picking the wrong library."

"It would be wise to talk with Fedora maintainers also, just to have some common basic location settings to easy the testing done by upstream developers."

I'm still digging what others think are the best practices.

So, if you have some suggestions, I'm all ears.

Comment 2 Ben Cotton 2023-02-07 15:06:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 3 Fedora Update System 2023-03-09 15:39:20 UTC
FEDORA-2023-aba883046c has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-aba883046c

Comment 4 Milan Bouchet-Valat 2023-03-09 15:43:33 UTC
Sorry for the delay. The failure wasn't due to ILP64 BLAS but to an obscure error on 32-bit. I've disabled that architecture as it now fails with an out of memory error.

André, building a Julia RPM package is indeed very tricky to do. You can have a look at the .spec file to see how it's done in Fedora. Regarding ILP64 BLAS, we have special OpenBLAS packages for that, installed under /lib[64]/, but with a "64.so" suffix (and "64_.so" for the variant that Julia uses, which suffixes symbol names with "_64" to avoid clashes with LP64 BLAS).

Comment 5 Fedora Update System 2023-03-10 01:48:36 UTC
FEDORA-2023-aba883046c has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-aba883046c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-03-12 00:16:03 UTC
FEDORA-2023-aba883046c has been pushed to the Fedora 38 stable repository.
If problem still persists, 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.