Package Details: libc++experimental 6.0.1-1

Git Clone URL: https://aur.archlinux.org/libc++.git (read-only)
Package Base: libc++
Description: LLVM C++ experimental 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: 173
Popularity: 14.301125
First Submitted: 2017-02-04 16:09
Last Updated: 2018-07-11 23:09

Pinned Comments

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 assumes a POSIX compliant build environment. Failure to provide a POSIX compliant locale as instructed in the installation guide [https://wiki.archlinux.org/index.php/installation_guide#Localization] will cause issues with some of the tests.

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>

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 »

dpriedel commented on 2018-08-12 18:40

SOLVED. Building against the latest clang-6.0.1-3 packages works.

I'm having a problem building this library. I get most of the way through the build then this error pops up:

[56/59] Linking CXX static library lib/libc++.a FAILED: lib/libc++.a : && /usr/bin/cmake -E remove lib/libc++.a && /usr/bin/ar qc lib/libc++.a projects/libcxx/lib/CMakeFiles/cxx_objects.dir//src/algorithm.cpp.o projects/libcxx/lib/CMakeFiles/cxx_objects.dir//src/any.cpp.o

[snip]

projects/libcxx/lib/CMakeFiles/cxx_objects.dir//src/valarray.cpp.o projects/libcxx/lib/CMakeFiles/cxx_objects.dir//src/variant.cpp.o projects/libcxx/lib/CMakeFiles/cxx_objects.dir/__/src/vector.cpp.o && /usr/bin/ranlib lib/libc++.a && : : CommandLine Error: Option 'asm-instrumentation' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options [57/59] Linking CXX shared library lib/libc++.so.1.0 ninja: build stopped: subcommand failed.

I can't find where this is controlled from.

Thanks for any help.

Dave R.

maxlefou commented on 2018-08-05 13:14

Simple question: Is this package eventually available in any unofficial user repository? I'm getting tired of either using --nocheck or wait almost 2 hours to get it to fail in the end... :/

Morganamilo commented on 2018-08-03 21:55

@Kibouo Trizen does not work with split packages.

Kibouo commented on 2018-08-03 21:46

Unable to install package. All tests pass but it fails due to dependency error. Any tips?

Error: installing libc++abi (6.0.1-1) breaks dependency 'libc++abi=6.0.0-1' required by libc++

Full output: https://hastebin.com/kagivikehu.diff

Current versions: local/libc++ 6.0.0-1 & local/libc++abi 6.0.0-1

CaioVdMM commented on 2018-07-21 18:40

Finally I was able to install this package, what I did was to run "yaourt -S libc ++" and at that time it gave me key error showing the key that could not be verified. Then I ran the command "gpg --recv-keys [e the key that was shown in the error] " So the error has gone and i has able to install the package

sorry for my english, i'm brazilian

SupKurtJ commented on 2018-07-21 14:14

I know why I can't import the keys using gpg.

I use systemd-networkd and systemd-resolved services.

However, it is a common practise to store DNS resolver information in /etc/resolv.conf, and many applications still rely on /etc/resolv.conf. Thus for compatibility reason, we have to create a symlink to /etc/resolv.conf as follows.

sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

And now if we try to execute gpg --recv-keys 474E22316ABF4785A88C6E8EA2C794A986419D8A it work fine.

SupKurtJ commented on 2018-07-21 12:56

Thank you for your answers WoefulDerelict. For everybody the install command to solve every problems is this :

MAKEPKG="makepkg --skippgpcheck --nocheck" yaourt -S libc++

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 assumes a POSIX compliant build environment. Failure to provide a POSIX compliant locale as instructed in the installation guide [https://wiki.archlinux.org/index.php/installation_guide#Localization] will cause issues with some of the tests.

WoefulDerelict commented on 2018-07-21 11:28

SupKurtJ: As has already been mentioned earlier, AUR helpers are not supported. yaourt conducts the build in /tmp which is volatile and resides entirely in memory by default [https://wiki.archlinux.org/index.php/tmpfs]

The libc++ test suite has some memory heavy functions which users have already noted can cause issues when using yaourt on systems with limited memory. This is not an issue when building with makepkg. You can pass --nocheck to makepkg in order to skip the test suite as noted in the pinned post.

gauoni commented on 2018-07-21 09:52

Hi!!!

Compiled test failed unexpectedly for me too...