Package Base Details: libc++

Git Clone URL: https://aur.archlinux.org/libc++.git (read-only, click to copy)
Submitter: WoefulDerelict
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 248
Popularity: 2.15
First Submitted: 2017-02-04 16:09
Last Updated: 2020-05-07 18:42

Pinned Comments

eschwartz commented on 2019-01-21 03:57

PSA: Due to repeated abuse, this package is now a ZERO-TOLERANCE ZONE for rules violations.

Hi people, sorry for the interruption if you're the majority of users just innocently doing your thing, if so, feel free to just move on. For the rest of you, this is your final reminder regarding the following points, which shall now be grounds for having your account suspended:

  • Thou shalt not complain about makepkg's validpgpkeys feature.

  • Thou shalt not complain about makepkg's check() feature.

  • Thou shalt not under any circumstances ever insult the maintainer for implementing said features.

This package is doing the correct thing, and there has been a great deal of pointless moaning and whining about it despite the pinned comments explaining why these complaints are not only null and void, but also ridiculous because they can already be disabled. This nagging stops now.

The banhammer is ready and waiting in case you still want to ignore all this on top of the Trusted User warning(s).

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]

Anonymous comment on 2017-04-30 09:57

Just adding this to say that yes the keys are the valid LLVM sign keys.
See
1. http://releases.llvm.org/download.html and
2. http://releases.llvm.org/4.0.0/hans-gpg-key.asc

Or just use `gpg --recv-keys 345AD05D` to import it.

WoefulDerelict commented on 2017-04-04 15:00

pointhi: Quite. I am totally asleep at the wheel on this update. Fixing it presently and will have the revised PKGBUILD live soon. Apologies for the derp, it is like I forgot how to build this. I blame lib32-qt4 >.>;

pointhi commented on 2017-04-04 08:53

It seems you also need to include __cxxabi_config.h:

/usr/bin/../include/c++/v1/cxxabi.h:21:10: fatal error: '__cxxabi_config.h' file not found

WoefulDerelict commented on 2017-04-03 15:19

sharivegas: The keys in the PKGBUILD are labeled as to which release versions are signed with which key. If one plans to track, build and use this package at each release fetching both keys would be prudent.

pointhi: Changes in make install for 4.0 resulted in cxxabi.h not being included in the finished package. I've included it as part of libc++abi in the latest release of this PKGBUILD. Thanks for spotting and reporting the issue.

pointhi commented on 2017-04-03 13:44

cxxabi.h is missing in the installer package

sharivegas commented on 2017-03-26 11:54

It may say that the latter of the two keys failed. Retrieve both keys in the PKGBUILD, and it'll verify properly.

That was not fun to fight with.

WoefulDerelict commented on 2017-03-06 16:34

andrewchen: I have a feeling that may come back to bite other users in the future. Thanks for reporting it back here.

andrewchen commented on 2017-03-06 07:05

@WoefulDerelict: Thanks. I found the issue. The error is due to building with the debug option enabled: the default DEBUG_CFLAGS (in makepkg.conf) includes -fvar-tracking-assignments, but the option is not supported by clang.

WoefulDerelict commented on 2017-03-05 12:41

andrewchen: Your system is failing to pass a basic check of of the compiler before the build even begins. This is most definitely not a packaging issue. This is not something I can reproduce and is way beyond the scope of maintaining the PKGBUILD.

You need to figure out why clang isn't working properly and the test is failing with that error. Checking the log file mentioned in the output would be a good place to start. There is plenty of fine documentation to reference and the Arch Linux community is available for support via forums and IRC. Fair warning: the IRC community does not like pastebin as it is blocked for some of them and commits a litany of sins. There are plenty of alternatives that won't aggravate the community to choose from.

andrewchen commented on 2017-03-05 08:05

I am getting this compile error: clang-3.9: error: unknown argument: '-fvar-tracking-assignments'

Full output: http://pastebin.com/1kjvCWz3