dom96/Aporia

cannot install on linux

luntik2012 opened this issue · 3 comments

archlinux

$ nimble install aporia
Downloading https://github.com/nim-lang/Aporia using git
   Warning: Package 'aporia' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'aporia.nim', but a file named 'utils.nim' was found. This will be an error in the future.
      Hint: If this is the primary source file in the package, rename it to 'aporia.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'aporia', then move it into a 'aporiapkg/' subdirectory. If it's a test file or otherwise not required to build the the package 'aporia.nim', prevent its installation by adding `skipFiles = @["utils.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
  Verifying dependencies for aporia@0.4.1
      Info: Dependency on gtk2@#head already satisfied
  Verifying dependencies for gtk2@#head
      Info: Dependency on cairo@any version already satisfied
  Verifying dependencies for cairo@1.0
      Info: Dependency on dialogs@#head already satisfied
   Warning: Package 'dialogs' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'dialogs', but file 'winaux.nim' is in a directory named 'private' instead. This will be an error in the future.
      Hint: If 'private' contains source files for building 'dialogs', rename it to 'dialogs'. Otherwise, prevent its installation by adding `skipDirs = @["private"]` to the .nimble file.
  Verifying dependencies for dialogs@#head
      Info: Dependency on gtk2@>= 1.0 already satisfied
  Verifying dependencies for gtk2@#head
      Info: Dependency on cairo@any version already satisfied
  Verifying dependencies for cairo@1.0
 Installing aporia@0.4.1
   Building aporia/aporia using c backend
    Prompt: Build failed for 'aporia@0.4.1', would you like to try installing 'aporia@#head' (latest unstable)? [y/N]
    Answer: 
       Tip: 12 messages have been suppressed, use --verbose to show them.
     Error: Aborting installation due to build failure

nick /tmp $ nimble install aporia
Downloading https://github.com/nim-lang/Aporia using git
Tip: 2 messages have been suppressed, use --verbose to show them.
Error: Execution failed with exit code 128
... Command: git clone --recursive --depth 1 -b v0.4.2 https://github.com/nim-lang/Aporia /tmp/nimble_16211/githubcom_nimlangAporia
... Output: Cloning into '/tmp/nimble_16211/githubcom_nimlangAporia'...
... Note: checking out '3273cb144172deb2dae615191b30a62093c365ee'.
... You are in 'detached HEAD' state. You can look around, make experimental
... changes and commit them, and you can discard any commits you make in this
... state without impacting any branches by performing another checkout.
... If you want to create a new branch to retain commits you create, you may
... do so (now or later) by using -b with the checkout command again. Example:
... git checkout -b
... error: unable to write file screenshots/osx.png
... error: unable to write file screenshots/windows.png
... error: unable to write file search.nim
... error: unable to write file settings.nim
... error: unable to write file share/gtksourceview-2.0/language-specs/R.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/actionscript.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/ada.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/asm-intel.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/asp.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/automake.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/awk.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/bennugd.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/bibtex.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/bluespec.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/boo.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/c.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/cg.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/changelog.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/chdr.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/check-language.sh
... error: unable to write file share/gtksourceview-2.0/language-specs/cmake.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/cobol.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/cpp.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/csharp.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/css.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/cuda.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/d.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/def.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/desktop.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/diff.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/docbook.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/dosbatch.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/dot.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/dpatch.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/dtd.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/eiffel.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/erlang.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/fcl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/forth.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/fortran.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/fsharp.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/gap.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/gdb-log.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/glsl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/go.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/gtk-doc.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/gtkrc.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/haddock.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/haskell-literate.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/haskell.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/html.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/idl-exelis.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/idl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/imagej.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/ini.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/j.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/java.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/javascript.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/json.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/language.dtd
... error: unable to write file share/gtksourceview-2.0/language-specs/language.rng
... error: unable to write file share/gtksourceview-2.0/language-specs/language2.rng
... error: unable to write file share/gtksourceview-2.0/language-specs/latex.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/libtool.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/lua.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/m4.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/makefile.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/mallard.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/markdown.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/matlab.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/msil.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/mxml.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/nael.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/nasm.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/nemerle.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/netrexx.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/nim.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/nsis.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/objc.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/objj.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/ocaml.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/ocl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/octave.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/ooc.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/opal.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/opencl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/pascal.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/perl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/php.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/pkgconfig.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/po.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/prolog.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/protobuf.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/puppet.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/python.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/python3.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/rpmspec.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/ruby.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/scheme.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/scilab.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/sh.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/sml.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/sparql.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/sql.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/styles.rng
... error: unable to write file share/gtksourceview-2.0/language-specs/systemverilog.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/t2t.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/tcl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/texinfo.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/vala.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/vbnet.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/verilog.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/vhdl.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/xml.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/xslt.lang
... error: unable to write file share/gtksourceview-2.0/language-specs/yacc.lang
... error: unable to write file share/gtksourceview-2.0/styles/brackets.xml
... error: unable to write file share/gtksourceview-2.0/styles/breeze.xml
... error: unable to write file share/gtksourceview-2.0/styles/classic.xml
... error: unable to write file share/gtksourceview-2.0/styles/cobalt.xml
... error: unable to write file share/gtksourceview-2.0/styles/dark_bliss.xml
... error: unable to write file share/gtksourceview-2.0/styles/darknim.xml
... error: unable to write file share/gtksourceview-2.0/styles/deep_blue.xml
... error: unable to write file share/gtksourceview-2.0/styles/distant_shores.xml
... error: unable to write file share/gtksourceview-2.0/styles/eggshell.xml
... error: unable to write file share/gtksourceview-2.0/styles/ekini_edit.xml
... error: unable to write file share/gtksourceview-2.0/styles/github.xml
... error: unable to write file share/gtksourceview-2.0/styles/github_classic.xml
... error: unable to write file share/gtksourceview-2.0/styles/kate.xml
... error: unable to write file share/gtksourceview-2.0/styles/less.xml
... error: unable to write file share/gtksourceview-2.0/styles/monodev.xml
... error: unable to write file share/gtksourceview-2.0/styles/monokai.xml
... error: unable to write file share/gtksourceview-2.0/styles/neoncloud.xml
... error: unable to write file share/gtksourceview-2.0/styles/nimwit.xml
... error: unable to write file share/gtksourceview-2.0/styles/oblivion.xml
... error: unable to write file share/gtksourceview-2.0/styles/obsidian.xml
... error: unable to write file share/gtksourceview-2.0/styles/piekno.xml
... error: unable to write file share/gtksourceview-2.0/styles/roses.xml
... error: unable to write file share/gtksourceview-2.0/styles/studios_dark.xml
... error: unable to write file share/gtksourceview-2.0/styles/studios_light.xml
... error: unable to write file share/gtksourceview-2.0/styles/styles.rng
... error: unable to write file share/gtksourceview-2.0/styles/tango.xml
... error: unable to write file share/gtksourceview-2.0/styles/yumbum.xml
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/notebook-gap-horiz.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/notebook-gap-vert.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/notebook.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-bottom-active.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-bottom.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-left-active.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-left.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-right-active.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-right.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-top-active.png
... error: unable to write file share/themes/Quartz/gtk-2.0/Tabs/tab-top.png
... error: unable to write file share/themes/Quartz/gtk-2.0/gtkrc
... error: unable to write file suggest.nim
... error: unable to write file todo.markdown
... error: unable to write file utils.nim
... fatal: unable to checkout working tree
... warning: Clone succeeded, but checkout failed.
... You can inspect what was checked out with 'git status'
... and retry the checkout with 'git checkout -f HEAD'

dom96 commented

That really looks like an issue with your system.

I've install 'utils' using "nimble install utils" and then successfuly installed aporia