[Mesa-dev] [Bug 89260] macros.h:34:25: fatal error: util/u_math.h: No such file or directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 23 06:41:23 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89260

Kai <kai at dev.carbon-project.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression
                 CC|                            |kai at dev.carbon-project.org

--- Comment #3 from Kai <kai at dev.carbon-project.org> ---
I'M seeing the same FTBFS with current Git master's HEAD (050bf75c8b). My last
successful build was 6c34fd20be.

The failing log shows:
> libtool: compile:  gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.6.0-devel\" "-DPACKAGE_STRING=\"Mesa 10.6.0-devel\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.6.0-devel\" -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___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -
 DHAVE_PTHREAD=1 -DHAVE_SHA1_IN_LIBGCRYPT=1 -I. -I../../../../../../src/mesa/drivers/osmesa -I../../../../../../include -I../../../../../../src -I../../../../../../src/mapi -I../../../../src/mapi -I../../../../../../src/mesa/ -DUSE_EXTERNAL_DXTN_LIB=1 -D_GNU_SOURCE -DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_STRTOF -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE -DHAVE_LLVM=0x0307 -DLLVM_VERSION_PATCH=0 -D_FORTIFY_SOURCE=2 -pthread -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -march=native -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -MT osmesa.lo -MD -MP -MF .deps/osmesa.Tpo -c ../../../../../../src/mesa/drivers/osmesa/osmesa.c  -fPIC -DPIC -o .libs/osmesa.o
> In file included from ../../../../../../src/mesa/drivers/osmesa/osmesa.c:44:0:
> ../../../../../../src/mesa/main/macros.h:34:25: fatal error: util/u_math.h: No such file or directory

And, indeed, Fabio's guess from comment #2 seems to be pointing in the right
direction, reverting 41b1882ed45f0fcb827a178cb3f7143fcaa8c4d9 gives me a
different, but related FTBFS:
> In file included from ../../../../src/mesa/main/core.h:45:0,
>                  from ../../../../src/glsl/nir/../program.h:25,
>                  from ../../../../src/glsl/nir/nir_lower_samplers.cpp:27:
> ../../../../src/mesa/main/macros.h:258:1: error: expected unqualified-id before 'do'
>  do {                                \
>  ^
> ../../../../src/gallium/auxiliary/util/u_math.h:895:31: note: in expansion of macro 'COPY_4V'
>  #define COPY_4FV( DST, SRC )  COPY_4V(DST, SRC)
>                                ^
> ../../../../src/mesa/main/macros.h:279:1: note: in expansion of macro 'COPY_4FV'
>  COPY_4FV(GLfloat dst[4], const GLfloat src[4])
>  ^
> ../../../../src/mesa/main/macros.h:263:3: error: expected unqualified-id before 'while'
>  } while (0)
>    ^
> ../../../../src/gallium/auxiliary/util/u_math.h:895:31: note: in expansion of macro 'COPY_4V'
>  #define COPY_4FV( DST, SRC )  COPY_4V(DST, SRC)
>                                ^
> ../../../../src/mesa/main/macros.h:279:1: note: in expansion of macro 'COPY_4FV'
>  COPY_4FV(GLfloat dst[4], const GLfloat src[4])
>  ^
> Makefile:1668: recipe for target 'nir/nir_lower_samplers.lo' failed

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150223/973008ad/attachment-0001.html>


More information about the mesa-dev mailing list