After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 678743 - build failure: error: Package `NetworkManager-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
build failure: error: Package `NetworkManager-1.0' not found in specified Val...
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
git master
Other All
: Normal major
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2012-06-24 23:59 UTC by Craig Keogh
Modified: 2012-07-02 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libnm_glib: Specify --girdir to vapigen (1.59 KB, patch)
2012-06-25 13:09 UTC, Craig Keogh
none Details | Review

Description Craig Keogh 2012-06-24 23:59:34 UTC
I am building NetworkManager git master via JHBuild on Fedora 17. The build fails as below. I first thought this problem was the same as bug 676530. It is similar, but not the same problem. Bug 676530's attachment 214625 [details] [review] doesn't solve the problem.

I'd say you'd have to uninstall NetworkManager and then try to build to reproduce the problem.

Making all in vapi
make[2]: Entering directory `/home/oxyde/gnome/build/NetworkManager/vapi'
/opt/gnome/bin/vapigen-0.18  --library libnm-util --metadatadir .   ../libnm-util/NetworkManager-1.0.gir
Generation succeeded - 0 warning(s)
/opt/gnome/bin/vapigen-0.18  --library libnm-glib --metadatadir . --vapidir .  ../libnm-glib/NMClient-1.0.gir
error: Package `NetworkManager-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Generation failed: 1 error(s), 0 warning(s)
make[2]: *** [libnm-glib.vapi] Error 1
make[2]: Leaving directory `/home/oxyde/gnome/build/NetworkManager/vapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oxyde/gnome/build/NetworkManager'
make: *** [all] Error 2
Comment 1 Craig Keogh 2012-06-25 13:09:23 UTC
Created attachment 217194 [details] [review]
libnm_glib: Specify --girdir to vapigen
Comment 2 Dan Williams 2012-07-02 16:45:31 UTC
pushed, thanks!