<html>
    <head>
      <base href="https://bugs.llvm.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 - tools/llvm-elfabi/preserve-dates-stub.test fails on Windows"
   href="https://bugs.llvm.org/show_bug.cgi?id=48917">48917</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>tools/llvm-elfabi/preserve-dates-stub.test fails on Windows
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>48902
          </td>
        </tr></table>
      <p>
        <div>
        <pre>See discussion on <a href="https://reviews.llvm.org/D92902">https://reviews.llvm.org/D92902</a> which introduced the problem.

On my machine it fails as below. It appears 'touch' does not like the date for
whatever reason. This means I'm not able to build 12.0.0-rc1.



********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test (39967 of 42071)
******************** TEST 'LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test'
FAILED ********************
Script:
--
: 'RUN: at line 3';   llvm-elfabi --elf
c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so
--emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
: 'RUN: at line 4';   touch -m -t 197001010000
c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
: 'RUN: at line 5';   llvm-elfabi --elf
c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so
--emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
--write-if-changed
: 'RUN: at line 6';   ls -l
c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
| c:\src\llvm_package_1200-rc1\build32_stage0\bin\filecheck.exe
--allow-unused-prefixes=false
c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi\preserve-dates-tbe.test
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 3"
$ "llvm-elfabi" "--elf"
"c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so"
"--emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp"
$ ":" "RUN: at line 4"
$ "touch" "-m" "-t" "197001010000"
"c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp"
# command stderr:
touch: invalid date format `197001010000'

error: command failed with exit status: 1

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (2):
  LLVM :: tools/llvm-elfabi/preserve-dates-stub.test
  LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 12.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=48902">Bug 48902</a>] [meta] 12.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

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

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>