View previous topic :: View next topic |
Author |
Message |
helio Apprentice

Joined: 08 Apr 2006 Posts: 237
|
Posted: Wed Jan 27, 2016 12:47 am Post subject: media-libs/mesa-10.2.8::gentoo failed (compile phase) |
|
|
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 |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9360
|
Posted: Wed Jan 27, 2016 12:49 am Post subject: |
|
|
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 |
|
 |
helio Apprentice

Joined: 08 Apr 2006 Posts: 237
|
Posted: Wed Jan 27, 2016 6:54 am Post subject: |
|
|
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 |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9360
|
Posted: Wed Jan 27, 2016 10:03 am Post subject: |
|
|
emerge --info please. |
|
Back to top |
|
 |
Syl20 l33t


Joined: 04 Aug 2005 Posts: 621 Location: France
|
Posted: Wed Jan 27, 2016 1:39 pm Post subject: |
|
|
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 |
|
 |
|