Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576972 - =media-libs/mesa-11.1.2-r1[opencl] fails to build with =sys-devel/llvm-3.8.0
Summary: =media-libs/mesa-11.1.2-r1[opencl] fails to build with =sys-devel/llvm-3.8.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-10 15:55 UTC by Bernard Cafarelli
Modified: 2016-04-10 21:18 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Cafarelli gentoo-dev 2016-03-10 15:55:26 UTC
llvm 3.8.0 is here (package is masked in tree for now), and as it often happens, does not compile with current mesa release.
The fix is in the upcoming 11.2:
https://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/clover/llvm/invocation.cpp?h=11.2&id=b4a03e7f8f4006eb2c5b09a0611fdda153dd8437

Fixing the dependencies, adding the patch, a RC for 11.2 or waiting for the final release, I leave it to you ;) I will wait for the fix before unmasking llvm-3.8.0 (this leaves me some time to try and track down test failures)
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-03-10 16:11:42 UTC
commit cdf119db6325e25b3e7ce87c4881e48c90590882
Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Date:   Thu Mar 10 17:10:23 2016 +0100

    media-libs/mesa: depend on <sys-devel/llvm-3.8
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=576972
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-03-25 15:20:54 UTC
Weird enough, it seems to build fine for me in my small tinderbox. I'll try on my home PC later.

In any case, please keep this open so that we know that there is an important problem to be solved.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-03-27 17:41:39 UTC
I changed the summary to make it more apparent that the clover state tracker is what breaks.

The problem is fixed in the upcoming mesa-11.2 release.
Comment 4 Alexander Tsoy 2016-04-06 12:07:31 UTC
(In reply to Bernard Cafarelli from comment #0)
> Fixing the dependencies, adding the patch, a RC for 11.2 or waiting for the
> final release, I leave it to you ;) I will wait for the fix before unmasking
> llvm-3.8.0 (this leaves me some time to try and track down test failures)

mesa-11.2 is in the tree. So please unmask llvm-3.8 if there is no other major issues.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-10 21:18:11 UTC
Closing this bug as the build failure has been addressed in mesa-11.2
Please poke llvm maintainers in a separate bug report if you want them to unmask llvm-3.8.