Skip to content

Failing compilation for intell, on linux (archlinux) #15

@azbarcea

Description

@azbarcea

I wonder if the intell profile is supported for linux. If not, any guidance to add support, is greatly appreciated and I can provide a PR part of this Issue.

My presumption is based on:

error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-apple-darwin` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64-apple-darwin`

I'm using rust and not rustup. Also, I wasn't expecting x86_64-apple-darwin as this implies is a MacOS (OSX) support.

Full log:

$ pnpm build:app:intell

> ollama-interface@0.0.0 build:app:intell /home/<userid>/projects/ollama-gui
> pnpm clean-target && tauri build --target x86_64-apple-darwin


> ollama-interface@0.0.0 clean-target /home/<userid>/projects/ollama-gui
> rm -rf ./src-tauri/target

     Running beforeBuildCommand `pnpm build`

> ollama-interface@0.0.0 build /home/<userid>/projects/ollama-gui
> pnpm clean-target && tsc && vite build


> ollama-interface@0.0.0 clean-target /home/<userid>/projects/ollama-gui
> rm -rf ./src-tauri/target

vite v4.4.9 building for production...
✓ 1939 modules transformed.
dist/index.html                      0.59 kB │ gzip:   0.33 kB
dist/assets/vendor-1e521ea9.css      6.65 kB │ gzip:   0.94 kB
dist/assets/index-04144e50.css      36.87 kB │ gzip:   6.55 kB
dist/assets/index-257c7ce6.js       41.42 kB │ gzip:  10.70 kB
dist/assets/vendor-298d96b1.js   1,182.05 kB │ gzip: 393.44 kB

(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 10.75s
   Compiling proc-macro2 v1.0.67
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.148
   Compiling cfg-if v1.0.0
   Compiling serde v1.0.188
error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-apple-darwin` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64-apple-darwin`

error[E0463]: can't find crate for `compiler_builtins`

For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
       Error failed to build app: failed to build app
 ELIFECYCLE  Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions