<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - meson/ninja build missing file gtest.h"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106131">106131</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>meson/ninja build missing file gtest.h
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>baker.dylan.c@gmail.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bug0xa3d2@hushmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Building with a recent git of mesa the meson/ninja can't find file gtest.h:

[1270/1278] Compiling C++ object
'src/mesa/state_tracker/tests/mesa_st_test_common@sta/st_tests_common.cpp.o'.
FAILED:
src/mesa/state_tracker/tests/mesa_st_test_common@sta/st_tests_common.cpp.o 
ccache c++  -Isrc/mesa/state_tracker/tests/mesa_st_test_common@sta
-Isrc/mesa/state_tracker/tests -I../src/mesa/state_tracker/tests
-Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I../src/gallium/include
-Isrc/mesa -I../src/mesa -Isrc/mapi -I../src/mapi -Isrc -I../src
-Isrc/../include -I../src/../include -Isrc/compiler -fdiagnostics-color=always
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11
-O3 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
'-DVERSION="18.1.0-devel"' -DPACKAGE_VERSION=VERSION
'-DPACKAGE_BUGREPORT="<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>"'
-DTEXTURE_FLOAT_ENABLED -DGLX_USE_TLS -DHAVE_ST_VDPAU
-DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM
-DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32
-DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL
-DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS
-DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL
-DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST
-DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC
-DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK
-DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED
-DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_VISIBILITY
-DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -D_GNU_SOURCE
-DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS
-DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_STRTOF
-DHAVE_MKOSTEMP -DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE
-DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD
-DHAVE_LIBDRM -DHAVE_LLVM=0x0700 -DMESA_LLVM_VERSION_PATCH=0
-DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS
-DHAVE_LIBSENSORS=1 -Wall -fno-math-errno -fno-trapping-math
-Wno-non-virtual-dtor -O2 -march=native -fPIC -fvisibility-inlines-hidden -fPIC
-pthread -MD -MQ
'src/mesa/state_tracker/tests/mesa_st_test_common@sta/st_tests_common.cpp.o'
-MF
'src/mesa/state_tracker/tests/mesa_st_test_common@sta/st_tests_common.cpp.o.d'
-o 'src/mesa/state_tracker/tests/mesa_st_test_common@sta/st_tests_common.cpp.o'
-c ../src/mesa/state_tracker/tests/st_tests_common.cpp
In file included from ../src/mesa/state_tracker/tests/st_tests_common.cpp:24:0:
../src/mesa/state_tracker/tests/st_tests_common.h:28:10: fatal error:
gtest/gtest.h: No such file or directory
 #include <gtest/gtest.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

________

Side question: Is the patch
"1-2-bin-install_megadrivers-fix-DESTDIR-and--D--path.patch" from
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR"
   href="show_bug.cgi?id=105567">https://bugs.freedesktop.org/show_bug.cgi?id=105567</a> going to be pushed to mesa
git one day?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>