Fails to build because of an error at the 'esy bootstrap' build step, which brings an error from ocaml
Search Criteria
Package Details: onivim2-git 1952.4431f88b6-1
Package Actions
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 |
Keywords: | editor modal onivim2 |
Licenses: | MIT |
Conflicts: | onivim2 |
Provides: | onivim2 |
Submitter: | freswa |
Maintainer: | None |
Last Packager: | chaotic-aur |
Votes: | 9 |
Popularity: | 0.000000 |
First Submitted: | 2019-10-21 14:29 (UTC) |
Last Updated: | 2022-01-02 21:21 (UTC) |
Dependencies (28)
- bzip2 (bzip2-gitAUR) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- esyAUR (make)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- fuse2 (make)
- git (git-gitAUR, git-glAUR) (make)
- glu (glu-gitAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- harfbuzz (harfbuzz-gitAUR) (make)
- libglvnd (libglvnd-gitAUR) (make)
- libice (make)
- libpng (libpng-gitAUR, libpng-apngAUR) (make)
- libsm (make)
- libx11 (libx11-gitAUR) (make)
- libxcursor (make)
- libxext (libxext-gitAUR) (make)
- libxi (libxi-gitAUR) (make)
- libxinerama (libxinerama-randr-gitAUR) (make)
- libxrandr (libxrandr-gitAUR) (make)
- libxt (make)
- libxxf86vm (make)
- m4 (m4-gitAUR) (make)
- nasm (nasm-gitAUR) (make)
- node-gyp (corepackerAUR) (make)
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron) (make)
- python2AUR (python2-binAUR) (make)
- ragel (ragel-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
Required by (0)
Sources (2)
Andy3153 commented on 2022-03-19 15:19 (UTC)
chaotic-aur commented on 2022-01-02 21:22 (UTC)
As of September 2021, the source code for Onivim 2 has been re-licensed under the MIT license.
Thank @MithicSpirit for pointing it to us.
PedroHLC commented on 2021-07-08 21:56 (UTC)
For issues or suggestions, prefer opening a PR on the GitHub mirror. A bot will re-upload it here, including your authorship.
There are hourly builds available in chaotic-aur.
PedroHLC commented on 2021-03-05 19:14 (UTC)
I'll check upstream, but looks like rls is no longer btw us...
==> Starting package()...
chmod: cannot access '/home/main-builder/pkgwork/pkg/onivim2-git/opt/onivim2/usr/bin/rls': No such file or directory
KingLouie commented on 2021-01-14 13:20 (UTC)
For me the build fails right at the end with this error:
==> Starting package()... install: cannot stat 'Onivim2.AppDir/Onivim2.desktop': No such file or directory
aether commented on 2020-12-30 20:12 (UTC)
@mperez looks like this is fixed as of today: https://github.com/onivim/oni2/pull/2896
However, there's a bug in the PKGBUILD. node install-node-deps.js
should come before esy build
, otherwise it'll fail to find package.json
for the node deps it's trying to use. As far as I can tell, there's no reason that shouldn't come before any esy
commands, since the official build docs say it should.
Works just fine now after changing that.
mperez commented on 2020-12-01 21:46 (UTC) (edited on 2020-12-01 21:47 (UTC) by mperez)
Have tried to build both this and the non-git version on aur, using paru and via makepkg. Always getting this error after a very long build process.
I've included just the beginning and the end
FIRST PART ninja: Entering directory `/home/username/.cache/paru/clone/onivim2/src/esy_cache/3/b/esy_skia-c92699c2/out/Static' [1/1206] stamp obj/arm64.stamp [2/1206] stamp obj/armv7.stamp [3/1206] stamp obj/compile_processors.stamp [4/1206] stamp obj/crc32.stamp [5/1206] stamp obj/fontmgr_empty.stamp [6/1206] stamp obj/fontmgr_fuchsia.stamp [7/1206] compile ../../src/ports/SkFontConfigInterface.cpp FAILED: obj/src/ports/fontmgr_fontconfig.SkFontConfigInterface.o clang++ -MMD -MF obj/src/ports/fontmgr_fontconfig.SkFontConfigInterface.o.d -DNDEBUG -DSK_SAMPLES_FOR_X -DSK_GAMMA_APPLY_TO_A8 -DSK_ENABLE_DISCRETE_GPU -DGR_TEST_UTILS=1 -DSKIA_IMPLEMENTATION=1 -I.
LAST PART ../../src/gpu/glsl/GrGLSLFragmentShaderBuilder.h:25:13: error: '~GrGLSLFragmentBuilder' overrides a destructor but is not marked 'override' [-Werror,-Wsuggest-destructor-override] virtual ~GrGLSLFragmentBuilder() {}
This 'overrides destructor' error happens for GrGLSLShaderBuilder, GrContextThreadSafeProxy, GrContext, GrSurfaceProxy
r381581 commented on 2020-11-01 07:50 (UTC)
The build proceeds without errors, but the program does not start. The window is drawn for a second and immediately closes without errors in the console. Here is the log:
(Sys_error
"/home/path/to/cache/yay/onivim2-git/src/onivim2-git/extensions: \208\157\208\181\209\130 \209\130\208\176\208\186\208\190\208\179\208\190 \209\132\208\176\208\185\208\187\208\176 \208\184\208\187\208\184 \208\186\208\176\209\130\208\176\208\187\208\190\208\179\208\176"):
Raised by primitive operation at file "src/Exthost/Extension/Scanner.re", line 77, characters 5-16
Called from file "option.ml", line 24, characters 57-62
Called from file "src/Store/StoreThread.re", line 25, characters 10-287
Called from file "src/Timber.re", line 53, characters 14-17
Called from file "src/Store/StoreThread.re", line 23, characters 6-1023
Called from file "src/Store/StoreThread.re", line 114, characters 4-103
Called from file "src/bin_editor/Oni2_editor.re", line 356, characters 6-853
Called from file "src/Core/App.re", line 199, characters 17-34
Called from file "packages/reason-sdl2/src/sdl2.re", line 268, characters 17-59
Called from file "packages/reason-sdl2/src/sdl2.re", line 268, characters 17-59
Called from file "src/bin_editor/Oni2_editor.re", line 438, characters 11-26
SolarAquarion commented on 2020-09-25 11:17 (UTC)
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 (UTC)
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.
Pinned Comments
PedroHLC commented on 2021-07-08 21:56 (UTC)
For issues or suggestions, prefer opening a PR on the GitHub mirror. A bot will re-upload it here, including your authorship.
There are hourly builds available in chaotic-aur.