pop-os / cosmic-files

WIP COSMIC file manager
GNU General Public License v3.0
102 stars 76 forks source link

Build failed #73

Open NoelJacob opened 6 months ago

NoelJacob commented 6 months ago

When I run the build steps given in README this is what happens:

......... 
.........
 Compiling freedesktop-icons v0.2.6
 Compiling iced_tiny_skia v0.12.0 (https://github.com/pop-os/libcosmic.git#2b23005f)
 Compiling cosmic-files v0.1.0 (/home/noel/Dev/Temp/cosmic-files/cosmic-files)
error: failed to run custom build command for `cosmic-files v0.1.0 (/home/noel/Dev/Temp/cosmic-files/cosmic-files)`

Caused by:
  process didn't exit successfully: `/home/noel/Dev/Temp/cosmic-files/cosmic-files/target/release/build/cosmic-files-b482095ee4d1b539/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=i18n
  cargo:rerun-if-env-changed=VERGEN_GIT_COMMIT_DATE
  cargo:rerun-if-env-changed=VERGEN_GIT_SHA

  --- stderr
  Error: not within a suitable 'git' worktree!
warning: build failed, waiting for other jobs to finish...
jackpot51 commented 6 months ago

Did you clone from git?

NoelJacob commented 6 months ago

yes

bmode8 commented 4 months ago

I also have this issue on Manjaro. Building from the AUR and cloning from git and building with cargo both result in this same error, whether compiling as part of cosmic-epoch or alone as cosmic-files. My output from the build errors is identical to those at the top of the issue.