Hi,
I have commented out the SHA check. I downloaded node-js darwin, linux, window files manually in specific directory. I have used --skip-node-download
.
I am able to proceed further. I am able to build tar, zip files of Kibana. But now in creating rpm task the build is failing. There are no detailed logs even in debug/verbose mode. I have attached the same. Please let me know if I am missing some thing.
I have used yarn build --rpm -v --skip-node-download --oss --skip-archives --release
command for building.
info [kibana-oss] Creating rpm package
│ debg calling fpm with args: [ '--force',
│ '-t',
│ 'rpm',
│ '--package',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/target/NAME-7.0.1-ARCH.TYPE',
│ '-s',
│ 'dir',
│ '--name',
│ 'kibana-oss',
│ '--description',
│ 'Explore and visualize your Elasticsearch data',
│ '--version',
│ '7.0.1',
│ '--url',
│ 'https://www.elastic.co',
│ '--vendor',
│ 'Elasticsearch, Inc.',
│ '--maintainer',
│ 'Kibana Team <info@elastic.co>',
│ '--license',
│ 'ASL 2.0',
│ '--conflicts',
│ 'kibana',
│ '--after-install',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/post_install.sh',
│ '--before-install',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/pre_install.sh',
│ '--before-remove',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/pre_remove.sh',
│ '--after-remove',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/post_remove.sh',
│ '--config-files',
│ '/etc/kibana/kibana.yml',
│ '--template-value',
│ 'user=kibana',
│ '--template-value',
│ 'group=kibana',
│ '--template-value',
│ 'optimizeDir=/usr/share/kibana/optimize',
│ '--template-value',
│ 'configDir=/etc/kibana',
│ '--template-value',
│ 'pluginsDir=/usr/share/kibana/plugins',
│ '--template-value',
│ 'dataDir=/var/lib/kibana',
│ '--exclude',
│ 'usr/share/kibana/config',
│ '--exclude',
│ 'usr/share/kibana/data',
│ '--architecture',
│ 'x86_64',
│ '--rpm-os',
│ 'linux',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/build/oss/kibana-7.0.1-linux-x86_64/=/usr/share/kibana/',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/build/oss/kibana-7.0.1-linux-x86_64/config/=/etc/kibana/',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/build/oss/kibana-7.0.1-linux-x86_64/data/=/var/lib/kibana/',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/service_templates/sysv/etc/=/etc/',
│ '/home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/service_templates/systemd/etc/=/etc/' ]
│ sill $ fpm --force -t rpm --package /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/target/NAME-7.0.1-ARCH.TYPE -s dir --name kibana-oss --description Explore and visualize your Elasticsearch data --version 7.0.1 --url https://www.elastic.co --vendor Elasticsearch, Inc. --maintainer Kibana Team <info@elastic.co> --license ASL 2.0 --conflicts kibana --after-install /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/post_install.sh --before-install /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/pre_install.sh --before-remove /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/pre_remove.sh --after-remove /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/package_scripts/post_remove.sh --config-files /etc/kibana/kibana.yml --template-value user=kibana --template-value group=kibana --template-value optimizeDir=/usr/share/kibana/optimize --template-value configDir=/etc/kibana --template-value pluginsDir=/usr/share/kibana/plugins --template-value dataDir=/var/lib/kibana --exclude usr/share/kibana/config --exclude usr/share/kibana/data --architecture x86_64 --rpm-os linux /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/build/oss/kibana-7.0.1-linux-x86_64/=/usr/share/kibana/ /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/build/oss/kibana-7.0.1-linux-x86_64/config/=/etc/kibana/ /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/build/oss/kibana-7.0.1-linux-x86_64/data/=/var/lib/kibana/ /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/service_templates/sysv/etc/=/etc/ /home/cloud-user/git-kibana/CSF-ELASTIC-KIBANA-MIRROR/src/dev/build/tasks/os_packages/service_templates/systemd/etc/=/etc/
│ERROR failure
│ERROR Error: spawn fpm ENOENT
│ at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
│ at onErrorNT (internal/child_process.js:415:16)
│ at process._tickCallback (internal/process/next_tick.js:63:19)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.