gir generation fails
Bug #821449 reported by
Pim Vullers
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Euclide |
Fix Released
|
High
|
Unassigned |
Bug Description
When building euclide on Gentoo, using an ebuild, this is done in a sandbox. The call to ldconfig starting the gir generation causes an access violation (modification of /etc/ld.so.cache). Commenting out this line in the CMakeLists file results in an 'library not found' by the g-ir-scanner.
This is a similar problem as I reported for granite:
https:/
My guess is that the ldconfig call was added to solve the 'library not found' issue, but how it's done now
is not ideal. If you have any solutions please let me know, I'm happy to test them.
In the mean time I'll look at how other packages (using Gentoo ebuilds) solve this problem.
Changed in euclide: | |
status: | Confirmed → Fix Committed |
Changed in euclide: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The current system to generate the gir is based on the installed libs,
but it is a bad solution, because it can't be done if (like on gentoo,
if I recall correctly), we compile and install the software without the
root rights, or not in the system dirs. It would be the same problem
with a ppa I think.
So, it must be changed, maybe we can generate the GIR with valac (the
main problem is that g-ir-scanner is mostly used with the autotools, not
with CMake -.-).