TLDR vasanth encountered errors while building openobserve-0.4.6. Prabhat advised using the latest main branch version and provided build scripts.
There is a problem with 0.4.6 build with the dependencies. We pinned it but vector team deleted the commit by force push. Pick the latest from main branch
Thanks Prabhat, Let me try
What version I should be in? i am having cargo 1.71.0-nightly
checked the repo and ran a cargo build
error: failed to run custom build command for `memchr v2.5.0`
Caused by:
process didn't exit successfully: `openobserve-repo/target/debug/build/memchr-35142f72a6d51622/build-script-build` (signal: 4, SIGILL: illegal instruction)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `proc-macro2 v1.0.59`
Caused by:
process didn't exit successfully: `openobserve-repo/target/debug/build/proc-macro2-baf22990c669bfa3/build-script-build` (signal: 4, SIGILL: illegal instruction)
--- stdout
cargo:rerun-if-changed=
Check the build scripts. You can just follow it along.
Thats nice.. Let me try
actually use this one -
this one is for release version that we distribute
Got it, the npm install went trhough.. but the NODE_OPTIONS="--max-old-space-size=8192" npm run build fails .. Warning: 3 repetitive deprecation warnings omitted. transforming (1817) node_modules/monaco-editor/esm/vs/editor/browser/services/abstractCodeEditorService.jssrc/components/alerts/AddAlert.vue:324:24 - error TS7016: Could not find a declaration file for module 'node-sql-parser'. '/root/workspace/openobserve/openobserve-repo/web/node_modules/node-sql-parser/index.js' implicitly has an 'any' type. Try `npm i --save-dev @types/node-sql-parser` if it exists or add a new declaration (.d.ts) file containing `declare module 'node-sql-parser';` 324 import { Parser } from "node-sql-parser"; ~~~~~~~~~~~~~~~~~ src/plugins/logs/IndexList.vue:321:24 - error TS7016: Could not find a declaration file for module 'node-sql-parser'. '/root/workspace/openobserve/openobserve-repo/web/node_modules/node-sql-parser/index.js' implicitly has an 'any' type. Try `npm i --save-dev @types/node-sql-parser` if it exists or add a new declaration (.d.ts) file containing `declare module 'node-sql-parser';` 321 import { Parser } from "node-sql-parser"; ~~~~~~~~~~~~~~~~~ Found 2 errors in 2 files. Errors Files 1 src/components/alerts/AddAlert.vue:324 1 src/plugins/logs/IndexList.vue:321 transforming (1831) node_modules/monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.jsERROR: "type-check" exited with 2. I will give a try with the binary now. and then get to the building..
vasanth
Fri, 02 Jun 2023 09:21:11 UTC:wave: Hi everyone! I am trying to build openobserve-0.4.6 from source.. but fails with this errors.. Any pointers? error: failed to get `enrichment` as a dependency of package `openobserve v0.1.0 (openobserve-0.4.6)` Caused by: failed to load source for dependency `enrichment` Caused by: Unable to update
Caused by:
object not found - no match for id (ce014974f814d05779b92e42027e5952d19848af); class=Odb (9); code=NotFound (-3)