pantheon-greeter fails to build from source on fedora

Bug #1639893 reported by Fabio Valentini
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Greeter
Invalid
Undecided
Unassigned

Bug Description

pantheon-greeter fails to build from source on fedora 24.

The following errors occur during build:

/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:2.5-2.47: error: `Constants' already contains a definition for `DATADIR'
    public const string DATADIR = "/usr/share";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:2.5-2.47: note: previous definition of `DATADIR' was here
    public const string DATADIR = "/usr/share";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:3.5-3.67: error: `Constants' already contains a definition for `PKGDATADIR'
    public const string PKGDATADIR = "/usr/share/pantheon-greeter";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:3.5-3.67: note: previous definition of `PKGDATADIR' was here
    public const string PKGDATADIR = "/usr/share/pantheon-greeter";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:4.5-4.45: error: `Constants' already contains a definition for `GETTEXT_PACKAGE'
    public const string GETTEXT_PACKAGE = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:4.5-4.45: note: previous definition of `GETTEXT_PACKAGE' was here
    public const string GETTEXT_PACKAGE = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:5.5-5.42: error: `Constants' already contains a definition for `RELEASE_NAME'
    public const string RELEASE_NAME = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:5.5-5.42: note: previous definition of `RELEASE_NAME' was here
    public const string RELEASE_NAME = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:6.5-6.42: error: `Constants' already contains a definition for `VERSION'
    public const string VERSION = "3.0.0";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:6.5-6.42: note: previous definition of `VERSION' was here
    public const string VERSION = "3.0.0";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:7.5-7.42: error: `Constants' already contains a definition for `VERSION_INFO'
    public const string VERSION_INFO = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:7.5-7.42: note: previous definition of `VERSION_INFO' was here
    public const string VERSION_INFO = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:8.5-8.39: error: `Constants' already contains a definition for `PLUGINDIR'
    public const string PLUGINDIR = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:8.5-8.39: note: previous definition of `PLUGINDIR' was here
    public const string PLUGINDIR = "";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:9.5-9.50: error: `Constants' already contains a definition for `CONF_DIR'
    public const string CONF_DIR = "/etc/lightdm";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/builddir/build/BUILD/pantheon-greeter-3.0/src/config.vala:9.5-9.50: note: previous definition of `CONF_DIR' was here
    public const string CONF_DIR = "/etc/lightdm";
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 8 error(s), 5 warning(s)
CMakeFiles/pantheon-greeter.dir/build.make:83: recipe for target 'src/Authenticator.c' failed

Revision history for this message
Zisu Andrei (matzipan) wrote :

Hey Fabio,

I think you forgot the "mkdir build && cd build" part of the building process.

Changed in pantheon-greeter:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.