Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa compile fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5191

PostPosted: Sat Dec 03, 2011 12:46 am    Post subject: mesa compile fails Reply with quote

Anyone seen this?

Code:

gallivm/lp_bld_type.o
gallivm/lp_bld_type.c: In function 'lp_typekind_name':
gallivm/lp_bld_type.c:328:9: error: 'LLVMOpaqueTypeKind' undeclared (first use in this function)
gallivm/lp_bld_type.c:328:9: note: each undeclared identifier is reported only once for each function it appears in
gmake[3]: *** [gallivm/lp_bld_type.o] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.11.2/work/Mesa-7.11.2/src/gallium/auxiliary'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.11.2/work/Mesa-7.11.2/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.11.2/work/Mesa-7.11.2/src'
make: *** [default] Error 1
emake failed
 * ERROR: media-libs/mesa-7.11.2 failed (compile phase):
 *   died running emake, base_src_make
 *
 * Call stack:
 *     ebuild.sh, line   84:  Called src_compile
 *   environment, line 5809:  Called base_src_compile
 *   environment, line 1266:  Called base_src_make
 *   environment, line 1304:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 *
 * If you need support, post the output of 'emerge --info =media-libs/mesa-7.11.2',
 * the complete build log and the output of 'emerge -pqv =media-libs/mesa-7.11.2'.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-7.11.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-7.11.2/temp/environment'.
 * S: '/var/tmp/portage/media-libs/mesa-7.11.2/work/Mesa-7.11.2'

_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5191

PostPosted: Sat Dec 03, 2011 3:33 am    Post subject: Reply with quote

Did exactly the same thing on another machine, so it must be a bug in this particular version.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 783
Location: Massachusetts USA

PostPosted: Sat Dec 03, 2011 4:07 am    Post subject: Reply with quote

See http://www.mail-archive.com/mesa-commit@lists.freedesktop.org/msg29919.html
Back to top
View user's profile Send private message
cjharris
n00b
n00b


Joined: 03 Dec 2011
Posts: 1

PostPosted: Sat Dec 03, 2011 5:12 am    Post subject: Reply with quote

I got an identical output for my mesa upgrade. I wish someone could explain how to apply the diff file in the last post. Perhaps someone should file a bug report.
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1109
Location: 127.0.0.1

PostPosted: Sat Dec 03, 2011 9:57 am    Post subject: Reply with quote

here's a solution

add

>=sys-devel/llvm-3.0 to /etc/portage/package.mask

emerge llvm - let it downgrade it

emerge mesa

all good here :)
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
jmrk
n00b
n00b


Joined: 23 Oct 2006
Posts: 18

PostPosted: Sat Dec 03, 2011 4:51 pm    Post subject: Reply with quote

There is a bug with a patch that fixes the problem: https://bugs.gentoo.org/show_bug.cgi?id=393013

And here's the easy way how to apply the fix locally (as root):
Code:
mkdir -p /etc/portage/patches/media-libs/mesa-7.11.2
wget -O /etc/portage/patches/media-libs/mesa-7.11.2/fix-build-with-llvm-3.0.patch https://bugs.gentoo.org/attachment.cgi?id=294597
emerge -av1 mesa

Modify the path to the patch file if you want to emerge another version of mesa.
_________________
watching "shit" scroll by since 2006 :-)
-> "emerge -ev world" takes 18 hours to produce 193MB of it
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1109
Location: 127.0.0.1

PostPosted: Sat Dec 03, 2011 4:52 pm    Post subject: Reply with quote

sweet, the patch wasn't there when i last looked
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum