<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - make fails without C_INCLUDE_PATH: xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or directory"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61919#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - make fails without C_INCLUDE_PATH: xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or directory"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61919">bug 61919</a>
              from <span class="vcard"><a class="email" href="mailto:Knut_Petersen@t-online.de" title="Knut Petersen <Knut_Petersen@t-online.de>"> <span class="fn">Knut Petersen</span></a>
</span></b>
        <pre>I also bisected the build failure with the same result.

The problem is that with 35189d768bf80fdedbb6e70f49215cc8b734f343 old
X11 header files from /usr/include/X11 are used, correct would be
/home/knut/fast/xorg/usr/include/X11 according to my setup. So a build
might fail on one system but succeed on other systems.



gmake[4]: Entering directory
`/home/knut/fast/xorg/mesa/mesa/src/egl/drivers/glx'
  CC     egl_glx.lo
/bin/sh ../../../../libtool --silent --tag=CC   --mode=compile /usr/bin/cc
-DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.2.0\"
-DPACKAGE_STRING=\"Mesa\ 9.2.0\"
-DPACKAGE_BUGREPORT=\"<a href="https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa</a>\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.2.0\" -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_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I.    -I../../../../include
-I../../../../src/egl/main  -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_X86_ASM
-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN
-DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE
-DHAVE_LIBUDEV -DHAVE_LLVM=0x0300 -H -O3 -D MULTITOUCH -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp  -c -o egl_glx.lo egl_glx.c
. /usr/include/stdlib.h
.. /usr/include/features.h
... /usr/include/sys/cdefs.h
.... /usr/include/bits/wordsize.h
... /usr/include/gnu/stubs.h
.... /usr/include/bits/wordsize.h
.... /usr/include/gnu/stubs-32.h
.. /usr/lib/gcc/i586-suse-linux/4.6/include/stddef.h
.. /usr/include/bits/waitflags.h
.. /usr/include/bits/waitstatus.h
... /usr/include/endian.h
.... /usr/include/bits/endian.h
.... /usr/include/bits/byteswap.h
.. /usr/include/xlocale.h
.. /usr/include/sys/types.h
... /usr/include/bits/types.h
.... /usr/include/bits/wordsize.h
.... /usr/include/bits/typesizes.h
... /usr/include/time.h
... /usr/lib/gcc/i586-suse-linux/4.6/include/stddef.h
... /usr/include/sys/select.h
.... /usr/include/bits/select.h
.... /usr/include/bits/sigset.h
.... /usr/include/time.h
.... /usr/include/bits/time.h
... /usr/include/sys/sysmacros.h
... /usr/include/bits/pthreadtypes.h
.. /usr/include/alloca.h
... /usr/lib/gcc/i586-suse-linux/4.6/include/stddef.h
. /usr/include/string.h
.. /usr/lib/gcc/i586-suse-linux/4.6/include/stddef.h
.. /usr/include/bits/string.h
.. /usr/include/bits/string2.h
. /usr/include/X11/Xlib.h
[...]</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>