Package Details: openfhe-development-git 1.3.1.r0.g3236208-1

Git Clone URL: https://aur.archlinux.org/openfhe-development-git.git (read-only, click to copy)
Package Base: openfhe-development-git
Description: Open-Source Fully Homomorphic Encryption Library
Upstream URL: https://www.openfhe.org/
Licenses: BSD
Conflicts: openfhe, openfhe-development
Provides: openfhe, openfhe-development
Submitter: ObserverOfTime
Maintainer: ObserverOfTime
Last Packager: ObserverOfTime
Votes: 0
Popularity: 0.000000
First Submitted: 2023-04-19 08:32 (UTC)
Last Updated: 2025-08-16 07:58 (UTC)

Latest Comments

caos21 commented on 2026-02-03 16:28 (UTC) (edited on 2026-02-03 16:30 (UTC) by caos21)

I had to modify PKGBUILD line 41 to export CXXFLAGS="${CXXFLAGS} -Wno-error=odr -Wno-error=free-nonheap-object" To avoid warnings as errors:

[ 67%] Built target binfhe_tests
In member function ‘deallocate’,
    inlined from ‘deallocate’ at /usr/include/c++/15.2.1/bits/alloc_traits.h:649:23,
    inlined from ‘_M_deallocate’ at /usr/include/c++/15.2.1/bits/stl_vector.h:396:19,
    inlined from ‘_M_deallocate’ at /usr/include/c++/15.2.1/bits/stl_vector.h:392:7,
    inlined from ‘__dt_base ’ at /usr/include/c++/15.2.1/bits/stl_vector.h:375:15,
    inlined from ‘__dt_base ’ at /usr/include/c++/15.2.1/bits/stl_vector.h:805:7,
    inlined from ‘setCryptoContextParamsOverrides’ at /usr/src/debug/openfhe-development-git/openfhe-development/src/pke/unittest/utils/BaseTestCase.h:120:72:
/usr/include/c++/15.2.1/bits/new_allocator.h:172:66: error: ‘operator delete’ called on pointer ‘__result’ with nonzero offset 32 [-Werror=free-nonheap-object]
172 |         _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
    |                                                                  ^
/usr/src/debug/openfhe-development-git/openfhe-development/src/pke/unittest/utils/BaseTestCase.h: In member function ‘setCryptoContextParamsOverrides’:
/usr/src/debug/openfhe-development-git/openfhe-development/src/pke/unittest/utils/BaseTestCase.h:118:12: note: declared here
[ 80%] Built target core_tests
lto1: all warnings being treated as errors
make[4]: *** [/tmp/ccS9PMxJ.mk:84: /tmp/ccvbtJc9.ltrans41.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [src/pke/CMakeFiles/pke_tests.dir/build.make:669: unittest/pke_tests] Error 1
make[2]: *** [CMakeFiles/Makefile2:756: src/pke/CMakeFiles/pke_tests.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:391: CMakeFiles/testall.dir/rule] Error 2
make: *** [Makefile:222: testall] Error 2
==> ERROR: A failure occurred in check().
    Aborting...