View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Sat Dec 03, 2011 12:46 am Post subject: mesa compile fails |
|
|
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'
|
_________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
|
Back to top |
|
|
cjharris n00b
Joined: 03 Dec 2011 Posts: 3
|
Posted: Sat Dec 03, 2011 5:12 am Post subject: |
|
|
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 |
|
|
FizzyWidget Veteran
Joined: 21 Nov 2008 Posts: 1133 Location: 127.0.0.1
|
Posted: Sat Dec 03, 2011 9:57 am Post subject: |
|
|
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 |
|
|
jmrk n00b
Joined: 23 Oct 2006 Posts: 19
|
Posted: Sat Dec 03, 2011 4:51 pm Post subject: |
|
|
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 |
|
|
FizzyWidget Veteran
Joined: 21 Nov 2008 Posts: 1133 Location: 127.0.0.1
|
Posted: Sat Dec 03, 2011 4:52 pm Post subject: |
|
|
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 |
|
|
|