diff --git a/var/spack/repos/builtin/packages/gobject-introspection/package.py b/var/spack/repos/builtin/packages/gobject-introspection/package.py
index 02ec87826db2804602878cb70b1801c4606e9cd4..952ec21661089f050a29a685ef14ade90cbd6acd 100644
--- a/var/spack/repos/builtin/packages/gobject-introspection/package.py
+++ b/var/spack/repos/builtin/packages/gobject-introspection/package.py
@@ -39,6 +39,8 @@ class GobjectIntrospection(Package):
     depends_on("glib@2.48.1")
     depends_on("python")
     depends_on("cairo")
+    depends_on("bison", type="build")
+    depends_on("flex", type="build")
 
     def install(self, spec, prefix):
         configure("--prefix=%s" % prefix)
diff --git a/var/spack/repos/builtin/packages/gtkplus/package.py b/var/spack/repos/builtin/packages/gtkplus/package.py
index c85bbe4094a7db2c52fbd4aedb061bec0b3e6ad0..183662dd0ea9d6df2bc05ab86c0564a77b798ab5 100644
--- a/var/spack/repos/builtin/packages/gtkplus/package.py
+++ b/var/spack/repos/builtin/packages/gtkplus/package.py
@@ -37,6 +37,7 @@ class Gtkplus(Package):
     depends_on("atk")
     depends_on("gdk-pixbuf")
     depends_on("pango")
+    depends_on("glib")
 
     def patch(self):
         # remove disable deprecated flag.