After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752626 - compile fails
compile fails
Status: RESOLVED DUPLICATE of bug 753296
Product: gnome-calendar
Classification: Applications
Component: General
3.16.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-20 11:33 UTC by john.frankish@outlook.com
Modified: 2017-04-17 18:20 UTC
See Also:
GNOME target: ---
GNOME version: 3.15/3.16



Description john.frankish@outlook.com 2015-07-20 11:33:19 UTC
the ./configure script fails with:

./configure: line 19177: APPSTREAM_XML: command not found

..which can be fixed by loading appstream-glib and then re-running ./autogen.sh

make then fails with the output below, which I guess means it either fails to link with libical or libical is not sufficiently recent but in this case, ./configure should check for the required version).

make[3]: Entering directory '/usr/src/gnome-calendar-3.16.2/src'
/bin/bash ../libtool  --tag=CC   --mode=link gcc -mtune=generic -Os -pipe  -g  -Wl,--export-dynamic  -o gnome-calendar gcal-shell-search-provider-generated.o gcal-resources.o gcal-enum-types.o e-cal-data-model-subscriber.o e-cal-data-model.o main.o gcal-application.o gcal-shell-search-provider.o gcal-window.o gcal-view.o gcal-subscriber-view.o gcal-month-view.o gcal-week-view.o gcal-year-view.o gcal-search-view.o gcal-event-widget.o gcal-edit-dialog.o gcal-time-selector.o gcal-date-selector.o gcal-manager.o gcal-utils.o -lm -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lecal-1.2 -ledataserver-1.2 -ledataserverui-1.2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -ledataserver-1.2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lcamel-1.2 -lsqlite3 -lnss3 -lnssutil3 -lsmime3 -lssl3 -lsoftokn3 -lplds4 -lplc4 -lnspr4 -lsecret-1 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lical -licalss -licalvcal -lpthread  
libtool: link: gcc -mtune=generic -Os -pipe -g -Wl,--export-dynamic -o gnome-calendar gcal-shell-search-provider-generated.o gcal-resources.o gcal-enum-types.o e-cal-data-model-subscriber.o e-cal-data-model.o main.o gcal-application.o gcal-shell-search-provider.o gcal-window.o gcal-view.o gcal-subscriber-view.o gcal-month-view.o gcal-week-view.o gcal-year-view.o gcal-search-view.o gcal-event-widget.o gcal-edit-dialog.o gcal-time-selector.o gcal-date-selector.o gcal-manager.o gcal-utils.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread  -L/usr/local/lib /usr/local/lib/libecal-1.2.so -L/usr/lib /usr/local/lib/libedataserverui-1.2.so /usr/local/lib/libebackend-1.2.so -ldb /usr/local/lib/libgcr-ui-3.so /usr/local/lib/libgtk-3.so /usr/local/lib/libgdk-3.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libudev.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo-gobject.so /usr/local/lib/libcairo.so /usr/local/lib/libpixman-1.so /usr/local/lib/libfontconfig.so /usr/local/lib/libharfbuzz.so /usr/local/lib/libfreetype.so /usr/local/lib/libEGL.so /usr/local/lib/libxcb-dri2.so /usr/local/lib/libxcb-xfixes.so /usr/local/lib/libxcb-shape.so /usr/local/lib/libgbm.so /usr/local/lib/libexpat.so /usr/local/lib/libGLESv2.so /usr/local/lib/libdrm.so /usr/local/lib/libglapi.so /usr/local/lib/libxcb-shm.so /usr/local/lib/libX11-xcb.so /usr/local/lib/libxcb-render.so /usr/local/lib/libXrender.so /usr/local/lib/libXext.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrt /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libpng16.so /usr/local/lib/libedataserver-1.2.so /usr/local/lib/evolution-data-server/libedbus-private.so /usr/local/lib/libgcr-base-3.so /usr/local/lib/libgck-1.so /usr/local/lib/libgthread-2.0.so /usr/local/lib/libp11-kit.so /usr/lib/libstdc++.so -lc -lgcc_s /usr/local/lib/libcamel-1.2.so -licui18n -licuuc -licudata -lnss3 -lnssutil3 -lsmime3 -lssl3 -lsoftokn3 -lplds4 -lplc4 -lnspr4 /usr/local/lib/libsecret-1.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libsoup-2.4.so /usr/local/lib/libxml2.so -lm /usr/local/lib/libsqlite3.so /usr/local/lib/libgio-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl -lz -lresolv /usr/local/lib/libgobject-2.0.so /usr/local/lib/libffi.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libpcre.so -lical -licalss -licalvcal -lpthread -pthread -Wl,-rpath -Wl,/usr/local/lib/evolution-data-server -Wl,-rpath -Wl,/usr/local/lib/evolution-data-server
gcal-event-widget.o: In function `gcal_event_widget_is_multiday':
/usr/src/gnome-calendar-3.16.2/src/gcal-event-widget.c:1005: undefined reference to `icaltime_days_in_year'
collect2: error: ld returned 1 exit status
Makefile:513: recipe for target 'gnome-calendar' failed
make[3]: *** [gnome-calendar] Error 1
make[3]: Leaving directory '/usr/src/gnome-calendar-3.16.2/src'
Comment 1 Miguel Vaello Martínez 2015-07-23 08:50:23 UTC
Try to build with jhbuild[1] tool. It should resolve all dependencies and linker issues.

[1] https://wiki.gnome.org/GnomeLove/JhbuildIntroduction
Comment 2 john.frankish@outlook.com 2015-07-25 14:28:03 UTC
I appreciate that might be the case, but the ./configure script is supposed to work in a stand-alone fashion, no?
Comment 3 john.frankish@outlook.com 2015-07-25 14:30:16 UTC
BTW, using libical from here:

https://github.com/libical/libical/releases/download/v1.0.1/libical-1.0.1.tar.gz

..fixes things.
Comment 4 Miguel Vaello Martínez 2015-07-25 14:48:32 UTC
(In reply to john.frankish@outlook.com from comment #3)
> BTW, using libical from here:
> 
> https://github.com/libical/libical/releases/download/v1.0.1/libical-1.0.1.
> tar.gz
> 
> ..fixes things.

Theorically the libical-1.0.1 is included as external dependence and you can check it out listing the dependencies. An easy way to check it is:

$ jhbuild sysdeps [--install] gnome-calendar 

[--install] only if you want to intall the packages

In my case, as fedora user, I can't install libical-1.0.1 in my sys with the package nager but gnome-calendar works but this works well with the old library.

"""
Optional packages: (JHBuild will build the missing packages)
  System installed packages which are too old:
    libical (libical.pc, required=1.0.1, installed=1.0)
"""
Comment 5 john.frankish@outlook.com 2015-07-25 14:52:51 UTC
Yes, OK, but I have no intention of using jhbuild :)

..so, the ./configure script should check for libical-1.0.1.
Comment 6 Miguel Vaello Martínez 2015-07-25 15:27:30 UTC
(In reply to john.frankish@outlook.com from comment #5)
> Yes, OK, but I have no intention of using jhbuild :)
> 
> ..so, the ./configure script should check for libical-1.0.1.

Ok, I get it, you are right. The libical-1.0.1 should be checked as strict dependency during configuration process in order to try to fix the errors. But, as I have said (and I'm not sure why), with jhbuild you can build gnome-calendar (and configure) correctly, at least in my case, with no important errors.

I think that you can open other bug and be more precise now. And if you know how to resolve the issue, you can try to submit a patch to the new one.

Thanks
Comment 7 john.frankish@outlook.com 2015-07-26 09:03:55 UTC
..or, after having tried to help and being (again) rejected by team gnome, I can assume that there's little interest in improving things so I'll do nothing...
Comment 8 Georges Basile Stavracas Neto 2015-07-27 15:38:59 UTC
(In reply to john.frankish@outlook.com from comment #7)
> ..or, after having tried to help and being (again) rejected by team gnome, I
> can assume that there's little interest in improving things so I'll do
> nothing...

You were not rejected by the GNOME Team, nor the Calendar Team, nor anyone. Please avoid unnecessary comments on Bugzilla.

Bumping the dependency check to libical >= 1.0.1 causes failures on dependency checking on some distros like Arch and Manjaro. I'm still checking out how to fix that.
Comment 9 Erick Perez Castellanos 2015-10-01 06:32:33 UTC
I'll assume the problem here is libical minimum version requirement, and will close this as a duplicate.

Feel free to reopen it, if that's not the case.

*** This bug has been marked as a duplicate of bug 753296 ***