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 786505 - 0.37.2 valadoc tests fail
0.37.2 valadoc tests fail
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Valadoc
0.37.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-19 10:09 UTC by Kalev Lember
Modified: 2017-08-19 11:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
valadoc/tests: Add the source vapi directory to driver-test (899 bytes, patch)
2017-08-19 11:12 UTC, Rico Tzschichholz
committed Details | Review

Description Kalev Lember 2017-08-19 10:09:23 UTC
I'm building 0.37.2 on Fedora and 'make check' fails when running valadoc tests:

TEST: Building...                                                      OK
  /libvaladoc/errorreporter:                                           OK
  /libvaladoc/markupreader:                                            OK
  /libvaladoc/gtkdoc-scanner:                                          OK
  /libvaladoc/parser/manyrule:                                         OK
  /libvaladoc/parser/oneofrule:                                        OK
  /libvaladoc/parser/sequencerule:                                     OK
  /libvaladoc/parser/optionalrule:                                     OK
  /libvaladoc/parser/stubrule:                                         OK
All 8 tests passed
G_DEBUG=fatal_warnings ./driver
error: Package `glib-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
error: glib-2.0 not found in specified Vala API directories
error: Package `gobject-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
error: gobject-2.0 not found in specified Vala API directories
**
ERROR:drivers/generic-api-test.c:14319:test_driver: assertion failed: (reporter.errors == 0)
make[6]: *** [Makefile:1126: check-TESTS] Aborted (core dumped)
make[6]: Leaving directory '/home/kalev/fedora-git/3.25.90/vala/vala-0.37.2/valadoc/tests'
make[5]: *** [Makefile:991: check-am] Error 2
make[5]: Leaving directory '/home/kalev/fedora-git/3.25.90/vala/vala-0.37.2/valadoc/tests'
make[4]: *** [Makefile:993: check] Error 2
make[4]: Leaving directory '/home/kalev/fedora-git/3.25.90/vala/vala-0.37.2/valadoc/tests'
make[3]: *** [Makefile:566: check-recursive] Error 1
make[3]: Leaving directory '/home/kalev/fedora-git/3.25.90/vala/vala-0.37.2/valadoc'
make[2]: *** [Makefile:715: check] Error 2
make[2]: Leaving directory '/home/kalev/fedora-git/3.25.90/vala/vala-0.37.2/valadoc'
make[1]: *** [Makefile:537: check-recursive] Error 1
make[1]: Leaving directory '/home/kalev/fedora-git/3.25.90/vala/vala-0.37.2'
make: *** [Makefile:828: check] Error 2
Comment 1 Rico Tzschichholz 2017-08-19 11:12:31 UTC
Created attachment 357970 [details] [review]
valadoc/tests: Add the source vapi directory to driver-test
Comment 2 Kalev Lember 2017-08-19 11:19:25 UTC
Confirmed this fixes it, thanks!
Comment 3 Rico Tzschichholz 2017-08-19 11:44:30 UTC
Thanks for testing so fast!
Comment 4 Rico Tzschichholz 2017-08-19 11:45:49 UTC
Attachment 357970 [details] pushed as c89c305 - valadoc/tests: Add the source vapi directory to driver-test