Package Details: libc++ 5.0.0-1

Git Clone URL: https://aur.archlinux.org/libc++.git (read-only)
Package Base: libc++
Description: A new implementation of the C++ standard library, targeting C++11.
Upstream URL: http://libcxx.llvm.org/
Licenses: MIT, custom:University of Illinois/NCSA Open Source License
Submitter: WoefulDerelict
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 75
Popularity: 13.284655
First Submitted: 2017-02-04 16:09
Last Updated: 2017-10-07 14:28

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: 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>

Latest Comments

madaramost commented on 2017-10-13 16:13

1- Download package snapshot right above box.
2- extract it and cd to folder.
3- makepkg -si
enjoy!!

cybrid commented on 2017-10-07 02:41

The upstream URL seems to be going down on a semi-regular basis lately, getting cannot resolve host errors when trying to install.

godofgrunts commented on 2017-10-04 12:28

Okay, I fixed my issue by changing line 51 from

"CC=clang CXX=clang++ cmake \"

to

"CC=gcc CXX=g++ cmake \"

See https://bbs.archlinux.org/viewtopic.php?pid=1740128

godofgrunts commented on 2017-10-03 23:29

I keep failing with:

clang-5.0: error: unknown argument: '-mprefer-avx128'

clang-5.0: error: unknown argument: '-mvzeroupper'

My google-fu must be bad today because I can't find anything on this.

clang --version
clang version 5.0.0 (tags/RELEASE_500/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

ThisguyEX commented on 2017-10-02 02:40

I can makepkg as a non-root user successfully after gpg --recv-key B6C8F98282B944E3B0D5C2530FC3042E345AD05D but when trying to install the packages created as root I get errors about invalid or corrupt PGP keys which persist after performing the above command on both relevant keys as root and even after editing them and setting their trust level to full.

chendaniely commented on 2017-09-13 20:58

@RobotUnderscore: it'll work if you run:

`gpg --recv-keys B6C8F98282B944E3B0D5C2530FC3042E345AD05D`

kaketa commented on 2017-09-10 21:50

The second key works for me -> B6C8F98282B944E3B0D5C2530FC3042E345AD05D

RobotUnderscore commented on 2017-09-10 18:44

Why do I keep getting PGP key errors whenever I try updating from version 4.0.1-1 to 5.0.1-1?

==> Validating source files with sha512sums...
llvm-5.0.0.src.tar.xz ... Passed
llvm-5.0.0.src.tar.xz.sig ... Skipped
libcxx-5.0.0.src.tar.xz ... Passed
libcxx-5.0.0.src.tar.xz.sig ... Skipped
libcxxabi-5.0.0.src.tar.xz ... Passed
libcxxabi-5.0.0.src.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
llvm-5.0.0.src.tar.xz ... FAILED (unknown public key 0FC3042E345AD05D)
libcxx-5.0.0.src.tar.xz ... FAILED (unknown public key 0FC3042E345AD05D)
libcxxabi-5.0.0.src.tar.xz ... FAILED (unknown public key 0FC3042E345AD05D)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build libc++.

piekay commented on 2017-09-08 00:42

In file included from /tmp/yaourt-tmp-arch/aur-libc++/src/llvm/projects/libcxx/include/ios:216:
/tmp/yaourt-tmp-arch/aur-libc++/src/llvm/projects/libcxx/include/__locale:39:11: fatal error:
'xlocale.h' file not found
# include <xlocale.h>
^~~~~~~~~~~
1 error generated.
make[3]: *** [projects/libcxx/lib/CMakeFiles/cxx_objects.dir/build.make:63: projects/libcxx/lib/CMakeFiles/cxx_objects.dir/__/src/algorithm.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:14174: projects/libcxx/lib/CMakeFiles/cxx_objects.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:14257: projects/libcxx/lib/CMakeFiles/cxx.dir/rule] Error 2
make: *** [Makefile:4203: cxx] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build libc++.

fix this by running ln -s /usr/include/locale.h /usr/include/xlocale.h

Wyn commented on 2017-09-07 08:03

In file included from /tmp/yaourt-tmp-arch/aur-libc++/src/llvm/projects/libcxx/include/ios:216:
/tmp/yaourt-tmp-arch/aur-libc++/src/llvm/projects/libcxx/include/__locale:39:11: fatal error:
'xlocale.h' file not found
# include <xlocale.h>
^~~~~~~~~~~
1 error generated.
make[3]: *** [projects/libcxx/lib/CMakeFiles/cxx_objects.dir/build.make:63: projects/libcxx/lib/CMakeFiles/cxx_objects.dir/__/src/algorithm.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:14174: projects/libcxx/lib/CMakeFiles/cxx_objects.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:14257: projects/libcxx/lib/CMakeFiles/cxx.dir/rule] Error 2
make: *** [Makefile:4203: cxx] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build libc++.

All comments