<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - OpenMP: message-converter.pl does wrong assumptions about lsb-release and fails on Gentoo"
   href="https://llvm.org/bugs/show_bug.cgi?id=25975">25975</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>OpenMP: message-converter.pl does wrong assumptions about lsb-release and fails on Gentoo
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>OpenMP
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Runtime Library
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ make
[  2%] Generating kmp_i18n_id.inc
message-converter.pl: (x) /etc/lsb-release: There is no DISTRIB_RELEASE:
message-converter.pl: (x) DISTRIB_ID="Gentoo"
message-converter.pl: (x) (eof)
Compilation failed in require at /tmp/openmp/runtime/tools/lib/Platform.pm line
30.
BEGIN failed--compilation aborted at /tmp/openmp/runtime/tools/lib/Platform.pm
line 30.
Compilation failed in require at /tmp/openmp/runtime/tools/message-converter.pl
line 24.
BEGIN failed--compilation aborted at
/tmp/openmp/runtime/tools/message-converter.pl line 24.
runtime/src/CMakeFiles/libomp-needed-headers.dir/build.make:62: recipe for
target 'runtime/src/kmp_i18n_id.inc' failed


Long story short, runtime/tools/lib/Uname.pm wrongfully assumes
/etc/lsb-release is going to contain a specific set of useful information. More
specifically:

1. if LSB_VERSION is missing, the script must not assume anything specific
about the file since it's not compliant,

2. even if it is there, all the checked keys are *optional*.

So, the script must not really refuse a system just because lsb-release doesn't
match what Ubuntu uses. Relying on that goes completely against the spirit of
LSB.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>