Created temporary directory: /tmp/pip-ephem-wheel-cache-33ahn_gk Created temporary directory: /tmp/pip-req-tracker-2oa56ejx Created requirements tracker '/tmp/pip-req-tracker-2oa56ejx' Created temporary directory: /tmp/pip-wheel-zhgxx_vo Collecting stclassify==0.1.0.17 1 location(s) to search for versions of stclassify: * https://pypi.org/simple/stclassify/ Getting page https://pypi.org/simple/stclassify/ Analyzing links from page https://pypi.org/simple/stclassify/ Found link https://files.pythonhosted.org/packages/bb/ce/fc2069ddf4ba26ac3be678a0226a4db0a3cbe2b5126ba6e80d495354aa37/stclassify-0.1.0.4.tar.gz#sha256=b5053b2c3fe2ba19f6c370afc0378e91d4335bec9ea1342ad93eb1ef24a0d444 (from https://pypi.org/simple/stclassify/), version: 0.1.0.4 Found link https://files.pythonhosted.org/packages/36/71/6eb9648c13f04a0df7a2b4869515f4c8688a0c777580f1b5768f8ccaaa58/stclassify-0.1.0.5.tar.gz#sha256=a037bf401d0040dfeea14c89c7f6497e210527b15f38daf763046fbe19a2e778 (from https://pypi.org/simple/stclassify/), version: 0.1.0.5 Found link https://files.pythonhosted.org/packages/68/cd/6231fc4748d9f9e1167c8c8041be00c1262c45ffa09e2548a7bc18086d59/stclassify-0.1.0.6.tar.gz#sha256=57e8c7237c6246d31d91a2a780d64b8fcde3c3a70a63e7717e13594e762e0bcd (from https://pypi.org/simple/stclassify/), version: 0.1.0.6 Found link https://files.pythonhosted.org/packages/0c/6f/215c92eaf7b18dfaab0d5f5fe4d21548350da7c847bd8f57f7bfc0af5cf5/stclassify-0.1.0.7.tar.gz#sha256=bde3c323918b4fcf1e2063e440e3c4a77512951908eda0f717505e145441fd43 (from https://pypi.org/simple/stclassify/), version: 0.1.0.7 Found link https://files.pythonhosted.org/packages/45/3e/73722700c801a4f5180b3ba29a08d73ea570285a08a20130ccc32bcdffc6/stclassify-0.1.0.8.tar.gz#sha256=ee65d01ae4fff45c99dd3d021c33cb2167338ae320e6d20c881308b68195f79c (from https://pypi.org/simple/stclassify/), version: 0.1.0.8 Found link https://files.pythonhosted.org/packages/a6/55/4e4dbf6d94f6f4202c053ecc2ee2877e35965c643dd1b04c1c74419cd113/stclassify-0.1.0.9.tar.gz#sha256=c69f9ffa9b2d008e9e878f3a2fe43780d097173e03a0efaac36f99377af9cd41 (from https://pypi.org/simple/stclassify/), version: 0.1.0.9 Found link https://files.pythonhosted.org/packages/2a/8f/4321729d69fa0c5f5447a307e66d4b9ada8963ac1fb59512c1848e73a2bd/stclassify-0.1.0.10.tar.gz#sha256=f167773f2cc3084ad92d2cb7459c25ac761c2c94f9a7d7b4b464009f970a9143 (from https://pypi.org/simple/stclassify/), version: 0.1.0.10 Found link https://files.pythonhosted.org/packages/62/de/4c558dd0bdc01e5be28a8e828ae0da45b8fcbbcd1584693bbf27f74465a6/stclassify-0.1.0.11.tar.gz#sha256=cc4e1b0ab9dc1705eda13011170d976f86c0d379493a3bc5bf2446ce907af6d7 (from https://pypi.org/simple/stclassify/), version: 0.1.0.11 Found link https://files.pythonhosted.org/packages/5c/d4/a30fdf9d170a4b794de79528fe39139c2eb42fa0e957f5c6f4d945ff2ccc/stclassify-0.1.0.12.tar.gz#sha256=b5259e206244f2c9a31e279e27f72b845048494c9585f5317bc272f6e9f0411a (from https://pypi.org/simple/stclassify/), version: 0.1.0.12 Found link https://files.pythonhosted.org/packages/8f/8b/e67b46b4002c22680e8621d289efe96fd82a235ce00094d5bc9371c6d938/stclassify-0.1.0.13.tar.gz#sha256=425cd8e0dc118ccb5f4710dcbe2de5bc213b9f9380d875c47c05d2a4bafa8fa7 (from https://pypi.org/simple/stclassify/), version: 0.1.0.13 Found link https://files.pythonhosted.org/packages/ae/af/52ac08216d3f75e3bbb6d30e398e8ff4a94726cb608c3b1de07a82eda6bf/stclassify-0.1.0.14.tar.gz#sha256=6d5968aa506ae25316f283560b368510a0503477a8d2e89496d05c6c5d606717 (from https://pypi.org/simple/stclassify/), version: 0.1.0.14 Found link https://files.pythonhosted.org/packages/2c/84/fafb2b3d095c21dd712025cccabba9790beb1e452e101f27cdc335a2a673/stclassify-0.1.0.15.tar.gz#sha256=569ae407e046f615b533b33ebda7fd036d031c2bbb47bc1bee1d5bc1ef6125bc (from https://pypi.org/simple/stclassify/), version: 0.1.0.15 Skipping link https://files.pythonhosted.org/packages/85/75/14dd9bcf42da9203088a7a033f1fce1fa442d953687975d30587e5ae585c/stclassify-0.1.0.16-py3.6.egg#sha256=f7c50fe989ba412d5009ea3ff1d26338dedd4ea22d759b203a6feecd9b9a9db6 (from https://pypi.org/simple/stclassify/); unsupported archive format: .egg Found link https://files.pythonhosted.org/packages/12/7c/06f03be9547fb7d0e69775ab20ba6493ec3b13c9fce5093040e1b0dd7fc7/stclassify-0.1.0.16.tar.gz#sha256=50a0aa16918bc945cec1c2bef36a8eea3a8f8c0cda9dcc415b4d8f72826ddba9 (from https://pypi.org/simple/stclassify/), version: 0.1.0.16 Found link https://files.pythonhosted.org/packages/47/4b/915b34fb8af7373285654cacde1a8ad9e29de3fd6c981a2d057a2d5ad88e/stclassify-0.1.0.17.tar.gz#sha256=542cff4346c09504ed3ce0cfcdc9d03fe472b85d5d9efe90b51e36d03c70db1c (from https://pypi.org/simple/stclassify/), version: 0.1.0.17 Found link https://files.pythonhosted.org/packages/66/6a/179db0c0ef10119b1582602b2126079e3839824dd49571741ba20291afea/stclassify-0.1.0.18.tar.gz#sha256=ad13366f686b2e5fe9998f52ee148c1f6e2c7ffaa772b0313006927fd4154508 (from https://pypi.org/simple/stclassify/), version: 0.1.0.18 Found link https://files.pythonhosted.org/packages/7b/f9/2155a823b63be58c87ca2f5ab2a023d0fac1d6c383ff9c40ad4900671580/stclassify-0.1.0.19.tar.gz#sha256=c4406de13b1d4ec578128896ec6c6cf9b303063989362e9b5d53a510f65dee96 (from https://pypi.org/simple/stclassify/), version: 0.1.0.19 Skipping link https://files.pythonhosted.org/packages/1d/70/73379f345ac3fe4108be82cc99fdb7cf23b915f428254a2f5cd372e4af6c/stclassify-0.1.0.20-py3.6.egg#sha256=7120570197bae2c72f6af7c31d3fafc0eaf7c83e30bd4d4faaca020449402bd3 (from https://pypi.org/simple/stclassify/); unsupported archive format: .egg Found link https://files.pythonhosted.org/packages/d8/cb/14c058b9a941cd8b79023649d2046448986a709ddcc6ab580146394ea698/stclassify-0.1.0.20.tar.gz#sha256=d8c32fc72671da8cfddbf03ae8d48cb408408bb9a82487b11c78580aee6ba25d (from https://pypi.org/simple/stclassify/), version: 0.1.0.20 Found link https://files.pythonhosted.org/packages/0e/aa/221b48faa727796bb231c95fb6cfa26cec9495ae341e1dc1126fec9e870d/stclassify-0.1.0.21.tar.gz#sha256=ef7d33d29f7b90aba9d76baebcf5f32793b1323be0d91a904af835f9638e524a (from https://pypi.org/simple/stclassify/), version: 0.1.0.21 Found link https://files.pythonhosted.org/packages/f1/e1/11ed8f4d1f503664e071e3303fe59930f0ef8766c4d1e2655211bb14371f/stclassify-0.1.0.22.tar.gz#sha256=46c1935a4805580c18af3b0955c0231ebcb8459d5c54e3af625d728e89faf945 (from https://pypi.org/simple/stclassify/), version: 0.1.0.22 Using version 0.1.0.17 (newest of versions: 0.1.0.17) Created temporary directory: /tmp/pip-unpack-byxga9d1 Downloading https://files.pythonhosted.org/packages/47/4b/915b34fb8af7373285654cacde1a8ad9e29de3fd6c981a2d057a2d5ad88e/stclassify-0.1.0.17.tar.gz (41kB) Downloading from URL https://files.pythonhosted.org/packages/47/4b/915b34fb8af7373285654cacde1a8ad9e29de3fd6c981a2d057a2d5ad88e/stclassify-0.1.0.17.tar.gz#sha256=542cff4346c09504ed3ce0cfcdc9d03fe472b85d5d9efe90b51e36d03c70db1c (from https://pypi.org/simple/stclassify/) Added stclassify==0.1.0.17 from https://files.pythonhosted.org/packages/47/4b/915b34fb8af7373285654cacde1a8ad9e29de3fd6c981a2d057a2d5ad88e/stclassify-0.1.0.17.tar.gz#sha256=542cff4346c09504ed3ce0cfcdc9d03fe472b85d5d9efe90b51e36d03c70db1c to build tracker '/tmp/pip-req-tracker-2oa56ejx' Running setup.py (path:/tmp/pip-wheel-zhgxx_vo/stclassify/setup.py) egg_info for package stclassify Running command python setup.py egg_info running egg_info creating pip-egg-info/stclassify.egg-info writing requirements to pip-egg-info/stclassify.egg-info/requires.txt writing top-level names to pip-egg-info/stclassify.egg-info/top_level.txt writing pip-egg-info/stclassify.egg-info/PKG-INFO writing dependency_links to pip-egg-info/stclassify.egg-info/dependency_links.txt writing manifest file 'pip-egg-info/stclassify.egg-info/SOURCES.txt' reading manifest file 'pip-egg-info/stclassify.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pip-egg-info/stclassify.egg-info/SOURCES.txt' Source in /tmp/pip-wheel-zhgxx_vo/stclassify has version 0.1.0.17, which satisfies requirement stclassify==0.1.0.17 from https://files.pythonhosted.org/packages/47/4b/915b34fb8af7373285654cacde1a8ad9e29de3fd6c981a2d057a2d5ad88e/stclassify-0.1.0.17.tar.gz#sha256=542cff4346c09504ed3ce0cfcdc9d03fe472b85d5d9efe90b51e36d03c70db1c Removed stclassify==0.1.0.17 from https://files.pythonhosted.org/packages/47/4b/915b34fb8af7373285654cacde1a8ad9e29de3fd6c981a2d057a2d5ad88e/stclassify-0.1.0.17.tar.gz#sha256=542cff4346c09504ed3ce0cfcdc9d03fe472b85d5d9efe90b51e36d03c70db1c from build tracker '/tmp/pip-req-tracker-2oa56ejx' Building wheels for collected packages: stclassify Created temporary directory: /tmp/pip-wheel-ivbiuwyh Running setup.py bdist_wheel for stclassify: started Destination directory: /tmp/pip-wheel-ivbiuwyh Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-wheel-zhgxx_vo/stclassify/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-ivbiuwyh running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/stclassify copying stclassify/classifier.py -> build/lib/stclassify copying stclassify/text_process.py -> build/lib/stclassify copying stclassify/base.py -> build/lib/stclassify copying stclassify/__init__.py -> build/lib/stclassify creating build/lib/stclassify/svc_impl copying stclassify/svc_impl/learner_impl.py -> build/lib/stclassify/svc_impl copying stclassify/svc_impl/__init__.py -> build/lib/stclassify/svc_impl creating build/lib/stclassify/svc_impl/liblinear creating build/lib/stclassify/svc_impl/liblinear/python copying stclassify/svc_impl/liblinear/python/liblinear.py -> build/lib/stclassify/svc_impl/liblinear/python copying stclassify/svc_impl/liblinear/python/liblinearutil.py -> build/lib/stclassify/svc_impl/liblinear/python copying stclassify/svc_impl/liblinear/python/__init__.py -> build/lib/stclassify/svc_impl/liblinear/python installing to build/bdist.linux-armv7l/wheel running install make -C stclassify/svc_impl make[1]: Entering directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl' gcc -fPIC -Iliblinear -O3 -c -o util.o util.c if [ "Linux" = "Darwin" ]; then \ SHARED_LIB_FLAG="-dynamiclib -Wl,-install_name,util.so.1"; \ else \ SHARED_LIB_FLAG="-shared -Wl,-soname,util.so.1"; \ fi; \ gcc ${SHARED_LIB_FLAG} util.o -o util.so.1 g++ -fPIC -Iliblinear test.cpp -o test make -C liblinear make[2]: Entering directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear' g++ -Wall -Wconversion -O3 -fPIC -c -o tron.o tron.cpp tron.cpp: In member function 'void TRON::tron(double*)': tron.cpp:96:34: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] memcpy(w_new, w, sizeof(double)*n); ~~~~~~~~^~ tron.cpp:132:35: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] memcpy(w, w_new, sizeof(double)*n); ~~~~~~~~^~ g++ -Wall -Wconversion -O3 -fPIC -c -o linear.o linear.cpp linear.cpp: In member function 'void Solver_MCSVM_CS::solve_sub_problem(double, INT64, double, INT64, double*)': linear.cpp:509:51: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] qsort(D, active_i, sizeof(double), compare_double); ^ linear.cpp:512:34: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] for(r=1;rindex-1] += sign*(z-alpha_old)*yi*xi->value; ^ linear.cpp: In function 'void solve_l1r_l2_svc(problem*, double*, double, double, double)': linear.cpp:1499:25: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] else if(Gp>Gmax_old/l && Gn<-Gmax_old/l) ^ linear.cpp:1499:43: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] else if(Gp>Gmax_old/l && Gn<-Gmax_old/l) ^ linear.cpp: In function 'void solve_l1r_lr(const problem*, double*, double, double, double)': linear.cpp:1798:25: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] else if(Gp>Gmax_old/l && Gn<-Gmax_old/l) ^ linear.cpp:1798:43: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] else if(Gp>Gmax_old/l && Gn<-Gmax_old/l) ^ linear.cpp:1864:29: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] else if(Gp>QP_Gmax_old/l && Gn<-QP_Gmax_old/l) ^ linear.cpp:1864:50: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] else if(Gp>QP_Gmax_old/l && Gn<-QP_Gmax_old/l) ^ linear.cpp: In function 'void group_classes(const problem*, INT64*, INT64**, INT64**, INT64**, INT64*)': linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2112:17: note: in expansion of macro 'Malloc' INT64 *label = Malloc(INT64,max_nr_class); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2113:17: note: in expansion of macro 'Malloc' INT64 *count = Malloc(INT64,max_nr_class); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2114:22: note: in expansion of macro 'Malloc' INT64 *data_label = Malloc(INT64,l); ^~~~~~ linear.cpp:2135:48: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] label = (INT64 *)realloc(label,max_nr_class*sizeof(INT64)); ~~~~~~~~~~~~^~~~~~~~ linear.cpp:2136:48: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] count = (INT64 *)realloc(count,max_nr_class*sizeof(INT64)); ~~~~~~~~~~~~^~~~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2144:17: note: in expansion of macro 'Malloc' INT64 *start = Malloc(INT64,nr_class); ^~~~~~ linear.cpp: In function 'void train_one(const problem*, const parameter*, double*, double, double)': linear.cpp:2174:36: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] double primal_solver_tol = eps*max(min(pos,neg), (INT64)1)/prob->l; ~~~^~~~~~~~~~~~~~~~~~~~~~~~ linear.cpp:2174:67: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] double primal_solver_tol = eps*max(min(pos,neg), (INT64)1)/prob->l; ~~~~~~^ linear.cpp: In function 'model* train(const problem*, const parameter*)': linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2295:15: note: in expansion of macro 'Malloc' model_->w = Malloc(double, w_size); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2306:17: note: in expansion of macro 'Malloc' INT64 *perm = Malloc(INT64,l); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2312:19: note: in expansion of macro 'Malloc' model_->label = Malloc(INT64,nr_class); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2317:24: note: in expansion of macro 'Malloc' double *weighted_C = Malloc(double, nr_class); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2332:22: note: in expansion of macro 'Malloc' feature_node **x = Malloc(feature_node *,l); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2340:16: note: in expansion of macro 'Malloc' sub_prob.x = Malloc(feature_node *,sub_prob.l); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2341:16: note: in expansion of macro 'Malloc' sub_prob.y = Malloc(double,sub_prob.l); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2349:14: note: in expansion of macro 'Malloc' model_->w=Malloc(double, n*nr_class); ^~~~~~ linear.cpp:2352:22: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] sub_prob.y[j] = i; ^ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2360:15: note: in expansion of macro 'Malloc' model_->w=Malloc(double, w_size); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2373:15: note: in expansion of macro 'Malloc' model_->w=Malloc(double, w_size*nr_class); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2374:15: note: in expansion of macro 'Malloc' double *w=Malloc(double, w_size); ^~~~~~ linear.cpp: In function 'void cross_validation(const problem*, const parameter*, INT64, double*)': linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2413:22: note: in expansion of macro 'Malloc' INT64 *fold_start = Malloc(INT64,nr_fold+1); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2415:16: note: in expansion of macro 'Malloc' INT64 *perm = Malloc(INT64,l); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2436:15: note: in expansion of macro 'Malloc' subprob.x = Malloc(struct feature_node*,subprob.l); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2437:15: note: in expansion of macro 'Malloc' subprob.y = Malloc(double,subprob.l); ^~~~~~ linear.cpp: In function 'double predict_values(const model*, const feature_node*, double*)': linear.cpp:2498:28: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] return (dec_values[0]>0)?model_->label[0]:model_->label[1]; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linear.cpp:2498:28: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] linear.cpp:2508:35: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] return model_->label[dec_max_idx]; ~~~~~~~~~~~~~~~~~~~~~~~~~^ linear.cpp: In function 'double predict(const model*, const feature_node*)': linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'long long int' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2514:23: note: in expansion of macro 'Malloc' double *dec_values = Malloc(double, model_->nr_class); ^~~~~~ linear.cpp: In function 'model* load_model(const char*)': linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2684:20: note: in expansion of macro 'Malloc' model_->label = Malloc(INT64,nr_class); ^~~~~~ linear.cpp:22:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ linear.cpp:2711:12: note: in expansion of macro 'Malloc' model_->w=Malloc(double, w_size*nr_w); ^~~~~~ linear.cpp: In instantiation of 'void clone(T*&, S*, INT64) [with S = double; T = double; INT64 = long long int]': linear.cpp:506:22: required from here linear.cpp:20:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] memcpy((void *)dst,(void *)src,sizeof(T)*n); ~~~^~ make -C blas OPTFLAGS='-Wall -Wconversion -O3 -fPIC' CC='cc'; make[3]: Entering directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear/blas' cc -Wall -Wconversion -O3 -fPIC -c dnrm2.c cc -Wall -Wconversion -O3 -fPIC -c daxpy.c cc -Wall -Wconversion -O3 -fPIC -c ddot.c cc -Wall -Wconversion -O3 -fPIC -c dscal.c ar rcv blas.a dnrm2.o daxpy.o ddot.o dscal.o a - dnrm2.o a - daxpy.o a - ddot.o a - dscal.o ranlib blas.a make[3]: Leaving directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear/blas' g++ -Wall -Wconversion -O3 -fPIC -o train train.c tron.o linear.o blas/blas.a train.c: In function 'char* readline(FILE*)': train.c:70:34: warning: conversion to 'int' from 'INT64 {aka long long int}' may alter its value [-Wconversion] if(fgets(line,max_line_len,input) == NULL) ^ train.c:76:44: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] line = (char *) realloc(line,max_line_len); ^ train.c:78:33: warning: conversion to 'int' from 'INT64 {aka long long int}' may alter its value [-Wconversion] if(fgets(line+len,max_line_len-len,input) == NULL) ~~~~~~~~~~~~^~~~ train.c: In function 'void do_cross_validation()': train.c:8:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ train.c:141:19: note: in expansion of macro 'Malloc' double *target = Malloc(double, prob.l); ^~~~~~ train.c:159:72: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] printf("Cross Validation Mean squared error = %g\n",total_error/prob.l); ~~~~~^ train.c:161:14: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((prob.l*sumvy-sumv*sumy)*(prob.l*sumvy-sumv*sumy))/ ~~~~~^ train.c:161:39: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((prob.l*sumvy-sumv*sumy)*(prob.l*sumvy-sumv*sumy))/ ~~~~~^ train.c:162:14: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((prob.l*sumvv-sumv*sumv)*(prob.l*sumyy-sumy*sumy)) ~~~~~^ train.c:162:39: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((prob.l*sumvv-sumv*sumv)*(prob.l*sumyy-sumy*sumy)) ~~~~~^ train.c:170:53: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] printf("Cross Validation Accuracy = %g%%\n",100.0*total_correct/prob.l); ^~~~~~~~~~~~~ train.c:170:72: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] printf("Cross Validation Accuracy = %g%%\n",100.0*total_correct/prob.l); ~~~~~^ train.c: In function 'void parse_command_line(INT64, char**, char*, char*)': train.c:222:76: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] param.weight_label = (INT64 *) realloc(param.weight_label,sizeof(INT64)*param.nr_weight); ~~~~~~~^~~~~~~~~~~~~~~~ train.c:223:66: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] param.weight = (double *) realloc(param.weight,sizeof(double)*param.nr_weight); ~~~~~~~~^~~~~~~~~~~~~~~~ train.c: In function 'void read_problem(const char*)': train.c:8:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ train.c:320:9: note: in expansion of macro 'Malloc' line = Malloc(char,max_line_len); ^~~~~~ train.c:8:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ train.c:340:11: note: in expansion of macro 'Malloc' prob.y = Malloc(double,prob.l); ^~~~~~ train.c:8:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ train.c:341:11: note: in expansion of macro 'Malloc' prob.x = Malloc(struct feature_node *,prob.l); ^~~~~~ train.c:8:42: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) ~~~^~~~~~~~ train.c:342:12: note: in expansion of macro 'Malloc' x_space = Malloc(struct feature_node,elements+prob.l); ^~~~~~ g++ -Wall -Wconversion -O3 -fPIC -o predict predict.c tron.o linear.o blas/blas.a predict.c: In function 'char* readline(FILE*)': predict.c:31:34: warning: conversion to 'int' from 'INT64 {aka long long int}' may alter its value [-Wconversion] if(fgets(line,max_line_len,input) == NULL) ^ predict.c:37:44: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] line = (char *) realloc(line,max_line_len); ^ predict.c:39:33: warning: conversion to 'int' from 'INT64 {aka long long int}' may alter its value [-Wconversion] if(fgets(line+len,max_line_len-len,input) == NULL) ~~~~~~~~~~~~^~~~ predict.c: In function 'void do_predict(FILE*, FILE*)': predict.c:71:35: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] labels=(INT64 *) malloc(nr_class*sizeof(INT64)); ~~~~~~~~^~~~~~~~ predict.c:73:46: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] prob_estimates = (double *) malloc(nr_class*sizeof(double)); ~~~~~~~~^~~~~~~~ predict.c:82:36: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] line = (char *)malloc(max_line_len*sizeof(char)); ~~~~~~~~~~~~^~~~~~~~ predict.c:103:54: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] x = (struct feature_node *) realloc(x,max_nr_attr*sizeof(struct feature_node)); ~~~~~~~~~~~^~~~~~~~ predict.c:165:55: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] info("Mean squared error = %g (regression)\n",error/total); ^~~~~ predict.c:167:12: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((total*sumpt-sump*sumt)*(total*sumpt-sump*sumt))/ ^~~~~ predict.c:167:36: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((total*sumpt-sump*sumt)*(total*sumpt-sump*sumt))/ ^~~~~ predict.c:168:12: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((total*sumpp-sump*sump)*(total*sumtt-sumt*sumt)) ^~~~~ predict.c:168:36: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] ((total*sumpp-sump*sump)*(total*sumtt-sumt*sumt)) ^~~~~ predict.c:172:57: warning: conversion to 'double' from 'INT64 {aka long long int}' may alter its value [-Wconversion] info("Accuracy = %g%% (%lld/%lld)\n",(double) correct/total*100,(long long int)correct,(long long int)total); ^~~~~ predict.c: In function 'int main(int, char**)': predict.c:239:48: warning: conversion to 'size_t {aka unsigned int}' from 'INT64 {aka long long int}' may alter its value [-Wconversion] x = (struct feature_node *) malloc(max_nr_attr*sizeof(struct feature_node)); ~~~~~~~~~~~^~~~~~~~ make[2]: Leaving directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear' make -C liblinear/python make[2]: Entering directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear/python' make -C .. lib make[3]: Entering directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear' if [ "Linux" = "Darwin" ]; then \ SHARED_LIB_FLAG="-dynamiclib -Wl,-install_name,liblinear.so.1"; \ else \ SHARED_LIB_FLAG="-shared -Wl,-soname,liblinear.so.1"; \ fi; \ g++ ${SHARED_LIB_FLAG} linear.o tron.o blas/blas.a -o liblinear.so.1 make[3]: Leaving directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear' make[2]: Leaving directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl/liblinear/python' make[1]: Leaving directory '/tmp/pip-wheel-zhgxx_vo/stclassify/stclassify/svc_impl' copying stclassify/svc_impl/util.so.1 -> build/lib/stclassify/svc_impl copying stclassify/svc_impl/liblinear/liblinear.so.1 -> build/lib/stclassify/svc_impl/liblinear running install_lib creating build/bdist.linux-armv7l creating build/bdist.linux-armv7l/wheel creating build/bdist.linux-armv7l/wheel/stclassify copying build/lib/stclassify/classifier.py -> build/bdist.linux-armv7l/wheel/stclassify copying build/lib/stclassify/text_process.py -> build/bdist.linux-armv7l/wheel/stclassify copying build/lib/stclassify/base.py -> build/bdist.linux-armv7l/wheel/stclassify creating build/bdist.linux-armv7l/wheel/stclassify/svc_impl copying build/lib/stclassify/svc_impl/util.so.1 -> build/bdist.linux-armv7l/wheel/stclassify/svc_impl creating build/bdist.linux-armv7l/wheel/stclassify/svc_impl/liblinear creating build/bdist.linux-armv7l/wheel/stclassify/svc_impl/liblinear/python copying build/lib/stclassify/svc_impl/liblinear/python/liblinear.py -> build/bdist.linux-armv7l/wheel/stclassify/svc_impl/liblinear/python copying build/lib/stclassify/svc_impl/liblinear/python/liblinearutil.py -> build/bdist.linux-armv7l/wheel/stclassify/svc_impl/liblinear/python copying build/lib/stclassify/svc_impl/liblinear/python/__init__.py -> build/bdist.linux-armv7l/wheel/stclassify/svc_impl/liblinear/python copying build/lib/stclassify/svc_impl/liblinear/liblinear.so.1 -> build/bdist.linux-armv7l/wheel/stclassify/svc_impl/liblinear copying build/lib/stclassify/svc_impl/learner_impl.py -> build/bdist.linux-armv7l/wheel/stclassify/svc_impl copying build/lib/stclassify/svc_impl/__init__.py -> build/bdist.linux-armv7l/wheel/stclassify/svc_impl copying build/lib/stclassify/__init__.py -> build/bdist.linux-armv7l/wheel/stclassify running install_egg_info running egg_info writing top-level names to stclassify.egg-info/top_level.txt writing requirements to stclassify.egg-info/requires.txt writing stclassify.egg-info/PKG-INFO writing dependency_links to stclassify.egg-info/dependency_links.txt reading manifest file 'stclassify.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'stclassify.egg-info/SOURCES.txt' Copying stclassify.egg-info to build/bdist.linux-armv7l/wheel/stclassify-0.1.0.17-py3.5.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/stclassify-0.1.0.17.dist-info/WHEEL creating '/tmp/pip-wheel-ivbiuwyh/stclassify-0.1.0.17-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it adding 'stclassify/__init__.py' adding 'stclassify/base.py' adding 'stclassify/classifier.py' adding 'stclassify/text_process.py' adding 'stclassify/svc_impl/__init__.py' adding 'stclassify/svc_impl/learner_impl.py' adding 'stclassify/svc_impl/util.so.1' adding 'stclassify/svc_impl/liblinear/liblinear.so.1' adding 'stclassify/svc_impl/liblinear/python/__init__.py' adding 'stclassify/svc_impl/liblinear/python/liblinear.py' adding 'stclassify/svc_impl/liblinear/python/liblinearutil.py' adding 'stclassify-0.1.0.17.dist-info/METADATA' adding 'stclassify-0.1.0.17.dist-info/WHEEL' adding 'stclassify-0.1.0.17.dist-info/top_level.txt' adding 'stclassify-0.1.0.17.dist-info/RECORD' removing build/bdist.linux-armv7l/wheel Running setup.py bdist_wheel for stclassify: finished with status 'done' Stored in directory: /tmp/tmpbfeakx3q Successfully built stclassify Cleaning up... Removing source in /tmp/pip-wheel-zhgxx_vo/stclassify Removed build tracker '/tmp/pip-req-tracker-2oa56ejx'