Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed Vala building via AUR (Manjaro Linux) #58

Closed
gusbemacbe opened this issue Nov 12, 2018 · 2 comments
Closed

Failed Vala building via AUR (Manjaro Linux) #58

gusbemacbe opened this issue Nov 12, 2018 · 2 comments

Comments

@gusbemacbe
Copy link

Hello,

I have checked #29, but it was not this case.

I installed all the dependencies. I installed Meson, Ninja, Vala and Vala Lint. I installed via AUR from yay on Manjaro KDE 18.0 Illyria. Check the error:

The Meson build system
Version: 0.48.1
Source dir: /home/gusbemacbe/.cache/yay/akira-git/src/Akira
Build dir: /home/gusbemacbe/.cache/yay/akira-git/src/build
Build type: native build
Project name: com.github.alecaddd.akira
Project version: undefined
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
Native C compiler: cc (gcc 8.2.1 "cc (GCC) 8.2.1 20180831")
Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Native Vala compiler: valac (valac 0.42.3)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.5.4)
Program io.elementary.vala-lint found: YES (/usr/bin/io.elementary.vala-lint)
Configuring config.vala using configuration
Dependency gtk+-3.0 found: YES 3.24.1
Dependency granite found: YES 5.1.0
Dependency gee-0.8 found: YES 0.20.1
Dependency libxml-2.0 found: YES 2.9.8
Dependency gtksourceview-3.0 found: YES 3.24.9
Program meson/post_install.py found: YES (/usr/bin/env python3 /home/gusbemacbe/.cache/yay/akira-git/src/Akira/meson/post_install.py)
Build targets in project: 8
Found ninja-1.8.2 at /usr/bin/ninja
[27/27] Linking target src/com.github.alecaddd.akira.
==> Starting check()...
[0/1] Running all tests.
1/1 Vala lint                               FAIL     0.34 s (killed by signal 6 SIGABRT)

OK:         0
FAIL:       1
SKIP:       0
TIMEOUT:    0

The output from the failed tests:

1/1 Vala lint                               FAIL     0.34 s (killed by signal 6 SIGABRT)

--- command ---
/usr/bin/io.elementary.vala-lint -d /home/gusbemacbe/.cache/yay/akira-git/src/Akira/src
--- stderr ---
**
ERROR:arraylist.c:1197:gee_array_list_real_get: assertion failed: (index >= 0)
-------

Full log written to /home/gusbemacbe/.cache/yay/akira-git/src/build/meson-logs/testlog.txt
FAILED: meson-test 
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in check().
    Aborting...
Error making: akira-git
@Alecaddd
Copy link
Member

It says it in the error.
Vala lint found a failed assertion while validating the code.
It doesn't really matter right now since I'm not using Vala Lint as the project is still in early development and not really usable for anything.
If you want to compile it just to take a look at it, you can disable Vala Lint in the meson file.
Cheers

@gusbemacbe
Copy link
Author

OK, @Alecaddd.

I will look for a documentation of how to disable Vala-Lint. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants