Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-libs/mesa-10.2.8::gentoo failed (compile phase)
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
helio
Apprentice
Apprentice


Joined: 08 Apr 2006
Posts: 237

PostPosted: Wed Jan 27, 2016 12:47 am    Post subject: media-libs/mesa-10.2.8::gentoo failed (compile phase) Reply with quote

The emerge of media-libs/mesa-10.2.8 failed with at the following phase:

libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.2.8\" "-DPACKAGE_STRING=\"Mesa 10.2.8\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I. -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE -DHAVE_LLVM=0x0303 -DLLVM_VERSION_PATCH=0 -I../../include -fvisibility=hidden -I/usr/include/libdrm -O2 -pipe -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c loader.c -fPIC -DPIC -o .libs/libloader_la-loader.o
loader.c: In function 'udev_device_new_from_fd':
loader.c:148:16: error: storage size of 'buf' isn't known
struct stat buf;
^
loader.c:155:4: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration]
if (fstat(fd, &buf) < 0) {
^
loader.c:148:16: warning: unused variable 'buf' [-Wunused-variable]
struct stat buf;
^
cc1: some warnings being treated as errors
Makefile:564: recipe for target 'libloader_la-loader.lo' failed
gmake[2]: *** [libloader_la-loader.lo] Error 1
gmake[2]: Leaving directory '/scratch/var/tmp/portage/media-libs/mesa-10.2.8/work/Mesa-10.2.8-abi_x86_64.amd64/src/loader'
Makefile:539: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/scratch/var/tmp/portage/media-libs/mesa-10.2.8/work/Mesa-10.2.8-abi_x86_64.amd64/src'
Makefile:588: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
* ERROR: media-libs/mesa-10.2.8::gentoo failed (compile phase):
* emake failed

I tried to add "-w" to CFLAG, however, it didn't work.

Any suggestions are appreciated.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9360

PostPosted: Wed Jan 27, 2016 12:49 am    Post subject: Reply with quote

This version is not in tree anymore. Please sync portage and try with latest stable version, unless you have a specific reason for using 10.2.8?
Back to top
View user's profile Send private message
helio
Apprentice
Apprentice


Joined: 08 Apr 2006
Posts: 237

PostPosted: Wed Jan 27, 2016 6:54 am    Post subject: Reply with quote

genstorm wrote:
This version is not in tree anymore. Please sync portage and try with latest stable version, unless you have a specific reason for using 10.2.8?


I haven't emerged the system for a while, and the emerge from the current portage tree has produced too many errors that are beyond fixing. That's why I have been trying to emerge from an earlier snapshot of portage tree, hence the specific reason for emerging the 10.2.8 version of mesa.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9360

PostPosted: Wed Jan 27, 2016 10:03 am    Post subject: Reply with quote

emerge --info please.
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 621
Location: France

PostPosted: Wed Jan 27, 2016 1:39 pm    Post subject: Reply with quote

You should try to resolve the emerge errors with your portage tree synced, rather than keeping obsolete ones. That will take some time now, but you'll save more later.
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