This is a log of problem (and hopefuly some solution) met while installing GNOME on Debian Wheezy using jhbuild

First follow:

Trying to build with jhbuild

# jhbuild build
Required packages:
  System installed packages which are too old:
    (none)
  No matching system package installed:
    smbclient (smbclient.pc)
    python2-devel (python.pc, required=2.5)
jhbuild build: Required system dependencies not installed. Install using the 

Looks like it build.

Trying the "install dependencies" path

So lets try to install deps

# jhbuild sysdeps --install
System installed packages which are new enough:
    py2cairo (pycairo.pc, required=1.8.2, installed=1.8.8)
    libpng (libpng.pc, installed=1.2.49)
    lcms2 (lcms2.pc, required=2.2, installed=2.2)
    startup-notification (libstartup-notification-1.0.pc, required=0.12, installed=0.12)
    texinfo 
    js185 (mozjs185.pc)
    libproxy (libproxy-1.0.pc, installed=0.3.1)
    libXrandr (xrandr.pc, required=1.3, installed=1.3.2)
    libvorbis (vorbisfile.pc, installed=1.3.2)
    expat 
    cracklib 
    libxslt (libxslt.pc, required=1.1.26, installed=1.1.26)
    libXcursor (xcursor.pc, installed=1.1.13)
    sqlite3 (sqlite3.pc, required=3.7.3, installed=3.7.13)
    libacl 
    ragel 
    cairo (cairo.pc, required=1.10.2, installed=1.12.2)
    libXinerama 
    libudev (libudev.pc, required=173, installed=175)
    xkeyboard-config (xkeyboard-config.pc, installed=2.5.1)
    flex (required=2.0)
    libXcomposite (xcomposite.pc, installed=0.4.3)
    libdb 
    intltool (required=0.50)
    xorg-wacom (xorg-wacom.pc, installed=0.15.0)
    libtasn1 (libtasn1.pc, required=2.7, installed=2.13)
    libuuid (uuid.pc, installed=2.20.0)
    shared-mime-info (shared-mime-info.pc, required=1.0, installed=1.0)
    libtool-ltdl 
    libtiff 
    libatasmart (libatasmart.pc, required=0.17, installed=0.19)
    gudev (gudev-1.0.pc, required=173, installed=175)
    libXtst (xtst.pc, required=1, installed=1.2.1)
    libexif (libexif.pc, required=0.6.19, installed=0.6.20)
    json (json.pc, required=0.9, installed=0.10)
    nss (nss.pc, required=3.12.11, installed=3.14.3)
    libXfixes (xfixes.pc, installed=5.0)
    gdbm 
    sm (sm.pc, installed=1.2.1)
    libffi (libffi.pc, required=3.0.0, installed=3.0.10)
    cups (required=1.4)
    dbus (dbus-1.pc, required=1.4.10, installed=1.6.8)
    icon-naming-utils (icon-naming-utils.pc, required=0.8.90, installed=0.8.90)
    libgcrypt (required=1.5.0)
    alsa (alsa.pc, required=1.0.19, installed=1.0.25)
    gl (gl.pc, installed=8.0.5)
    dbus-glib (dbus-glib-1.pc, required=0.98, installed=0.100.2)
    libxml2 (libxml-2.0.pc, required=2.7.8, installed=2.8.0)
    libgphoto2 (libgphoto2.pc, required=2.4.13, installed=2.4.14)
    libusb1 (libusb-1.0.pc, installed=1.0.11)
    liboauth (oauth.pc, required=0.9.4, installed=0.9.4)
    libical (libical.pc, required=0.44, installed=0.48)
    pam 
    libsndfile (sndfile.pc, required=1.0.21, installed=1.0.25)
    libicu (icu-i18n.pc, required=4, installed=4.8.1.1)
    gnutls (gnutls.pc, required=2.12.8, installed=2.12.20)
    speex (speex.pc, required=1.2rc1, installed=1.2rc1)
    xcb-dri2 (xcb-dri2.pc, required=1.8.1, installed=1.8.1)
    libXft (xft.pc, required=2.0.0, installed=2.3.1)
    libnl (libnl-3.0.pc, required=3.2.7, installed=3.2.7)
    ppp 
    libxkbfile (xkbfile.pc, installed=1.0.8)
    flac (flac.pc, required=1.1.4, installed=1.2.1)
    iso-codes (iso-codes.pc, required=3.33, installed=3.41)
    libxklavier (libxklavier.pc, required=5.2.1, installed=5.2.1)
    libjpeg 
    wireless-tools (required=25)
    bison (required=2.0)
    gperf 
Required packages:
  System installed packages which are too old:
    (none)
  No matching system package installed:
    smbclient (smbclient.pc)
    python2-devel (python.pc, required=2.5)
    gypsy (gypsy.pc, required=0.8)
    bluez (bluez.pc, required=4.66)
    libv4l (libv4l2.pc)
    wavpack (wavpack.pc, required=4.2)
    taglib (taglib.pc, required=1.5)
    libdaemon (libdaemon.pc, required=0.14)
    libvpx (vpx.pc)
Optional packages: (JHBuild will build the missing packages)
  System installed packages which are too old:
    (none)
  No matching system package installed:
    poppler (poppler-glib.pc, required=0.20.0)
    libcanberra (libcanberra-gtk.pc, required=0.30)
    exempi (exempi-2.0.pc, required=2.2.0)
    avahi (avahi-ui-gtk3.pc, required=0.6.31)
    pulseaudio (libpulse.pc, required=2.1)
I: Installing dependencies on system: smbclient python2-devel gypsy bluez libv4l wavpack taglib libdaemon libvpx poppler libcanberra exempi avahi pulseaudio
I: Using apt-file to search for providers; this may be slow.  Please wait.
I: No native package found for smbclient (/smbclient.pc)
I: No native package found for python2-devel (/python.pc)
I: No native package found for gypsy (/gypsy.pc)
I: Installing: libbluetooth-dev lib32v4l-dev libwavpack-dev libtag1-dev libdaemon-dev libvpx-dev libpoppler-glib-dev libcanberra-gtk-dev libexempi-dev libavahi-ui-gtk3-dev libpulse-dev
pkexec must be setuid root
Traceback (most recent call last):
  File "/home/psy/.local/bin/jhbuild", line 32, in <module>
    jhbuild.main.main(sys.argv[1:])
  File "/home/psy/.local/lib/python2.7/site-packages/jhbuild/main.py", line 148, in main
    rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
  File "/home/psy/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py", line 183, in run
    return cmd.execute(config, args, help)
  File "/home/psy/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py", line 52, in execute
    return self.run(config, options, args, help)
  File "/home/psy/.local/lib/python2.7/site-packages/jhbuild/commands/sysdeps.py", line 172, in run
    uninstalled_filenames)
  File "/home/psy/.local/lib/python2.7/site-packages/jhbuild/utils/systeminstall.py", line 326, in install
    subprocess.check_call(args)
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['pkexec', 'apt-get', 'install', 'libbluetooth-dev', 'lib32v4l-dev', 'libwavpack-dev', 'libtag1-dev', 'libdaemon-dev', 'libvpx-dev', 'libpoppler-glib-dev', 'libcanberra-gtk-dev', 'libexempi-dev', 'libavahi-ui-gtk3-dev', 'libpulse-dev']' returned non-zero exit status 127

Too bad, it didn't work, but looks like a simple matter of sudo:

# sudo apt-get install libbluetooth-dev lib32v4l-dev libwavpack-dev libtag1-dev libdaemon-dev libvpx-dev libpoppler-glib-dev libcanberra-gtk-dev libexempi-dev libavahi-ui-gtk3-dev libpulse-dev

And we end up with

# jhbuild sysdeps --install
[…]
Required packages:
  System installed packages which are too old:
    (none)
  No matching system package installed:
    python2-devel (python.pc, required=2.5)
    gypsy (gypsy.pc, required=0.8)
    smbclient (smbclient.pc)
Optional packages: (JHBuild will build the missing packages)
  System installed packages which are too old:
    libcanberra (libcanberra-gtk.pc, required=0.30, installed=0.28)
    poppler (poppler-glib.pc, required=0.20.0, installed=0.18.4)
    pulseaudio (libpulse.pc, required=2.1, installed=2.0)
  No matching system package installed:
I: Installing dependencies on system: python2-devel gypsy smbclient
I: Using apt-file to search for providers; this may be slow.  Please wait.
I: No native package found for python2-devel (/python.pc)
I: No native package found for gypsy (/gypsy.pc)
I: No native package found for smbclient (/smbclient.pc)

# jhbuild build
Required packages:
  System installed packages which are too old:
    (none)
  No matching system package installed:
    smbclient (smbclient.pc)
    python2-devel (python.pc, required=2.5)
jhbuild build: Required system dependencies not installed. Install using the command 'jhbuild sysdeps --install' or to ignore system dependencies use command-line option --nodeps

Ok, here I'm stuck. Let's try the ignore deps path

Trying the "--nodeps" path

p11-kit

# jhbuild build --nodeps
[…]
configure: error: libtasn1 not found. Building without it results in significant loss of functionality. To proceed use --without-libtasn1
*** Error during phase configure of p11-kit: ########## Error running ./configure --prefix /opt/gnome --libdir '/opt/gnome/lib64'  --disable-static --disable-gtk-doc  *** [19/85]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: 

A missing lib…

sudo apt-get install libtasn1-3
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
libtasn1-3 est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

… already installed ! Looking at the package info

apt-cache show libtasn1-3-dev
Package: libtasn1-3-dev
Source: libtasn1-3
Version: 2.13-2
Installed-Size: 563
Maintainer: Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>
Architecture: amd64
Provides: libtasn1-dev
Depends: libtasn1-3 (= 2.13-2), dpkg (>= 1.15.4) | install-info
Conflicts: libtasn1-dev
Description-en: Manage ASN.1 structures (development)
 Manage ASN1 (Abstract Syntax Notation One) structures.
 The main features of this library are:
   * on-line ASN1 structure management that doesn't require any C code
     file generation.
   * off-line ASN1 structure management with C code file generation
     containing an array.
   * DER (Distinguish Encoding Rules) encoding
   * no limits for INTEGER and ENUMERATED values
 .
 This package contains header files and libraries for static linking.
Homepage: http://www.gnu.org/software/libtasn1/
Description-md5: b706df99ecc890cee403a672ad9b84df
Tag: devel::lang:c, devel::library, implemented-in::c, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/libt/libtasn1-3/libtasn1-3-dev_2.13-2_amd64.deb
Size: 389208
MD5sum: fd4cc61d32286af100225e750fc76a55
SHA1: 8ada7f5675a0acdf73eb580e988f49bd53a1f502
SHA256: 9a6f0f200d7c5d721ca92b0a425b0ff22693f45e7106f6715ee20482969ebd79

… it looks like libtasn1-dev isn't compatible with later version. I can feel the conflictual headache coming :P

Indeed

# sudo updatedb
# locate asn1|grep pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libtasn1.pc
# # and:
# grep addpath .config/jhbuildrc 
addpath('PKG_CONFIG_PATH', '/etc/alternatives')
addpath('PKG_CONFIG_PATH', '/usr/lib/pkgconfig')
addpath('PKG_CONFIG_PATH', '/usr/lib/x86_64-linux-gnu/pkgconfig')
addpath('PKG_CONFIG_PATH', '/usr/lib32/pkgconfig')
addpath('PKG_CONFIG_PATH', '/usr/share/pkgconfig')
#addpath('PKG_CONFIG_PATH', '/usr/share/aclocal/')
addpath('ACLOCAL_PATH', '/usr/share/aclocal/')

So what's wrong?

polkit

Giving up the previous module, the next error come with polkit:

configure: error: libsystemd-login autoconfigured, but system does not appear to use systemd
*** Error during phase configure of polkit: ########## Error running ./autogen.sh --prefix /opt/gnome --libdir '/opt/gnome/lib64'  --disable-static --disable-gtk-doc  *** [30/85]

We will ignore for now, and try to compile other modules

libgee

*** Building libgee *** [71/85]
make -j 9
make  all-recursive
make[1]: entrant dans le répertoire « /home/psy/src/gnome/libgee »
Making all in gee
make[2]: entrant dans le répertoire « /home/psy/src/gnome/libgee/gee »
make[2]: *** Pas de règle pour fabriquer la cible « ../utils/async.h », nécessaire pour « libgee_0_8_la_vala.stamp ». Arrêt.
make[2]: quittant le répertoire « /home/psy/src/gnome/libgee/gee »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/psy/src/gnome/libgee »
make: *** [all] Erreur 2
*** Error during phase build of libgee: ########## Error running make -j 9 *** [71/85]

See also

psychoslave/installing (last edited 2013-08-04 20:58:43 by psychoslave)