<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/99633>99633</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            fpathconf.cpp: `fatal error: 'llvm-libc-types/struct_statvfs.h' file not found`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            build-problem,
            libc
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sylvestre
      </td>
    </tr>
</table>

<pre>
    on linux ubuntu mantic amd64/arm64

https://llvm-jenkins.debian.net/job/llvm-toolchain-mantic-binaries/architecture=arm64,distribution=mantic,label=arm64/555/consoleFull

```
FAILED: libc/src/unistd/linux/CMakeFiles/libc.src.unistd.linux.fpathconf.dir/fpathconf.cpp.o
/build/source/build-llvm/./bin/clang++ --target=aarch64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_19_0_0_ -I/build/source/libc -isystem /build/source/build-llvm/runtimes/runtimes-bins/libc/include -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/source/build-llvm/runtimes/runtimes-bins=../../../ -fdebug-prefix-map=/build/source/= -no-canonical-prefixes -ffile-prefix-map=/build/source/build-llvm/runtimes/runtimes-bins=../../../ -ffile-prefix-map=/build/source/= -no-canonical-prefixes -O3 -DNDEBUG -std=gnu++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffixed-point -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -MD -MT libc/src/unistd/linux/CMakeFiles/libc.src.unistd.linux.fpathconf.dir/fpathconf.cpp.o -MF libc/src/unistd/linux/CMakeFiles/libc.src.unistd.linux.fpathconf.dir/fpathconf.cpp.o.d -o libc/src/unistd/linux/CMakeFiles/libc.src.unistd.linux.fpathconf.dir/fpathconf.cpp.o -c /build/source/libc/src/unistd/linux/fpathconf.cpp
In file included from /build/source/libc/src/unistd/linux/fpathconf.cpp:13:
/build/source/libc/src/sys/statvfs/linux/statfs_utils.h:12:10: fatal error: 'llvm-libc-types/struct_statvfs.h' file not found
   12 | #include "llvm-libc-types/struct_statvfs.h"
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8V91u4zoOfhr1RqARy02yvchFGteD4EynPfODYq8C2aIdzsiSVz9psxf77AvZybQd9Jwzu9jZonBsSvr4kSIpSnpPnUFcsfk1m5cXMoa9dSt_1Af0weFFbdVxZQ3XZOITj3U0IfJemkANl71aXDJRSdcvLtmsZLP19NyHMHhWrJmomKi0PvTwFc03Mj5TWJM0mcHARPXV1ufxYK1u9pIMTOBQk5GO0I_4zZ4CNiE6ZEU5qRMbRT44qmMga1hRTuuY2GhZo36eV83ncyaqxhpvNVZR65dU2WJ2-h8_q_X2_U3JijXXVDdMVN6lZzTkg0pckxuYqDa38htWpEd-aWrmXZNN07JxUtYOMuwba9pMkWOiev5uhiGz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