summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoranonimal2018-07-26 04:40:31 +0000
committeranonimal2018-07-26 04:45:43 +0000
commitac0da4939ea49d1323417643facf345f5d403c87 (patch)
treed3390daecaf8ffa18cccb0dd27ace1681159334a /PKGBUILD
parentde532aafa8dcd8e653b9e0c09119644d8c9fd3cc (diff)
downloadaur-ac0da4939ea49d1323417643facf345f5d403c87.tar.gz
PKGBUILD: don't build with clang
SIGSEGV with clang on Arch Linux only, not reproducible with gcc. clang version 6.0.1 (tags/RELEASE_601/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Thread 12 "kovri" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffeaffd700 (LWP 9695)] 0x00005555556d8103 in ?? () (gdb) bt #0 0x00005555556d8103 in ?? () #1 0x0000555555719244 in ?? () #2 0x000055555566e8ed in ?? () #3 0x00005555556d2ee9 in ?? () #4 0x00005555556f4319 in ?? () #5 0x00005555556f3d66 in boost::asio::detail::scheduler::run(boost::system::error_code&) () #6 0x000055555566b00c in ?? () #7 0x00007ffff6125d4f in execute_native_thread_routine () at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80 #8 0x00007ffff63fb075 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007ffff57fa53f in clone () from /usr/lib/libc.so.6 (gdb)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 65264506ca3..3e8ab865cb2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@
pkgname=('kovri')
# AUR's stupid pkgver convention prevents hypens
pkgver=0.1.0_alpha_rc2
-pkgrel=1
+pkgrel=2
pkgdesc="Official package for Kovri: a free, decentralized, anonymity technology developed by Monero"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://getkovri.org/"
license=('custom:BSD-3')
depends=('boost-libs')
-makedepends=('git' 'cmake' 'boost' 'openssl' 'clang')
+makedepends=('git' 'cmake' 'boost' 'openssl')
provides=('kovri')
conflicts=('kovri-git')
source=("${pkgname}"::"git+https://github.com/monero-project/kovri#tag=v${pkgver//_/-}")
@@ -23,7 +23,7 @@ prepare()
build()
{
cd "${srcdir}/${pkgname}"
- make CC=clang CXX=clang++ release
+ make release
}
# TODO(anonimal): hack. We should supply env options to `make install`