You are not logged in.

#1 2016-03-16 00:45:49

CTech
Member
Registered: 2015-11-23
Posts: 30

[SOLVED] ricin-git fails to compile

Hello.
I have recently been trying to install the package ricin-git (https://aur.archlinux.org/packages/ricin-git) yet it fails to compile.
My error message is:

error: Package `libsodium' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
[3/28] 'Generating ricin_resources_c with a custom command.'
ninja: build stopped: subcommand failed.
Makefile:52: recipe for target 'compile' failed
make: *** [compile] Error 1

No matter what I do, I get this error.
I have reinstalled vala, installed gobject-introspection and installed libsodium, yet I cannot get the pakacge to build.
This is in the build() function
Thanks for any help!

EDIT: I think I am getting somewhere. I am trying to manually build, to see exactly what is erroring. Meson completes successfully, but says some library's may not work if compiled with glib due to this (https://bugzilla.gnome.org/show_bug.cgi?id=745754) bug. Looking at the package, I can see it is compiled with glibc. How do I compile libsodium without glibc?
Thanks again!

Last edited by CTech (2016-03-19 01:00:47)

Offline

#2 2016-03-16 21:30:45

CTech
Member
Registered: 2015-11-23
Posts: 30

Re: [SOLVED] ricin-git fails to compile

(Sorry for bump)

Last edited by CTech (2016-03-17 05:12:27)

Offline

#3 2016-03-16 21:35:02

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: [SOLVED] ricin-git fails to compile

Please don't do that


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2016-03-18 13:07:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] ricin-git fails to compile

That package has some issues :

arch meson package doesn't ship with a meson command, so "meson . build"  fails .
I used python /usr/bin/meson.py .build instead.

https://github.com/mesonbuild/meson/wiki/Vala wrote:

You must always specify glib and gobject as dependencies, because all Vala applications use them.

I added gobject-introspection as makedepend.

The package builds now, but gives lots of errors. full makepkg output here

The bug report doesn't mention glibc , but glib , also the problem appears to be between ninja and glib .
AUR has a ninja-git package, maybe using that will help.

Last edited by Lone_Wolf (2016-03-18 13:08:25)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2016-03-19 00:52:29

CTech
Member
Registered: 2015-11-23
Posts: 30

Re: [SOLVED] ricin-git fails to compile

Lone_Wolf wrote:

That package has some issues :

arch meson package doesn't ship with a meson command, so "meson . build"  fails .
I used python /usr/bin/meson.py .build instead.

https://github.com/mesonbuild/meson/wiki/Vala wrote:

You must always specify glib and gobject as dependencies, because all Vala applications use them.

I added gobject-introspection as makedepend.

The package builds now, but gives lots of errors. full makepkg output here

The bug report doesn't mention glibc , but glib , also the problem appears to be between ninja and glib .
AUR has a ninja-git package, maybe using that will help.

Thank you for being the first person to properly reply!
I also used meson.py

I am going to look at your makepkg and see if I can get this to compile.
Thanks again, I will post success/failure here.

Offline

#6 2016-03-19 01:00:33

CTech
Member
Registered: 2015-11-23
Posts: 30

Re: [SOLVED] ricin-git fails to compile

@Lone_Wolf,
Thank you so much!
I grabbed all the packages from your output, and the build worked. Thank you!

Offline

Board footer

Powered by FluxBB