build failure: libecal/libecal.h: No such file or directory

Bug #1027334 reported by Pim Vullers
This bug report is a duplicate of:  Bug #1024437: should require e-d-s 3.5. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Incomplete
Undecided
Unassigned

Bug Description

When trying to build indicator-datetime I get the following error:
...
make[3]: Entering directory `/tmp/portage/x11-misc/indicator-datetime-9999/work/indicator-datetime-9999_build/src'
  CC libdatetime_la-indicator-datetime.lo
  CC libdatetime_la-utils.lo
  CC indicator_datetime_service-datetime-interface.o
  CC indicator_datetime_service-gen-datetime-service.xml.o
  CC indicator_datetime_service-datetime-service.o
  CC indicator_datetime_service-utils.o
/tmp/portage/x11-misc/indicator-datetime-9999/work/indicator-datetime-9999/src/datetime-service.c:43:29: fatal error: libecal/libecal.h: No such file or directory
compilation terminated.
make[3]: *** [indicator_datetime_service-datetime-service.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/portage/x11-misc/indicator-datetime-9999/work/indicator-datetime-9999_build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/portage/x11-misc/indicator-datetime-9999/work/indicator-datetime-9999_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/x11-misc/indicator-datetime-9999/work/indicator-datetime-9999_build'
make: *** [all] Error 2

This is indicator-datetime from trunk on Gentoo Linux with both evolution-data-server 3.2.3 and 3.4.3. Full build log attached.

Revision history for this message
Pim Vullers (pimvullers) wrote :
Pim Vullers (pimvullers)
description: updated
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

It builds fine on Ubuntu Quantal, so shouldn't this bug be filed against indicator-datetime on Gentoo? Or against evolution-data-server on Gentoo?

Seems like Gentoo places the header files for libecal at a different location.

Changed in indicator-datetime:
status: New → Incomplete
Revision history for this message
Pim Vullers (pimvullers) wrote :

Reported it at Gentoo bug tracker: https://bugs.gentoo.org/show_bug.cgi?id=427826

I am trying to package indicator-datetime for Gentoo, it seems the files are non-existent, so reported it as a evolution-data-server bug.

Revision history for this message
Alexandre Rostovtsev (tetromino) wrote :

Gentoo gnome team member here.

libecal/libecal.h is only available in evolution-data-server-3.5.3 and higher. If you cannot avoid using that header, I strongly recommend you to put

ECAL_REQUIRED_VERSION=3.5.3

in configure.ac so that gnome-3.4 and 3.2 users will be easily able to tell why the build failed -- and so that packagers will be able to set the correct lower bounds on your application's build dependencies :)

Revision history for this message
Pim Vullers (pimvullers) wrote :

Bilal, could you please report the version of evolution-data-server in Ubuntu, and whether you know of any back-ported patches?

Alexandre, thanks for your very helpful response. I'll include a newer version in the elementary overlay (or one with back-ported patches from Ubuntu) to fix these build issues (or take it from gnome overlay, when available).

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.