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)
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
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).
Created attachment 528738 [details, diff] configure.ac patch for libunwind 1.2.1
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).
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(-)