<html>
    <head>
      <base href="http://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 --- - get_monthname check fails on Fedora 21"
   href="http://llvm.org/bugs/show_bug.cgi?id=22176">22176</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>get_monthname check fails on Fedora 21
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </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>All Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>majerech.o@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Running make check-libcxx on trunk version of libc++ on Fedora 21 produces the
following two failures. The installed version of glibc is 2.20-5.fc21.

$ make check-libcxx
[  0%] Built target cxxabi
[100%] Built target cxx
[100%] Running libcxx tests
Using configuration variant: libcxx
lit.py: config.py:437: note: inferred target_triple as:
'x86_64-unknown-linux-gnu'
lit.py: config.py:160: note: inferred use_system_lib as: False
lit.py: config.py:169: note: inferred use_clang_verify as: False
lit.py: config.py:257: note: inferred long_tests as: True
lit.py: config.py:69: note: Using compile flags: ['-std=c++11', '-nostdinc++',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/test/support',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/include',
'-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS',
'-v']
lit.py: config.py:70: note: Using link flags: ['-nodefaultlibs',
'-L/home/oxyd/development/llvm/llvm/build/lib',
'-Wl,-rpath,/home/oxyd/development/llvm/llvm/build/lib', '-lc++', '-lc++abi',
'-lgcc_eh', '-lc', '-lm', '-lpthread', '-lrt', '-lgcc_s']
lit.py: config.py:73: note: Using available_features: ['fedora-21',
'locale.fr_CA.ISO8859-1', 'fedora', 'locale.cs_CZ.ISO8859-2', 'clang',
'locale.fr_FR.UTF-8', 'locale.en_US.UTF-8', 'long_tests', 'clang-3.6', 'c++11',
'exceptions', 'rtti', 'locale.zh_CN.UTF-8', 'locale.ru_RU.UTF-8']
FAIL: libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
(2336 of 4791)
******************** TEST 'libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp'
FAILED ********************
Compiled With:
['/home/oxyd/development/llvm/build/Release+Asserts/bin/clang++', '-o',
'/tmp/tmpPDzMAFexe', '/tmp/tmph7SLA9.o', '-std=c++11', '-nostdinc++',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/test/support',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/include',
'-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS',
'-v', '-nodefaultlibs', '-L/home/oxyd/development/llvm/llvm/build/lib',
'-Wl,-rpath,/home/oxyd/development/llvm/llvm/build/lib', '-lc++', '-lc++abi',
'-lgcc_eh', '-lc', '-lm', '-lpthread', '-lrt', '-lgcc_s']
Command: ['/tmp/tmpPDzMAFexe']
Exit Code: -6
Standard Error:
--
tmpPDzMAFexe:
/home/oxyd/development/llvm/llvm/projects/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp:78:
int main(): Assertion `i.base() == in+sizeof(in)/sizeof(in[0])-1' failed.
--

Compiled test failed unexpectedly!
********************
FAIL: libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp
(2337 of 4791)
******************** TEST 'libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp'
FAILED ********************
Compiled With:
['/home/oxyd/development/llvm/build/Release+Asserts/bin/clang++', '-o',
'/tmp/tmpdag4uUexe', '/tmp/tmpUCFK9r.o', '-std=c++11', '-nostdinc++',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/test/support',
'-I/home/oxyd/development/llvm/llvm/projects/libcxx/include',
'-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS',
'-v', '-nodefaultlibs', '-L/home/oxyd/development/llvm/llvm/build/lib',
'-Wl,-rpath,/home/oxyd/development/llvm/llvm/build/lib', '-lc++', '-lc++abi',
'-lgcc_eh', '-lc', '-lm', '-lpthread', '-lrt', '-lgcc_s']
Command: ['/tmp/tmpdag4uUexe']
Exit Code: -6
Standard Error:
--
tmpdag4uUexe:
/home/oxyd/development/llvm/llvm/projects/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp:87:
int main(): Assertion `i.base() == in+sizeof(in)/sizeof(in[0])-1' failed.
--

Compiled test failed unexpectedly!
********************
Testing Time: 446.33s
********************
Failing Tests (2):
    libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp
    libc++ ::
std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp

  Expected Passes    : 4751
  Expected Failures  : 38
  Unexpected Failures: 2
projects/libcxx/test/CMakeFiles/check-libcxx.dir/build.make:49: recipe for
target 'projects/libcxx/test/CMakeFiles/check-libcxx' failed
make[3]: *** [projects/libcxx/test/CMakeFiles/check-libcxx] Error 1
CMakeFiles/Makefile2:6770: recipe for target
'projects/libcxx/test/CMakeFiles/check-libcxx.dir/all' failed
make[2]: *** [projects/libcxx/test/CMakeFiles/check-libcxx.dir/all] Error 2
CMakeFiles/Makefile2:6778: recipe for target
'projects/libcxx/test/CMakeFiles/check-libcxx.dir/rule' failed
make[1]: *** [projects/libcxx/test/CMakeFiles/check-libcxx.dir/rule] Error 2
Makefile:1835: recipe for target 'check-libcxx' failed
make: *** [check-libcxx] Error 2

The following check suggests that Fedora 21's locale files use an unexpected
value for May in the ru_RU.UTF-8 locale:

$ LANG=ru_RU.UTF-8 date +'%b %B' -d 2015-05-01
май Май</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>