You are not logged in.

#1 2019-11-18 12:50:42

marcog_12
Member
Registered: 2019-11-18
Posts: 4

Can't install libc++abi package from AUR

As the title suggests, I can't install libc++abi from AUR. When i run makepkg -si, this is what I get:


[marco@Marco-ArchLinux libc++]$ makepkg -si
==> Making package: libc++ 9.0.0-1 (Mon 18 Nov 2019 11:29:05 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for marco: 
resolving dependencies...
looking for conflicting packages...

Packages (1) ninja-1.9.0-1

Total Installed Size:  0.31 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                          [##################################################################################] 100%
(1/1) checking package integrity                                                                                                        [##################################################################################] 100%
(1/1) loading package files                                                                                                             [##################################################################################] 100%
(1/1) checking for file conflicts                                                                                                       [##################################################################################] 100%
(1/1) checking available disk space                                                                                                     [##################################################################################] 100%
:: Processing package changes...
(1/1) installing ninja                                                                                                                  [##################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Downloading llvm-9.0.0.src.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 31.4M  100 31.4M    0     0  1653k      0  0:00:19  0:00:19 --:--:-- 1135k
  -> Downloading llvm-9.0.0.src.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   566  100   566    0     0   2080      0 --:--:-- --:--:-- --:--:--  2080
  -> Downloading libcxx-9.0.0.src.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1771k  100 1771k    0     0   704k      0  0:00:02  0:00:02 --:--:--  704k
  -> Downloading libcxx-9.0.0.src.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   566  100   566    0     0   2237      0 --:--:-- --:--:-- --:--:--  2237
  -> Downloading libcxxabi-9.0.0.src.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  539k  100  539k    0     0   725k      0 --:--:-- --:--:-- --:--:--  724k
  -> Downloading libcxxabi-9.0.0.src.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   566  100   566    0     0   1594      0 --:--:-- --:--:-- --:--:--  1594
==> Validating source files with sha512sums...
    llvm-9.0.0.src.tar.xz ... Passed
    llvm-9.0.0.src.tar.xz.sig ... Skipped
    libcxx-9.0.0.src.tar.xz ... Passed
    libcxx-9.0.0.src.tar.xz.sig ... Skipped
    libcxxabi-9.0.0.src.tar.xz ... Passed
    libcxxabi-9.0.0.src.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    llvm-9.0.0.src.tar.xz ... Passed
    libcxx-9.0.0.src.tar.xz ... Passed
    libcxxabi-9.0.0.src.tar.xz ... Passed
==> Extracting sources...
==> Starting prepare()...
==> Starting build()...
-- The C compiler identification is Clang 9.0.0
-- The CXX compiler identification is Clang 9.0.0
-- The ASM compiler identification is Clang
-- Found assembler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Performing Test LLVM_LIBSTDCXX_MIN
-- Performing Test LLVM_LIBSTDCXX_MIN - Success
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for compress2 in z
-- Looking for compress2 in z - found
-- Looking for el_init in edit
-- Looking for el_init in edit - found
-- Looking for setupterm in terminfo
-- Looking for setupterm in terminfo - not found
-- Looking for setupterm in tinfo
-- Looking for setupterm in tinfo - found
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.9") 
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for lseek64
-- Looking for lseek64 - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - not found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Ninja version: 1.9.0
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Performing Test CXX_SUPPORTS_CXX_STD
-- Performing Test CXX_SUPPORTS_CXX_STD - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Found PythonInterp: /usr/bin/python (found version "3.8") 
-- Constructing LLVMBuild project information
-- Found Git: /usr/bin/git (found version "2.24.0") 
-- Linker detection: GNU ld
-- Targeting AArch64
-- Targeting AMDGPU
-- Targeting ARM
-- Targeting BPF
-- Targeting Hexagon
-- Targeting Lanai
-- Targeting Mips
-- Targeting MSP430
-- Targeting NVPTX
-- Targeting PowerPC
-- Targeting RISCV
-- Targeting Sparc
-- Targeting SystemZ
-- Targeting WebAssembly
-- Targeting X86
-- Targeting XCore
-- Looking for fopen in c
-- Looking for fopen in c - found
-- Looking for __gcc_personality_v0 in gcc_s
-- Looking for __gcc_personality_v0 in gcc_s - found
-- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG
-- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG - Success
-- Performing Test LIBCXXABI_HAS_COMMENT_LIB_PRAGMA
-- Performing Test LIBCXXABI_HAS_COMMENT_LIB_PRAGMA - Success
-- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG
-- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG - Success
-- Looking for dladdr in dl
-- Looking for dladdr in dl - found
-- Looking for pthread_once in pthread
-- Looking for pthread_once in pthread - found
-- Looking for __cxa_thread_atexit_impl in c
-- Looking for __cxa_thread_atexit_impl in c - found
-- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_W_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_W_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG - Failed
-- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG - Failed
-- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG - Success
-- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG
-- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG - Success
-- Linker detection: GNU ld
-- Looking for fopen in c
-- Looking for fopen in c - found
-- Looking for __gcc_personality_v0 in gcc_s
-- Looking for __gcc_personality_v0 in gcc_s - found
-- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG
-- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG - Success
-- Performing Test LIBCXX_HAS_COMMENT_LIB_PRAGMA
-- Performing Test LIBCXX_HAS_COMMENT_LIB_PRAGMA - Success
-- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB - Failed
-- Looking for __atomic_fetch_add_8 in atomic
-- Looking for __atomic_fetch_add_8 in atomic - found
-- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB
-- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB - Failed
CMake Warning at projects/libcxx/cmake/Modules/CheckLibcxxAtomic.cmake:51 (message):
  Host compiler must support std::atomic!
Call Stack (most recent call first):
  projects/libcxx/cmake/config-ix.cmake:76 (include)
  projects/libcxx/CMakeLists.txt:485 (include)


-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for ccos in m
-- Looking for ccos in m - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG - Failed
-- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG
-- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WALL_FLAG
-- Performing Test LIBCXX_SUPPORTS_WALL_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG
-- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_W_FLAG
-- Performing Test LIBCXX_SUPPORTS_W_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG
-- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG
-- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG
-- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG
-- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG
-- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG
-- Performing Test LIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test LIBCXX_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG
-- Performing Test LIBCXX_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG
-- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG
-- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG - Failed
-- Performing Test LIBCXX_SUPPORTS_ZL_FLAG
-- Performing Test LIBCXX_SUPPORTS_ZL_FLAG - Failed
-- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG
-- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG - Failed
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG - Success
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG - Success
-- Adding Benchmark: algorithms.bench.cpp
-- Adding Benchmark: algorithms.partition_point.bench.cpp
-- Adding Benchmark: filesystem.bench.cpp
-- Adding Benchmark: function.bench.cpp
-- Adding Benchmark: ordered_set.bench.cpp
-- Adding Benchmark: string.bench.cpp
-- Adding Benchmark: stringstream.bench.cpp
-- Adding Benchmark: unordered_set_operations.bench.cpp
-- Adding Benchmark: util_smartptr.bench.cpp
-- Adding Benchmark: vector_operations.bench.cpp
-- Linker detection: GNU ld
-- Linker detection: GNU ld
-- LLVM FileCheck Found: /usr/bin/FileCheck
-- Version: 0.0.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/marco/Build/libc++(1)/libc++/src/build
[5/274] Copying C++ ABI header cxxabi.h...
FAILED: projects/libcxx/include/c++build/cxxabi.h 
cd "/home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx" && /usr/bin/cmake -E copy_if_different /home/marco/Build/libc++(1)/libc++/src/llvm/projects/libcxxabi/include/cxxabi.h /home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx/include/c++build//cxxabi.h
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx" && /usr/bin/cmake -E copy_if_different /home/marco/Build/libc++(1)/libc++/src/llvm/projects/libcxxabi/include/cxxabi.h /home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx/include/c++build//cxxabi.h'
[6/274] Copying C++ ABI header cxxabi.h...
FAILED: include/c++/v1/cxxabi.h 
cd "/home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx" && /usr/bin/cmake -E copy_if_different /home/marco/Build/libc++(1)/libc++/src/llvm/projects/libcxxabi/include/cxxabi.h /home/marco/Build/libc++(1)/libc++/src/build/include/c++/v1//cxxabi.h
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx" && /usr/bin/cmake -E copy_if_different /home/marco/Build/libc++(1)/libc++/src/llvm/projects/libcxxabi/include/cxxabi.h /home/marco/Build/libc++(1)/libc++/src/build/include/c++/v1//cxxabi.h'
[7/274] Copying C++ ABI header __cxxabi_config.h...
FAILED: projects/libcxx/include/c++build/__cxxabi_config.h 
cd "/home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx" && /usr/bin/cmake -E copy_if_different /home/marco/Build/libc++(1)/libc++/src/llvm/projects/libcxxabi/include/__cxxabi_config.h /home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx/include/c++build//__cxxabi_config.h
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx" && /usr/bin/cmake -E copy_if_different /home/marco/Build/libc++(1)/libc++/src/llvm/projects/libcxxabi/include/__cxxabi_config.h /home/marco/Build/libc++(1)/libc++/src/build/projects/libcxx/include/c++build//__cxxabi_config.h'
[22/274] Building CXX object projects/libcxxabi/src/CMakeFiles/cxxabi_shared.dir/cxa_demangle.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
[marco@Marco-ArchLinux libc++]$

Any suggestions?

Offline

#2 2019-11-18 13:17:02

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,467

Re: Can't install libc++abi package from AUR

Does it make  a difference if you add --cleanbuild  to the makepkg command ?


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2019-11-18 13:49:46

marcog_12
Member
Registered: 2019-11-18
Posts: 4

Re: Can't install libc++abi package from AUR

Does it make  a difference if you add --cleanbuild  to the makepkg command ?

I tried, this is the output (I'm posting only the last few lines):

==> Starting check()...
[0/2] Running libcxx tests
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/test/lit.cfg:45: note: Using configuration variant: libcxx
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:316: note: inferred use_system_cxx_lib as: None
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:343: note: inferred use_clang_verify as: True
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:354: note: enabling thread-safety annotations
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py:534: note: inferred language dialect as: c++2a
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:67: warning: The locale fr_FR.UTF-8 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:67: warning: The locale ru_RU.UTF-8 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:67: warning: The locale zh_CN.UTF-8 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:67: warning: The locale fr_CA.ISO8859-1 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py:67: warning: The locale cs_CZ.ISO8859-2 is not supported by your platform. Some tests will be unsupported.
llvm-lit: /home/marco/Build/libc++/src/llvm/utils/lit/lit/TestingConfig.py:100: fatal: unable to parse config file '/home/marco/Build/libc++/src/llvm/projects/libcxx/test/lit.cfg', traceback: Traceback (most recent call last):
  File "/home/marco/Build/libc++/src/llvm/utils/lit/lit/TestingConfig.py", line 89, in load_from_path
    exec(compile(data, path, 'exec'), cfg_globals, None)
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/test/lit.cfg", line 52, in <module>
    configuration.configure()
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py", line 155, in configure
    self.configure_features()
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py", line 389, in configure_features
    self.target_info.add_locale_features(self.config.available_features)
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py", line 211, in add_locale_features
    name = self.platform_name()
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py", line 195, in platform_name
    name, _, _ = platform.linux_distribution()
AttributeError: module 'platform' has no attribute 'linux_distribution'

FAILED: projects/libcxx/test/CMakeFiles/check-cxx 
cd /home/marco/Build/libc++/src/build/projects/libcxx/test && /usr/bin/python /home/marco/Build/libc++/src/build/./bin/llvm-lit -sv /home/marco/Build/libc++/src/build/projects/libcxx/test
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().
    Aborting...
[marco@Marco-ArchLinux libc++]$

Offline

#4 2019-11-18 14:04:06

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,467

Re: Can't install libc++abi package from AUR

You are getting much further now.

Looks like it's trying to use bundled LIT , it may be that has problems with the recent change to python 3.8 .
Let's try to get it to use the systemwide LIT .

edit the PKGBUILD and add

-DLLVM_EXTERNAL_LIT=/usr/bin/lit \

just above the "$srcdir"/llvm line .

Then run again with --cleanbuild added .

NOTE:
This package builds several binaries, you may not need all of them.
I suggest you omit the -i flag from makepkg commandline atleast for now.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2019-11-18 14:20:46

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 2,864

Re: Can't install libc++abi package from AUR

Moving to AUR issues.

Offline

#6 2019-11-18 14:34:45

a821
Member
From: My Location
Registered: 2012-10-31
Posts: 150

Re: Can't install libc++abi package from AUR

marcog_12 wrote:
...
AttributeError: module 'platform' has no attribute 'linux_distribution'

See https://aur.archlinux.org/packages/libc … ent-716381.

Offline

#7 2019-11-19 09:34:37

marcog_12
Member
Registered: 2019-11-18
Posts: 4

Re: Can't install libc++abi package from AUR

So we have to wait for the package to be fixed, right?

Anyway, I tried what was suggested by Lone_Wolf. I run makepkg -s after editing PKGBUILD file, the output is:

  File "/usr/lib/python3.8/site-packages/lit/TestingConfig.py", line 89, in load_from_path
    exec(compile(data, path, 'exec'), cfg_globals, None)
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/test/lit.cfg", line 52, in <module>
    configuration.configure()
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py", line 155, in configure
    self.configure_features()
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/config.py", line 389, in configure_features
    self.target_info.add_locale_features(self.config.available_features)
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py", line 211, in add_locale_features
    name = self.platform_name()
  File "/home/marco/Build/libc++/src/llvm/projects/libcxx/utils/libcxx/test/target_info.py", line 195, in platform_name
    name, _, _ = platform.linux_distribution()
AttributeError: module 'platform' has no attribute 'linux_distribution'

FAILED: projects/libcxx/test/CMakeFiles/check-cxx 
cd /home/marco/Build/libc++/src/build/projects/libcxx/test && /usr/bin/python /usr/bin/lit -sv /home/marco/Build/libc++/src/build/projects/libcxx/test
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().
    Aborting...
[marco@Marco-ArchLinux libc++]$ 

Offline

#8 2019-11-19 10:08:31

a821
Member
From: My Location
Registered: 2012-10-31
Posts: 150

Re: Can't install libc++abi package from AUR

As a quick-and-dirty workaround, you can skip the checks (makepkg flag `--nocheck`, yes, not ideal, and it works in my computer(TM)). Perhaps this could be reported upstream??

Offline

#9 2019-11-19 11:52:56

marcog_12
Member
Registered: 2019-11-18
Posts: 4

Re: Can't install libc++abi package from AUR

As a quick-and-dirty workaround, you can skip the checks (makepkg flag `--nocheck`, yes, not ideal, and it works in my computer(TM)).

Yeah, it worked for me also.
Thanks everyone!

Offline

Board footer

Powered by FluxBB