GNOME Bugzilla – Bug 657610
Epiphany does not fail in ./configure when it fails to find gdbus-codegen
Last modified: 2011-09-06 13:29:32 UTC
make[2]: Entering directory `/var/tmp/paludis/www-client-epiphany-3.1.5/work/epiphany-3.1.5/src' /usr/bin/glib-mkenums \ --fhead "#include <config.h>\n\n" \ --fhead "#include \"ephy-type-builtins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --fprod "\n#include \"@filename@\"" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n" \ --vhead " static GType type = 0;\n\n" \ --vhead " if (G_UNLIKELY (type == 0))\n {\n" \ --vhead " static const G@Type@Value _@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n\n" \ --vtail " type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n }\n\n" \ --vtail " return type;\n}\n\n" \ ephy-extension.h ephy-extensions-manager.h ephy-link.h ephy-notebook.h ephy-session.h ephy-shell.h ephy-window.h epiphany.h ephy-action-helper.h ephy-encoding-dialog.h ephy-encoding-menu.h ephy-find-toolbar.h ephy-fullscreen-popup.h ephy-go-action.h ephy-history-window.h ephy-home-action.h ephy-link-action.h ephy-lockdown.h ephy-location-action.h ephy-navigation-action.h ephy-navigation-history-action.h ephy-navigation-up-action.h ephy-password-info.h ephy-tabs-menu.h ephy-toolbars-model.h ephy-toolbar.h ephy-toolbar-editor.h languages.h pdm-dialog.h popup-commands.h prefs-dialog.h window-commands.h > xgen-stamp-ephy-type-builtins.c \ && ( cmp -s xgen-stamp-ephy-type-builtins.c ephy-type-builtins.c || cp xgen-stamp-ephy-type-builtins.c ephy-type-builtins.c ) \ && rm -f xgen-stamp-ephy-type-builtins.c \ && echo timestamp > stamp-ephy-type-builtins.c /usr/bin/glib-mkenums \ --fhead "#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)\n" \ --fhead "#error Only <epiphany/epiphany.h> can be included directly.\n" \ --fhead "#endif\n\n" \ --fhead "#ifndef EPHY_TYPE_BUILTINS_H\n" \ --fhead "#define EPHY_TYPE_BUILTINS_H 1\n\n" \ --fhead "#include <glib-object.h>\n\n" \ --fhead "G_BEGIN_DECLS\n\n" \ --ftail "G_END_DECLS\n\n" \ --ftail "#endif /* EPHY_TYPE_BUILTINS_H */\n" \ --fprod "\n/* --- @filename@ --- */" \ --eprod "#define EPHY_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \ --eprod "GType @enum_name@_get_type (void);\n" \ ephy-extension.h ephy-extensions-manager.h ephy-link.h ephy-notebook.h ephy-session.h ephy-shell.h ephy-window.h epiphany.h ephy-action-helper.h ephy-encoding-dialog.h ephy-encoding-menu.h ephy-find-toolbar.h ephy-fullscreen-popup.h ephy-go-action.h ephy-history-window.h ephy-home-action.h ephy-link-action.h ephy-lockdown.h ephy-location-action.h ephy-navigation-action.h ephy-navigation-history-action.h ephy-navigation-up-action.h ephy-password-info.h ephy-tabs-menu.h ephy-toolbars-model.h ephy-toolbar.h ephy-toolbar-editor.h languages.h pdm-dialog.h popup-commands.h prefs-dialog.h window-commands.h > xgen-stamp-ephy-type-builtins.h \ && ( cmp -s xgen-stamp-ephy-type-builtins.h ephy-type-builtins.h || cp xgen-stamp-ephy-type-builtins.h ephy-type-builtins.h ) \ && rm -f xgen-stamp-ephy-type-builtins.h \ && echo timestamp > stamp-ephy-type-builtins.h \ --c-namespace Ephy \ --generate-c-code ephy-network-manager \ --interface-prefix org.freedesktop. \ ../data/ephy-network-manager.xml make[2]: execvp: --c-namespace: Permission denied make[2]: *** [ephy-network-manager.h] Error 127 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/paludis/www-client-epiphany-3.1.5/work/epiphany-3.1.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/www-client-epiphany-3.1.5/work/epiphany-3.1.5' make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2
Cannot really reproduce this. Are you doing something special?
No - I don't think so. However from configure: checking for gdbus-codegen... no I have newest glib (2.29.16) and it seems that gdbus-codeged didn't installed. In any case epiphany configure should probably failed while checking for gdbus-codegen as it is non-optional.
My impression is that gdbus-codegen is not optional, so if you don't have it your installation has to be broken in some way? Not sure it makes sense to check for this to be honest. Also I don't really know whether this is the cause for your failure or not. Can you check that installing gdbus-codegen properly fixes it?
(In reply to comment #3) > My impression is that gdbus-codegen is not optional, Sorry - I meant that the epiphany should probably fail during check if it does not find codegen as it is not optional for epiphany. > so if you don't have it > your installation has to be broken in some way? Not sure it makes sense to > check for this to be honest. > Well - the epiphany does check at this moment at least to find the full path. In any case as it does check it would be nice to fail at that moment. > Also I don't really know whether this is the cause for your failure or not. Can > you check that installing gdbus-codegen properly fixes it? Yes. That was my intended next step.
If you have glib installed to a different prefix, did you also set PATH and LD_LIBRARY_PATH or just PKG_CONFIG_PATH? Those errors in my experience are usually a result of configure only searching for the tool in $PATH, maybe there's a way to fix this.
(In reply to comment #5) > If you have glib installed to a different prefix, did you also set PATH and > LD_LIBRARY_PATH or just PKG_CONFIG_PATH? Those errors in my experience are > usually a result of configure only searching for the tool in $PATH, maybe > there's a way to fix this. No. I installed in the system (I use gentoo + gnome-overlay). It seems that the gdbus-codegen was splitted for some reason by maintainer. In any case - I threat this error after figuring out what the problem was (lack of gdbus-codegen) as "epiphany does not print easy-to-understand message when it fails to find gdbus-codegen" rather then "how to build epiphany" (update description accordingly).
fixed in master, 8cfcb6905f4c4dca488987f22a847dd1283b39ac