Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fpm fails on oss build #38481

Closed
spalger opened this issue Jun 7, 2019 · 1 comment · Fixed by #38733
Closed

fpm fails on oss build #38481

spalger opened this issue Jun 7, 2019 · 1 comment · Fixed by #38733
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team v7.3.0 v8.0.0

Comments

@spalger
Copy link
Contributor

spalger commented Jun 7, 2019

There is currently an issue building Kibana when both --oss and --os-packages flags are used.

fpm is tripping up on a very funky path in node_modules:

Processing files: kibana-oss-8.0.0_SNAPSHOT-1.x86_64 {:level=>:info}
error: File not found: /var/folders/64/zw1v56gj4_141lvs5q88z5_40000gn/T/package-rpm-build-334e0ab2394b133a5ebec245770a1302355b7262651ba36e0ffe4b31d24f/BUILD/usr/share/kibana/node_modules/@elastic/eui/lib/components/icon/assets?lazy?recursive?^\.\/.[*]\.js[$] {:level=>:info}
{:level=>:info}
{:level=>:info}
   Macro expanded in comment on line 24: %undefine __check_files {:level=>:info}
RPM build errors: {:level=>:info}
{:level=>:info}
   File not found: /var/folders/64/zw1v56gj4_141lvs5q88z5_40000gn/T/package-rpm-build-334e0ab2394b133a5ebec245770a1302355b7262651ba36e0ffe4b31d24f/BUILD/usr/share/kibana/node_modules/@elastic/eui/lib/components/icon/assets?lazy?recursive?^\.\/.[*]\.js[$] {:level=>:info}

The file node_modules/@elastic/eui/lib/components/icon/assets?lazy?recursive?^\.\/.[*]\.js is being created by the CleanClientModulesOnDLLTask in the build, when it's trying to make sure that the entry points into the DLL are still on disk for webpack to find when it rebuilds. While deleting all other files from a node module.

It's unclear why the DLL only has this entry point in the oss build (the default dist doesn't even seem to have an eui entry point).

@spalger spalger added bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team v8.0.0 v7.3.0 labels Jun 7, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team v7.3.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants