=>> Building science/libsvm build started at Wed Feb 18 13:42:21 EST 2026 port directory: /usr/ports/science/libsvm package name: libsvm-3.24 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2066 Nov 22 2024 /usr/ports/science/libsvm/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: d945c6eefdb3 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 01 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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 MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for libsvm-3.24: DOCS=on: Build and/or install documentation OPTIMIZED_CFLAGS=on: Use extra compiler optimizations ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/science/libsvm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/libsvm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/libsvm/work/.cache HOME=/wrkdirs/usr/ports/science/libsvm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/libsvm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/libsvm/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/science/libsvm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/libsvm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/libsvm/work/.cache HOME=/wrkdirs/usr/ports/science/libsvm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/libsvm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/libsvm/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wall -Wconversion -O3 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wall -Wconversion -O3 -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libsvm" EXAMPLESDIR="share/examples/libsvm" DATADIR="share/libsvm" WWWDIR="www/libsvm" ETCDIR="etc/libsvm" --End PLIST_SUB-- --SUB_LIST-- DATADIR=/usr/local/share/libsvm PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libsvm DOCSDIR=/usr/local/share/doc/libsvm EXAMPLESDIR=/usr/local/share/examples/libsvm WWWDIR=/usr/local/www/libsvm ETCDIR=/usr/local/etc/libsvm --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 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) 8192 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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libsvm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> libsvm-3.24 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> libsvm-3.24 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libsvm-3.24 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libsvm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by libsvm-3.24 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libsvm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by libsvm-3.24 for building => SHA256 Checksum OK for libsvm-3.24.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The libsvm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by libsvm-3.24 for building ===> Extracting for libsvm-3.24 => SHA256 Checksum OK for libsvm-3.24.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for libsvm-3.24 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> libsvm-3.24 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> libsvm-3.24 depends on file: /usr/local/bin/ccache - found ===> Returning to build of libsvm-3.24 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for libsvm-3.24 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for libsvm-3.24 --- svm.o --- --- svm-scale --- c++ -Wall -Wconversion -O3 -fPIC svm-scale.c -o svm-scale --- svm.o --- c++ -Wall -Wconversion -O3 -fPIC -c svm.cpp --- svm-scale --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] svm-scale.c:94:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 94 | line = (char *) malloc(max_line_len*sizeof(char)); | ^~~~~~~~~~~~~ svm-scale.c:158:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 158 | feature_max = (double *)malloc((max_index+1)* sizeof(double)); | ~~~~~~~~~^~ ~ svm-scale.c:159:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 159 | feature_min = (double *)malloc((max_index+1)* sizeof(double)); | ~~~~~~~~~^~ ~ svm-scale.c:350:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 350 | line = (char *) realloc(line, max_line_len); | ~~~~~~~ ^~~~~~~~~~~~ 4 warnings generated. --- svm.o --- svm.cpp:96:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 96 | head = (head_t *)calloc(l,sizeof(head_t)); // initialized to 0 | ~~~~~~ ^ svm.cpp:98:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 98 | size -= l * sizeof(head_t) / sizeof(Qfloat); | ^ ~ svm.cpp:146:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 146 | h->data = (Qfloat *)realloc(h->data,sizeof(Qfloat)*len); | ~^~~ svm.cpp:280:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 280 | x_square = new double[l]; | ~~~ ^ svm.cpp:521:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 521 | alpha_status = new char[l]; | ~~~ ^ svm.cpp:528:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 528 | active_set = new int[l]; | ~~~ ^ svm.cpp:536:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 536 | G = new double[l]; | ~~~ ^ svm.cpp:537:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 537 | G_bar = new double[l]; | ~~~ ^ svm.cpp:1274:24: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] 1274 | QD = new double[prob.l]; | ~~~ ~~~~~^ svm.cpp:1323:24: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] 1323 | QD = new double[prob.l]; | ~~~ ~~~~~^ svm.cpp:1370:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1370 | QD = new double[2*l]; | ~~~ ~^~ svm.cpp:1371:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1371 | sign = new schar[2*l]; | ~~~ ~^~ svm.cpp:1372:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1372 | index = new int[2*l]; | ~~~ ~^~ svm.cpp:1382:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1382 | buffer[0] = new Qfloat[2*l]; | ~~~ ~^~ svm.cpp:1383:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1383 | buffer[1] = new Qfloat[2*l]; | ~~~ ~^~ svm.cpp:1445:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1445 | double *minus_ones = new double[l]; | ~~~ ^ svm.cpp:1446:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1446 | schar *y = new schar[l]; | ~~~ ^ svm.cpp:1483:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1483 | schar *y = new schar[l]; | ~~~ ^ svm.cpp:1506:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1506 | double *zeros = new double[l]; | ~~~ ^ svm.cpp:1535:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1535 | double *zeros = new double[l]; | ~~~ ^ svm.cpp:1536:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1536 | schar *ones = new schar[l]; | ~~~ ^ svm.cpp:1567:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1567 | double *alpha2 = new double[2*l]; | ~~~ ~^~ svm.cpp:1568:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1568 | double *linear_term = new double[2*l]; | ~~~ ~^~ svm.cpp:1569:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1569 | schar *y = new schar[2*l]; | ~~~ ~^~ svm.cpp:1606:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1606 | double *alpha2 = new double[2*l]; | ~~~ ~^~ svm.cpp:1607:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1607 | double *linear_term = new double[2*l]; | ~~~ ~^~ svm.cpp:1608:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1608 | schar *y = new schar[2*l]; | ~~~ ~^~ svm.cpp:1651:38: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] 1651 | double *alpha = Malloc(double,prob->l); | ~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1722:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1722 | double *t=Malloc(double,l); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1833:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1833 | double **Q=Malloc(double *,k); | ~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1834:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1834 | double *Qp=Malloc(double,k); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1840:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1840 | Q[t]=Malloc(double,k); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1899:31: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] 1899 | int *perm = Malloc(int,prob->l); | ~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1900:43: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] 1900 | double *dec_values = Malloc(double,prob->l); | ~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1917:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1917 | subprob.x = Malloc(struct svm_node*,subprob.l); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1918:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 1918 | subprob.y = Malloc(double,subprob.l); | ~~~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:1985:36: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion] 1985 | double *ymv = Malloc(double,prob->l); | ~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2019:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2019 | int *label = Malloc(int,max_nr_class); | ~~~~~~~~~~~^~~~~~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2020:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2020 | int *count = Malloc(int,max_nr_class); | ~~~~~~~~~~~^~~~~~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2021:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2021 | int *data_label = Malloc(int,l); | ~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2042:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2042 | label = (int *)realloc(label,max_nr_class*sizeof(int)); | ^~~~~~~~~~~~~ svm.cpp:2043:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2043 | count = (int *)realloc(count,max_nr_class*sizeof(int)); | ^~~~~~~~~~~~~ svm.cpp:2069:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2069 | int *start = Malloc(int,nr_class); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2126:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2126 | model->SV = Malloc(svm_node *,nSV); | ~~~~~~~~~~~~~~~~~~^~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2127:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2127 | model->sv_coef[0] = Malloc(double,nSV); | ~~~~~~~~~~~~~~^~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2128:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2128 | model->sv_indices = Malloc(int,nSV); | ~~~~~~~~~~~^~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2149:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2149 | int *perm = Malloc(int,l); | ~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2156:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2156 | svm_node **x = Malloc(svm_node *,l); | ~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2163:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2163 | double *weighted_C = Malloc(double, nr_class); | ~~~~~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2180:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2180 | bool *nonzero = Malloc(bool,l); | ~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2183:72: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2183 | decision_function *f = Malloc(decision_function,nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2188:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2188 | probA=Malloc(double,nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2189:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2189 | probB=Malloc(double,nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2200:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2200 | sub_prob.x = Malloc(svm_node *,sub_prob.l); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2201:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2201 | sub_prob.y = Malloc(double,sub_prob.l); | ~~~~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2233:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2233 | model->label = Malloc(int,nr_class); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2237:51: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2237 | model->rho = Malloc(double,nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2243:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2243 | model->probA = Malloc(double,nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2244:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2244 | model->probB = Malloc(double,nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2258:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2258 | int *nz_count = Malloc(int,nr_class); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2259:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2259 | model->nSV = Malloc(int,nr_class); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2276:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2276 | model->SV = Malloc(svm_node *,total_sv); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2277:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2277 | model->sv_indices = Malloc(int,total_sv); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2286:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2286 | int *nz_start = Malloc(int,nr_class); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2291:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2291 | model->sv_coef = Malloc(double *,nr_class-1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2293:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2293 | model->sv_coef[i] = Malloc(double,total_sv); | ~~~~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2344:25: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2344 | int *perm = Malloc(int,l); | ~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2351:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2351 | fold_start = Malloc(int,nr_fold+1); | ~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2363:32: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2363 | int *fold_count = Malloc(int,nr_fold); | ~~~~~~~~~~~^~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2365:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2365 | int *index = Malloc(int,l); | ~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2423:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2423 | subprob.x = Malloc(struct svm_node*,subprob.l); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2424:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2424 | subprob.y = Malloc(double,subprob.l); | ~~~~~~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2443:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2443 | double *prob_estimates=Malloc(double,svm_get_nr_class(submodel)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2525:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2525 | double *kvalue = Malloc(double,l); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2529:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2529 | int *start = Malloc(int,nr_class); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2534:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2534 | int *vote = Malloc(int,nr_class); | ~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2586:52: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2586 | dec_values = Malloc(double, nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2600:60: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2600 | double *dec_values = Malloc(double, nr_class*(nr_class-1)/2); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2604:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2604 | double **pairwise_prob=Malloc(double *,nr_class); | ~~~~~~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2606:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2606 | pairwise_prob[i]=Malloc(double,nr_class); | ~~~~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2757:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 2757 | line = (char *) realloc(line,max_line_len); | ~~~~~~~ ^~~~~~~~~~~~ svm.cpp:2835:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2835 | model->rho = Malloc(double,n); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2842:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2842 | model->label = Malloc(int,n); | ~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2849:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2849 | model->probA = Malloc(double,n); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2856:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2856 | model->probB = Malloc(double,n); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2863:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2863 | model->nSV = Malloc(int,n); | ~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2927:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2927 | line = Malloc(char,max_line_len); | ~~~~~~~~~~~~^~~~~~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2947:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2947 | model->sv_coef = Malloc(double *,m); | ~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2950:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2950 | model->sv_coef[i] = Malloc(double,l); | ~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2951:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2951 | model->SV = Malloc(svm_node*,l); | ~~~~~~~~~~~~~~~~~^~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:2953:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 2953 | if(l>0) x_space = Malloc(svm_node,elements); | ~~~~~~~~~~~~~~~~^~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:3119:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 3119 | int *label = Malloc(int,max_nr_class); | ~~~~~~~~~~~^~~~~~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:3120:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 3120 | int *count = Malloc(int,max_nr_class); | ~~~~~~~~~~~^~~~~~~~~~~~~ svm.cpp:39:40: note: expanded from macro 'Malloc' 39 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm.cpp:3138:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 3138 | label = (int *)realloc(label,max_nr_class*sizeof(int)); | ^~~~~~~~~~~~~ svm.cpp:3139:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 3139 | count = (int *)realloc(count,max_nr_class*sizeof(int)); | ^~~~~~~~~~~~~ svm.cpp:23:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 23 | dst = new T[n]; | ~~~ ^ svm.cpp:276:2: note: in instantiation of function template specialization 'clone' requested here 276 | clone(x,x_,l); | ^ svm.cpp:24:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 24 | memcpy((void *)dst,(void *)src,sizeof(T)*n); | ~^ svm.cpp:23:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 23 | dst = new T[n]; | ~~~ ^ svm.cpp:511:2: note: in instantiation of function template specialization 'clone' requested here 511 | clone(p, p_,l); | ^ svm.cpp:24:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 24 | memcpy((void *)dst,(void *)src,sizeof(T)*n); | ~^ svm.cpp:23:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 23 | dst = new T[n]; | ~~~ ^ svm.cpp:512:2: note: in instantiation of function template specialization 'clone' requested here 512 | clone(y, y_,l); | ^ svm.cpp:24:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 24 | memcpy((void *)dst,(void *)src,sizeof(T)*n); | ~^ svm.cpp:23:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 23 | dst = new T[n]; | ~~~ ^ svm.cpp:513:2: note: in instantiation of function template specialization 'clone' requested here 513 | clone(alpha,alpha_,l); | ^ svm.cpp:24:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 24 | memcpy((void *)dst,(void *)src,sizeof(T)*n); | ~^ 103 warnings generated. make: warning: Invalid character " " in variable name "shell uname" while evaluating variable "OS" with value "$(shell uname)" in command "if [ "$(OS)" = "Darwin" ]; then SHARED_LIB_FLAG="-dynamiclib -Wl,-install_name,libsvm.so.$(SHVER)"; else SHARED_LIB_FLAG="-shared -Wl,-soname,libsvm.so.$(SHVER)"; fi; $(CXX) $${SHARED_LIB_FLAG} svm.o -o libsvm.so.$(SHVER)" in target "lib" --- lib --- --- svm-predict --- --- svm-train --- --- lib --- if [ "" = "Darwin" ]; then SHARED_LIB_FLAG="-dynamiclib -Wl,-install_name,libsvm.so.2"; else SHARED_LIB_FLAG="-shared -Wl,-soname,libsvm.so.2"; fi; c++ ${SHARED_LIB_FLAG} svm.o -o libsvm.so.2 --- svm-predict --- c++ -Wall -Wconversion -O3 -fPIC svm-predict.c svm.o -o svm-predict -lm --- svm-train --- c++ -Wall -Wconversion -O3 -fPIC svm-train.c svm.o -o svm-train -lm --- svm-predict --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] --- svm-train --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] svm-train.c:75:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 75 | line = (char *) realloc(line,max_line_len); | ~~~~~~~ ^~~~~~~~~~~~ svm-train.c:128:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 128 | double *target = Malloc(double,prob.l); | ~~~~~~~~~~~~~~~~~~~^~ svm-train.c:7:40: note: expanded from macro 'Malloc' 7 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm-train.c:243:78: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 243 | param.weight_label = (int *)realloc(param.weight_label,sizeof(int)*param.nr_weight); | ~~~~~~~^~~~~~~~~ svm-train.c:244:72: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 244 | param.weight = (double *)realloc(param.weight,sizeof(double)*param.nr_weight); | ~~~~~~~^~~~~~~~~ svm-train.c:296:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 296 | line = Malloc(char,max_line_len); | ~~~~~~~~~~~~^~~~~~~~~~~~~ svm-train.c:7:40: note: expanded from macro 'Malloc' 7 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm-train.c:314:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 314 | prob.y = Malloc(double,prob.l); | ~~~~~~~~~~~~~~~~~~~^~ svm-train.c:7:40: note: expanded from macro 'Malloc' 7 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ svm-train.c:315:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 315 | prob.x = Malloc(struct svm_node *,prob.l); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ svm-train.c:7:40: note: expanded from macro 'Malloc' 7 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ^ ~ --- svm-predict --- svm-predict.c:31:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] 31 | line = (char *) realloc(line,max_line_len); | ~~~~~~~ ^~~~~~~~~~~~ svm-predict.c:63:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 63 | int *labels=(int *) malloc(nr_class*sizeof(int)); | ^~~~~~~~~ svm-predict.c:65:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 65 | prob_estimates = (double *) malloc(nr_class*sizeof(double)); | ^~~~~~~~~ svm-predict.c:75:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 75 | line = (char *)malloc(max_line_len*sizeof(char)); | ^~~~~~~~~~~~~ svm-predict.c:96:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 96 | x = (struct svm_node *) realloc(x,max_nr_attr*sizeof(struct svm_node)); | ^~~~~~~~~~~~ svm-predict.c:217:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] 217 | x = (struct svm_node *) malloc(max_nr_attr*sizeof(struct svm_node)); | ^~~~~~~~~~~~ --- svm-train --- 7 warnings generated. --- svm-predict --- 6 warnings generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for libsvm-3.24 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/svm-train /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/bin/ install -s -m 555 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/svm-predict /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/bin/ install -s -m 555 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/svm-scale /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/bin/ install -m 0644 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/svm.h /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/include/ install -s -m 0644 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/libsvm.so.2 /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/lib/ /bin/ln -sf libsvm.so.2 /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/lib/libsvm.so for f in tools/checkdata.py tools/easy.py tools/grid.py tools/subset.py; do install -m 0644 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/$f /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/share/libsvm; done install -m 0644 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/README /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/share/doc/libsvm install -m 0644 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/FAQ.html /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/share/doc/libsvm install -m 0644 /wrkdirs/usr/ports/science/libsvm/work/libsvm-3.24/README.tools /wrkdirs/usr/ports/science/libsvm/work/stage/usr/local/share/doc/libsvm ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-02-18T18:42:21+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d945c6eefdb3' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for libsvm-3.24 ===> Building libsvm-3.24 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for libsvm-3.24 build of science/libsvm | libsvm-3.24 ended at Wed Feb 18 13:42:28 EST 2026 build time: 00:00:08