Bug 1103834 - build: Package `libvirt-gconfig-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Summary: build: Package `libvirt-gconfig-1.0' not found in specified Vala API director...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt-glib
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-02 16:53 UTC by Michael Catanzaro
Modified: 2016-03-23 19:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-03-23 19:57:54 UTC
Embargoed:


Attachments (Terms of Use)
Fix build race (943 bytes, text/plain)
2014-06-02 16:53 UTC, Michael Catanzaro
no flags Details

Description Michael Catanzaro 2014-06-02 16:53:13 UTC
Created attachment 901509 [details]
Fix build race

Trying to build libvirt-glib from git (June 2, 2014):

Making all in vapi
make[2]: Entering directory `/home/mcatanzaro/jhbuild/src/libvirt-glib/vapi'
  GEN      libvirt-gconfig-1.0.vapi
  GEN      libvirt-glib-1.0.vapi
Generation succeeded - 0 warning(s)
  GEN      libvirt-gobject-1.0.vapi
error: Package `libvirt-gconfig-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
Generation failed: 1 error(s), 0 warning(s)
make[2]: *** [libvirt-gobject-1.0.vapi] Error 1
make[2]: *** Waiting for unfinished jobs....
Generation succeeded - 0 warning(s)
make[2]: Leaving directory `/home/mcatanzaro/jhbuild/src/libvirt-glib/vapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mcatanzaro/jhbuild/src/libvirt-glib'
make: *** [all] Error 2

Looks like a simple missing make dependency; the attached patch seems to fix it.

Comment 1 Eric Blake 2014-06-02 18:54:47 UTC
Can you please also post your proposed patch upstream to libvir-list? It's easier on the maintainers to just 'git am' your patch off the mailing list than it is to make them click through bugzilla to download the patch.

Comment 2 Michael Catanzaro 2014-06-02 22:03:03 UTC
I did, but I didn't subscribe to the list so it's awaiting moderation.

Comment 3 Eric Blake 2014-06-02 22:12:53 UTC
Thanks; it hit the list, and is now awaiting review from a maintainer:
https://www.redhat.com/archives/libvir-list/2014-June/msg00080.html

Comment 4 Cole Robinson 2016-03-23 19:57:54 UTC
commit b8d0aebd1a150a4da3b7b83ca5bf973cb8a4e5e2
Author: Michael Catanzaro <mcatanzaro>
Date:   Mon Jun 2 11:52:27 2014 -0500

    build: fix race in vapi/ subdirectory


Note You need to log in before you can comment on or make changes to this bug.