Package Details: libc++ 7.0.0-1

Git Clone URL: https://aur.archlinux.org/libc++.git (read-only)
Package Base: libc++
Description: LLVM C++ standard library.
Upstream URL: https://libcxx.llvm.org/
Licenses: MIT, custom:University of Illinois/NCSA Open Source License
Submitter: WoefulDerelict
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 191
Popularity: 17.269436
First Submitted: 2017-02-04 16:09
Last Updated: 2018-10-03 16:39

Pinned Comments

Alad commented on 2018-08-22 12:58

Holy shit guys. What's unclear about "AUR helpers are not supported"? Stop this incessant spam and learn how to use makepkg.

https://wiki.archlinux.org/index.php/Makepkg https://wiki.archlinux.org/index.php/Arch_User_Repository

Any comments on AUR helper issues will be deleted from now on. Repeat offenders will have their accounts suspended.

WoefulDerelict commented on 2018-07-21 11:45

If you experience issues when using an AUR helper please try again using makepkg. AUR helpers are not supported here. The AUR article in the ArchWiki documents the prerequisites and supported process. https://wiki.archlinux.org/index.php/Arch_User_Repository

The test suite contains tests for multiple locales including: en_US.UTF-8, fr_FR.UTF-8, ru_RU.UTF-8, zh_CN.UTF-8, fr_CA.ISO8859-1 and cs_CZ.ISO8859-2. If a locale isn't present on the system the related tests will be marked as unsupported and skipped.

If you encounter issues when building with makepkg please attempt to build this in a clean chroot using using the appropriate devtools script. The Arch Linux DeveloperWiki has an article focused around building packages in a clean chroot which contains information on the devtools scripts and explains the process of building in a clean chroot: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

There is an active community of users on IRC along with a vibrant Discord server and Forums should you require assistance.

Picking a fight with one of the Trusted Users is a terrible idea.

WoefulDerelict commented on 2017-02-05 03:42

This PKGBUILD verifies the authenticity of the source via PGP signatures which are not part of the Arch Linux keyring. In order to complete the process it is necessary to import the key(s) from the ‘validpgpkeys’ array into the user’s keyring before calling makepkg. There is a helpful article explaining this process by one of Arch Linux's developers located here: http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/

Instructions on importing keys from a keyserver and how to automate the retrieval process can be found in the Arch Linux wiki here: https://wiki.archlinux.org/index.php/GnuPG#Use_a_keyserver This article also contains helpful information describing the installation of GnuPG, its configuration and usage.

Execute the following to import keys using gpg:

gpg --recv-keys <KEYID - See 'validpgpkeys' array in PKGBUILD>

The PGP signature check can be skipped by passing --skippgpcheck to makepkg.

The libc++ test suite can be skipped by passing --nocheck to makepkg.

Consult the makepkg manual page for a full list of options. [https://www.archlinux.org/pacman/makepkg.8.html]

Latest Comments

1 2 3 4 5 6 ... Next › Last »

kwyjib0 commented on 2018-10-15 04:06

Thanks for uploading.

tzcrawford commented on 2018-10-10 22:50

WoefulDerelict: https://wiki.archlinux.org/index.php/Clang#Build_packages_with_Clang

WoefulDerelict commented on 2018-10-09 18:08

tzcrawford: The output you've submitted leads me to believe your problem is quite different from the issue Asgaroth encountered. Asgaroth encountered issues during check() as the test suite isn't compatible with mismatched versions of clang. Your issue is appearing much earlier in the process while cmake is attempting to configure things in build(). The output you've submitted leads me to believe that you have altered/customised the config files for the Arch Build System, adding an option which clang does not support. While I am able to reproduce the issues users have experienced when attempting to run the test suite against clang 6.0.1 and clang 8.0.0 I can not reproduce your issue.

Asgaroth: If you regularly work with the llvm-svn tools you can avoid modifying your host system by building the package in a clean chroot. The scripts in the devtools package greatly simplify the process, constructing an up to date chroot for you before building the package inside it. You can of course do this manually as well. See the pinned posts for a link to more information and instructions for both methods.

lesebas: Calling makepkg with -si is a simple and acceptable option. It does; however, install all three packages the PKGBUILD makes which you may not need. When installing libc++ with pacman you can include libc++abi in the same line and avoid installing libc++experimental as most users likely don't need that package. This looks something like the following with libc++ 7.0.0:

# pacman -U libc++abi-7.0.0-1-x86_64.pkg.tar.xz libc++-7.0.0-1-x86_64.pkg.tar.xz

lesebas commented on 2018-10-09 11:40

Hi... OK I was trying to build and install the package with makepkg + pacaman -U. A simple makepkg -si worked perfectly!

Asgaroth commented on 2018-10-09 08:11

WoefulDerelict: I downgraded llvm-svn and clang-8 to llvm-7 and clang-7 and the build went through successfully, thanks for the point in the right direction.

tzcrawford commented on 2018-10-08 23:58

I am having a similar problem to Asgaroth, I think, but I am using clang-7.0.0. I am failing during build.

/usr/bin/clang   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/Apps/libc++/libc++/src=/usr/src/debug -o CMakeFiles/cmTC_d4883.dir/testCCompiler.c.o   -c testCCompiler.c
clang-7: error: unknown argument: '-fvar-tracking-assignments'
ninja: build stopped: subcommand failed.




CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:50 (project)


-- Configuring incomplete, errors occurred!
See also "/Apps/libc++/libc++/src/build/CMakeFiles/CMakeOutput.log".
See also "/Apps/libc++/libc++/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().

WoefulDerelict commented on 2018-10-08 19:15

Asgaroth: The output you've submitted states that you're attempting to build and test libc++ 7.0.0 against clang 8.0.0. The libc++ 7.0.0 test suite is likely failing as clang 8.0.0 behaves differently than clang 7.0.0 producing an unexpected result. The LLVM ecosystem is tightly integrated. Testing against mismatched components will frequently result in errors. 7.0.0 is the current version of clang available in [Extra]. You could resolve the issue by building libc++ 7.0.0 against the current/matching release of clang in a clean chroot.

lesebas: libc++ is not a make dependency of libc++abi. This is a split package. The PKGBUILD constructs three packages: libc++, libc++abi and libc++experimental.

Asgaroth commented on 2018-10-08 15:00

Hi All,

I'm experiencing compilation failures when running the tests and I cannot see off-hand what the issue is here, is it an actual error in the code or is my compiler too new and being extra strict?

Here is a full log, any assistance would be appreciated:

AUR Packages  (2) libc++-7.0.0-1  libc++abi-7.0.0-1  

:: Proceed with installation? [Y/n] 
:: Retrieving package(s)...
:: libc++ build files are up-to-date -- skipping
:: Checking libc++,libc++abi integrity...
==> Making package: libc++ 7.0.0-1 (Mon 08 Oct 2018 15:51:09 IST)
==> Retrieving sources...
  -> Found llvm-7.0.0.src.tar.xz
  -> Found llvm-7.0.0.src.tar.xz.sig
  -> Found libcxx-7.0.0.src.tar.xz
  -> Found libcxx-7.0.0.src.tar.xz.sig
  -> Found libcxxabi-7.0.0.src.tar.xz
  -> Found libcxxabi-7.0.0.src.tar.xz.sig
==> Validating source files with sha512sums...
    llvm-7.0.0.src.tar.xz ... Passed
    llvm-7.0.0.src.tar.xz.sig ... Skipped
    libcxx-7.0.0.src.tar.xz ... Passed
    libcxx-7.0.0.src.tar.xz.sig ... Skipped
    libcxxabi-7.0.0.src.tar.xz ... Passed
    libcxxabi-7.0.0.src.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    llvm-7.0.0.src.tar.xz ... Passed
    libcxx-7.0.0.src.tar.xz ... Passed
    libcxxabi-7.0.0.src.tar.xz ... Passed
:: Preparing libc++,libc++abi...
==> Making package: libc++ 7.0.0-1 (Mon 08 Oct 2018 15:51:10 IST)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Found llvm-7.0.0.src.tar.xz
  -> Found llvm-7.0.0.src.tar.xz.sig
  -> Found libcxx-7.0.0.src.tar.xz
  -> Found libcxx-7.0.0.src.tar.xz.sig
  -> Found libcxxabi-7.0.0.src.tar.xz
  -> Found libcxxabi-7.0.0.src.tar.xz.sig
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
==> Starting prepare()...
==> Sources are ready.
:: Building libc++,libc++abi package(s)...
==> Making package: libc++ 7.0.0-1 (Mon 08 Oct 2018 15:51:15 IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
  The OLD behavior for policy CMP0051 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is Clang 8.0.0
-- The CXX compiler identification is Clang 8.0.0
-- The ASM compiler identification is unknown
-- Found assembler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Warning: Did not find file Compiler/-ASM
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings enabled.
-- OCaml bindings enabled.
-- Found Python module pygments
-- Found Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting X86
-- Targeting XCore
-- Linker detection: GNU ld
-- Linker detection: GNU ld
-- Configuring done
-- Generating done
-- Build files have been written to: /home/username/.cache/pacaur/libc++/src/build
ninja: no work to do.
==> Starting check()...
[0/1] Running libcxx tests
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/lit.cfg:45: note: Using configuration variant: libcxx
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:312: note: inferred use_system_cxx_lib as: None
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:318: note: inferred with_availability as: False
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:350: note: inferred use_clang_verify as: True
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:360: note: enabling thread-safety annotations
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:544: note: inferred language dialect as: c++2a
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:68: warning: The locale fr_FR.UTF-8 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:68: warning: The locale ru_RU.UTF-8 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:68: warning: The locale zh_CN.UTF-8 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:68: warning: The locale fr_CA.ISO8859-1 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:68: warning: The locale cs_CZ.ISO8859-2 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:441: note: inferred long_tests as: True
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:161: note: Using compiler: /usr/bin/clang++
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:162: note: Using flags: ['-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270']
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:167: note: Using compile flags: ['-Werror=thread-safety', '-std=c++2a', '-include', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include', '-I/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"']
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:169: note: Using warnings: ['-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror', '-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument', '-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions', '-Wno-user-defined-literals', '-Wno-noexcept-type', '-Wsign-compare', '-Wunused-variable', '-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion', '-Wno-unused-local-typedef']
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:170: note: Using link flags: ['-L/home/username/.cache/pacaur/libc++/src/build/./lib', '-Wl,-rpath,/home/username/.cache/pacaur/libc++/src/build/./lib', '-nodefaultlibs', '-lc++experimental', '-lc++fs', '-lc++', '-lm', '-lgcc_s', '-lgcc', '-lpthread', '-lrt', '-lc', '-lgcc_s', '-lgcc']
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:173: note: Using available_features: ['libc++', 'verify-support', 'libatomic', 'glibc-2', 'modules-support', 'linux', 'locale.en_US.UTF-8', 'diagnose-if-support', 'clang-8', 'long_tests', 'fdelayed-template-parsing', 'glibc-2.28', '-faligned-allocation', 'c++2a', 'c++filesystem', 'c++experimental', 'clang', 'clang-8.0', 'fsized-deallocation', 'fcoroutines-ts', 'thread-safety', 'glibc', 'c++fs']
llvm-lit: /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:178: note: Adding environment variables: {'LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT': '/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env'}
FAIL: libc++ :: libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp (253 of 5861)
******************** TEST 'libc++ :: libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp' FAILED ********************
Command: ['/usr/bin/clang++', '-o', '/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_lock_unlock.pass.cpp.o', '-x', 'c++', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp', '-c', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-Werror=thread-safety', '-std=c++2a', '-include', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include', '-I/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"', '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror', '-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument', '-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions', '-Wno-user-defined-literals', '-Wno-noexcept-type', '-Wsign-compare', '-Wunused-variable', '-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion', '-Wno-unused-local-typedef', '-c']
Exit Code: 1
Standard Error:
--
clang version 8.0.0 (trunk) (llvm/trunk 343805)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
 "/usr/bin/clang-8" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name thread_safety_lock_unlock.pass.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_lock_unlock.pass.cpp.gcno -nostdinc++ -resource-dir /usr/lib/clang/8.0.0 -include /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp -D _LIBCPP_DISABLE_AVAILABILITY -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include -I /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -D _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/8.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=thread-safety -Wall -Wextra -Werror -Wuser-defined-warnings -Wshadow -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-user-defined-literals -Wno-noexcept-type -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-conversion -Wno-unused-local-typedef -std=c++2a -fdeprecated-macro -fdebug-compilation-dir /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex -ftemplate-depth 270 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_lock_unlock.pass.cpp.o -x c++ /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include
 /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support
 /usr/local/include
 /usr/lib/clang/8.0.0/include
 /usr/include
End of search list.
In file included from /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp:22:
/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include/mutex:500:53: error: 'release_capability' attribute without capability arguments refers to 'this', but 'scoped_lock<_Mutex>' isn't annotated with 'capability' or 'scoped_lockable' attribute [-Werror,-Wthread-safety-attributes]
    ~scoped_lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability()) {__m_.unlock();}
                                                    ^
1 error generated.
--

Compilation failed unexpectedly!
********************
FAIL: libc++ :: libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp (256 of 5861)
******************** TEST 'libc++ :: libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp' FAILED ********************
Command: ['/usr/bin/clang++', '-o', '/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_lock_guard.pass.cpp.o', '-x', 'c++', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp', '-c', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-Werror=thread-safety', '-std=c++2a', '-include', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include', '-I/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"', '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror', '-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument', '-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions', '-Wno-user-defined-literals', '-Wno-noexcept-type', '-Wsign-compare', '-Wunused-variable', '-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion', '-Wno-unused-local-typedef', '-c']
Exit Code: 1
Standard Error:
--
clang version 8.0.0 (trunk) (llvm/trunk 343805)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
 "/usr/bin/clang-8" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name thread_safety_lock_guard.pass.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_lock_guard.pass.cpp.gcno -nostdinc++ -resource-dir /usr/lib/clang/8.0.0 -include /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp -D _LIBCPP_DISABLE_AVAILABILITY -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include -I /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -D _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/8.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=thread-safety -Wall -Wextra -Werror -Wuser-defined-warnings -Wshadow -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-user-defined-literals -Wno-noexcept-type -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-conversion -Wno-unused-local-typedef -std=c++2a -fdeprecated-macro -fdebug-compilation-dir /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex -ftemplate-depth 270 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_lock_guard.pass.cpp.o -x c++ /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include
 /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support
 /usr/local/include
 /usr/lib/clang/8.0.0/include
 /usr/include
End of search list.
In file included from /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp:22:
/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include/mutex:500:53: error: 'release_capability' attribute without capability arguments refers to 'this', but 'scoped_lock<_Mutex>' isn't annotated with 'capability' or 'scoped_lockable' attribute [-Werror,-Wthread-safety-attributes]
    ~scoped_lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability()) {__m_.unlock();}
                                                    ^
1 error generated.
--

Compilation failed unexpectedly!
********************
FAIL: libc++ :: libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp (261 of 5861)
******************** TEST 'libc++ :: libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp' FAILED ********************
Command: ['/usr/bin/clang++', '-o', '/dev/null', '-x', 'c++', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp', '-c', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-fsyntax-only', '-Xclang', '-verify', '-Xclang', '-verify-ignore-unexpected=note', '-ferror-limit=1024', '-Werror=thread-safety', '-std=c++2a', '-include', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include', '-I/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"', '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror', '-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument', '-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions', '-Wno-user-defined-literals', '-Wno-noexcept-type', '-Wsign-compare', '-Wunused-variable', '-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion', '-Wno-unused-local-typedef', '-Wno-error=user-defined-warnings', '-c']
Exit Code: 1
Standard Error:
--
clang version 8.0.0 (trunk) (llvm/trunk 343805)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
 "/usr/bin/clang-8" -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -disable-llvm-verifier -discard-value-names -main-file-name thread_safety_missing_unlock.fail.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -nostdinc++ -resource-dir /usr/lib/clang/8.0.0 -include /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp -D _LIBCPP_DISABLE_AVAILABILITY -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include -I /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -D _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/8.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=thread-safety -Wall -Wextra -Werror -Wuser-defined-warnings -Wshadow -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-user-defined-literals -Wno-noexcept-type -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-conversion -Wno-unused-local-typedef -Wno-error=user-defined-warnings -std=c++2a -fdeprecated-macro -fdebug-compilation-dir /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test -ftemplate-depth 270 -ferror-limit 1024 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -verify -verify-ignore-unexpected=note -x c++ /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include
 /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support
 /usr/local/include
 /usr/lib/clang/8.0.0/include
 /usr/include
End of search list.
error: 'error' diagnostics seen but not expected: 
  Line 500: 'release_capability' attribute without capability arguments refers to 'this', but 'scoped_lock<_Mutex>' isn't annotated with 'capability' or 'scoped_lockable' attribute
1 error generated.
--

Expected compilation using verify to pass!

********************
FAIL: libc++ :: libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp (262 of 5861)
******************** TEST 'libc++ :: libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp' FAILED ********************
Command: ['/usr/bin/clang++', '-o', '/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_requires_capability.pass.cpp.o', '-x', 'c++', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp', '-c', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-Werror=thread-safety', '-std=c++2a', '-include', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include', '-I/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"', '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror', '-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument', '-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions', '-Wno-user-defined-literals', '-Wno-noexcept-type', '-Wsign-compare', '-Wunused-variable', '-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion', '-Wno-unused-local-typedef', '-c']
Exit Code: 1
Standard Error:
--
clang version 8.0.0 (trunk) (llvm/trunk 343805)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
 "/usr/bin/clang-8" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name thread_safety_requires_capability.pass.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_requires_capability.pass.cpp.gcno -nostdinc++ -resource-dir /usr/lib/clang/8.0.0 -include /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp -D _LIBCPP_DISABLE_AVAILABILITY -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include -I /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -D _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/8.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=thread-safety -Wall -Wextra -Werror -Wuser-defined-warnings -Wshadow -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-user-defined-literals -Wno-noexcept-type -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-conversion -Wno-unused-local-typedef -std=c++2a -fdeprecated-macro -fdebug-compilation-dir /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex -ftemplate-depth 270 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/libcxx/thread/thread.mutex/Output/thread_safety_requires_capability.pass.cpp.o -x c++ /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include
 /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support
 /usr/local/include
 /usr/lib/clang/8.0.0/include
 /usr/include
End of search list.
In file included from /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp:22:
/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include/mutex:500:53: error: 'release_capability' attribute without capability arguments refers to 'this', but 'scoped_lock<_Mutex>' isn't annotated with 'capability' or 'scoped_lockable' attribute [-Werror,-Wthread-safety-attributes]
    ~scoped_lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability()) {__m_.unlock();}
                                                    ^
1 error generated.
--

Compilation failed unexpectedly!
********************
FAIL: libc++ :: std/utilities/variant/variant.variant/variant.status/index.pass.cpp (5840 of 5861)
******************** TEST 'libc++ :: std/utilities/variant/variant.variant/variant.status/index.pass.cpp' FAILED ********************
Command: ['/usr/bin/clang++', '-o', '/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/Output/index.pass.cpp.o', '-x', 'c++', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/index.pass.cpp', '-c', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-Werror=thread-safety', '-std=c++2a', '-include', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include', '-I/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"', '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror', '-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument', '-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions', '-Wno-user-defined-literals', '-Wno-noexcept-type', '-Wsign-compare', '-Wunused-variable', '-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion', '-Wno-unused-local-typedef', '-c']
Exit Code: 1
Standard Error:
--
clang version 8.0.0 (trunk) (llvm/trunk 343805)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
 "/usr/bin/clang-8" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name index.pass.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/Output/index.pass.cpp.gcno -nostdinc++ -resource-dir /usr/lib/clang/8.0.0 -include /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp -D _LIBCPP_DISABLE_AVAILABILITY -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include -I /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -D _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/8.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=thread-safety -Wall -Wextra -Werror -Wuser-defined-warnings -Wshadow -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-user-defined-literals -Wno-noexcept-type -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-conversion -Wno-unused-local-typedef -std=c++2a -fdeprecated-macro -fdebug-compilation-dir /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status -ftemplate-depth 270 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/Output/index.pass.cpp.o -x c++ /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/index.pass.cpp -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include
 /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support
 /usr/local/include
 /usr/lib/clang/8.0.0/include
 /usr/include
End of search list.
/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/index.pass.cpp:39:17: error: constexpr variable cannot have non-literal type 'const V' (aka 'const variant<int, ConstexprTestTypes::NoCtors>')
    constexpr V v;
                ^
/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include/variant:1303:39: note: 'variant<int, ConstexprTestTypes::NoCtors>' is not literal because it has data member '__impl' of non-literal type '__variant_detail::__impl<int, NoCtors>'
  __variant_detail::__impl<_Types...> __impl;
                                      ^
1 error generated.
--

Compilation failed unexpectedly!
********************
FAIL: libc++ :: std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp (5841 of 5861)
******************** TEST 'libc++ :: std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp' FAILED ********************
Command: ['/usr/bin/clang++', '-o', '/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/Output/valueless_by_exception.pass.cpp.o', '-x', 'c++', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp', '-c', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-Werror=thread-safety', '-std=c++2a', '-include', '/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include', '-I/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"', '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror', '-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument', '-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions', '-Wno-user-defined-literals', '-Wno-noexcept-type', '-Wsign-compare', '-Wunused-variable', '-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion', '-Wno-unused-local-typedef', '-c']
Exit Code: 1
Standard Error:
--
clang version 8.0.0 (trunk) (llvm/trunk 343805)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
 "/usr/bin/clang-8" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name valueless_by_exception.pass.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/Output/valueless_by_exception.pass.cpp.gcno -nostdinc++ -resource-dir /usr/lib/clang/8.0.0 -include /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/nasty_macros.hpp -D _LIBCPP_DISABLE_AVAILABILITY -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include -I /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -D _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/8.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Werror=thread-safety -Wall -Wextra -Werror -Wuser-defined-warnings -Wshadow -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-user-defined-literals -Wno-noexcept-type -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-conversion -Wno-unused-local-typedef -std=c++2a -fdeprecated-macro -fdebug-compilation-dir /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status -ftemplate-depth 270 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/Output/valueless_by_exception.pass.cpp.o -x c++ /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include
 /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/include/c++build
 /home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/support
 /usr/local/include
 /usr/lib/clang/8.0.0/include
 /usr/include
End of search list.
/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/test/std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp:39:17: error: constexpr variable cannot have non-literal type 'const V' (aka 'const variant<int, ConstexprTestTypes::NoCtors>')
    constexpr V v;
                ^
/home/username/.cache/pacaur/libc++/src/llvm/projects/libcxx/include/variant:1303:39: note: 'variant<int, ConstexprTestTypes::NoCtors>' is not literal because it has data member '__impl' of non-literal type '__variant_detail::__impl<int, NoCtors>'
  __variant_detail::__impl<_Types...> __impl;
                                      ^
1 error generated.
--

Compilation failed unexpectedly!
********************
Testing Time: 170.50s
********************
Failing Tests (6):
    libc++ :: libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp
    libc++ :: libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp
    libc++ :: libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp
    libc++ :: libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp
    libc++ :: std/utilities/variant/variant.variant/variant.status/index.pass.cpp
    libc++ :: std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp

  Expected Passes    : 5711
  Expected Failures  : 14
  Unsupported Tests  : 130
  Unexpected Failures: 6

5 warning(s) in tests.
FAILED: projects/libcxx/test/CMakeFiles/check-cxx 
cd /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test && /usr/bin/python2.7 /home/username/.cache/pacaur/libc++/src/build/./bin/llvm-lit -sv /home/username/.cache/pacaur/libc++/src/build/projects/libcxx/test
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().
    Aborting...
:: failed to build libc++,libc++abi package(s)

lesebas commented on 2018-10-06 16:35

I try to compile the package, by the way libc++abi is required at the installation :

résolution des dépendances… avertissement : impossible de résoudre « libc++abi=7.0.0-1 », une dépendance de « libc++ »

But libc++abi require libc++ as make dependency ?????

Morganamilo commented on 2018-10-04 16:00

Because nothing in the repos depend on it.