[MXS-2097] Building MaxScale from source fails on CentOS 7.4 Created: 2018-10-12  Updated: 2018-10-29  Resolved: 2018-10-29

Status: Closed
Project: MariaDB MaxScale
Component/s: build
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Arun Marathe Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

CentOS 7.4 VM



 Description   

I am trying to build MaxScale from source-code using the following steps mentioned in the guide.

git clone https://github.com/mariadb-corporation/MaxScale
mkdir build
cd build
../MaxScale/BUILD/install_build_deps.sh
cmake ../MaxScale -DCMAKE_INSTALL_PREFIX=/usr
make                     --> failure happens here
sudo make install
sudo ./postinst

The failure happens during the "make" step. I have included only the trailing output, as the complete output is quite large. (I can provide the complete output if needed.)

Scanning dependencies of target nullauthallow
[ 95%] Building C object server/modules/authenticator/NullAuthAllow/CMakeFiles/nullauthallow.dir/null_auth_allow.c.o
[ 95%] Linking C shared library libnullauthallow.so
[ 95%] Built target nullauthallow
Scanning dependencies of target nullauthdeny
[ 95%] Building C object server/modules/authenticator/NullAuthDeny/CMakeFiles/nullauthdeny.dir/null_auth_deny.c.o
[ 95%] Linking C shared library libnullauthdeny.so
[ 95%] Built target nullauthdeny
Scanning dependencies of target maxctrl
[ 95%] Generating maxctrl
 
> maxctrl@1.0.0 preinstall /mnt/ssd/build/maxctrl
> test -f lib/version.js || cp lib/version.js.in lib/version.js
 
maxctrl@1.0.0 /mnt/ssd/build/maxctrl
├─┬ chai@3.5.0
│ ├── assertion-error@1.1.0
│ ├─┬ deep-eql@0.1.3
│ │ └── type-detect@0.1.1
│ └── type-detect@1.0.0
├─┬ chai-as-promised@6.0.0
│ └── check-error@1.0.2
├─┬ cli-table@0.3.1
│ └── colors@1.0.3
├── lodash@4.17.11
├── lodash-getpath@0.2.4
├─┬ mocha@5.2.0
│ ├── browser-stdout@1.3.1
│ ├── commander@2.15.1
│ ├─┬ debug@3.1.0
│ │ └── ms@2.0.0
│ ├── diff@3.5.0
│ ├── escape-string-regexp@1.0.5
│ ├─┬ glob@7.1.2
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ ├── inherits@2.0.3
│ │ ├── once@1.4.0
│ │ └── path-is-absolute@1.0.1
│ ├── growl@1.10.5
│ ├── he@1.1.1
│ ├─┬ minimatch@3.0.4
│ │ └─┬ brace-expansion@1.1.11
│ │   ├── balanced-match@1.0.0
│ │   └── concat-map@0.0.1
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ └─┬ supports-color@5.4.0
│   └── has-flag@3.0.0
├─┬ nyc@11.9.0
│ ├── archy@1.0.0
│ ├── arrify@1.0.1
│ ├─┬ caching-transform@1.0.1
│ │ └─┬ write-file-atomic@1.3.4
│ │   ├── graceful-fs@4.1.11
│ │   ├── imurmurhash@0.1.4
│ │   └── slide@1.1.6
│ ├── convert-source-map@1.5.1
│ ├── debug-log@1.0.1
│ ├─┬ default-require-extensions@1.0.0
│ │ └─┬ strip-bom@2.0.0
│ │   └── is-utf8@0.2.1
│ ├─┬ find-cache-dir@0.1.1
│ │ ├── commondir@1.0.1
│ │ └─┬ pkg-dir@1.0.0
│ │   └─┬ find-up@1.1.2
│ │     ├── path-exists@2.1.0
│ │     └─┬ pinkie-promise@2.0.1
│ │       └── pinkie@2.0.4
│ ├─┬ find-up@2.1.0
│ │ └─┬ locate-path@2.0.0
│ │   ├─┬ p-locate@2.0.0
│ │   │ └─┬ p-limit@1.2.0
│ │   │   └── p-try@1.0.0
│ │   └── path-exists@3.0.0
│ ├─┬ foreground-child@1.5.6
│ │ └─┬ cross-spawn@4.0.2
│ │   └─┬ lru-cache@4.1.3
│ │     ├── pseudomap@1.0.2
│ │     └── yallist@2.1.2
│ ├─┬ glob@7.1.2
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ ├── inherits@2.0.3
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.11
│ │ │   ├── balanced-match@1.0.0
│ │ │   └── concat-map@0.0.1
│ │ ├── once@1.4.0
│ │ └── path-is-absolute@1.0.1
│ ├── istanbul-lib-coverage@1.2.0
│ ├─┬ istanbul-lib-hook@1.1.0
│ │ └── append-transform@0.4.0
│ ├─┬ istanbul-lib-instrument@1.10.1
│ │ ├─┬ babel-generator@6.26.1
│ │ │ ├── babel-messages@6.23.0
│ │ │ ├─┬ babel-runtime@6.26.0
│ │ │ │ ├── core-js@2.5.6
│ │ │ │ └── regenerator-runtime@0.11.1
│ │ │ ├─┬ detect-indent@4.0.0
│ │ │ │ └─┬ repeating@2.0.1
│ │ │ │   └─┬ is-finite@1.0.2
│ │ │ │     └── number-is-nan@1.0.1
│ │ │ ├── jsesc@1.3.0
│ │ │ ├── lodash@4.17.10
│ │ │ └── trim-right@1.0.1
│ │ ├── babel-template@6.26.0
│ │ ├─┬ babel-traverse@6.26.0
│ │ │ ├─┬ babel-code-frame@6.26.0
│ │ │ │ ├─┬ chalk@1.1.3
│ │ │ │ │ ├── ansi-styles@2.2.1
│ │ │ │ │ ├── escape-string-regexp@1.0.5
│ │ │ │ │ ├── has-ansi@2.0.0
│ │ │ │ │ └── supports-color@2.0.0
│ │ │ │ └── js-tokens@3.0.2
│ │ │ ├── debug@2.6.9
│ │ │ ├── globals@9.18.0
│ │ │ └─┬ invariant@2.2.4
│ │ │   └── loose-envify@1.3.1
│ │ ├─┬ babel-types@6.26.0
│ │ │ ├── esutils@2.0.2
│ │ │ └── to-fast-properties@1.0.3
│ │ ├── babylon@6.18.0
│ │ └── semver@5.5.0
│ ├─┬ istanbul-lib-report@1.1.3
│ │ ├── path-parse@1.0.5
│ │ └─┬ supports-color@3.2.3
│ │   └── has-flag@1.0.0
│ ├─┬ istanbul-lib-source-maps@1.2.3
│ │ ├─┬ debug@3.1.0
│ │ │ └── ms@2.0.0
│ │ └── source-map@0.5.7
│ ├─┬ istanbul-reports@1.4.0
│ │ └─┬ handlebars@4.0.11
│ │   ├── async@1.5.2
│ │   ├─┬ optimist@0.6.1
│ │   │ └── wordwrap@0.0.3
│ │   ├─┬ source-map@0.4.4
│ │   │ └── amdefine@1.0.1
│ │   └─┬ uglify-js@2.8.29
│ │     ├── uglify-to-browserify@1.0.2
│ │     └─┬ yargs@3.10.0
│ │       ├── camelcase@1.2.1
│ │       ├─┬ cliui@2.1.0
│ │       │ ├─┬ center-align@0.1.3
│ │       │ │ ├─┬ align-text@0.1.4
│ │       │ │ │ └── longest@1.0.1
│ │       │ │ └── lazy-cache@1.0.4
│ │       │ ├── right-align@0.1.3
│ │       │ └── wordwrap@0.0.2
│ │       └── window-size@0.1.0
│ ├─┬ md5-hex@1.3.0
│ │ └── md5-o-matic@0.1.1
│ ├─┬ merge-source-map@1.1.0
│ │ └── source-map@0.6.1
│ ├─┬ micromatch@3.1.10
│ │ ├── arr-diff@4.0.0
│ │ ├── array-unique@0.3.2
│ │ ├─┬ braces@2.3.2
│ │ │ ├── arr-flatten@1.1.0
│ │ │ ├─┬ extend-shallow@2.0.1
│ │ │ │ └── is-extendable@0.1.1
│ │ │ ├─┬ fill-range@4.0.0
│ │ │ │ ├── extend-shallow@2.0.1
│ │ │ │ ├─┬ is-number@3.0.0
│ │ │ │ │ └─┬ kind-of@3.2.2
│ │ │ │ │   └── is-buffer@1.1.6
│ │ │ │ ├── repeat-string@1.6.1
│ │ │ │ └─┬ to-regex-range@2.1.1
│ │ │ │   └── is-number@3.0.0
│ │ │ ├── isobject@3.0.1
│ │ │ ├── repeat-element@1.1.2
│ │ │ ├─┬ snapdragon-node@2.1.1
│ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │   ├── is-accessor-descriptor@1.0.0
│ │ │ │ │   ├── is-data-descriptor@1.0.0
│ │ │ │ │   └── kind-of@6.0.2
│ │ │ │ ├── isobject@3.0.1
│ │ │ │ └── snapdragon-util@3.0.1
│ │ │ └── split-string@3.1.0
│ │ ├─┬ define-property@2.0.2
│ │ │ ├─┬ is-descriptor@1.0.2
│ │ │ │ ├── is-accessor-descriptor@1.0.0
│ │ │ │ ├── is-data-descriptor@1.0.0
│ │ │ │ └── kind-of@6.0.2
│ │ │ └── isobject@3.0.1
│ │ ├─┬ extend-shallow@3.0.2
│ │ │ ├── assign-symbols@1.0.0
│ │ │ └─┬ is-extendable@1.0.1
│ │ │   └─┬ is-plain-object@2.0.4
│ │ │     └── isobject@3.0.1
│ │ ├─┬ extglob@2.0.4
│ │ │ ├─┬ define-property@1.0.0
│ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │   ├── is-accessor-descriptor@1.0.0
│ │ │ │   ├── is-data-descriptor@1.0.0
│ │ │ │   └── kind-of@6.0.2
│ │ │ ├─┬ expand-brackets@2.1.4
│ │ │ │ ├── define-property@0.2.5
│ │ │ │ ├── extend-shallow@2.0.1
│ │ │ │ └── posix-character-classes@0.1.1
│ │ │ └── extend-shallow@2.0.1
│ │ ├─┬ fragment-cache@0.2.1
│ │ │ └── map-cache@0.2.2
│ │ ├── kind-of@6.0.2
│ │ ├─┬ nanomatch@1.2.9
│ │ │ ├── arr-diff@4.0.0
│ │ │ ├── array-unique@0.3.2
│ │ │ ├─┬ is-odd@2.0.0
│ │ │ │ └── is-number@4.0.0
│ │ │ ├── is-windows@1.0.2
│ │ │ └── kind-of@6.0.2
│ │ ├─┬ object.pick@1.3.0
│ │ │ └── isobject@3.0.1
│ │ ├─┬ regex-not@1.0.2
│ │ │ └─┬ safe-regex@1.1.0
│ │ │   └── ret@0.1.15
│ │ ├─┬ snapdragon@0.8.2
│ │ │ ├─┬ base@0.11.2
│ │ │ │ ├─┬ cache-base@1.0.1
│ │ │ │ │ ├─┬ collection-visit@1.0.0
│ │ │ │ │ │ ├── map-visit@1.0.0
│ │ │ │ │ │ └─┬ object-visit@1.0.1
│ │ │ │ │ │   └── isobject@3.0.1
│ │ │ │ │ ├── get-value@2.0.6
│ │ │ │ │ ├─┬ has-value@1.0.0
│ │ │ │ │ │ ├─┬ has-values@1.0.0
│ │ │ │ │ │ │ ├─┬ is-number@3.0.0
│ │ │ │ │ │ │ │ └── kind-of@3.2.2
│ │ │ │ │ │ │ └── kind-of@4.0.0
│ │ │ │ │ │ └── isobject@3.0.1
│ │ │ │ │ ├── isobject@3.0.1
│ │ │ │ │ ├─┬ set-value@2.0.0
│ │ │ │ │ │ └── extend-shallow@2.0.1
│ │ │ │ │ ├── to-object-path@0.3.0
│ │ │ │ │ ├─┬ union-value@1.0.0
│ │ │ │ │ │ └─┬ set-value@0.4.3
│ │ │ │ │ │   └── extend-shallow@2.0.1
│ │ │ │ │ └─┬ unset-value@1.0.0
│ │ │ │ │   ├─┬ has-value@0.3.1
│ │ │ │ │   │ ├── has-values@0.1.4
│ │ │ │ │   │ └─┬ isobject@2.1.0
│ │ │ │ │   │   └── isarray@1.0.0
│ │ │ │ │   └── isobject@3.0.1
│ │ │ │ ├─┬ class-utils@0.3.6
│ │ │ │ │ ├── arr-union@3.1.0
│ │ │ │ │ ├── define-property@0.2.5
│ │ │ │ │ ├── isobject@3.0.1
│ │ │ │ │ └─┬ static-extend@0.1.2
│ │ │ │ │   ├── define-property@0.2.5
│ │ │ │ │   └─┬ object-copy@0.1.0
│ │ │ │ │     ├── copy-descriptor@0.1.1
│ │ │ │ │     └── define-property@0.2.5
│ │ │ │ ├── component-emitter@1.2.1
│ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │   ├── is-accessor-descriptor@1.0.0
│ │ │ │ │   ├── is-data-descriptor@1.0.0
│ │ │ │ │   └── kind-of@6.0.2
│ │ │ │ ├── isobject@3.0.1
│ │ │ │ ├─┬ mixin-deep@1.3.1
│ │ │ │ │ ├── for-in@1.0.2
│ │ │ │ │ └── is-extendable@1.0.1
│ │ │ │ └── pascalcase@0.1.1
│ │ │ ├─┬ define-property@0.2.5
│ │ │ │ └─┬ is-descriptor@0.1.6
│ │ │ │   ├── is-accessor-descriptor@0.1.6
│ │ │ │   ├── is-data-descriptor@0.1.4
│ │ │ │   └── kind-of@5.1.0
│ │ │ ├── extend-shallow@2.0.1
│ │ │ ├─┬ source-map-resolve@0.5.1
│ │ │ │ ├── atob@2.1.1
│ │ │ │ ├── decode-uri-component@0.2.0
│ │ │ │ ├── resolve-url@0.2.1
│ │ │ │ ├── source-map-url@0.4.0
│ │ │ │ └── urix@0.1.0
│ │ │ └─┬ use@3.1.0
│ │ │   └── kind-of@6.0.2
│ │ └── to-regex@3.0.2
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├── resolve-from@2.0.0
│ ├── rimraf@2.6.2
│ ├── signal-exit@3.0.2
│ ├─┬ spawn-wrap@1.4.2
│ │ ├── os-homedir@1.0.2
│ │ └─┬ which@1.3.0
│ │   └── isexe@2.0.0
│ ├─┬ test-exclude@4.2.1
│ │ ├─┬ micromatch@3.1.10
│ │ │ ├── arr-diff@4.0.0
│ │ │ ├── array-unique@0.3.2
│ │ │ ├─┬ braces@2.3.2
│ │ │ │ ├── extend-shallow@2.0.1
│ │ │ │ ├─┬ fill-range@4.0.0
│ │ │ │ │ ├── extend-shallow@2.0.1
│ │ │ │ │ └─┬ is-number@3.0.0
│ │ │ │ │   └── kind-of@3.2.2
│ │ │ │ └── isobject@3.0.1
│ │ │ ├─┬ extglob@2.0.4
│ │ │ │ ├─┬ define-property@1.0.0
│ │ │ │ │ └─┬ is-descriptor@1.0.2
│ │ │ │ │   ├── is-accessor-descriptor@1.0.0
│ │ │ │ │   └── is-data-descriptor@1.0.0
│ │ │ │ ├─┬ expand-brackets@2.1.4
│ │ │ │ │ ├─┬ define-property@0.2.5
│ │ │ │ │ │ └─┬ is-descriptor@0.1.6
│ │ │ │ │ │   ├─┬ is-accessor-descriptor@0.1.6
│ │ │ │ │ │   │ └── kind-of@3.2.2
│ │ │ │ │ │   ├─┬ is-data-descriptor@0.1.4
│ │ │ │ │ │   │ └── kind-of@3.2.2
│ │ │ │ │ │   └── kind-of@5.1.0
│ │ │ │ │ └── extend-shallow@2.0.1
│ │ │ │ └── extend-shallow@2.0.1
│ │ │ └── kind-of@6.0.2
│ │ ├── object-assign@4.1.1
│ │ ├─┬ read-pkg-up@1.0.1
│ │ │ ├── find-up@1.1.2
│ │ │ └─┬ read-pkg@1.1.0
│ │ │   ├─┬ load-json-file@1.1.0
│ │ │   │ ├─┬ parse-json@2.2.0
│ │ │   │ │ └─┬ error-ex@1.3.1
│ │ │   │ │   └── is-arrayish@0.2.1
│ │ │   │ └── pify@2.3.0
│ │ │   ├─┬ normalize-package-data@2.4.0
│ │ │   │ ├── hosted-git-info@2.6.0
│ │ │   │ ├─┬ is-builtin-module@1.0.0
│ │ │   │ │ └── builtin-modules@1.1.1
│ │ │   │ └─┬ validate-npm-package-license@3.0.3
│ │ │   │   ├─┬ spdx-correct@3.0.0
│ │ │   │   │ └── spdx-license-ids@3.0.0
│ │ │   │   └─┬ spdx-expression-parse@3.0.0
│ │ │   │     └── spdx-exceptions@2.1.0
│ │ │   └── path-type@1.1.0
│ │ └── require-main-filename@1.0.1
│ ├─┬ yargs@11.1.0
│ │ ├─┬ cliui@4.1.0
│ │ │ ├─┬ strip-ansi@4.0.0
│ │ │ │ └── ansi-regex@3.0.0
│ │ │ └─┬ wrap-ansi@2.1.0
│ │ │   ├─┬ string-width@1.0.2
│ │ │   │ ├── code-point-at@1.1.0
│ │ │   │ └── is-fullwidth-code-point@1.0.0
│ │ │   └─┬ strip-ansi@3.0.1
│ │ │     └── ansi-regex@2.1.1
│ │ ├── decamelize@1.2.0
│ │ ├── get-caller-file@1.0.2
│ │ ├─┬ os-locale@2.1.0
│ │ │ ├─┬ execa@0.7.0
│ │ │ │ ├─┬ cross-spawn@5.1.0
│ │ │ │ │ └─┬ shebang-command@1.2.0
│ │ │ │ │   └── shebang-regex@1.0.0
│ │ │ │ ├── get-stream@3.0.0
│ │ │ │ ├── is-stream@1.1.0
│ │ │ │ ├─┬ npm-run-path@2.0.2
│ │ │ │ │ └── path-key@2.0.1
│ │ │ │ ├── p-finally@1.0.0
│ │ │ │ └── strip-eof@1.0.0
│ │ │ ├─┬ lcid@1.0.0
│ │ │ │ └── invert-kv@1.0.0
│ │ │ └─┬ mem@1.1.0
│ │ │   └── mimic-fn@1.2.0
│ │ ├── require-directory@2.1.1
│ │ ├── set-blocking@2.0.0
│ │ ├─┬ string-width@2.1.1
│ │ │ ├── is-fullwidth-code-point@2.0.0
│ │ │ └─┬ strip-ansi@4.0.0
│ │ │   └── ansi-regex@3.0.0
│ │ ├── which-module@2.0.0
│ │ ├── y18n@3.2.1
│ │ └─┬ yargs-parser@9.0.2
│ │   └── camelcase@4.1.0
│ └─┬ yargs-parser@8.1.0
│   └── camelcase@4.1.0
├── readline-sync@1.4.9
├─┬ request@2.88.0
│ ├── aws-sign2@0.7.0
│ ├── aws4@1.8.0
│ ├── caseless@0.12.0
│ ├─┬ combined-stream@1.0.7
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.2
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.3.2
│ │ ├── asynckit@0.4.0
│ │ └── combined-stream@1.0.6
│ ├─┬ har-validator@5.1.0
│ │ ├─┬ ajv@5.5.2
│ │ │ ├── co@4.6.0
│ │ │ ├── fast-deep-equal@1.1.0
│ │ │ ├── fast-json-stable-stringify@2.0.0
│ │ │ └── json-schema-traverse@0.3.1
│ │ └── har-schema@2.0.0
│ ├─┬ http-signature@1.2.0
│ │ ├── assert-plus@1.0.0
│ │ ├─┬ jsprim@1.4.1
│ │ │ ├── extsprintf@1.3.0
│ │ │ ├── json-schema@0.2.3
│ │ │ └─┬ verror@1.10.0
│ │ │   └── core-util-is@1.0.2
│ │ └─┬ sshpk@1.15.1
│ │   ├── asn1@0.2.4
│ │   ├── bcrypt-pbkdf@1.0.2
│ │   ├── dashdash@1.14.1
│ │   ├── ecc-jsbn@0.1.2
│ │   ├── getpass@0.1.7
│ │   ├── jsbn@0.1.1
│ │   ├── safer-buffer@2.1.2
│ │   └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├─┬ mime-types@2.1.20
│ │ └── mime-db@1.36.0
│ ├── oauth-sign@0.9.0
│ ├── performance-now@2.1.0
│ ├── qs@6.5.2
│ ├── safe-buffer@5.1.2
│ ├─┬ tough-cookie@2.4.3
│ │ ├── psl@1.1.29
│ │ └── punycode@1.4.1
│ ├── tunnel-agent@0.6.0
│ └── uuid@3.3.2
├─┬ request-promise-native@1.0.5
│ ├── request-promise-core@1.1.1
│ └── stealthy-require@1.1.1
├─┬ strip-ansi@4.0.0
│ └── ansi-regex@3.0.0
└─┬ yargs@8.0.2
  ├── camelcase@4.1.0
  ├─┬ cliui@3.2.0
  │ ├─┬ string-width@1.0.2
  │ │ ├── code-point-at@1.1.0
  │ │ └─┬ is-fullwidth-code-point@1.0.0
  │ │   └── number-is-nan@1.0.1
  │ └─┬ wrap-ansi@2.1.0
  │   └── string-width@1.0.2
  ├── decamelize@1.2.0
  ├── get-caller-file@1.0.3
  ├─┬ os-locale@2.1.0
  │ ├─┬ execa@0.7.0
  │ │ ├─┬ cross-spawn@5.1.0
  │ │ │ ├─┬ lru-cache@4.1.3
  │ │ │ │ ├── pseudomap@1.0.2
  │ │ │ │ └── yallist@2.1.2
  │ │ │ ├─┬ shebang-command@1.2.0
  │ │ │ │ └── shebang-regex@1.0.0
  │ │ │ └─┬ which@1.3.1
  │ │ │   └── isexe@2.0.0
  │ │ ├── get-stream@3.0.0
  │ │ ├── is-stream@1.1.0
  │ │ ├─┬ npm-run-path@2.0.2
  │ │ │ └── path-key@2.0.1
  │ │ ├── p-finally@1.0.0
  │ │ ├── signal-exit@3.0.2
  │ │ └── strip-eof@1.0.0
  │ ├─┬ lcid@1.0.0
  │ │ └── invert-kv@1.0.0
  │ └─┬ mem@1.1.0
  │   └── mimic-fn@1.2.0
  ├─┬ read-pkg-up@2.0.0
  │ ├─┬ find-up@2.1.0
  │ │ └─┬ locate-path@2.0.0
  │ │   ├─┬ p-locate@2.0.0
  │ │   │ └─┬ p-limit@1.3.0
  │ │   │   └── p-try@1.0.0
  │ │   └── path-exists@3.0.0
  │ └─┬ read-pkg@2.0.0
  │   ├─┬ load-json-file@2.0.0
  │   │ ├── graceful-fs@4.1.11
  │   │ ├─┬ parse-json@2.2.0
  │   │ │ └─┬ error-ex@1.3.2
  │   │ │   └── is-arrayish@0.2.1
  │   │ ├── pify@2.3.0
  │   │ └── strip-bom@3.0.0
  │   ├─┬ normalize-package-data@2.4.0
  │   │ ├── hosted-git-info@2.7.1
  │   │ ├─┬ is-builtin-module@1.0.0
  │   │ │ └── builtin-modules@1.1.1
  │   │ ├── semver@5.6.0
  │   │ └─┬ validate-npm-package-license@3.0.4
  │   │   ├─┬ spdx-correct@3.0.2
  │   │   │ └── spdx-license-ids@3.0.1
  │   │   └─┬ spdx-expression-parse@3.0.0
  │   │     └── spdx-exceptions@2.2.0
  │   └── path-type@2.0.0
  ├── require-directory@2.1.1
  ├── require-main-filename@1.0.1
  ├── set-blocking@2.0.0
  ├─┬ string-width@2.1.1
  │ ├── is-fullwidth-code-point@2.0.0
  │ └─┬ strip-ansi@4.0.0
  │   └── ansi-regex@3.0.0
  ├── which-module@2.0.0
  ├── y18n@3.2.1
  └── yargs-parser@7.0.0
 
npm WARN deprecated simple-bufferstream@1.0.0: no longer maintained
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
maxctrl@1.0.0 /mnt/ssd/build/maxctrl
├─┬ pkg@4.2.3
│ ├── acorn@5.1.1
│ ├─┬ babel-runtime@6.25.0
│ │ ├── core-js@2.5.7
│ │ └── regenerator-runtime@0.10.5
│ ├─┬ chalk@2.1.0
│ │ ├─┬ ansi-styles@3.2.1
│ │ │ └─┬ color-convert@1.9.3
│ │ │   └── color-name@1.1.3
│ │ └─┬ supports-color@4.5.0
│ │   └── has-flag@2.0.0
│ ├─┬ escodegen@1.8.1
│ │ ├── esprima@2.7.3
│ │ ├── estraverse@1.9.3
│ │ ├── esutils@2.0.2
│ │ ├─┬ optionator@0.8.2
│ │ │ ├── deep-is@0.1.3
│ │ │ ├── fast-levenshtein@2.0.6
│ │ │ ├── levn@0.3.0
│ │ │ ├── prelude-ls@1.1.2
│ │ │ ├── type-check@0.3.2
│ │ │ └── wordwrap@1.0.0
│ │ └─┬ source-map@0.2.0
│ │   └── amdefine@1.0.1
│ ├─┬ fs-extra@4.0.1
│ │ ├── jsonfile@3.0.1
│ │ └── universalify@0.1.2
│ ├─┬ globby@6.1.0
│ │ ├─┬ array-union@1.0.2
│ │ │ └── array-uniq@1.0.3
│ │ ├── object-assign@4.1.1
│ │ └─┬ pinkie-promise@2.0.1
│ │   └── pinkie@2.0.4
│ ├── in-publish@2.0.0
│ ├── minimist@1.2.0
│ ├─┬ multistream@2.1.0
│ │ └─┬ readable-stream@2.3.6
│ │   ├── isarray@1.0.0
│ │   ├── process-nextick-args@2.0.0
│ │   ├── string_decoder@1.1.1
│ │   └── util-deprecate@1.0.2
│ ├─┬ pkg-fetch@2.3.10
│ │ ├── byline@5.0.0
│ │ ├── expand-template@1.0.3
│ │ ├── minimist@1.2.0
│ │ ├─┬ request@2.81.0
│ │ │ ├── aws-sign2@0.6.0
│ │ │ ├── form-data@2.1.4
│ │ │ ├─┬ har-validator@4.2.1
│ │ │ │ ├─┬ ajv@4.11.8
│ │ │ │ │ └─┬ json-stable-stringify@1.0.1
│ │ │ │ │   └── jsonify@0.0.0
│ │ │ │ └── har-schema@1.0.5
│ │ │ ├─┬ hawk@3.1.3
│ │ │ │ ├── boom@2.10.1
│ │ │ │ ├── cryptiles@2.0.5
│ │ │ │ ├── hoek@2.16.3
│ │ │ │ └── sntp@1.0.9
│ │ │ ├─┬ http-signature@1.1.1
│ │ │ │ └── assert-plus@0.2.0
│ │ │ ├── oauth-sign@0.8.2
│ │ │ ├── performance-now@0.2.0
│ │ │ ├── qs@6.4.0
│ │ │ ├── stringstream@0.0.6
│ │ │ └── tough-cookie@2.3.4
│ │ ├─┬ request-progress@3.0.0
│ │ │ └── throttleit@1.0.0
│ │ ├── semver@5.4.1
│ │ └─┬ unique-temp-dir@1.0.0
│ │   ├── os-tmpdir@1.0.2
│ │   └── uid2@0.0.3
│ ├── progress@2.0.0
│ ├─┬ resolve@1.4.0
│ │ └── path-parse@1.0.6
│ ├── simple-bufferstream@1.0.0
│ └── stream-meter@1.0.4
└─┬ yargs@8.0.2
  └─┬ cliui@3.2.0
    ├─┬ strip-ansi@3.0.1
    │ └── ansi-regex@2.1.1
    └─┬ wrap-ansi@2.1.0
      └─┬ strip-ansi@3.0.1
        └── ansi-regex@2.1.1
 
> pkg@4.2.3
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v6.10.3-linux-x64    [                    ] 0%
> Error! tunneling socket could not be established, cause=connect EINVAL 0.0.12.56:80 - Local (0.0.0.0:0)
> Asset not found by direct link:
  {"tag":"v2.3","name":"uploaded-v2.3-node-v6.10.3-linux-x64"}
> Error! tunneling socket could not be established, cause=connect EINVAL 0.0.12.56:80 - Local (0.0.0.0:0)
make[2]: *** [maxctrl/maxctrl] Error 2
make[1]: *** [maxctrl/CMakeFiles/maxctrl.dir/all] Error 2
make: *** [all] Error 2

I have set up the http proxy related variables correctly as far as I konw.

I had to make the following changes to the 'install_build_deps.sh' file to get this far.
Basically, it could not download node-v6.11.2, so I had to change paths, and add "--no-check-certificate". Also, it kept complaining about missing v6.10.3, so I put lines to download and extract that version too. It is stilling failing. Any ideas?

#wget --quiet https://nodejs.org/dist/v6.11.2/node-v6.11.2-linux-x64.tar.xz
#wget --quiet --no-check-certificate https://nodejs.org/download/release/v6.11.2/node-v6.11.2-linux-x64.tar.xz
wget --quiet --no-check-certificate https://nodejs.org/download/release/v6.11.2/node-v6.11.2-linux-x64.tar.xz
#wget --quiet --no-check-certificate https://nodejs.org/dist/v6.11.2/node-v6.11.2-linux-x64.tar.xz
wget --quiet --no-check-certificate https://nodejs.org/download/release/v6.10.3/node-v6.10.3-linux-x64.tar.xz
 
tar -axf node-v6.11.2-linux-x64.tar.xz
tar -axf node-v6.10.3-linux-x64.tar.xz
sudo cp -t /usr -r node-v6.11.2-linux-x64/*
sudo cp -t /usr -r node-v6.10.3-linux-x64/*



 Comments   
Comment by markus makela [ 2018-10-14 ]

Looks like it could be a problem with how pkg fetches the nodejs binaries locally. You might want to try and download the images before building MaxScale, that might solve it.

Comment by Arun Marathe [ 2018-10-15 ]

Hello Markus,

Thanks for your suggestion.

Here is what I tried:

# npm install -g pkg@4.2.3
 
$ wget --no-check-certificate https://nodejs.org/download/release/v6.11.2/node-v6.11.2-linux-x64.tar.xz
 
$ make      <--- then re-issue the make command

I still get the same error:

{{npm WARN deprecated simple-bufferstream@1.0.0: no longer maintained
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
maxctrl@1.0.0 /mnt/ssd/build/maxctrl
└── pkg@4.2.3
 
> pkg@4.2.3
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v6.10.3-linux-x64    [                    ] 0%
> Error! tunneling socket could not be established, cause=connect EINVAL 0.0.12.56:80 - Local (0.0.0.0:0)
> Asset not found by direct link:
  {"tag":"v2.3","name":"uploaded-v2.3-node-v6.10.3-linux-x64"}
> Error! tunneling socket could not be established, cause=connect EINVAL 0.0.12.56:80 - Local (0.0.0.0:0)
make[2]: *** [maxctrl/maxctrl] Error 2
make[1]: *** [maxctrl/CMakeFiles/maxctrl.dir/all] Error 2
make: *** [all] Error 2
}}

Comment by markus makela [ 2018-10-15 ]

This appears to be a problem with your proxy setup and pkg. Sadly, as we do not configure proxies for pkg or npm, we can't be of much use. I'd recommend verifying that the address reported in the error message works and is accessible from the host.

Comment by Arun Marathe [ 2018-10-15 ]

Thanks. What package do you mean: fetched-v6.10.3-linux-x64, or uploaded-v2.3-node-v6.10.3-linux-x64, or something else?

(Sorry, I am not familiar with this npm package manager or pkg.)

Comment by markus makela [ 2018-10-15 ]

My guess is that once this error is fixed it'll work:

> Error! tunneling socket could not be established, cause=connect EINVAL 0.0.12.56:80 - Local (0.0.0.0:0)

Comment by Arun Marathe [ 2018-10-15 ]

Hi Markus,

You are correct. Some http proxy setting is still trying to use the wrong server name. Current error message that I am getting is similar to the above, but slightly different.

> pkg@4.2.3
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v6.10.3-linux-x64    [                    ] 0%
> Error! tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:3128
> Asset not found by direct link:
  {"tag":"v2.3","name":"uploaded-v2.3-node-v6.10.3-linux-x64"}
> Error! tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:3128
make[2]: *** [maxctrl/maxctrl] Error 2
make[1]: *** [maxctrl/CMakeFiles/maxctrl.dir/all] Error 2
make: *** [all] Error 2
 

127.0.0.1:3128 is wrong in the IP address part, but correct in the port number. Earlier, even the port number was wrong. Do you know or can you guess which program (npm/pkg/???) is using the wrong http proxy configs? It seems that every program has its own http-proxy config settings.

Comment by markus makela [ 2018-10-16 ]

The steps described here might help: https://github.com/zeit/pkg/issues/96#issuecomment-301009525

Comment by markus makela [ 2018-10-29 ]

Closing this issue as it relates to proxy server setup, not MaxScale.

Generated at Thu Feb 08 04:11:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.