gnome-contacts doesn't build from source. Is it a bug?

Asked by Paul Bußmann

Hi,

I just installed Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha i386 (20130731) because it contains the actual GNOME apps. I didn't change repositories or installed any additional packages (but the ones see below).

I wanted to take a closer look to the algorithms of gnome-contacts (3.8.2-0ubuntu2) and therefore tried to build it from source, but unfortunately it fails:

----
The commands I entered:

sudo apt-get install ssh build-essential
sudo apt-get build-dep gnome-contacts
export CFLAGS="-g -O0"
LANG= apt-get -b source gnome-contacts >gnome-contacts_build.log 2>&1

-----

The errors from gnome-contacts_build.log:
memory-icon.vala:29.1-29.63: error: `Contacts.MemoryIcon' does not implement interface method `GLib.Icon.serialize'
contacts-app.vala:195.5-197.39: warning: unhandled error `GLib.Error'
contacts-linking.vala:746.8-746.64: warning: unhandled error `GLib.Error'
contacts-linking.vala:750.8-750.59: warning: unhandled error `Folks.IndividualAggregatorError'
contacts-linking.vala:765.11-765.72: warning: unhandled error `Folks.IndividualAggregatorError'
Compilation failed: 1 error(s), 15 warning(s)
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-----

Please advise if I missed any step for building the package from source and if I should file a bug or not.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Paul Bußmann
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Try

    sudo apt-get install fakeroot dpkg-dev
    mkdir gnome-contacts
    cd gnome-contacts
    apt-get source gnome-contacts
    dpkg-source -x gnome-contacts_3.8.2-0ubuntu2.dsc
    cd gnome-contacts-3.8.2
    dpkg-buildpackage -rfakeroot -b

If you receive an error during apt-get source, then make sure that you have enabled the deb-src (source code) repositories.
Also the version numbers may differ. Use TAB completion for auto-complete.

Regards
 NikTh

Revision history for this message
Paul Bußmann (paul-medwyn) said :
#2

Hi NikTh,

thanks for the hints! I followed your advice, although it didn't help me. The procedure ends with the same compilation errors.

FYI: Your commands didn't install any additional packages, because build-essential depend on the given packages (and further more on g++ and make which is needed also, see "apt-cache show build-essential").

Calling "apt-get -b source ..." also extracts, patches and compiles, but looks more convinient than "apt-get source, dpkg-source, dpkg-buildpackage" to me. Is there any benefit from doing the steps you listed?

Now my questions:
1. Was it the correct procedure I did?

2. Both procedures fail. Shall I file a bug and attach the build log there?

Best regards,
Paul

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

13.04 also contains actual Gnome apps......what do you mean by this please?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Saucy also comes with 3.8.3 which is newer than the version you are trying to compile.

Revision history for this message
Paul Bußmann (paul-medwyn) said :
#5

> 13.04 also contains actual Gnome apps......what do you mean by this please?

According to http://www.gnome.org/start/stable GNOME 3.8 is the current stable release. Ubuntu 13.04 (Raring Ringtail) comes with gnome-contacts version 3.6.2-0ubuntu2 which is not 3.8 and therefor not actual. For reference, see http://packages.ubuntu.com/raring/gnome/gnome-contacts .

So I mean GNOME 3.8 is actual and older versions are older and not actual. Sure, they may be better integrated into Ubuntu or even more stable, but 3.6 is not interesting to me. I need to understand the way GNOME actual way of accessing the evolution-data-server. (The e-d-s API changed within the last versions).

As Ubuntu GNOME's current alpha release comes with 3.8, I was happy to find a straight solution. The binary runs fine so I wanted to build the package from source to be able to debug the binary and perhaps play around with the sources.

> Saucy also comes with 3.8.3 which is newer than the version you are trying to compile.

I am wondering how you got version 3.8.3. I just did "apt-get update" to ensure I do have my package lists updated. My Ubuntu GNOME 13.10 Saucy actually shows gnome-contacts version 3.8.2-0ubuntu2 if I enter "apt-cache show gnome-contacts".

Did you change your sources.list? For reference, as defaulting by the Ubuntu GNOME installation, "saucy", "saucy-updates", "saucy-backports" and "saucy-security" are enabled in /etc/apt/sources.list .
Which command are you using to get 3.8.3 shown as actual version?
What did I wrong?

But much more important to me is the question if compilation of released packages (compiling the Debian way with "apt-get -b source ...") fails should be considered to be a bug. Because

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Yes but Gnome 3.6 is also Gnome. Its the version before 3.8.....

Revision history for this message
Paul Bußmann (paul-medwyn) said :
#7

Now that we clarified what the actual version is (I need 3.8, because the API changed), back to my question:

Both procedures fail. Shall I file a bug?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

As you are using prerelease, yes report a bug

Revision history for this message
Paul Bußmann (paul-medwyn) said :
#9

Thank you for helping me! :)