Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650940 - dev-lang/julia-0.6.2 blocks (stable) sys-libs/libunwind-1.2.1
Summary: dev-lang/julia-0.6.2 blocks (stable) sys-libs/libunwind-1.2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-19 21:20 UTC by Koz Ross
Modified: 2018-06-30 22:55 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,4.79 KB, text/plain)
2018-03-19 21:20 UTC, Koz Ross
Details
configure.ac patch for libunwind 1.2.1 (libunwind-1.2.1-pkg_minor_fix.patch,487 bytes, patch)
2018-04-28 20:47 UTC, Emanuele A. Bagnaschi (Zephyrus)
Details | Diff
modified version of the libunwind-1.2.1 ebuild to properly apply the configure.ac (eautoreconf was added to src_prepare). (libunwind-1.2.1-r1.ebuild,2.99 KB, text/plain)
2018-04-28 20:49 UTC, Emanuele A. Bagnaschi (Zephyrus)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koz Ross 2018-03-19 21:20:52 UTC
Created attachment 524474 [details]
emerge --info

I get a block of an update of Julia to 0.6.2 as follows:

[koz@Muni ~]$ sudo emerge --ask --update --deep --newuse @world
Password: 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-libs/libunwind-1.2.1 [1.2]
[ebuild     U  ] app-crypt/rhash-1.3.6-r1 [1.3.5]
[ebuild     U  ] dev-perl/URI-1.730.0 [1.710.0]
[ebuild     U  ] dev-perl/Types-Serialiser-1.0.0-r1 [1.0.0]
[ebuild     U  ] net-irc/weechat-2.1 [2.0.1]
[ebuild  r  U  ] app-text/poppler-0.63.0 [0.62.0-r1]
[ebuild  rR    ] net-print/cups-filters-1.20.1 
[ebuild     U  ] dev-lang/julia-0.6.2 [0.6.1-r2]
[ebuild  N     ] sys-fs/fuse-common-3.2.1 
[ebuild     U  ] sys-fs/fuse-2.9.7-r1 [2.9.7]
[blocks b      ] <sys-fs/fuse-2.9.7-r1:0 ("<sys-fs/fuse-2.9.7-r1:0" is blocking sys-fs/fuse-common-3.2.1)
[ebuild     U  ] net-fs/sshfs-2.10-r1 [2.10]
[blocks B      ] ~sys-libs/libunwind-1.2.1 ("~sys-libs/libunwind-1.2.1" is blocking dev-lang/julia-0.6.2)
Comment 1 pa.lacaze 2018-04-04 10:35:31 UTC
The problem can be traced back to a bug in the configure script of libunwind I believe.

The issue is described in Julia bug report https://github.com/JuliaLang/julia/issues/23615 and upstream here https://github.com/libunwind/libunwind/issues/30.

A patch exists here: https://github.com/orivej/nixpkgs/blob/9ccdf60be6bf512918e951ef2cdc75dfd2149442/pkgs/development/libraries/libunwind/version-1.2.1.patch
Comment 2 Emanuele A. Bagnaschi (Zephyrus) 2018-04-28 20:47:01 UTC
In the meanwhile, I have prepared a small patch for libunwind configure.ac, which incorporates the fix. 
Please note that I have followed the the comment of orivej from https://github.com/libunwind/libunwind/issues/30, i.e. I have put ".1" as pkg_extra and not "1", so that mkvers yields "1.2.1".
I have also modified libunwind-1.2.1 ebuild, adding an "eautoreconf" inside src_prepare. 
After re-emerging libunwind, using the patched version, I was able to merge julia 0.6.2 without issues (I had to remove the libunwind blocker from the julia ebuild, of course).
Comment 3 Emanuele A. Bagnaschi (Zephyrus) 2018-04-28 20:47:46 UTC
Created attachment 528738 [details, diff]
configure.ac patch for libunwind 1.2.1
Comment 4 Emanuele A. Bagnaschi (Zephyrus) 2018-04-28 20:49:23 UTC
Created attachment 528740 [details]
modified version of the libunwind-1.2.1 ebuild to properly apply the configure.ac (eautoreconf was added to src_prepare).
Comment 5 Larry the Git Cow gentoo-dev 2018-06-30 22:55:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ef09168a64aba4ea6871e5885556e866f9e767

commit 58ef09168a64aba4ea6871e5885556e866f9e767
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-06-30 22:36:45 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-06-30 22:55:46 +0000

    dev-lang/julia: relax version constraint
    
    Closes: https://bugs.gentoo.org/650940
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-lang/julia/julia-0.6.2.ebuild | 1 -
 1 file changed, 1 deletion(-)