Package Details: libc++abi 6.0.0-1

Git Clone URL: (read-only)
Package Base: libc++
Description: Low level support for the LLVM C++ standard library.
Upstream URL:
Licenses: MIT, custom:University of Illinois/NCSA Open Source License
Submitter: WoefulDerelict
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 159
Popularity: 18.308484
First Submitted: 2017-02-04 16:09
Last Updated: 2018-03-21 04:20

Pinned Comments

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 developer's located here:

Instructions on importing keys from a keyserver and how to automate the retrieval process can be found in the Arch Linux wiki here: 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. []

Latest Comments

Morganamilo commented on 2018-06-15 01:48

Read the pinned comment.

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

jerome2016 commented on 2018-06-15 01:32

pacaur --nocheck -S libc++ FAILED (without nocheck for test pass, ad with --nocheck for "faile to parse JSON")

i read you all, but i definitely not understand what i'm supposed to do for install/update libc++ (and libc++abi next).

Is it possible to have a better help on this please ?

wookietreiber commented on 2018-06-14 08:16

There is a problem with the tests I ran into. During one of the compilations during testing, the linker failed. The reason for this failure was, that I have enabled link time optimization (LTO) in /etc/makepkg.conf. I was able to resolve this by completely removing LTO from the build in PKGBUILD. Here is the diff:

diff --git a/PKGBUILD b/PKGBUILD
index d3b70cb..a9e33ca 100644
@@ -28,6 +28,10 @@ validpgpkeys=(# Tom Stellard <> (.1 releases)

+export CFLAGS="${CFLAGS/-flto/}"
+export CXXFLAGS="${CXXFLAGS/-flto/}"
+export LDFLAGS="${LDFLAGS/-flto/}"
 prepare() {
   [[ -d llvm ]] || mkdir llvm
   bsdtar --strip-components 1 --uid 0 --gid 0 -zxf \

nolche commented on 2018-06-13 11:31

Could not compile cuz tests fail:

Failing Tests (23):
    libc++ :: std/experimental/filesystem/class.directory_iterator/directory_iterator.members/ctor.pass.cpp
    libc++ :: std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp
    libc++ :: std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.exists/exists.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_other/is_other.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.remove/remove.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.status/status.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
    libc++ :: std/experimental/filesystem/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp

Expected Passes    : 5723
Expected Failures  : 8
Unsupported Tests  : 120
Unexpected Failures: 23

4 warning(s) in tests.
FAILED: projects/libcxx/test/CMakeFiles/check-cxx
cd /mnt/data/sources/libc++/src/build/projects/libcxx/test && /usr/bin/python2.7 /mnt/data/sources/libc++/src/build/./bin/llvm-lit -sv /mnt/data/sources/lib$
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().

Build it with --nocheck option for makepkg:

makepkg -sri --nocheck

Iusildra commented on 2018-06-12 09:55

I can't compile libc++, because of errors during the check() phase. 3 tests failed with exit code: -6

Failing Tests (3): libc++ :: std/localization/locale.categories/category.monetary/

libc++ :: std/localization/locale.categories/category.monetary/

libc++ :: std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp

And I did have this written, before the beginning of the tests: llvm-lit: /home/lucas/libc++/src/llvm/projects/libcxx/utils/libcxx/test/ warning: The locale zh_CN.UTF-8 is not supported by your platform. Some tests will be unsupported.

llvm-lit: /home/lucas/libc++/src/llvm/projects/libcxx/utils/libcxx/test/ warning: The locale fr_CA.ISO8859-1 is not supported by your platform. Some tests will be unsupported.

llvm-lit: /home/lucas/libc++/src/llvm/projects/libcxx/utils/libcxx/test/ warning: The locale cs_CZ.ISO8859-2 is not supported by your platform. Some tests will be unsupported.

I have manjaro-kde as OS

PS: sorry for the code's format, I don't know how to use the code input

buzo commented on 2018-06-12 08:20

Just stating «not working» does not help at all. I'm getting this error message:

ERROR: One or more PGP signatures could not be verified!

reber commented on 2018-06-12 08:20

With french locale setup I got an error :

FAILED: projects/libcxx/test/CMakeFiles/check-cxx cd /tmp/yaourt-tmp/aur-libc++/src/build/projects/libcxx/test && /usr/bin/python2.7 /tmp/yaourt-tmp/aur-libc++/src/build/./bin/llvm-lit -sv /tmp/yaourt-tmp/aur-libc++/src/build/projects/libcxx/test ninja: build stopped: subcommand failed. ==> ERREUR : Une erreur s’est produite dans check().

I just changed /etc/locale.gen to en_US.UTF-8 UTF-8 then compile and all went fine.

jemadux commented on 2018-06-09 21:37

not working

arlion-dev commented on 2018-04-30 22:20

@Morganamilo Thank you very much with "--nocheck" flag that works !

Morganamilo commented on 2018-04-30 20:34

I don't really know but the encoding thing makes me think you might have messed up locale settings.

If its just the tests that fault you could try skip them and see if the package builds okay.

All comments