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 772064 - The type name `Gtk.Popover' could not be found
The type name `Gtk.Popover' could not be found
Status: RESOLVED NOTGNOME
Product: vte
Classification: Core
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
: 772065 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-09-27 14:49 UTC by marcelrobitaille11
Modified: 2016-09-28 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description marcelrobitaille11 2016-09-27 14:49:17 UTC
When I try to `make` the vte package I get this error:

```
app.vala:23.23-23.33: error: The type name `Gtk.Popover' could not be found
class SearchPopover : Gtk.Popover
                      ^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[3]: *** [vte_2_91_vala.stamp] Error 1
make[3]: Leaving directory `/home/marcel/vte-ng/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/marcel/vte-ng/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marcel/vte-ng'
make: *** [all] Error 2
```

I am on bash on ubuntu on windows or whatever it's called.
Comment 1 Christian Persch 2016-09-27 15:32:48 UTC
*** Bug 772065 has been marked as a duplicate of this bug. ***
Comment 2 Christian Persch 2016-09-27 15:35:16 UTC
What's your gtk+ version? Needs to be >= 3.12 for the vala test app.

Also it appears (from the directory name) that you're in fact compiling vte-ng not vte. vte-ng is a fork of vte which is not supported by gnome.
Comment 3 marcelrobitaille11 2016-09-27 17:42:21 UTC
My gtk version is 3.12.2:

$ dpkg -l libgtk2.0-0 libgtk-3-0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version           Architecture      Description
+++-========================-=================-=================-=====================================================
ii  libgtk-3-0:amd64         3.12.2-0ubuntu15. amd64             GTK+ graphical user interface library
ii  libgtk2.0-0:amd64        2.24.23-0ubuntu1. amd64             GTK+ graphical user interface library

Yes, I am trying to install vte-ng, but they told me the problem was related to vte and sent me here. See: https://github.com/thestinger/vte-ng/issues/10
Comment 4 Christian Persch 2016-09-27 18:22:20 UTC
Probably your vala is too old; you need >= 0.24 I think.
Comment 5 marcelrobitaille11 2016-09-28 13:18:00 UTC
I have just installed vala 0.30 with `apt install vala-0.30` from the vala-team ppa. I am still getting the same error.
Comment 6 Christian Persch 2016-09-28 14:01:24 UTC
Hmm ok. Maybe you need an even newer version, or something isn't set up correctly; "ubuntu on windows" certainly isn't a supported configuration. 

You'll need to configure using --disable-test-application (or perhaps even --disable-vala), then.
Comment 7 marcelrobitaille11 2016-09-28 14:22:21 UTC
Thank you very much for your help. I was able to `make` after running `./autogen.sh --disable-test-application`.