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 775966 - gcr: error: Package `gck-1' not found in specified Vala API directories or GObject-Introspection GIR directories
gcr: error: Package `gck-1' not found in specified Vala API directories or GO...
Status: RESOLVED FIXED
Product: gcr
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-12-12 02:20 UTC by Jackie Huang
Modified: 2019-02-22 11:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gcr: add missing dependencies for vapi (1.76 KB, patch)
2016-12-12 04:01 UTC, Jackie Huang
none Details | Review

Description Jackie Huang 2016-12-12 02:20:38 UTC
It fails to compile somtimes when build in parallel:

error: Package `gck-1' not found in specified Vala API directories or GObject-Introspection GIR directories
/usr/share/vala/Makefile.vapigen:61: recipe for target 'gcr-3.vapi' failed 
make[2]: *** [gcr-3.vapi] Error 1 
make[2]: *** Waiting for unfinished jobs.... 

error: Package `gcr-3' not found in specified Vala API directories or GObject-Introspection GIR directories
/usr/share/vala/Makefile.vapigen:61: recipe for target 'gcr-ui-3.vapi' failed 
make[2]: *** [gcr-ui-3.vapi] Error 1 
make[2]: *** Waiting for unfinished jobs....
Comment 1 Jackie Huang 2016-12-12 04:01:58 UTC
Created attachment 341791 [details] [review]
gcr: add missing dependencies for vapi

According to the vapi_DEPS definition:
gcr-3.vapi depends on gck-1.vapi,
gcr-ui-3.vapi depends on gck-1.vapi and gcr-3.vapi

But these dependencies are missing for the make targets,
so it will fail when build in parallel:
error: Package `gck-1' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `gcr-3' not found in specified Vala API directories or GObject-Introspection GIR directories

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Comment 2 Stef Walter 2016-12-12 11:46:56 UTC
Thanks for the patch. Included in git master.