[gnome-love] Failed to build gnome with jhbuild on Archlinux



Hi, everybody.

I'm trying to build gnome with jhbuild, but it failed on some modules.
I set the autogenargs to "--disable-static --disable-gtk-doc PYTHON=/usr/bin/python2 " and prefix to"/home/stoolye/opt/gnome/" . And skip the ibus-related packages. I linked python to python2 to avoid some annoying errors due to the default python is python3 on Archlinux.

Here are the failed modules:
1. gcr & gnome-keyring
Under the directory "egg", make throws errors like these:
In file included from egg-asn1-defs.c:32:0:
pk.asn.h:7:1: error: unknown type name 'asn1_static_node'
pk.asn.h:7:24: error: conflicting types for 'pk_asn1_tab'

The problematic headers pk.asn.h and pkix.asn.h are produced by ASN1 from corresponding asn files. ASN1 is asn1Parser on my system and its version is 3.2. It seems these headers use an undefined type 'asn1_static_node' which can be found at libtasn1.h. However the #include statement about libtasn1.h has been commented out by developers.

2. colord
It fails at the configure phase:
checking for /usr/share/color/icc/sRGB.icc... no
checking for /usr/share/color/icc/ProPhotoRGB.icc... no
checking for /usr/share/color/icc/AdobeRGB1998.icc... no
configure: error: shared-color-profiles or a compatible profile set is required

3. gst-plugins-good (which also results in the failure of building totem)
Under the directory "ext/soup":
gstsouphttpsrc.c: In function 'gst_soup_http_src_build_message':
gstsouphttpsrc.c:1097:3: error: 'soup_message_set_chunk_allocator' is deprecated (declared at /home/stoolye/opt/gnome/include/libsoup-2.4/libsoup/soup-message.h:175): Use 'SoupRequest' instead [-Werror=deprecated-declarations]
gstsouphttpsrc.c: In function 'gst_soup_http_src_start':
gstsouphttpsrc.c:1207:9: error: 'soup_proxy_resolver_gnome_get_type' is deprecated (declared at /home/stoolye/opt/gnome/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:15): Use '(soup_proxy_resolver_default_get_type ())' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
make[3]: *** [libgstsouphttpsrc_la-gstsouphttpsrc.lo] Error 1

4. telepathy-glib
Under the directory "telepathy-glib"
dbus.c:884: Warning: TelepathyGLib: tp_asv_get_bytes: return value: Missing (element-type) annotation capabilities.c:87: Warning: TelepathyGLib: tp_capabilities_get_channel_classes: return value: Missing (element-type) annotation client-channel-factory.c:142: Warning: TelepathyGLib: tp_client_channel_factory_dup_channel_features: return value: Missing (element-type) annotation
<unknown>:: Fatal: TelepathyGLib: warnings configured as fatal
<unknown>:: Fatal: TelepathyGLib: warnings configured as fatal

5. seed
Under directory "doc/modules/sandbox"
../../../src/seed ../../../doc/modules/make-functions.js ../../../doc/modules/sandbox/sandbox.js > ../../../doc/modules/sandbox/sandbox-funcs.xml /bin/sh: line 1: 21857 Segmentation fault (core dumped) ../../../src/seed ../../../doc/modules/make-functions.js ../../../doc/modules/sandbox/sandbox.js > ../../../doc/modules/sandbox/sandbox-funcs.xml
make[4]: *** [sandbox-funcs.xml] Error 139


I have done some search for solving these errors but got no luck, so I come here to ask for help.
Thank you.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]