mesonbuild / meson

The Meson Build System
http://mesonbuild.com
Apache License 2.0
5.61k stars 1.63k forks source link

incorrect shared-library in .gir files #3464

Closed jasperla closed 6 years ago

jasperla commented 6 years ago

Originally reported at libgweather, though the issue also present on OpenBSD for at least Gepub-0.6.gir and libical-3.0.3.gir.

This is with the following components:

After the update to libgweather-3.28.1 (from 3.26.1, thus switching to meson), the shared-library gets incorrectly recorded in the .gir and .typelib files:

shared-library="libgweather-3.28.1/build-amd64/tmp-introspecteuljis0a/GWeather-3.0"

compared to other gir files on the filesystem:

shared-library="libsoup-2.4.so.10.1"

So in case of libgweather it should be "libgweather-3.so.3.2" as that's the name the library gets installed as.

I've attached the build logs for libgweather-3.28.1 and libgepub-0.6.0

The generate_gir calls from both projects look sane, but apparently something is still off. Any help narrowing down this issue is most welcome.

jasperla commented 6 years ago

Please disregard, turns out this was a problem with g-ir-scanner and not meson.