[
https://issues.apache.org/jira/browse/MADLIB-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310051#comment-16310051
]
Adam Brusselback commented on MADLIB-1195:
------------------------------------------
I didn't see anywhere in the documentation saying patch was a dependency needed
for install, which is why I didn't have it installed.
Installing patch got it much farther along, but I still ended up with an error:
{code}
pgxn install madlib
INFO: best version: madlib 1.13.0
INFO: saving /tmp/tmpLL68VV/madlib-1.13.0.zip
INFO: unpacking: /tmp/tmpLL68VV/madlib-1.13.0.zip
INFO: running configure
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Boost
-- No sufficiently recent version (>= 1.47) of Boost was found. Will download.
-- Found PythonInterp: /usr/bin/python (found version "2.7.13")
-- Found PostgreSQL: /usr/lib/postgresql/10/bin/postgres
-- Found PostgreSQL_10: /usr/lib/postgresql/10/bin/postgres
>> Adding PostgreSQL 10.0 (x86_64) to target list...
-- Could NOT find Greenplum (missing: GREENPLUM_EXECUTABLE)
-- Could NOT find HAWQ (missing: HAWQ_EXECUTABLE)
-- Using default web-based MathJax
-- Could NOT find FLEX (missing: FLEX_EXECUTABLE) (Required is at least
version "2.5.33")
-- Could NOT find BISON (missing: BISON_EXECUTABLE) (Required is at least
version "2.4")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could not find recent versions of at least one of flex, bison, doxygen, or
dot (part of graphviz, needed for doxygen). Documentation will not be built.
-- A complete LaTeX installation could not be found. Compiling the design
document will not be possible.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmpLL68VV/madlib-1.13.0/build
INFO: building extension
make -C build all
make[1]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[2]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target pythonFiles
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 0%] Built target pythonFiles
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target EP_eigen
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 0%] Creating directories for 'EP_eigen'
[ 0%] Performing download step (download, verify and extract) for 'EP_eigen'
-- Downloading...
dst='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/3.2.tar.gz'
timeout='none'
-- Using src='https://github.com/madlib/eigen/archive/branches/3.2.tar.gz'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- Downloading... done
-- extracting...
src='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/3.2.tar.gz'
dst='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/src/EP_eigen'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 0%] No patch step for 'EP_eigen'
[ 0%] No update step for 'EP_eigen'
[ 0%] Performing configure step for 'EP_eigen'
Ignored: cmake -GUnix Makefiles
/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/src/EP_eigen
[ 0%] Performing build step for 'EP_eigen'
Ignored: make
[ 0%] Performing install step for 'EP_eigen'
Ignored: make
[ 1%] Completed 'EP_eigen'
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 1%] Built target EP_eigen
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target EP_pyxb
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 1%] Creating directories for 'EP_pyxb'
[ 1%] Performing download step (download, verify and extract) for 'EP_pyxb'
-- Downloading...
dst='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/PyXB-1.2.6.tar.gz'
timeout='none'
-- Using src='http://sourceforge.net/projects/pyxb/files/PyXB-1.2.6.tar.gz'
-- [download 100% complete]
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/PyXB-1.2.6.tar.gz'
-- Downloading... done
-- extracting...
src='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/PyXB-1.2.6.tar.gz'
dst='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/src/EP_pyxb'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 1%] Performing patch step for 'EP_pyxb'
patching file setup.py
[ 1%] No update step for 'EP_pyxb'
[ 1%] No configure step for 'EP_pyxb'
[ 1%] No build step for 'EP_pyxb'
[ 2%] Performing install step for 'EP_pyxb'
[ 2%] Completed 'EP_pyxb'
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 2%] Built target EP_pyxb
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target EP_boost
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 2%] Creating directories for 'EP_boost'
[ 2%] Performing download step (download, verify and extract) for 'EP_boost'
-- Downloading...
dst='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/boost_1_61_0.tar.gz'
timeout='none'
-- Using src='http://sourceforge.net/projects/boost/files/boost_1_61_0.tar.gz'
-- [download 100% complete]
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/boost_1_61_0.tar.gz'
-- Downloading... done
-- extracting...
src='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/downloads/boost_1_61_0.tar.gz'
dst='/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/src/EP_boost'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 2%] No patch step for 'EP_boost'
[ 2%] No update step for 'EP_boost'
[ 2%] Performing configure step for 'EP_boost'
Ignored: cmake -GUnix Makefiles
/tmp/tmpLL68VV/madlib-1.13.0/build/third_party/src/EP_boost
[ 2%] Performing build step for 'EP_boost'
Ignored: make
[ 2%] Performing install step for 'EP_boost'
Ignored: make
[ 2%] Completed 'EP_boost'
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 2%] Built target EP_boost
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target sqlFiles
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 2%] Built target sqlFiles
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target madlibPatches
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 2%] Built target madlibPatches
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target madpackFiles
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 2%] Copying __init__.py.
[ 2%] Copying argparse.py.
[ 2%] Copying configyml.py.
[ 2%] Copying madpack.py.
[ 3%] Copying sort-module.py.
[ 3%] Copying upgrade_util.py.
[ 3%] Copying utilities.py.
[ 3%] Copying yaml/__init__.py.
[ 3%] Copying yaml/composer.py.
[ 3%] Copying yaml/constructor.py.
[ 3%] Copying yaml/cyaml.py.
[ 3%] Copying yaml/dumper.py.
[ 3%] Copying yaml/emitter.py.
[ 4%] Copying yaml/error.py.
[ 4%] Copying yaml/events.py.
[ 4%] Copying yaml/loader.py.
[ 4%] Copying yaml/nodes.py.
[ 4%] Copying yaml/parser.py.
[ 4%] Copying yaml/reader.py.
[ 4%] Copying yaml/representer.py.
[ 4%] Copying yaml/resolver.py.
[ 4%] Copying yaml/scanner.py.
[ 5%] Copying yaml/serializer.py.
[ 5%] Copying yaml/tokens.py.
[ 5%] Copying changelist_1.10.0_1.11.yaml.
[ 5%] Copying changelist_1.11_1.12.yaml.
[ 5%] Copying changelist_1.12_1.13.yaml.
[ 5%] Copying changelist_1.9.1_1.10.0.yaml.
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 5%] Built target madpackFiles
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target binaryFiles
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 5%] Copying madpack.
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 5%] Built target binaryFiles
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target configFiles
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 5%] Copying Modules.yml.
[ 7%] Copying Ports.yml.
[ 7%] Copying Version.yml.
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 7%] Built target configFiles
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target sqlFiles_postgresql
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 7%] Validating and copying assoc_rules/assoc_rules.sql_in.
[ 7%] Validating and copying assoc_rules/test/assoc_rules.sql_in.
[ 7%] Validating and copying bayes/bayes.sql_in.
[ 7%] Validating and copying bayes/test/bayes.sql_in.
[ 7%] Validating and copying bayes/test/gaussian_naive_bayes.sql_in.
[ 8%] Validating and copying conjugate_gradient/conjugate_gradient.sql_in.
[ 8%] Validating and copying conjugate_gradient/test/conj_grad.sql_in.
[ 8%] Validating and copying convex/lmf.sql_in.
[ 8%] Validating and copying convex/mlp.sql_in.
[ 8%] Validating and copying convex/test/lmf.sql_in.
[ 8%] Validating and copying convex/test/mlp.sql_in.
[ 8%] Validating and copying convex/utils_regularization.sql_in.
[ 8%] Validating and copying crf/crf.sql_in.
[ 9%] Validating and copying crf/crf_data_loader.sql_in.
[ 9%] Validating and copying crf/crf_feature_gen.sql_in.
[ 9%] Validating and copying crf/test/crf_test_large.sql_in.
[ 9%] Validating and copying crf/test/crf_test_small.sql_in.
[ 9%] Validating and copying crf/test/crf_train_large.sql_in.
[ 9%] Validating and copying crf/test/crf_train_small.sql_in.
[ 9%] Validating and copying crf/viterbi.sql_in.
[ 9%] Validating and copying elastic_net/elastic_net.sql_in.
[ 9%] Validating and copying elastic_net/test/elastic_net_install_check.sql_in.
[ 10%] Validating and copying glm/glm.sql_in.
[ 10%] Validating and copying glm/multiresponseglm.sql_in.
[ 10%] Validating and copying glm/ordinal.sql_in.
[ 10%] Validating and copying glm/test/binomial.sql_in.
[ 10%] Validating and copying glm/test/gamma.sql_in.
[ 10%] Validating and copying glm/test/gaussian.sql_in.
[ 10%] Validating and copying glm/test/inverse_gaussian.sql_in.
[ 10%] Validating and copying glm/test/multinom.sql_in.
[ 10%] Validating and copying glm/test/ordinal.sql_in.
[ 11%] Validating and copying glm/test/poisson.sql_in.
[ 11%] Validating and copying graph/apsp.sql_in.
[ 11%] Validating and copying graph/bfs.sql_in.
[ 11%] Validating and copying graph/hits.sql_in.
[ 11%] Validating and copying graph/measures.sql_in.
[ 11%] Validating and copying graph/pagerank.sql_in.
[ 11%] Validating and copying graph/sssp.sql_in.
[ 11%] Validating and copying graph/test/apsp.sql_in.
[ 11%] Validating and copying graph/test/bfs.sql_in.
[ 12%] Validating and copying graph/test/hits.sql_in.
[ 12%] Validating and copying graph/test/measures.sql_in.
[ 12%] Validating and copying graph/test/pagerank.sql_in.
[ 12%] Validating and copying graph/test/sssp.sql_in.
[ 12%] Validating and copying graph/test/wcc.sql_in.
[ 12%] Validating and copying graph/wcc.sql_in.
[ 12%] Validating and copying kmeans/kmeans.sql_in.
[ 12%] Validating and copying kmeans/test/kmeans.sql_in.
[ 14%] Validating and copying knn/knn.sql_in.
[ 14%] Validating and copying knn/test/knn.sql_in.
[ 14%] Validating and copying lda/lda.sql_in.
[ 14%] Validating and copying lda/test/lda.sql_in.
[ 14%] Validating and copying linalg/linalg.sql_in.
[ 14%] Validating and copying linalg/matrix_ops.sql_in.
[ 14%] Validating and copying linalg/pivotalr_arrayops.sql_in.
[ 14%] Validating and copying linalg/svd.sql_in.
[ 14%] Validating and copying linalg/test/linalg.sql_in.
[ 15%] Validating and copying linalg/test/matrix_ops.sql_in.
[ 15%] Validating and copying linalg/test/svd.sql_in.
[ 15%] Validating and copying linear_systems/dense_linear_systems.sql_in.
[ 15%] Validating and copying linear_systems/sparse_linear_systems.sql_in.
[ 15%] Validating and copying linear_systems/test/dense_linear_sytems.sql_in.
[ 15%] Validating and copying linear_systems/test/sparse_linear_sytems.sql_in.
[ 15%] Validating and copying pca/pca.sql_in.
[ 15%] Validating and copying pca/pca_project.sql_in.
[ 15%] Validating and copying pca/test/pca.sql_in.
[ 16%] Validating and copying pca/test/pca_project.sql_in.
[ 16%] Validating and copying pmml/table_to_pmml.sql_in.
[ 16%] Validating and copying pmml/test/pmml_dt.sql_in.
[ 16%] Validating and copying pmml/test/pmml_glm_binomial.sql_in.
[ 16%] Validating and copying pmml/test/pmml_glm_gamma.sql_in.
[ 16%] Validating and copying pmml/test/pmml_glm_ig.sql_in.
[ 16%] Validating and copying pmml/test/pmml_glm_normal.sql_in.
[ 16%] Validating and copying pmml/test/pmml_glm_poisson.sql_in.
[ 16%] Validating and copying pmml/test/pmml_multinom.sql_in.
[ 17%] Validating and copying pmml/test/pmml_ordinal.sql_in.
[ 17%] Validating and copying pmml/test/pmml_rf.sql_in.
[ 17%] Validating and copying pmml/test/table_to_pmml.sql_in.
[ 17%] Validating and copying prob/prob.sql_in.
[ 17%] Validating and copying prob/test/prob.sql_in.
[ 17%] Validating and copying recursive_partitioning/decision_tree.sql_in.
[ 17%] Validating and copying recursive_partitioning/random_forest.sql_in.
[ 17%] Validating and copying recursive_partitioning/test/decision_tree.sql_in.
[ 18%] Validating and copying recursive_partitioning/test/random_forest.sql_in.
[ 18%] Validating and copying regress/clustered_variance.sql_in.
[ 18%] Validating and copying regress/linear.sql_in.
[ 18%] Validating and copying regress/logistic.sql_in.
[ 18%] Validating and copying regress/marginal.sql_in.
[ 18%] Validating and copying regress/multilogistic.sql_in.
[ 18%] Validating and copying regress/robust.sql_in.
[ 18%] Validating and copying regress/test/clustered.sql_in.
[ 18%] Validating and copying regress/test/linear.sql_in.
[ 20%] Validating and copying regress/test/logistic.sql_in.
[ 20%] Validating and copying regress/test/marginal.sql_in.
[ 20%] Validating and copying regress/test/multilogistic.sql_in.
[ 20%] Validating and copying regress/test/robust.sql_in.
[ 20%] Validating and copying sample/sample.sql_in.
[ 20%] Validating and copying sample/stratified_sample.sql_in.
[ 20%] Validating and copying sample/test/sample.sql_in.
[ 20%] Validating and copying sample/test/stratified_sample.sql_in.
[ 20%] Validating and copying sample/test/train_test_split.sql_in.
[ 21%] Validating and copying sample/train_test_split.sql_in.
[ 21%] Validating and copying stats/clustered_variance_coxph.sql_in.
[ 21%] Validating and copying stats/correlation.sql_in.
[ 21%] Validating and copying stats/cox_prop_hazards.sql_in.
[ 21%] Validating and copying stats/distribution.sql_in.
[ 21%] Validating and copying stats/hypothesis_tests.sql_in.
[ 21%] Validating and copying stats/pred_metrics.sql_in.
[ 21%] Validating and copying stats/robust_variance_coxph.sql_in.
[ 21%] Validating and copying stats/test/anova_test.sql_in.
[ 22%] Validating and copying stats/test/chi2_test.sql_in.
[ 22%] Validating and copying stats/test/correlation.sql_in.
[ 22%] Validating and copying stats/test/cox_prop_hazards.sql_in.
[ 22%] Validating and copying stats/test/f_test.sql_in.
[ 22%] Validating and copying stats/test/ks_test.sql_in.
[ 22%] Validating and copying stats/test/mw_test.sql_in.
[ 22%] Validating and copying stats/test/pred_metrics.sql_in.
[ 22%] Validating and copying
stats/test/robust_and_clustered_variance_coxph.sql_in.
[ 23%] Validating and copying stats/test/t_test.sql_in.
[ 23%] Validating and copying stats/test/wsr_test.sql_in.
[ 23%] Validating and copying summary/summary.sql_in.
[ 23%] Validating and copying summary/test/summary.sql_in.
[ 23%] Validating and copying svm/svm.sql_in.
[ 23%] Validating and copying svm/test/svm.sql_in.
[ 23%] Validating and copying tsa/arima.sql_in.
[ 23%] Validating and copying tsa/test/arima.sql_in.
[ 23%] Validating and copying tsa/test/arima_train.sql_in.
[ 24%] Validating and copying utilities/create_indicators.sql_in.
[ 24%] Validating and copying utilities/encode_categorical.sql_in.
[ 24%] Validating and copying utilities/path.sql_in.
[ 24%] Validating and copying utilities/pivot.sql_in.
[ 24%] Validating and copying utilities/sessionize.sql_in.
[ 24%] Validating and copying utilities/test/drop_madlib_temp.sql_in.
[ 24%] Validating and copying utilities/test/encode_categorical.sql_in.
[ 24%] Validating and copying utilities/test/path.sql_in.
[ 24%] Validating and copying utilities/test/pivot.sql_in.
[ 25%] Validating and copying utilities/test/sessionize.sql_in.
[ 25%] Validating and copying utilities/test/text_utilities.sql_in.
[ 25%] Validating and copying utilities/text_utilities.sql_in.
[ 25%] Validating and copying utilities/utilities.sql_in.
[ 25%] Validating and copying validation/cross_validation.sql_in.
[ 25%] Validating and copying validation/test/cross_validation.sql_in.
[ 25%] Validating and copying array_ops/src/pg_gp/array_ops.sql_in
[ 25%] Validating and copying array_ops/src/pg_gp/test/array_ops.sql_in
[ 25%] Validating and copying sketch/src/pg_gp/sketch.sql_in
[ 27%] Validating and copying sketch/src/pg_gp/sql/cm.sql_in
[ 27%] Validating and copying sketch/src/pg_gp/sql/fm.sql_in
[ 27%] Validating and copying sketch/src/pg_gp/sql/mfv.sql_in
[ 27%] Validating and copying sketch/src/pg_gp/sql/support.sql_in
[ 27%] Validating and copying stemmer/src/pg_gp/porter_stemmer.sql_in
[ 27%] Validating and copying svec/src/pg_gp/svec.sql_in
[ 27%] Validating and copying svec_util/src/pg_gp/sql/gp_sfv_sort_order.sql_in
[ 27%] Validating and copying svec_util/src/pg_gp/sql/svec_test.sql_in
[ 28%] Validating and copying svec_util/src/pg_gp/svec_util.sql_in
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 28%] Built target sqlFiles_postgresql
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target pythonFiles_postgresql_10
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 28%] Preprocessing assoc_rules/__init__.py_in with m4.
[ 28%] Preprocessing assoc_rules/assoc_rules.py_in with m4.
[ 29%] Preprocessing bayes/__init__.py_in with m4.
[ 29%] Preprocessing bayes/bayes.py_in with m4.
[ 29%] Preprocessing convex/__init__.py_in with m4.
[ 29%] Preprocessing convex/lmf_igd.py_in with m4.
[ 29%] Preprocessing convex/mlp_igd.py_in with m4.
[ 29%] Preprocessing convex/utils_regularization.py_in with m4.
[ 29%] Preprocessing crf/__init__.py_in with m4.
[ 29%] Preprocessing crf/crf.py_in with m4.
[ 30%] Preprocessing crf/crf_feature_gen.py_in with m4.
[ 30%] Preprocessing crf/viterbi.py_in with m4.
[ 30%] Preprocessing elastic_net/__init__.py_in with m4.
[ 30%] Preprocessing elastic_net/elastic_net.py_in with m4.
[ 30%] Preprocessing elastic_net/elastic_net_generate_result.py_in with m4.
[ 30%] Preprocessing elastic_net/elastic_net_models.py_in with m4.
[ 30%] Preprocessing elastic_net/elastic_net_optimizer_fista.py_in with m4.
[ 30%] Preprocessing elastic_net/elastic_net_optimizer_igd.py_in with m4.
[ 30%] Preprocessing elastic_net/elastic_net_utils.py_in with m4.
[ 31%] Preprocessing glm/__init__.py_in with m4.
[ 31%] Preprocessing glm/glm.py_in with m4.
[ 31%] Preprocessing glm/multinom.py_in with m4.
[ 31%] Preprocessing glm/ordinal.py_in with m4.
[ 31%] Preprocessing graph/__init__.py_in with m4.
[ 31%] Preprocessing graph/apsp.py_in with m4.
[ 31%] Preprocessing graph/bfs.py_in with m4.
[ 31%] Preprocessing graph/graph_utils.py_in with m4.
[ 31%] Preprocessing graph/hits.py_in with m4.
[ 32%] Preprocessing graph/measures.py_in with m4.
[ 32%] Preprocessing graph/pagerank.py_in with m4.
[ 32%] Preprocessing graph/sssp.py_in with m4.
[ 32%] Preprocessing graph/wcc.py_in with m4.
[ 32%] Preprocessing kmeans/__init__.py_in with m4.
[ 32%] Preprocessing kmeans/kmeans.py_in with m4.
[ 32%] Preprocessing knn/__init__.py_in with m4.
[ 32%] Preprocessing knn/knn.py_in with m4.
[ 32%] Preprocessing lda/__init__.py_in with m4.
[ 34%] Preprocessing lda/lda.py_in with m4.
[ 34%] Preprocessing linalg/__init__.py_in with m4.
[ 34%] Preprocessing linalg/matrix_help_message.py_in with m4.
[ 34%] Preprocessing linalg/matrix_ops.py_in with m4.
[ 34%] Preprocessing linalg/svd.py_in with m4.
[ 34%] Preprocessing linear_systems/__init__.py_in with m4.
[ 34%] Preprocessing linear_systems/dense_linear_systems.py_in with m4.
[ 34%] Preprocessing linear_systems/sparse_linear_systems.py_in with m4.
[ 35%] Preprocessing linear_systems/test/__init__.py_in with m4.
[ 35%] Preprocessing pca/__init__.py_in with m4.
[ 35%] Preprocessing pca/pca.py_in with m4.
[ 35%] Preprocessing pca/pca_project.py_in with m4.
[ 35%] Preprocessing pmml/__init__.py_in with m4.
[ 35%] Preprocessing pmml/binding.py_in with m4.
[ 35%] Preprocessing pmml/formula.py_in with m4.
[ 35%] Preprocessing pmml/table_to_pmml.py_in with m4.
[ 35%] Preprocessing recursive_partitioning/__init__.py_in with m4.
[ 36%] Preprocessing recursive_partitioning/decision_tree.py_in with m4.
[ 36%] Preprocessing recursive_partitioning/random_forest.py_in with m4.
[ 36%] Preprocessing regress/__init__.py_in with m4.
[ 36%] Preprocessing regress/clustered_variance.py_in with m4.
[ 36%] Preprocessing regress/linear.py_in with m4.
[ 36%] Preprocessing regress/logistic.py_in with m4.
[ 36%] Preprocessing regress/marginal.py_in with m4.
[ 36%] Preprocessing regress/margins.py_in with m4.
[ 36%] Preprocessing regress/margins_builder.py_in with m4.
[ 37%] Preprocessing regress/multilogistic.py_in with m4.
[ 37%] Preprocessing regress/robust_linear.py_in with m4.
[ 37%] Preprocessing regress/robust_logistic.py_in with m4.
[ 37%] Preprocessing regress/robust_mlogistic.py_in with m4.
[ 37%] Preprocessing sample/__init__.py_in with m4.
[ 37%] Preprocessing sample/stratified_sample.py_in with m4.
[ 37%] Preprocessing sample/train_test_split.py_in with m4.
[ 37%] Preprocessing stats/__init__.py_in with m4.
[ 37%] Preprocessing stats/clustered_variance_coxph.py_in with m4.
[ 38%] Preprocessing stats/correlation.py_in with m4.
[ 38%] Preprocessing stats/cox_prop_hazards.py_in with m4.
[ 38%] Preprocessing stats/pred_metrics.py_in with m4.
[ 38%] Preprocessing stats/robust_variance_coxph.py_in with m4.
[ 38%] Preprocessing summary/Summarizer.py_in with m4.
[ 38%] Preprocessing summary/__init__.py_in with m4.
[ 38%] Preprocessing summary/summary.py_in with m4.
[ 38%] Preprocessing svm/__init__.py_in with m4.
[ 40%] Preprocessing svm/kernel_approximation.py_in with m4.
[ 40%] Preprocessing svm/svm.py_in with m4.
[ 40%] Preprocessing tsa/__init__.py_in with m4.
[ 40%] Preprocessing tsa/arima.py_in with m4.
[ 40%] Preprocessing tsa/arima_forecast.py_in with m4.
[ 40%] Preprocessing utilities/__init__.py_in with m4.
[ 40%] Preprocessing utilities/admin.py_in with m4.
[ 40%] Preprocessing utilities/control.py_in with m4.
[ 40%] Preprocessing utilities/control_composite.py_in with m4.
[ 41%] Preprocessing utilities/create_indicators.py_in with m4.
[ 41%] Preprocessing utilities/encode_categorical.py_in with m4.
[ 41%] Preprocessing utilities/group_control.py_in with m4.
[ 41%] Preprocessing utilities/in_mem_group_control.py_in with m4.
[ 41%] Preprocessing utilities/math_utils.py_in with m4.
[ 41%] Preprocessing utilities/path.py_in with m4.
[ 41%] Preprocessing utilities/pivot.py_in with m4.
[ 41%] Preprocessing utilities/sessionize.py_in with m4.
[ 41%] Preprocessing utilities/text_utilities.py_in with m4.
[ 42%] Preprocessing utilities/utilities.py_in with m4.
[ 42%] Preprocessing utilities/validate_args.py_in with m4.
[ 42%] Preprocessing validation/__init__.py_in with m4.
[ 42%] Preprocessing validation/cross_validation.py_in with m4.
[ 42%] Preprocessing validation/cv_utils.py_in with m4.
[ 42%] Preprocessing validation/internal/__init__.py_in with m4.
[ 42%] Preprocessing validation/internal/cross_validation.py_in with m4.
[ 42%] Preprocessing sketch/src/pg_gp/__init__.py_in with m4.
[ 42%] Preprocessing sketch/src/pg_gp/countmin.py_in with m4.
[ 43%] Preprocessing svec_util/src/pg_gp/__init__.py_in with m4.
[ 43%] Preprocessing svec_util/src/pg_gp/generate_svec.py_in with m4.
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 43%] Built target pythonFiles_postgresql_10
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Scanning dependencies of target madlib_postgresql_10
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
make[3]: Entering directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
[ 44%] Building CXX object
src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/__/__/__/modules/assoc_rules/assoc_rules.cpp.o
[ 44%] Building CXX object
src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/__/__/__/modules/convex/linear_svm_igd.cpp.o
[ 44%] Building CXX object
src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/__/__/__/modules/convex/lmf_igd.cpp.o
[ 44%] Building CXX object
src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/__/__/__/modules/convex/mlp_igd.cpp.o
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp: In member function
‘madlib::dbconnector::postgres::AnyType
madlib::modules::convex::mlp_igd_transition::run(madlib::dbconnector::postgres::AnyType&)’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:81:56: warning:
conversion to ‘int’ from ‘std::size_t {aka long unsigned int}’ may alter its
value [-Wconversion]
int numberOfStages = numbersOfUnits.size() - 1;
~~~~~~~~~~~~~~~~~~~~~~^~~
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:86:82: warning:
conversion to ‘uint16_t {aka short unsigned int}’ from ‘int’ may alter its
value [-Wconversion]
reinterpret_cast<const double
*>(numbersOfUnits.ptr()));
^
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:102:55: warning:
conversion to ‘uint16_t {aka short unsigned int}’ from ‘int’ may alter its
value [-Wconversion]
&numbersOfUnits[0]);
^
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:93:24: warning:
unused variable ‘warm_start’ [-Wunused-variable]
const bool warm_start = args[9].getAs<bool>();
^~~~~~~~~~
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:109:20: warning:
unused variable ‘N’ [-Wunused-variable]
const uint16_t N = state.task.numberOfStages;
^
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:110:19: warning:
unused variable ‘n’ [-Wunused-variable]
const double *n = state.task.numbersOfUnits;
^
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp: In member function
‘madlib::dbconnector::postgres::AnyType
madlib::modules::convex::internal_predict_mlp::run(madlib::dbconnector::postgres::AnyType&)’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:218:102: warning:
conversion to ‘uint16_t {aka short unsigned int}’ from ‘std::size_t {aka long
unsigned int}’ may alter its value [-Wconversion]
model.rebind(&is_classification,&activation,&coeff.data()[0],numberOfStages,&layerSizes.data()[0]);
^
In file included from
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:37:0:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp: In
instantiation of ‘uint32_t
madlib::modules::convex::MLPModel<Handle>::rebind(const double*, const double*,
const double*, const uint16_t&, const double*) [with Handle =
madlib::dbconnector::postgres::MutableArrayHandle<double>; uint32_t = unsigned
int; uint16_t = short unsigned int]’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:102:55: required
from here
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:146:28: warning:
conversion to ‘Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0>
>::Index {aka long int}’ from ‘double’ may alter its value [-Wfloat-conversion]
n[k-1] + 1, n[k]));
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:144:32: warning:
conversion to ‘Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0>
>::Index {aka long int}’ from ‘double’ may alter its value [-Wfloat-conversion]
u.push_back(Eigen::Map<Matrix >(
^~~~~~~~~~~~~
const_cast<double*>(data + sizeOfU),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
n[k-1] + 1, n[k]));
~~~~~~~~~~~~~~~~~
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:147:21: warning:
conversion to ‘uint32_t {aka unsigned int}’ from ‘double’ may alter its value
[-Wfloat-conversion]
sizeOfU += (n[k-1] + 1) * (n[k]);
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp: In
instantiation of ‘static uint32_t
madlib::modules::convex::MLPModel<Handle>::arraySize(const uint16_t&, const
double*) [with Handle = madlib::dbconnector::postgres::ArrayHandle<double>;
uint32_t = unsigned int; uint16_t = short unsigned int]’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:194:46: required
from here
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:124:18: warning:
conversion to ‘uint32_t {aka unsigned int}’ from ‘double’ may alter its value
[-Wfloat-conversion]
size += (n[k-1] + 1) * (n[k]);
In file included from
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:31:0:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp: In instantiation
of ‘static void madlib::modules::convex::MLP<Model,
Tuple>::gradientInPlace(madlib::modules::convex::MLP<Model,
Tuple>::model_type&, const independent_variables_type&, const
dependent_variable_type&, const double&) [with Model =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; Tuple = madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > >;
madlib::modules::convex::MLP<Model, Tuple>::model_type =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; madlib::modules::convex::MLP<Model, Tuple>::independent_variables_type =
Eigen::Matrix<double, -1, 1>; madlib::modules::convex::MLP<Model,
Tuple>::dependent_variable_type =
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> >]’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/algo/igd.hpp:52:26: required
from ‘static void madlib::modules::convex::IGD<State, ConstState,
Task>::transition(madlib::modules::convex::IGD<State, ConstState,
Task>::state_type&, const tuple_type&) [with State =
madlib::modules::convex::MLPIGDState<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; ConstState =
madlib::modules::convex::MLPIGDState<madlib::dbconnector::postgres::ArrayHandle<double>
>; Task =
madlib::modules::convex::MLP<madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>, madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > > >;
madlib::modules::convex::IGD<State, ConstState, Task>::state_type =
madlib::modules::convex::MLPIGDState<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; madlib::modules::convex::IGD<State, ConstState, Task>::tuple_type =
madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > >]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:127:22: required
from here
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp:121:31: warning:
conversion to ‘uint16_t {aka short unsigned int}’ from
‘std::vector<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >
>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
uint16_t N = model.u.size(); // assuming nu. of layers >= 1
^
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp: In instantiation
of ‘static void madlib::modules::convex::MLP<Model, Tuple>::feedForward(const
model_type&, const independent_variables_type&,
std::vector<Eigen::Matrix<double, -1, 1> >&, std::vector<Eigen::Matrix<double,
-1, 1> >&) [with Model =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; Tuple = madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > >;
madlib::modules::convex::MLP<Model, Tuple>::model_type =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; madlib::modules::convex::MLP<Model, Tuple>::independent_variables_type =
Eigen::Matrix<double, -1, 1>]’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp:166:16: required
from ‘static madlib::dbal::eigen_integration::ColumnVector
madlib::modules::convex::MLP<Model, Tuple>::predict(const model_type&, const
independent_variables_type&, bool) [with Model =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; Tuple = madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > >;
madlib::dbal::eigen_integration::ColumnVector = Eigen::Matrix<double, -1, 1>;
madlib::modules::convex::MLP<Model, Tuple>::model_type =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; madlib::modules::convex::MLP<Model, Tuple>::independent_variables_type =
Eigen::Matrix<double, -1, 1>]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:224:40: required
from here
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp:186:7: warning:
conversion to ‘uint16_t {aka short unsigned int}’ from
‘std::vector<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >
>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
N = model.u.size(); // assuming >= 1
In file included from
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:37:0:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp: In
instantiation of ‘uint32_t
madlib::modules::convex::MLPModel<Handle>::rebind(const double*, const double*,
const double*, const uint16_t&, const double*) [with Handle =
madlib::dbconnector::postgres::ArrayHandle<double>; uint32_t = unsigned int;
uint16_t = short unsigned int]’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/state.hpp:670:57:
required from ‘void madlib::modules::convex::MLPIGDState<Handle>::rebind()
[with Handle = madlib::dbconnector::postgres::ArrayHandle<double>]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/state.hpp:566:15:
required from ‘madlib::modules::convex::MLPIGDState<Handle>::MLPIGDState(const
madlib::dbconnector::postgres::AnyType&) [with Handle =
madlib::dbconnector::postgres::ArrayHandle<double>]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:73:69: required
from here
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:146:28: warning:
conversion to ‘Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0>
>::Index {aka long int}’ from ‘double’ may alter its value [-Wfloat-conversion]
n[k-1] + 1, n[k]));
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:144:32: warning:
conversion to ‘Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0>
>::Index {aka long int}’ from ‘double’ may alter its value [-Wfloat-conversion]
u.push_back(Eigen::Map<Matrix >(
^~~~~~~~~~~~~
const_cast<double*>(data + sizeOfU),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
n[k-1] + 1, n[k]));
~~~~~~~~~~~~~~~~~
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:147:21: warning:
conversion to ‘uint32_t {aka unsigned int}’ from ‘double’ may alter its value
[-Wfloat-conversion]
sizeOfU += (n[k-1] + 1) * (n[k]);
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp: In
instantiation of ‘static uint32_t
madlib::modules::convex::MLPModel<Handle>::arraySize(const uint16_t&, const
double*) [with Handle =
madlib::dbconnector::postgres::MutableArrayHandle<double>; uint32_t = unsigned
int; uint16_t = short unsigned int]’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/state.hpp:628:40:
required from ‘static uint32_t
madlib::modules::convex::MLPIGDState<Handle>::arraySize(const uint16_t&, const
double*) [with Handle =
madlib::dbconnector::postgres::MutableArrayHandle<double>; uint32_t = unsigned
int; uint16_t = short unsigned int]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/state.hpp:587:34:
required from ‘void
madlib::modules::convex::MLPIGDState<Handle>::allocate(const
madlib::dbconnector::postgres::Allocator&, const uint16_t&, const double*)
[with Handle = madlib::dbconnector::postgres::MutableArrayHandle<double>;
uint16_t = short unsigned int]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:76:61: required
from here
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/type/model.hpp:124:18: warning:
conversion to ‘uint32_t {aka unsigned int}’ from ‘double’ may alter its value
[-Wfloat-conversion]
size += (n[k-1] + 1) * (n[k]);
In file included from
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:31:0:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp: In instantiation
of ‘static void madlib::modules::convex::MLP<Model, Tuple>::backPropogate(const
ColumnVector&, const ColumnVector&, const std::vector<Eigen::Matrix<double, -1,
1> >&, const model_type&, std::vector<Eigen::Matrix<double, -1, 1> >&) [with
Model =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; Tuple = madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > >;
madlib::dbal::eigen_integration::ColumnVector = Eigen::Matrix<double, -1, 1>;
madlib::modules::convex::MLP<Model, Tuple>::model_type =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>]’:
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp:126:18: required
from ‘static void madlib::modules::convex::MLP<Model,
Tuple>::gradientInPlace(madlib::modules::convex::MLP<Model,
Tuple>::model_type&, const independent_variables_type&, const
dependent_variable_type&, const double&) [with Model =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; Tuple = madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > >;
madlib::modules::convex::MLP<Model, Tuple>::model_type =
madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; madlib::modules::convex::MLP<Model, Tuple>::independent_variables_type =
Eigen::Matrix<double, -1, 1>; madlib::modules::convex::MLP<Model,
Tuple>::dependent_variable_type =
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> >]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/algo/igd.hpp:52:26: required
from ‘static void madlib::modules::convex::IGD<State, ConstState,
Task>::transition(madlib::modules::convex::IGD<State, ConstState,
Task>::state_type&, const tuple_type&) [with State =
madlib::modules::convex::MLPIGDState<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; ConstState =
madlib::modules::convex::MLPIGDState<madlib::dbconnector::postgres::ArrayHandle<double>
>; Task =
madlib::modules::convex::MLP<madlib::modules::convex::MLPModel<madlib::dbconnector::postgres::MutableArrayHandle<double>
>, madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > > >;
madlib::modules::convex::IGD<State, ConstState, Task>::state_type =
madlib::modules::convex::MLPIGDState<madlib::dbconnector::postgres::MutableArrayHandle<double>
>; madlib::modules::convex::IGD<State, ConstState, Task>::tuple_type =
madlib::modules::convex::ExampleTuple<Eigen::Matrix<double, -1, 1>,
madlib::dbal::eigen_integration::HandleMap<const Eigen::Matrix<double, -1, 1>,
madlib::dbconnector::postgres::TransparentHandle<double> > >]’
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/mlp_igd.cpp:127:22: required
from here
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp:225:7: warning:
conversion to ‘uint16_t {aka short unsigned int}’ from
‘std::vector<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >
>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
N = model.u.size(); // assuming >= 1
/tmp/tmpLL68VV/madlib-1.13.0/src/modules/convex/task/mlp.hpp:237:16: warning:
conversion to ‘uint16_t {aka short unsigned int}’ from ‘int’ may alter its
value [-Wconversion]
for (k = N - 1; k >= 1; k --) {
~~^~~
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/build.make:134:
recipe for target
'src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/__/__/__/modules/convex/mlp_igd.cpp.o'
failed
make[3]: ***
[src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/__/__/__/modules/convex/mlp_igd.cpp.o]
Error 4
make[3]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
CMakeFiles/Makefile2:856: recipe for target
'src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/all' failed
make[2]: *** [src/ports/postgres/10/CMakeFiles/madlib_postgresql_10.dir/all]
Error 2
make[2]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Makefile:149: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/tmpLL68VV/madlib-1.13.0/build'
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: command returned 2: make PG_CONFIG=/usr/bin/pg_config all
{code}
> pgxn not installing madlib with postgres 10
> -------------------------------------------
>
> Key: MADLIB-1195
> URL: https://issues.apache.org/jira/browse/MADLIB-1195
> Project: Apache MADlib
> Issue Type: Bug
> Components: Build System
> Reporter: Adam Brusselback
> Assignee: Rahul Iyer
> Fix For: v1.14
>
>
> When attempting to install Madlib 1.13 on Postgres 10 using the pgxn client
> on Debian 9.2, I get a failure during the install.
> {code}
> # pgxn install madlib
> INFO: best version: madlib 1.13.0
> INFO: saving /tmp/tmp71a430/madlib-1.13.0.zip
> INFO: unpacking: /tmp/tmp71a430/madlib-1.13.0.zip
> INFO: running configure
> -- The C compiler identification is GNU 6.3.0
> -- The CXX compiler identification is GNU 6.3.0
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/g++
> -- Check for working CXX compiler: /usr/bin/g++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Could NOT find Boost
> -- No sufficiently recent version (>= 1.47) of Boost was found. Will download.
> -- Found PythonInterp: /usr/bin/python (found version "2.7.13")
> -- Found PostgreSQL: /usr/lib/postgresql/10/bin/postgres
> -- Found PostgreSQL_10: /usr/lib/postgresql/10/bin/postgres
> >> Adding PostgreSQL 10.0 (x86_64) to target list...
> -- Could NOT find Greenplum (missing: GREENPLUM_EXECUTABLE)
> -- Could NOT find HAWQ (missing: HAWQ_EXECUTABLE)
> -- Using default web-based MathJax
> -- Could NOT find FLEX (missing: FLEX_EXECUTABLE) (Required is at least
> version "2.5.33")
> -- Could NOT find BISON (missing: BISON_EXECUTABLE) (Required is at least
> version "2.4")
> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> -- Could not find recent versions of at least one of flex, bison, doxygen, or
> dot (part of graphviz, needed for doxygen). Documentation will not be built.
> -- A complete LaTeX installation could not be found. Compiling the design
> document will not be possible.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /tmp/tmp71a430/madlib-1.13.0/build
> INFO: building extension
> make -C build all
> make[1]: Entering directory '/tmp/tmp71a430/madlib-1.13.0/build'
> make[2]: Entering directory '/tmp/tmp71a430/madlib-1.13.0/build'
> make[3]: Entering directory '/tmp/tmp71a430/madlib-1.13.0/build'
> Scanning dependencies of target pythonFiles
> make[3]: Leaving directory '/tmp/tmp71a430/madlib-1.13.0/build'
> [ 0%] Built target pythonFiles
> make[3]: Entering directory '/tmp/tmp71a430/madlib-1.13.0/build'
> Scanning dependencies of target EP_eigen
> make[3]: Leaving directory '/tmp/tmp71a430/madlib-1.13.0/build'
> make[3]: Entering directory '/tmp/tmp71a430/madlib-1.13.0/build'
> [ 0%] Creating directories for 'EP_eigen'
> [ 0%] Performing download step (download, verify and extract) for 'EP_eigen'
> -- Downloading...
> dst='/tmp/tmp71a430/madlib-1.13.0/build/third_party/downloads/3.2.tar.gz'
> timeout='none'
> -- Using src='https://github.com/madlib/eigen/archive/branches/3.2.tar.gz'
> -- Downloading... done
> -- extracting...
> src='/tmp/tmp71a430/madlib-1.13.0/build/third_party/downloads/3.2.tar.gz'
> dst='/tmp/tmp71a430/madlib-1.13.0/build/third_party/src/EP_eigen'
> -- extracting... [tar xfz]
> -- extracting... [analysis]
> -- extracting... [rename]
> -- extracting... [clean up]
> -- extracting... done
> [ 0%] No patch step for 'EP_eigen'
> [ 0%] No update step for 'EP_eigen'
> [ 0%] Performing configure step for 'EP_eigen'
> Ignored: cmake -GUnix Makefiles
> /tmp/tmp71a430/madlib-1.13.0/build/third_party/src/EP_eigen
> [ 0%] Performing build step for 'EP_eigen'
> Ignored: make
> [ 0%] Performing install step for 'EP_eigen'
> Ignored: make
> [ 1%] Completed 'EP_eigen'
> make[3]: Leaving directory '/tmp/tmp71a430/madlib-1.13.0/build'
> [ 1%] Built target EP_eigen
> make[3]: Entering directory '/tmp/tmp71a430/madlib-1.13.0/build'
> Scanning dependencies of target EP_pyxb
> make[3]: Leaving directory '/tmp/tmp71a430/madlib-1.13.0/build'
> make[3]: Entering directory '/tmp/tmp71a430/madlib-1.13.0/build'
> [ 1%] Creating directories for 'EP_pyxb'
> [ 1%] Performing download step (download, verify and extract) for 'EP_pyxb'
> -- Downloading...
>
> dst='/tmp/tmp71a430/madlib-1.13.0/build/third_party/downloads/PyXB-1.2.6.tar.gz'
> timeout='none'
> -- Using src='http://sourceforge.net/projects/pyxb/files/PyXB-1.2.6.tar.gz'
> -- [download 100% complete]
> -- [download 0% complete]
> -- [download 1% complete]
> -- [download 2% complete]
> -- [download 3% complete]
> -- [download 4% complete]
> -- [download 5% complete]
> -- [download 6% complete]
> -- [download 7% complete]
> -- [download 8% complete]
> -- [download 9% complete]
> -- [download 10% complete]
> -- [download 11% complete]
> -- [download 12% complete]
> -- [download 13% complete]
> -- [download 14% complete]
> -- [download 15% complete]
> -- [download 16% complete]
> -- [download 17% complete]
> -- [download 18% complete]
> -- [download 19% complete]
> -- [download 20% complete]
> -- [download 21% complete]
> -- [download 22% complete]
> -- [download 23% complete]
> -- [download 24% complete]
> -- [download 25% complete]
> -- [download 26% complete]
> -- [download 27% complete]
> -- [download 28% complete]
> -- [download 29% complete]
> -- [download 30% complete]
> -- [download 31% complete]
> -- [download 32% complete]
> -- [download 33% complete]
> -- [download 34% complete]
> -- [download 35% complete]
> -- [download 36% complete]
> -- [download 37% complete]
> -- [download 38% complete]
> -- [download 39% complete]
> -- [download 40% complete]
> -- [download 41% complete]
> -- [download 42% complete]
> -- [download 43% complete]
> -- [download 44% complete]
> -- [download 45% complete]
> -- [download 46% complete]
> -- [download 47% complete]
> -- [download 48% complete]
> -- [download 49% complete]
> -- [download 50% complete]
> -- [download 51% complete]
> -- [download 52% complete]
> -- [download 53% complete]
> -- [download 54% complete]
> -- [download 55% complete]
> -- [download 56% complete]
> -- [download 57% complete]
> -- [download 58% complete]
> -- [download 59% complete]
> -- [download 60% complete]
> -- [download 61% complete]
> -- [download 62% complete]
> -- [download 63% complete]
> -- [download 64% complete]
> -- [download 65% complete]
> -- [download 66% complete]
> -- [download 67% complete]
> -- [download 68% complete]
> -- [download 69% complete]
> -- [download 70% complete]
> -- [download 71% complete]
> -- [download 72% complete]
> -- [download 73% complete]
> -- [download 74% complete]
> -- [download 75% complete]
> -- [download 76% complete]
> -- [download 77% complete]
> -- [download 78% complete]
> -- [download 79% complete]
> -- [download 80% complete]
> -- [download 81% complete]
> -- [download 82% complete]
> -- [download 83% complete]
> -- [download 84% complete]
> -- [download 85% complete]
> -- [download 86% complete]
> -- [download 87% complete]
> -- [download 88% complete]
> -- [download 89% complete]
> -- [download 90% complete]
> -- [download 91% complete]
> -- [download 92% complete]
> -- [download 93% complete]
> -- [download 94% complete]
> -- [download 95% complete]
> -- [download 96% complete]
> -- [download 97% complete]
> -- [download 98% complete]
> -- [download 99% complete]
> -- [download 100% complete]
> -- verifying file...
>
> file='/tmp/tmp71a430/madlib-1.13.0/build/third_party/downloads/PyXB-1.2.6.tar.gz'
> -- Downloading... done
> -- extracting...
>
> src='/tmp/tmp71a430/madlib-1.13.0/build/third_party/downloads/PyXB-1.2.6.tar.gz'
> dst='/tmp/tmp71a430/madlib-1.13.0/build/third_party/src/EP_pyxb'
> -- extracting... [tar xfz]
> -- extracting... [analysis]
> -- extracting... [rename]
> -- extracting... [clean up]
> -- extracting... done
> [ 1%] Performing patch step for 'EP_pyxb'
> /tmp/tmp71a430/madlib-1.13.0/src/patch/PyXB.sh: 8:
> /tmp/tmp71a430/madlib-1.13.0/src/patch/PyXB.sh: patch: not found
> src/CMakeFiles/EP_pyxb.dir/build.make:101: recipe for target
> 'third_party/src/EP_pyxb-stamp/EP_pyxb-patch' failed
> make[3]: *** [third_party/src/EP_pyxb-stamp/EP_pyxb-patch] Error 127
> make[3]: Leaving directory '/tmp/tmp71a430/madlib-1.13.0/build'
> CMakeFiles/Makefile2:181: recipe for target 'src/CMakeFiles/EP_pyxb.dir/all'
> failed
> make[2]: *** [src/CMakeFiles/EP_pyxb.dir/all] Error 2
> make[2]: Leaving directory '/tmp/tmp71a430/madlib-1.13.0/build'
> Makefile:149: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/tmp/tmp71a430/madlib-1.13.0/build'
> Makefile:5: recipe for target 'all' failed
> make: *** [all] Error 2
> ERROR: command returned 2: make PG_CONFIG=/usr/bin/pg_config all
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)