Package Details: onivim2-git 1527.b6e238811-1

Git Clone URL: https://aur.archlinux.org/onivim2-git.git (read-only, click to copy)
Package Base: onivim2-git
Description: Native, lightweight modal code editor
Upstream URL: https://github.com/onivim/oni2
Licenses: custom:OutrunLabsEULA
Conflicts: onivim2
Provides: onivim2
Submitter: freswa
Maintainer: freswa
Last Packager: freswa
Votes: 6
Popularity: 0.48
First Submitted: 2019-10-21 14:29
Last Updated: 2020-09-24 19:29

Latest Comments

1 2 3 Next › Last »

SolarAquarion commented on 2020-09-25 11:17

https://github.com/onivim/oni2/blob/master/scripts/linux/package-linux.sh#L46 it seems this line is causing build failures, due to it wanting to remove a write protected file, because you connected it to fuse, and that gives all the files root level protection, but i guess remove it in the PKGBUILD, and not in the package-linux.sh

freswa commented on 2020-08-28 15:23

This Image build stuff is really annoying. But after trying for hours to get around that I used the image in the end since that is meant to get distributed by upstream and will work for longer than any hack. Feel free to create a PR at github.com/freswa/aur or work with upstream to provide a simpler packaging mechanism.

jonathanio commented on 2020-08-28 15:20

fuse: device not found, try 'modprobe fuse' first

I did flag a build issue up myself, and then deleted the comment, and I found this was the culprit. I have a build box via Jenkins running my builds, and this issue comes up when the kernel gets updated but not rebooted.

For containers, I've no idea. I'm not impressed that this is a built step. Not a slight on the AUR package maintainer - but it should be fixed upstream somehow.

PedroHLC commented on 2020-08-28 14:42

Thanks for adding clang, there are more missing deps: python (besides python2), node-gyp, fuse3

But anyway, it finished with install: cannot stat 'Onivim2.AppDir/usr/share/applications/Onivim2.desktop': No such file or directory for me (I'll be trying again from a clean build)...

EDIT: This was still caused by fuse failure, no clue how I'll enable fuse in my container :)

  • python:
    FAILED: libskia.a
    python /home/main-builder/pkgwork/src/esy_cache/3/b/esy_skia-c92699c2/gn/ar.py ar libskia.a libskia.a.rsp
    /bin/sh: python: command not found
    ninja: build stopped: subcommand failed.
    error: command failed: 'bash' './esy/build.sh' 'linux' '/home/main-builder/pkgwork/src/esy_cache/3____________________________________________/i/esy_libjpeg_turbo-e4385a3b' (exited with 1)
    esy-build-package: exiting with errors above...
  • node-gyp:
info This package requires node-gyp, which is not currently installed. Yarn will attempt to automatically install it. If this fails, you can run "yarn global add node-gyp" to manually install it.
[1/4] Resolving packages...
error /home/main-builder/pkgwork/src/onivim2-git/node/node_modules/node-pty: Command failed.
  • fuse3:
fuse: device not found, try 'modprobe fuse' first

Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE

ShadowShun commented on 2020-05-24 23:13

Build does not work. PKGBUILD fails due to errors below.

collect2: error: ld returned 1 exit status make[1]: [Makefile:301: ocamlruni] Error 1 make[1]: Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make[1]: [Makefile:295: ocamlrund] Error 1 make[1]: Leaving directory '/home/tushar/.cache/yay/onivim2/src/esy_cache/3/b/ocaml-4.8.1000-e74c5c0d/runtime' make: [Makefile:323: coldstart] Error 2 error: command failed: './esy-build' (exited with 2)

r3ddr4gOn commented on 2020-05-23 15:52

I had to add export PATH=/usr/bin/core_perl:$PATH to the build function so esy can find the shasum perl script (which is part of perl). So perl should probably also be in makedepends.

Thanks for the PKGBUILD it works great otherwise.

SolarAquarion commented on 2020-05-12 23:46

dependencies https://paste.debian.net/1146466/ the arch should also be ('x86_64')

tuxflo commented on 2020-05-12 22:55

Build is not working anymore. During the build process I'm asked about some AppImage integration, then the install fails with: => Starting package()... install: cannot stat 'Onivim2.AppDir/usr/share/applications/Onivim2.desktop': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... Error making: onivim2-git

Recognition commented on 2020-04-07 10:07

When building in a clean chroot, it fails on a missing makedepend clang:

Manually activating llvm toolset 7.0...
./esy/build.sh: line 33: /opt/rh/llvm-toolset-7.0/enable: No such file or directory
-- clang version:
./esy/build.sh: line 37: clang: command not found
-- clang++ version:
./esy/build.sh: line 39: clang++: command not found
ERROR at //gn/BUILDCONFIG.gn:92:14: Script returned non-zero exit code.
  is_clang = exec_script("gn/is_clang.py",
             ^----------
Current dir: /build/onivim2-git/src/esy_cache/3/b/esy_skia-f124b077/out/Static/
Command: python2 -- /build/onivim2-git/src/esy_cache/3/b/esy_skia-f124b077/gn/is_clang.py clang --gcc-toolchain=/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -stdlib=libstdc++ clang++ --gcc-toolchain=/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -I/usr/include/c++/4.8.5 -I/usr/include/c++/4.8.5/x86_64-redhat-linux -std=c++11 -stdlib=libstdc++
Returned 1.
stderr:

/bin/sh: clang: command not found
Traceback (most recent call last):
  File "/build/onivim2-git/src/esy_cache/3/b/esy_skia-f124b077/gn/is_clang.py", line 12, in <module>
    if ('clang' in subprocess.check_output('%s --version' % cc, shell=True) and
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'clang --gcc-toolchain=/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -stdlib=libstdc++ --version' returned non-zero exit status 127

error: command failed: 'bash' './esy/build.sh' 'linux' '/build/onivim2-git/src/esy_cache/3____________________________________________________i/esy_libjpeg_turbo-fc2602b2' (exited with 255)
esy-build-package: exiting with errors above...

Recognition commented on 2020-04-07 10:03

When building in a chroot, two dependencies don't exist: clang and python.

With clang added to makedepends, it fails on python like this:

FAILED: libskia.a
python /build/onivim2-git/src/esy_cache/3/b/esy_skia-f124b077/gn/ar.py ar libskia.a libskia.a.rsp
/bin/sh: python: command not found
ninja: build stopped: subcommand failed.
error: command failed: 'bash' './esy/build.sh' 'linux' '/build/onivim2-git/src/esy_cache3____________________________________________________/i/esy_libjpeg_turbo-fc2602b2' (exited with 1)
esy-build-package: exiting with errors above...
building esy-skia@github:revery-ui/esy-skia#07c13a9
esy: exiting due to errors above
==> ERROR: A failure occurred in build().
Aborting...