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 739043 - sysdeps --install: subprocess.CalledProcessError…returned non-zero exit status 100
sysdeps --install: subprocess.CalledProcessError…returned non-zero exit statu...
Status: RESOLVED OBSOLETE
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2014-10-22 22:37 UTC by Hashem Nasarat
Modified: 2021-05-17 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hashem Nasarat 2014-10-22 22:37:08 UTC
I'm using Debian Unstable. I built & installed jhbuild from master.


jhbuild build: Required system dependencies not installed. Install using the command 'jhbuild sysdeps --install' or to ignore system dependencies use command-line option --nodeps
__06:26:24 ~ $ jhbuild sysdeps --install
System installed packages which are new enough:
    sm (sm.pc, installed=1.2.2)
    libtool-ltdl
    libudev (libudev.pc, required=143, installed=215)
    sqlite3 (sqlite3.pc, required=3.7.3, installed=3.8.7)
    startup-notification (libstartup-notification-1.0.pc, required=0.12, installed=0.12)
    iso-codes (iso-codes.pc, required=3.51, installed=3.56)
    texinfo
    libxkbfile (xkbfile.pc, installed=1.0.8)
    libxklavier (libxklavier.pc, required=5.0, installed=5.2.1)
    wget
    libxml2 (libxml-2.0.pc, required=2.7.8, installed=2.9.1)
    xcb-dri2 (xcb-dri2.pc, required=1.8.1, installed=1.10)
    xkeyboard-config (xkeyboard-config.pc, installed=2.12)
    nss (nss.pc, required=3.12.11, installed=3.17.2)
    nspr (nspr.pc, required=4.9.2, installed=4.10.7)
    dbus (dbus-1.pc, required=1.4.10, installed=1.8.8)
    dbus-glib (dbus-glib-1.pc, required=0.98, installed=0.102)
    xtrans (xtrans.pc, installed=1.3.4)
    pixman (pixman-1.pc, required=0.30, installed=0.32.6)
    doxygen (required=1.8.1)
    py3cairo (py3cairo.pc, required=1.10.0, installed=1.10.0)
    python2-devel (python2.pc, required=2.5, installed=2.7)
    cairomm (cairomm-1.0.pc, required=1.8.4, installed=1.10.0)
    python-devel (python3.pc, required=3.2, installed=3.4)
    ragel
    expat
    WebKit1 (webkitgtk-3.0.pc, required=2.4.6, installed=2.4.6)
    ruby
    shared-mime-info (shared-mime-info.pc, required=1.0, installed=1.3)
    flex (required=2.0)
    xorg-wacom (xorg-wacom.pc, installed=0.26.0)
    libXinerama
    freetype2 (freetype2.pc, required=2.4.9, installed=17.1.11)
    libXrandr (xrandr.pc, required=1.3, installed=1.4.2)
    gbm (gbm.pc, installed=10.3.1)
    libXtst (xtst.pc, required=1, installed=1.2.2)
    js24 (mozjs-24.pc, required=24.2.0, installed=24.2.0)
    xorg-xproto (xproto.pc, installed=7.0.26)
    xorg-kbproto (kbproto.pc, installed=1.0.6)
    gl (gl.pc, installed=10.3.1)
    gmime (gmime-2.6.pc, required=2.6.6, installed=2.6.20)
    libdrm (libdrm.pc, required=2.4.45, installed=2.4.58)
    libffi (libffi.pc, required=3.0.0, installed=3.1)
    libical (libical.pc, required=0.44, installed=1.0)
    intltool (required=0.50)
    libXfixes (xfixes.pc, installed=5.0.1)
    liboauth (oauth.pc, required=0.9.4, installed=1.0.1)
    libarchive (libarchive.pc, required=3.0.0, installed=3.1.2)
    libpng (libpng.pc, installed=1.2.50)
    libX11 (x11.pc, installed=1.6.2)
    libXdamage (xdamage.pc, installed=1.1.4)
    libXext (xext.pc, installed=1.3.3)
    libXcomposite (xcomposite.pc, installed=0.4.4)
    wayland-egl (wayland-egl.pc, required=1.0, installed=10.3.1)
    libXcursor (xcursor.pc, installed=1.1.14)
    libtasn1 (libtasn1.pc, required=2.7, installed=4.2)
    libXft (xft.pc, required=2.0.0, installed=2.3.2)
Required packages:
  System installed packages which are too old:
    (none)
  No matching system package installed:
    libtiff
    avahi (avahi-gobject.pc, required=0.6.31)
    speex (speex.pc, required=1.2rc1)
    libuuid (uuid.pc)
    libv4l (libv4l2.pc)
    taglib (taglib.pc, required=1.5)
    bison (required=2.0)
    wavpack (wavpack.pc, required=4.2)
    alsa (alsa.pc, required=1.0.19)
    wireless-tools (required=25)
    libxslt (libxslt.pc, required=1.1.26)
    smbclient (smbclient.pc)
    libwebp
    mpfr
    cracklib
    cups (required=1.4)
    mtdev (mtdev.pc, required=1.1.1)
    pam
    ppp
    dvdread (dvdread.pc, required=4.2.0)
    enchant (enchant.pc, required=1.6.0)
    libusb1 (libusb-1.0.pc)
    readline
    flac (flac.pc, required=1.1.4)
    libXt (xt.pc)
    xorg-macros (xorg-macros.pc)
    libacl
    xfont (xfont.pc)
    libcap
    gnutls (gnutls.pc, required=3.1)
    libdb
    libvorbis (vorbisfile.pc)
    libexif (libexif.pc, required=0.6.19)
    gperf
    gudev (gudev-1.0.pc, required=173)
    libgcrypt (required=1.5.0)
    libgphoto2 (libgphoto2.pc, required=2.4.13)
    libicu (icu-i18n.pc, required=4)
    iptables
    libvpx (vpx.pc)
    libjpeg
    json (json-c.pc, required=0.11)
    libnl (libnl-3.0.pc, required=3.2.7)
    lcms2 (lcms2.pc, required=2.6)
    libnl-genl (libnl-genl-3.0.pc, required=3.2.7)
    libnl-route (libnl-route-3.0.pc, required=3.2.7)
    libatasmart (libatasmart.pc, required=0.17)
    libmusicbrainz (libmusicbrainz5.pc, required=5.0)
    libproxy (libproxy-1.0.pc)
    libsndfile (sndfile.pc, required=1.0.21)
    libsystemd (libsystemd.pc, required=210)
Optional packages: (JHBuild will build the missing packages)
  System installed packages which are too old:
    fontconfig (fontconfig.pc, required=2.11.1, installed=2.11.0)
  No matching system package installed:
    WebKit (webkit2gtk-4.0.pc, required=2.6.2)
    js17 (mozjs-17.0.pc, required=17.0.0)
    libcanberra (libcanberra-gtk.pc, required=0.30)
    libndp (libndp.pc, required=1.2)
    bluez (bluez.pc, required=5.6)
    poppler (poppler-glib.pc, required=0.26.5)
    libnice (nice.pc, required=0.1.8)
    exempi (exempi-2.0.pc, required=2.2.1)
    sbc (sbc.pc, required=1.1)
I: Installing dependencies on system: avahi speex libuuid libv4l taglib wavpack alsa libxslt smbclient mtdev dvdread enchant libusb1 flac libXt xorg-macros xfont gnutls libvorbis libexif gudev libgphoto2 libicu libvpx json libnl lcms2 libnl-genl libnl-route libatasmart libmusicbrainz libproxy libsndfile libsystemd WebKit js17 libcanberra libndp bluez poppler libnice exempi sbc libtiff bison wireless-tools libwebp mpfr cracklib cups pam ppp readline libacl libcap libdb gperf libgcrypt iptables libjpeg
I: Using apt-file to search for providers; this may be slow.  Please wait.
I: No native package found for libtiff (/usr/include/tiff.h)
I: Installing: libavahi-gobject-dev libspeex-dev uuid-dev libv4l-dev libtag1-dev libwavpack-dev libasound2-dev libxslt1-dev libsmbclient-dev libmtdev-dev libdvdread-dev libenchant-dev libusb-1.0-0-dev libflac-dev libxt-dev xutils-dev libxfont-dev libgnutls-dev libvorbis-dev libexif-dev libgudev-1.0-dev libgphoto2-dev libicu-dev libvpx-dev libjson-c-dev libnl-3-dev liblcms2-dev libnl-genl-3-dev libnl-route-3-dev libatasmart-dev libmusicbrainz5-dev libproxy-dev libsndfile1-dev libsystemd-dev libwebkit2gtk-4.0-dev libmozjs-17.0-dev libcanberra-gtk-dev libndp-dev libbluetooth-dev emscripten libnice-dev libexempi-dev libsbc-dev bison libiw-dev libwebp-dev libmpfr-dev libcrack2-dev libcups2-dev libpam0g-dev ppp-dev libreadline-gplv2-dev libacl1-dev libcap-dev libdb5.3-dev gperf libgcrypt11-dev iptables libjpeg62-turbo-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
iptables is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgcrypt11-dev : Breaks: libgnutls-dev (< 2.12.23-18) but 2.12.23-17 is to be installed
E: Unable to correct problems, you have held broken packages.
Traceback (most recent call last):
  • File "/home/hashem/.local/bin/jhbuild", line 32 in <module>
    jhbuild.main.main(sys.argv[1:])
  • File "/home/hashem/.local/lib/python2.7/site-packages/jhbuild/main.py", line 151 in main
    rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
  • File "/home/hashem/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py", line 183 in run
    return cmd.execute(config, args, help)
  • File "/home/hashem/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py", line 52 in execute
    return self.run(config, options, args, help)
  • File "/home/hashem/.local/lib/python2.7/site-packages/jhbuild/commands/sysdeps.py", line 172 in run
    uninstalled_filenames)
  • File "/home/hashem/.local/lib/python2.7/site-packages/jhbuild/utils/systeminstall.py", line 333 in install
    subprocess.check_call(args)
  • File "/usr/lib/python2.7/subprocess.py", line 540 in check_call
    raise CalledProcessError(retcode, cmd)
ubprocess.CalledProcessError: Command '['pkexec', 'apt-get', 'install', 'libavahi-gobject-dev', 'libspeex-dev', 'uuid-dev', 'libv4l-dev', 'libtag1-dev', 'libwavpack-dev', 'libasound2-dev', 'libxslt1-dev', 'libsmbclient-dev', 'libmtdev-dev', 'libdvdread-dev', 'libenchant-dev', 'libusb-1.0-0-dev', 'libflac-dev', 'libxt-dev', 'xutils-dev', 'libxfont-dev', 'libgnutls-dev', 'libvorbis-dev', 'libexif-dev', 'libgudev-1.0-dev', 'libgphoto2-dev', 'libicu-dev', 'libvpx-dev', 'libjson-c-dev', 'libnl-3-dev', 'liblcms2-dev', 'libnl-genl-3-dev', 'libnl-route-3-dev', 'libatasmart-dev', 'libmusicbrainz5-dev', 'libproxy-dev', 'libsndfile1-dev', 'libsystemd-dev', 'libwebkit2gtk-4.0-dev', 'libmozjs-17.0-dev', 'libcanberra-gtk-dev', 'libndp-dev', 'libbluetooth-dev', 'emscripten', 'libnice-dev', 'libexempi-dev', 'libsbc-dev', 'bison', 'libiw-dev', 'libwebp-dev', 'libmpfr-dev', 'libcrack2-dev', 'libcups2-dev', 'libpam0g-dev', 'ppp-dev', 'libreadline-gplv2-dev', 'libacl1-dev', 'libcap-dev', 'libdb5.3-dev', 'gperf', 'libgcrypt11-dev', 'iptables', 'libjpeg62-turbo-dev']' returned non-zero exit status 100
_
Comment 1 Hashem Nasarat 2014-10-22 22:41:34 UTC
Ah, so the problem was caused by apt-get returning 100 due to package conflicts. jhbuild should check for return code 100 when using apt-get and print a nicer error message, and the failing command to copy & paste to run manually.

__06:38:58 ~ $ pkexec apt-get install libavahi-gobject-dev libspeex-dev uuid-dev libv4l-dev libtag1-dev libwavpack-dev libasound2-dev libxslt1-dev libsmbclient-dev libmtdev-dev libdvdread-dev libenchant-dev libusb-1.0-0-dev libflac-dev libxt-dev xutils-dev libxfont-dev libgnutls-dev libvorbis-dev libexif-dev libgudev-1.0-dev libgphoto2-dev libicu-dev libvpx-dev libjson-c-dev libnl-3-dev liblcms2-dev libnl-genl-3-dev libnl-route-3-dev libatasmart-dev libmusicbrainz5-dev libproxy-dev libsndfile1-dev libsystemd-dev libwebkit2gtk-4.0-dev libmozjs-17.0-dev libcanberra-gtk-dev libndp-dev libbluetooth-dev emscripten libnice-dev libexempi-dev libsbc-dev bison libiw-dev libwebp-dev libmpfr-dev libcrack2-dev libcups2-dev libpam0g-dev ppp-dev libreadline-gplv2-dev libacl1-dev libcap-dev libdb5.3-dev gperf libgcrypt11-dev iptables libjpeg62-turbo-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
iptables is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgcrypt11-dev : Breaks: libgnutls-dev (< 2.12.23-18) but 2.12.23-17 is to be installed
E: Unable to correct problems, you have held broken packages.
Comment 2 GNOME Infrastructure Team 2021-05-17 16:00:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/200.