[package - 130i386-default][math/py-faiss] Failed for py38-faiss-1.7.2 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jan 2022 11:33:49 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: yuri@FreeBSD.org Log URL: http://beefy15.nyi.freebsd.org/data/130i386-default/a9f0602be17e/logs/py38-faiss-1.7.2.log Build URL: http://beefy15.nyi.freebsd.org/build.html?mastername=130i386-default&build=a9f0602be17e Log: =>> Building math/py-faiss build started at Thu Jan 20 11:33:15 UTC 2022 port directory: /usr/ports/math/py-faiss package name: py38-faiss-1.7.2 building for: FreeBSD 130i386-default-job-07 13.0-RELEASE-p6 FreeBSD 13.0-RELEASE-p6 i386 maintained by: yuri@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-21-g883afb07 Host OSVERSION: 1400008 Jail OSVERSION: 1300139 Job Id: 07 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300139 UNAME_v=FreeBSD 13.0-RELEASE-p6 UNAME_r=13.0-RELEASE-p6 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-21-g883afb07 MASTERMNT=/usr/local/poudriere/data/.m/130i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/130i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=130i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/130i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- yuri@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/math/py-faiss/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-faiss/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-faiss/work/.cache HOME=/wrkdirs/usr/ports/math/py-faiss/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-faiss/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- --MAKE_ENV-- NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/math/py-faiss/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-faiss/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-faiss/work/.cache HOME=/wrkdirs/usr/ports/math/py-faiss/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-faiss/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/math/py-faiss/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" B SD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.8 PYTHON_LIBDIR=lib/python3.8 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=lib/python3.8/site-packages PYTHON_SUFFIX=38 PYTHON_EXT_SUFFIX=.cpython-38 PYTHON_VER=3.8 PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/faiss" EXAMPLESDIR="share/examples/faiss" DATADIR="share/faiss" WWWDIR="www/faiss" ETCDIR="etc/faiss" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/faiss DOCSDIR=/usr/local/share/doc/faiss EXAMPLESDIR=/usr/local/share/examples/faiss WWWDIR=/usr/local/www/faiss ETCDIR=/usr/local/etc/faiss --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-RELEASE-p6 OSREL=13.0 OSVERSION=1300139 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License MIT accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> py38-faiss-1.7.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.17.5.pkg [130i386-default-job-07] Installing pkg-1.17.5... [130i386-default-job-07] Extracting pkg-1.17.5: .......... done ===> py38-faiss-1.7.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py38-faiss-1.7.2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by py38-faiss-1.7.2 for building =========================================================================== =======================<phase: checksum >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by py38-faiss-1.7.2 for building => SHA256 Checksum OK for facebookresearch-faiss-v1.7.2_GH0.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by py38-faiss-1.7.2 for building ===> Extracting for py38-faiss-1.7.2 => SHA256 Checksum OK for facebookresearch-faiss-v1.7.2_GH0.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for py38-faiss-1.7.2 =========================================================================== =======================<phase: build-depends >============================ ===> py38-faiss-1.7.2 depends on executable: swig - not found ===> Installing existing package /packages/All/swig-4.0.2.pkg [130i386-default-job-07] Installing swig-4.0.2... [130i386-default-job-07] `-- Installing pcre-8.45... [130i386-default-job-07] `-- Extracting pcre-8.45: .......... done [130i386-default-job-07] Extracting swig-4.0.2: .......... done ===> py38-faiss-1.7.2 depends on executable: swig - found ===> Returning to build of py38-faiss-1.7.2 ===> py38-faiss-1.7.2 depends on package: py38-numpy>=1.16,1<1.21,1 - not found ===> Installing existing package /packages/All/py38-numpy-1.20.3,1.pkg [130i386-default-job-07] Installing py38-numpy-1.20.3,1... [130i386-default-job-07] `-- Installing gcc10-10.3.0... [130i386-default-job-07] | `-- Installing binutils-2.37_2,1... [130i386-default-job-07] | | `-- Installing gettext-runtime-0.21... <snip> =========================================================================== =======================<phase: lib-depends >============================ ===> py38-faiss-1.7.2 depends on shared library: libfaiss.so - not found ===> Installing existing package /packages/All/faiss-1.7.2.pkg [130i386-default-job-07] Installing faiss-1.7.2... [130i386-default-job-07] Extracting faiss-1.7.2: .......... done ===> py38-faiss-1.7.2 depends on shared library: libfaiss.so - found (/usr/local/lib/libfaiss.so) ===> Returning to build of py38-faiss-1.7.2 =========================================================================== =======================<phase: configure >============================ ===> Configuring for py38-faiss-1.7.2 ===> Performing out-of-source build /bin/mkdir -p /wrkdirs/usr/ports/math/py-faiss/work/.build -- The CXX compiler identification is Clang 11.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found SWIG: /usr/local/bin/swig (found version "4.0.2") found components: python -- Found OpenMP_CXX: -fopenmp=libomp (found version "5.0") -- Found OpenMP: TRUE (found version "5.0") -- Found Python: /usr/local/include/python3.8 (found version "3.8.12") found components: Development NumPy Interpreter Development.Module Development.Embed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BOOST_PYTHON_SUFFIX CMAKE_COLOR_MAKEFILE CMAKE_C_COMPILER CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS CMAKE_VERBOSE_MAKEFILE Python_ADDITIONAL_VERSIONS THREADS_HAVE_PTHREAD_ARG -- Build files have been written to: /wrkdirs/usr/ports/math/py-faiss/work/.build =========================================================================== =======================<phase: build >============================ ===> Building for py38-faiss-1.7.2 [ 20% 1/5] /usr/bin/c++ -I/wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../.. -I/usr/local/include/python3.8 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -std=gnu++11 -MD -MT CMakeFiles/faiss_python_callbacks.dir/python_callbacks.cpp.o -MF CMakeFiles/faiss_python_callbacks.dir/python_callbacks.cpp.o.d -o CMakeFiles/faiss_python_callbacks.dir/python_callbacks.cpp.o -c /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/python_callbacks.cpp [ 40% 2/5] : && /usr/local/bin/cmake -E rm -f libfaiss_python_callbacks.a && /usr/bin/llvm-ar qc libfaiss_python_callbacks.a CMakeFiles/faiss_python_callbacks.dir/python_callbacks.cpp.o && /usr/bin/llvm-ranlib libfaiss_python_callbacks.a && : [ 60% 3/5] cd /wrkdirs/usr/ports/math/py-faiss/work/.build && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir /wrkdirs/usr/ports/math/py-faiss/work/.build /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir && /usr/local/bin/cmake -E env SWIG_LIB=/usr/local/share/swig/4.0.2 /usr/local/bin/swig -python -I/wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../.. -I/usr/local/include -I/usr/local/include/python3.8 -I/usr/local/lib/python3.8/site-packages/numpy/core/include -doxygen -DSWIGWORDSIZE64 -outdir /wrkdirs/usr/ports/math/py-faiss/work/.build -c++ -interface _swigfaiss -o /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/swigfaiss.swig [ 80% 4/5] /usr/bin/c++ -Dswigfaiss_EXPORTS -I/wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../.. -isystem /usr/local/include/python3.8 -isystem /usr/local/lib/python3.8/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -fopenmp=libomp -std=gnu++11 -MD -MT CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o -MF CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o.d -o CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o -c /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx FAILED: CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o /usr/bin/c++ -Dswigfaiss_EXPORTS -I/wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../.. -isystem /usr/local/include/python3.8 -isystem /usr/local/lib/python3.8/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -fopenmp=libomp -std=gnu++11 -MD -MT CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o -MF CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o.d -o CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o -c /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:1780:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, /* tp_print */ ^ /usr/local/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /usr/local/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:1947:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, /* tp_print */ ^ /usr/local/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /usr/local/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:3152:3: error: "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32" # error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32" ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:8324:20: error: non-const lvalue reference to type 'vector<long long, allocator<long long>>' cannot bind to a value of unrelated type 'vector<long, allocator<long>>' (arg1)->swap(*arg2); ^~~~~ /usr/include/c++/v1/vector:782:22: note: passing argument to parameter here void swap(vector&) ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:10028:20: error: non-const lvalue reference to type 'vector<unsigned long long, allocator<unsigned long long>>' cannot bind to a value of unrelated type 'vector<unsigned long, allocator<unsigned long>>' (arg1)->swap(*arg2); ^~~~~ /usr/include/c++/v1/vector:782:22: note: passing argument to parameter here void swap(vector&) ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:17235:63: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' result = (size_t)faiss::ranklist_intersection_size(arg1,(long const *)arg2,arg3,(long const *)arg4); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/utils.h:88:24: note: passing argument to parameter 'v1' here const int64_t* v1, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:17336:75: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' result = (size_t)faiss::merge_result_table_with(arg1,arg2,arg3,arg4,(long const *)arg5,(float const *)arg6,arg7,arg8); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/utils.h:105:24: note: passing argument to parameter 'I1' here const int64_t* I1, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:17429:75: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' result = (size_t)faiss::merge_result_table_with(arg1,arg2,arg3,arg4,(long const *)arg5,(float const *)arg6,arg7); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/utils.h:105:24: note: passing argument to parameter 'I1' here const int64_t* I1, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:17514:75: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' result = (size_t)faiss::merge_result_table_with(arg1,arg2,arg3,arg4,(long const *)arg5,(float const *)arg6); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/utils.h:105:24: note: passing argument to parameter 'I1' here const int64_t* I1, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:17720:24: error: no matching function for call to 'imbalance_factor' result = (double)faiss::imbalance_factor(arg1,arg2,(long const *)arg3); ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/utils.h:111:8: note: candidate function not viable: no known conversion from 'const long *' to 'const int64_t *' (aka 'const long long *') for 3rd argument double imbalance_factor(int n, int k, const int64_t* assign); ^ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/utils.h:114:8: note: candidate function not viable: requires 2 arguments, but 3 were provided double imbalance_factor(int k, const int* hist); ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:20388:86: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' faiss::fvec_inner_products_by_idx(arg1,(float const *)arg2,(float const *)arg3,(long const *)arg4,arg5,arg6,arg7); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/distances.h:143:24: note: passing argument to parameter 'ids' here const int64_t* ids, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:20481:77: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' faiss::fvec_L2sqr_by_idx(arg1,(float const *)arg2,(float const *)arg3,(long const *)arg4,arg5,arg6,arg7); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/distances.h:153:24: note: passing argument to parameter 'ids' here const int64_t* ids, /* ids of y vecs */ ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:20574:67: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' faiss::pairwise_indexed_L2sqr(arg1,arg2,(float const *)arg3,(long const *)arg4,(float const *)arg5,(long const *)arg6,arg7); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/distances.h:170:24: note: passing argument to parameter 'ix' here const int64_t* ix, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:20667:75: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' faiss::pairwise_indexed_inner_product(arg1,arg2,(float const *)arg3,(long const *)arg4,(float const *)arg5,(long const *)arg6,arg7); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/distances.h:180:24: note: passing argument to parameter 'ix' here const int64_t* ix, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:21210:80: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' faiss::knn_inner_products_by_idx((float const *)arg1,(float const *)arg2,(long const *)arg3,arg4,arg5,arg6,arg7); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/distances.h:233:24: note: passing argument to parameter 'ids' here const int64_t* ids, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:21303:71: error: cannot initialize a parameter of type 'const int64_t *' (aka 'const long long *') with an rvalue of type 'const long *' faiss::knn_L2sqr_by_idx((float const *)arg1,(float const *)arg2,(long const *)arg3,arg4,arg5,arg6,arg7); ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/distances.h:242:24: note: passing argument to parameter 'ids' here const int64_t* ids, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:38795:82: error: cannot initialize a parameter of type 'const uint64_t *' (aka 'const unsigned long long *') with an rvalue of type 'const unsigned long *' faiss::beam_search_encode_step_tab(arg1,arg2,arg3,(float const *)arg4,arg5,(unsigned long const *)arg6,(float const *)arg7,arg8,(float const *)arg9,arg10,(int const *)arg11,(float const *)arg12,arg13,arg14,arg15); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/impl/ResidualQuantizer.h:177:25: note: passing argument to parameter 'codebook_offsets' here const uint64_t* codebook_offsets, // m ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:148727:27: error: incompatible pointer types assigning to 'faiss::HeapArray<faiss::CMin<float, long long>>::TI *' (aka 'long long *') from 'faiss::HeapArray<faiss::CMin<float, long>>::TI *' (aka 'long *') if (arg1) (arg1)->ids = arg2; ^~~~ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:149280:93: error: cannot initialize a parameter of type 'const faiss::HeapArray<faiss::CMin<float, long long>>::TI *' (aka 'const long long *') with an rvalue of type 'const faiss::HeapArray<faiss::CMin<float, long>>::TI *' (aka 'const long *') (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< float,long > >::TI const *)arg4,arg5,arg6,arg7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/Heap.h:395:23: note: passing argument to parameter 'id_in' here const TI* id_in = nullptr, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:149340:93: error: cannot initialize a parameter of type 'const faiss::HeapArray<faiss::CMin<float, long long>>::TI *' (aka 'const long long *') with an rvalue of type 'const faiss::HeapArray<faiss::CMin<float, long>>::TI *' (aka 'const long *') (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< float,long > >::TI const *)arg4,arg5,arg6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/Heap.h:395:23: note: passing argument to parameter 'id_in' here const TI* id_in = nullptr, ^ /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:149392:93: error: cannot initialize a parameter of type 'const faiss::HeapArray<faiss::CMin<float, long long>>::TI *' (aka 'const long long *') with an rvalue of type 'const faiss::HeapArray<faiss::CMin<float, long>>::TI *' (aka 'const long *') (arg1)->addn_with_ids(arg2,(faiss::HeapArray< faiss::CMin< float,long > >::T const *)arg3,(faiss::HeapArray< faiss::CMin< float,long > >::TI const *)arg4,arg5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../../faiss/utils/Heap.h:395:23: note: passing argument to parameter 'id_in' here const TI* id_in = nullptr, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/c++ -Dswigfaiss_EXPORTS -I/wrkdirs/usr/ports/math/py-faiss/work/faiss-1.7.2/faiss/python/../.. -isystem /usr/local/include/python3.8 -isystem /usr/local/lib/python3.8/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -fopenmp=libomp -std=gnu++11 -MD -MT CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o -MF CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o.d -o CMakeFiles/swigfaiss.dir/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx.o -c /wrkdirs/usr/ports/math/py-faiss/work/.build/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx 1. <eof> parser at end of file #0 0x03894b24 (/usr/bin/c+++0x3894b24) #1 0x03894f2e (/usr/bin/c+++0x3894f2e) #2 0x03892d3e (/usr/bin/c+++0x3892d3e) #3 0x03841d22 (/usr/bin/c+++0x3841d22) #4 0x24ae9319 (/lib/libthr.so.3+0x18319) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: Error generating preprocessed source(s). ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/math/py-faiss