Hi,
I have built successfully all the dependent packages of nodejs010 and npm.
I have used following command:- *rpmbuild --define 'scl nodejs010' --bb SPEC/name_of_spec.spec*
Following is the list of RPMs cloned and built from GIT:-
nodejs010-2.1-5.el7.centos.x86_64.rpm nodejs010-http-parser-2.0-6.20121128gitcd01361.el7.centos.x86_64.rpm nodejs010-http-parser-devel-2.0-6.20121128gitcd01361.el7.centos.x86_64.rpm nodejs010-libuv-0.10.30-1.el7.centos.x86_64.rpm nodejs010-libuv-devel-0.10.30-1.el7.centos.x86_64.rpm nodejs010-node-gyp-3.2.0-2.el7.centos.noarch.rpm nodejs010-nodejs-0.10.40-1.el7.centos.x86_64.rpm nodejs010-nodejs-abbrev-1.0.5-1.el7.centos.noarch.rpm nodejs010-nodejs-ansi-0.3.0-1.el7.centos.noarch.rpm nodejs010-nodejs-ansicolors-0.3.2-1.el7.centos.noarch.rpm nodejs010-nodejs-ansistyles-0.1.3-1.el7.centos.x86_64.rpm nodejs010-nodejs-archy-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-are-we-there-yet-1.0.4-1.el7.centos.noarch.rpm nodejs010-nodejs-array-index-0.1.1-1.el7.centos.noarch.rpm nodejs010-nodejs-asap-1.0.0-4.el7.centos.noarch.rpm nodejs010-nodejs-async-some-1.0.2-2.el7.centos.noarch.rpm nodejs010-nodejs-balanced-match-0.2.1-2.el7.centos.noarch.rpm nodejs010-nodejs-bl-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-block-stream-0.0.7-2.el7.centos.noarch.rpm nodejs010-nodejs-brace-expansion-1.1.1-2.el7.centos.noarch.rpm nodejs010-nodejs-builtin-modules-1.1.0-1.el7.centos.noarch.rpm nodejs010-nodejs-builtins-1.0.2-2.el7.centos.noarch.rpm nodejs010-nodejs-caseless-0.11.0-1.el7.centos.noarch.rpm nodejs010-nodejs-char-spinner-1.0.1-2.el7.centos.noarch.rpm nodejs010-nodejs-chmodr-1.0.2-1.el7.centos.noarch.rpm nodejs010-nodejs-chownr-1.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-clone-0.2.0-3.el7.centos.noarch.rpm nodejs010-nodejs-cmd-shim-2.0.0-2.el7.centos.noarch.rpm nodejs010-nodejs-columnify-1.3.2-3.el7.centos.noarch.rpm nodejs010-nodejs-concat-map-0.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-concat-stream-1.4.4-5.el7.centos.noarch.rpm nodejs010-nodejs-config-chain-1.1.9-1.el7.centos.noarch.rpm nodejs010-nodejs-core-util-is-1.0.1-2.el7.centos.noarch.rpm nodejs010-nodejs-debug-2.2.0-2.el7.centos.noarch.rpm nodejs010-nodejs-debuglog-1.0.1-4.el7.centos.noarch.rpm nodejs010-nodejs-defaults-1.0.0-5.el7.centos.noarch.rpm nodejs010-nodejs-delegates-0.1.0-1.el7.centos.noarch.rpm nodejs010-nodejs-devel-0.10.40-1.el7.centos.x86_64.rpm nodejs010-nodejs-dezalgo-1.0.2-3.el7.centos.noarch.rpm nodejs010-nodejs-editor-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-forever-agent-0.5.0-2.el7.centos.noarch.rpm nodejs010-nodejs-fstream-1.0.3-2.el7.centos.noarch.rpm nodejs010-nodejs-fstream-ignore-1.0.2-1.el7.centos.noarch.rpm nodejs010-nodejs-fstream-npm-1.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-fs-vacuum-1.2.6-3.el7.centos.noarch.rpm nodejs010-nodejs-fs-write-stream-atomic-1.0.3-3.el7.centos.noarch.rpm nodejs010-nodejs-gauge-1.2.2-3.el7.centos.noarch.rpm nodejs010-nodejs-github-url-from-git-1.4.0-1.el7.centos.noarch.rpm nodejs010-nodejs-github-url-from-username-repo-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-glob-5.0.15-1.el7.centos.noarch.rpm nodejs010-nodejs-graceful-fs-4.1.2-3.el7.centos.noarch.rpm nodejs010-nodejs-has-unicode-2.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-hosted-git-info-2.1.4-3.el7.centos.noarch.rpm nodejs010-nodejs-inflight-1.0.4-2.el7.centos.noarch.rpm nodejs010-nodejs-inherits-2.0.0-13.el7.centos.noarch.rpm nodejs010-nodejs-ini-1.2.0-1.el7.centos.noarch.rpm nodejs010-nodejs-init-package-json-1.9.1-1.el7.centos.noarch.rpm nodejs010-nodejs-is-absolute-0.2.3-3.el7.centos.noarch.rpm nodejs010-nodejs-isarray-0.0.1-3.el7.centos.noarch.rpm nodejs010-nodejs-is-builtin-module-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-is-relative-0.2.1-2.el7.centos.noarch.rpm nodejs010-nodejs-is-unc-path-0.1.1-2.el7.centos.noarch.rpm nodejs010-nodejs-is-windows-0.1.0-3.el7.centos.noarch.rpm nodejs010-nodejs-jju-1.2.1-1.el7.centos.noarch.rpm nodejs010-nodejs-json-parse-helpfulerror-1.0.3-1.el7.centos.noarch.rpm nodejs010-nodejs-json-stringify-safe-5.0.0-2.el7.centos.noarch.rpm nodejs010-nodejs-lockfile-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-lodash._basetostring-3.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-lodash._createpadding-3.6.1-1.el7.centos.noarch.rpm nodejs010-nodejs-lodash.pad-3.1.1-1.el7.centos.noarch.rpm nodejs010-nodejs-lodash.padleft-3.1.1-1.el7.centos.noarch.rpm nodejs010-nodejs-lodash.padright-3.1.1-1.el7.centos.noarch.rpm nodejs010-nodejs-lodash.repeat-3.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-lru-cache-2.7.0-1.el7.centos.noarch.rpm nodejs010-nodejs-mime-db-1.15.0-3.el7.centos.noarch.rpm nodejs010-nodejs-mime-types-2.1.3-1.el7.centos.noarch.rpm nodejs010-nodejs-minimatch-3.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-minimist-0.0.8-1.el7.centos.noarch.rpm nodejs010-nodejs-mkdirp-0.5.0-1.el7.centos.noarch.rpm nodejs010-nodejs-ms-0.7.1-2.el7.centos.noarch.rpm nodejs010-nodejs-mute-stream-0.0.4-3.el7.centos.noarch.rpm nodejs010-nodejs-node-uuid-1.4.1-2.el7.centos.noarch.rpm nodejs010-nodejs-nopt-3.0.6-1.el7.centos.noarch.rpm nodejs010-nodejs-normalize-git-url-3.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-normalize-package-data-2.3.5-1.el7.centos.noarch.rpm nodejs010-nodejs-npm-cache-filename-1.0.2-1.el7.centos.noarch.rpm nodejs010-nodejs-npm-install-checks-1.0.6-1.el7.centos.noarch.rpm nodejs010-nodejs-npmlog-2.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-npm-package-arg-4.1.0-1.el7.centos.noarch.rpm nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.centos.noarch.rpm nodejs010-nodejs-npm-user-validate-0.1.1-1.el7.centos.noarch.rpm nodejs010-nodejs-once-1.3.0-1.el7.centos.noarch.rpm nodejs010-nodejs-opener-1.4.1-1.el7.centos.noarch.rpm nodejs010-nodejs-osenv-0.1.3-1.el7.centos.noarch.rpm nodejs010-nodejs-os-homedir-1.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-os-tmpdir-1.0.1-3.el7.centos.noarch.rpm nodejs010-nodejs-path-array-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-path-is-absolute-1.0.0-1.el7.centos.noarch.rpm nodejs010-nodejs-path-is-inside-1.0.0-1.el7.centos.x86_64.rpm nodejs010-nodejs-process-nextick-args-1.0.2-1.el7.centos.noarch.rpm nodejs010-nodejs-promzard-0.2.0-7.el7.centos.noarch.rpm nodejs010-nodejs-proto-list-1.2.2-5.el7.centos.noarch.rpm nodejs010-nodejs-qs-0.6.5-5.el7.centos.noarch.rpm nodejs010-nodejs-read-1.0.5-1.el7.centos.noarch.rpm nodejs010-nodejs-readable-stream-2.0.2-3.el7.centos.noarch.rpm nodejs010-nodejs-readdir-scoped-modules-1.0.2-1.el7.centos.noarch.rpm nodejs010-nodejs-read-installed-4.0.3-1.el7.centos.noarch.rpm nodejs010-nodejs-read-package-json-2.0.2-1.el7.centos.noarch.rpm nodejs010-nodejs-realize-package-specifier-3.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-request-2.42.0-6.el7.centos.noarch.rpm nodejs010-nodejs-retry-0.6.0-6.el7.centos.noarch.rpm nodejs010-nodejs-rimraf-2.4.3-1.el7.centos.noarch.rpm nodejs010-nodejs-semver-5.0.3-1.el7.centos.noarch.rpm nodejs010-nodejs-sha-2.0.1-2.1.el7.centos.noarch.rpm nodejs010-nodejs-slide-1.1.6-1.el7.centos.noarch.rpm nodejs010-nodejs-sorted-object-1.0.0-3.el7.centos.noarch.rpm nodejs010-nodejs-spdx-correct-1.0.2-1.el7.centos.noarch.rpm nodejs010-nodejs-spdx-exceptions-1.0.4-1.el7.centos.noarch.rpm nodejs010-nodejs-spdx-expression-parse-1.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-spdx-license-ids-1.0.1-2.el7.centos.noarch.rpm nodejs010-nodejs-string_decoder-0.10.31-1.el7.centos.noarch.rpm nodejs010-nodejs-strip-ansi-0.2.0-1.el7.centos.noarch.rpm nodejs010-nodejs-tar-2.2.1-1.el7.centos.noarch.rpm nodejs010-nodejs-text-table-0.2.0-1.el7.centos.x86_64.rpm nodejs010-nodejs-tunnel-agent-0.3.0-2.el7.centos.noarch.rpm nodejs010-nodejs-uid-number-0.0.5-1.el7.centos.noarch.rpm nodejs010-nodejs-umask-1.1.0-4.el7.centos.noarch.rpm nodejs010-nodejs-unc-path-regex-0.1.1-2.el7.centos.noarch.rpm nodejs010-nodejs-util-deprecate-1.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-util-extend-1.0.1-4.el7.centos.noarch.rpm nodejs010-nodejs-validate-npm-package-license-3.0.1-1.el7.centos.noarch.rpm nodejs010-nodejs-validate-npm-package-name-2.2.2-3.el7.centos.noarch.rpm nodejs010-nodejs-wcwidth-1.0.0-4.el7.centos.noarch.rpm nodejs010-nodejs-which-1.2.0-1.el7.centos.noarch.rpm nodejs010-nodejs-wrappy-1.0.1-2.el7.centos.noarch.rpm nodejs010-nodejs-write-file-atomic-1.1.2-3.el7.centos.noarch.rpm nodejs010-npm-2.14.13-7.el7.centos.noarch.rpm nodejs010-runtime-2.1-5.el7.centos.x86_64.rpm nodejs010-scldevel-2.1-5.el7.centos.x86_64.rpm
*However, when we copy these RPMS to our ISO, anaconda installer fails to install due to dependency errors:-*
nodejs010-nodejs-are-we-there-yet-1.0.4-1.el7.centos.noarch requires nodejs010-npm(readable-stream) < 2 nodejs010-nodejs-cmd-shim-2.0.0-2.el7.centos.noarch requires nodejs010-npm(graceful-fs) < 4 nodejs010-nodejs-columnify-1.3.2-3.el7.centos.noarch requires nodejs010-npm(strip-ansi) >= 2.0.0 nodejs010-nodejs-fstream-ignore-1.0.2-1.el7.centos.noarch requires nodejs010-npm(minimatch) < 3 nodejs010-nodejs-gauge-1.2.2-3.el7.centos.noarch requires nodejs010-npm(has-unicode) < 2 nodejs010-nodejs-init-package-json-1.9.1-1.el7.centos.noarch requires nodejs010-npm(promzard) >= 0.3.0 nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.centos.noarch requires nodejs010-npm(concat-stream) >= 1.4.6 nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.centos.noarch requires nodejs010-npm(request) >= 2.47.0 nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.centos.noarch requires nodejs010-npm(retry) >= 0.8.0 nodejs010-nodejs-which-1.2.0-1.el7.centos.noarch requires nodejs010-npm(is-absolute) < 0.2
How is it possible, to get these errors, how come packages are not satisfying minimum dependency for working of NPM?
If i do yumdownloader for all these above RPMs from repo: [centos-sclo-rh] : http://mirror.centos.org/centos/7/sclo/x86_64/rh/nodejs010/), then i get following RPMs without "centos" name:-
nodejs010-2.1-5.el7.x86_64.rpm nodejs010-http-parser-2.0-6.20121128gitcd01361.el7.x86_64.rpm nodejs010-http-parser-devel-2.0-6.20121128gitcd01361.el7.x86_64.rpm nodejs010-libuv-0.10.30-1.el7.x86_64.rpm nodejs010-libuv-devel-0.10.30-1.el7.x86_64.rpm nodejs010-node-gyp-3.2.0-2.el7.noarch.rpm nodejs010-nodejs-0.10.40-1.el7.x86_64.rpm nodejs010-nodejs-abbrev-1.0.5-1.el7.noarch.rpm nodejs010-nodejs-ansi-0.3.0-2.el7.noarch.rpm nodejs010-nodejs-ansicolors-0.3.2-1.el7.noarch.rpm nodejs010-nodejs-ansistyles-0.1.3-1.el7.x86_64.rpm nodejs010-nodejs-archy-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-are-we-there-yet-1.0.4-1.el7.noarch.rpm nodejs010-nodejs-array-index-0.1.1-1.el7.noarch.rpm nodejs010-nodejs-asap-1.0.0-4.el7.noarch.rpm nodejs010-nodejs-async-some-1.0.2-2.el7.noarch.rpm nodejs010-nodejs-balanced-match-0.2.1-2.el7.noarch.rpm nodejs010-nodejs-bl-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-block-stream-0.0.7-2.el7.noarch.rpm nodejs010-nodejs-brace-expansion-1.1.1-2.el7.noarch.rpm nodejs010-nodejs-builtin-modules-1.1.0-1.el7.noarch.rpm nodejs010-nodejs-builtins-1.0.2-2.el7.noarch.rpm nodejs010-nodejs-caseless-0.11.0-1.el7.noarch.rpm nodejs010-nodejs-char-spinner-1.0.1-2.el7.noarch.rpm nodejs010-nodejs-chmodr-1.0.2-1.el7.noarch.rpm nodejs010-nodejs-chownr-1.0.1-1.el7.noarch.rpm nodejs010-nodejs-clone-0.2.0-3.el7.noarch.rpm nodejs010-nodejs-cmd-shim-2.0.0-2.el7.noarch.rpm nodejs010-nodejs-columnify-1.3.2-3.el7.noarch.rpm nodejs010-nodejs-concat-map-0.0.1-1.el7.noarch.rpm nodejs010-nodejs-concat-stream-1.4.4-5.el7.noarch.rpm nodejs010-nodejs-config-chain-1.1.9-1.el7.noarch.rpm nodejs010-nodejs-core-util-is-1.0.1-2.el7.noarch.rpm nodejs010-nodejs-debug-2.2.0-2.el7.noarch.rpm nodejs010-nodejs-debuglog-1.0.1-4.el7.noarch.rpm nodejs010-nodejs-defaults-1.0.0-5.el7.noarch.rpm nodejs010-nodejs-delegates-0.1.0-1.el7.noarch.rpm nodejs010-nodejs-devel-0.10.40-1.el7.x86_64.rpm nodejs010-nodejs-dezalgo-1.0.2-3.el7.noarch.rpm nodejs010-nodejs-editor-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-forever-agent-0.5.0-2.el7.noarch.rpm nodejs010-nodejs-fstream-1.0.3-2.el7.noarch.rpm nodejs010-nodejs-fstream-ignore-1.0.2-1.el7.noarch.rpm nodejs010-nodejs-fstream-npm-1.0.1-1.el7.noarch.rpm nodejs010-nodejs-fs-vacuum-1.2.6-3.el7.noarch.rpm nodejs010-nodejs-fs-write-stream-atomic-1.0.3-3.el7.noarch.rpm nodejs010-nodejs-gauge-1.2.2-3.el7.noarch.rpm nodejs010-nodejs-github-url-from-git-1.4.0-1.el7.noarch.rpm nodejs010-nodejs-github-url-from-username-repo-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-glob-5.0.15-1.el7.noarch.rpm nodejs010-nodejs-graceful-fs-4.1.2-3.el7.noarch.rpm nodejs010-nodejs-has-unicode-2.0.0-1.el7.noarch.rpm nodejs010-nodejs-hosted-git-info-2.1.4-3.el7.noarch.rpm nodejs010-nodejs-inflight-1.0.4-2.el7.noarch.rpm nodejs010-nodejs-inherits-2.0.0-13.el7.noarch.rpm nodejs010-nodejs-ini-1.2.0-1.el7.noarch.rpm nodejs010-nodejs-init-package-json-1.9.1-1.el7.noarch.rpm nodejs010-nodejs-is-absolute-0.2.3-3.el7.noarch.rpm nodejs010-nodejs-isarray-0.0.1-3.el7.noarch.rpm nodejs010-nodejs-is-builtin-module-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-is-relative-0.2.1-2.el7.noarch.rpm nodejs010-nodejs-is-unc-path-0.1.1-2.el7.noarch.rpm nodejs010-nodejs-is-windows-0.1.0-3.el7.noarch.rpm nodejs010-nodejs-jju-1.2.1-1.el7.noarch.rpm nodejs010-nodejs-json-parse-helpfulerror-1.0.3-1.el7.noarch.rpm nodejs010-nodejs-json-stringify-safe-5.0.0-2.el7.noarch.rpm nodejs010-nodejs-lockfile-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-lodash._basetostring-3.0.1-1.el7.noarch.rpm nodejs010-nodejs-lodash._createpadding-3.6.1-1.el7.noarch.rpm nodejs010-nodejs-lodash.pad-3.1.1-1.el7.noarch.rpm nodejs010-nodejs-lodash.padleft-3.1.1-1.el7.noarch.rpm nodejs010-nodejs-lodash.padright-3.1.1-1.el7.noarch.rpm nodejs010-nodejs-lodash.repeat-3.0.1-1.el7.noarch.rpm nodejs010-nodejs-lru-cache-2.7.0-1.el7.noarch.rpm nodejs010-nodejs-mime-db-1.15.0-3.el7.noarch.rpm nodejs010-nodejs-mime-types-2.1.3-1.el7.noarch.rpm nodejs010-nodejs-minimatch-3.0.0-1.el7.noarch.rpm nodejs010-nodejs-minimist-0.0.8-1.el7.noarch.rpm nodejs010-nodejs-mkdirp-0.5.0-1.el7.noarch.rpm nodejs010-nodejs-ms-0.7.1-2.el7.noarch.rpm nodejs010-nodejs-mute-stream-0.0.4-3.el7.noarch.rpm nodejs010-nodejs-node-uuid-1.4.1-2.el7.noarch.rpm nodejs010-nodejs-nopt-3.0.6-1.el7.noarch.rpm nodejs010-nodejs-normalize-git-url-3.0.1-1.el7.noarch.rpm nodejs010-nodejs-normalize-package-data-2.3.5-1.el7.noarch.rpm nodejs010-nodejs-npm-cache-filename-1.0.2-1.el7.noarch.rpm nodejs010-nodejs-npm-install-checks-1.0.6-1.el7.noarch.rpm nodejs010-nodejs-npmlog-2.0.0-1.el7.noarch.rpm nodejs010-nodejs-npm-package-arg-4.1.0-1.el7.noarch.rpm nodejs010-nodejs-npm-registry-client-7.0.8-1.el7.noarch.rpm nodejs010-nodejs-npm-user-validate-0.1.1-1.el7.noarch.rpm nodejs010-nodejs-once-1.3.0-1.el7.noarch.rpm nodejs010-nodejs-opener-1.4.1-1.el7.noarch.rpm nodejs010-nodejs-osenv-0.1.3-1.el7.noarch.rpm nodejs010-nodejs-os-homedir-1.0.1-1.el7.noarch.rpm nodejs010-nodejs-os-tmpdir-1.0.1-3.el7.noarch.rpm nodejs010-nodejs-path-array-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-path-is-absolute-1.0.0-1.el7.noarch.rpm nodejs010-nodejs-path-is-inside-1.0.0-1.el7.x86_64.rpm nodejs010-nodejs-process-nextick-args-1.0.2-1.el7.noarch.rpm nodejs010-nodejs-promzard-0.2.0-7.el7.noarch.rpm nodejs010-nodejs-proto-list-1.2.2-5.el7.noarch.rpm nodejs010-nodejs-qs-1.2.2-1.el7.noarch.rpm nodejs010-nodejs-read-1.0.5-1.el7.noarch.rpm nodejs010-nodejs-readable-stream-2.0.2-3.el7.noarch.rpm nodejs010-nodejs-readdir-scoped-modules-1.0.2-1.el7.noarch.rpm nodejs010-nodejs-read-installed-4.0.3-1.el7.noarch.rpm nodejs010-nodejs-read-package-json-2.0.2-1.el7.noarch.rpm nodejs010-nodejs-realize-package-specifier-3.0.1-1.el7.noarch.rpm nodejs010-nodejs-request-2.42.0-6.el7.noarch.rpm nodejs010-nodejs-retry-0.6.0-6.el7.noarch.rpm nodejs010-nodejs-rimraf-2.4.3-1.el7.noarch.rpm nodejs010-nodejs-semver-5.0.3-1.el7.noarch.rpm nodejs010-nodejs-sha-2.0.1-2.1.el7.noarch.rpm nodejs010-nodejs-slide-1.1.6-1.el7.noarch.rpm nodejs010-nodejs-sorted-object-1.0.0-3.el7.noarch.rpm nodejs010-nodejs-spdx-correct-1.0.2-1.el7.noarch.rpm nodejs010-nodejs-spdx-exceptions-1.0.4-1.el7.noarch.rpm nodejs010-nodejs-spdx-expression-parse-1.0.1-1.el7.noarch.rpm nodejs010-nodejs-spdx-license-ids-1.0.1-2.el7.noarch.rpm nodejs010-nodejs-string_decoder-0.10.31-1.el7.noarch.rpm nodejs010-nodejs-strip-ansi-0.2.0-1.el7.noarch.rpm nodejs010-nodejs-tar-2.2.1-1.el7.noarch.rpm nodejs010-nodejs-text-table-0.2.0-1.el7.x86_64.rpm nodejs010-nodejs-tunnel-agent-0.3.0-2.el7.noarch.rpm nodejs010-nodejs-uid-number-0.0.5-1.el7.noarch.rpm nodejs010-nodejs-umask-1.1.0-4.el7.noarch.rpm nodejs010-nodejs-unc-path-regex-0.1.1-2.el7.noarch.rpm nodejs010-nodejs-util-deprecate-1.0.1-1.el7.noarch.rpm nodejs010-nodejs-util-extend-1.0.1-4.el7.noarch.rpm nodejs010-nodejs-validate-npm-package-license-3.0.1-1.el7.noarch.rpm nodejs010-nodejs-validate-npm-package-name-2.2.2-3.el7.noarch.rpm nodejs010-nodejs-wcwidth-1.0.0-4.el7.noarch.rpm nodejs010-nodejs-which-1.2.0-1.el7.noarch.rpm nodejs010-nodejs-wrappy-1.0.1-2.el7.noarch.rpm nodejs010-nodejs-write-file-atomic-1.1.2-3.el7.noarch.rpm nodejs010-npm-2.14.13-6.el7.noarch.rpm nodejs010-runtime-2.1-5.el7.x86_64.rpm
*If i copy paste above RPMS to my custom ISO, then anaconda successfully installs these packages, without any errors*
*What is there is these already built RPMs (taken from repo: [centos-sclo-rh] : http://mirror.centos.org/centos/7/sclo/x86_64/rh/nodejs010/) which is not there in my built RPMS?*
Any pointers for this, as we feel, there is some inconsistency in the version available on git.centos.org/git/rpms/<name_of_pkg>.git ?
Regards Sudhanshu Bhutani
On 08/31/2016 03:48 AM, SUDHANSHU BHUTANI wrote:
Hi,
I have built successfully all the dependent packages of nodejs010 and npm.
I have used following command:- *rpmbuild --define 'scl nodejs010' --bb SPEC/name_of_spec.spec*
You should really use mock, so that you don't have unintended libraries from your build host included/linked/required in the resulting rpm.
Following is the list of RPMs cloned and built from GIT:-
<snip>
*However, when we copy these RPMS to our ISO, anaconda installer fails to install due to dependency errors:-*
You should use the 'repoclosure' utility to make sure that you have met all the dependencies of packages in the repo on your iso.
How is it possible, to get these errors, how come packages are not satisfying minimum dependency for working of NPM?
repoclosure should tell you. You may be missing something scl related.
If i do yumdownloader for all these above RPMs from repo: [centos-sclo-rh] : http://mirror.centos.org/centos/7/sclo/x86_64/rh/nodejs010/), then i get following RPMs without "centos" name:-
Correct. This is an rpm macro change. by default the 'centos' is added in there.
*If i copy paste above RPMS to my custom ISO, then anaconda successfully installs these packages, without any errors*
This would suggest something is wrong with your build. See previous statement about using mock vs rpmbuild.
*What is there is these already built RPMs (taken from repo: [centos-sclo-rh] : http://mirror.centos.org/centos/7/sclo/x86_64/rh/nodejs010/) which is not there in my built RPMS?*
That's kind of up to you to figure out, since we can't see your custom built ones.
Any pointers for this, as we feel, there is some inconsistency in the version available on git.centos.org/git/rpms/<name_of_pkg>.git ?
More likely it's in your build method.