Dependencies 构建系统依赖项

Dependencies 构建系统依赖项,dependencies,gnome,jhbuild,Dependencies,Gnome,Jhbuild,每当我使用jhbuild构建任何Gnome应用程序时,我都会得到许多必需的包。例如,对于以下命令: jhbuild sysdeps --install bijiben 出现以下错误: W: Circular dependencies detected: bijiben -> appstream-glib -> gdk-pixbuf -> glib -> gvfs -> glib W: Circular dependencies detected: bijiben

每当我使用
jhbuild
构建任何
Gnome
应用程序时,我都会得到许多必需的包。例如,对于以下命令:

jhbuild sysdeps --install bijiben
出现以下错误:

W: Circular dependencies detected: bijiben -> appstream-glib -> gdk-pixbuf -> glib -> gvfs -> glib
W: Circular dependencies detected: bijiben -> appstream-glib -> gdk-pixbuf -> glib -> glib-networking -> glib
W: Circular dependencies detected: bijiben -> appstream-glib -> gdk-pixbuf -> glib -> dconf -> glib
W: Circular dependencies detected: bijiben -> appstream-glib -> glib -> dconf -> gtk+ -> adwaita-icon-theme -> gtk+

System installed packages which are new enough:
//ALL THE INSTALLED PACKAGES 
Required packages:
    System installed packages which are too old:
        xcb (xcb.pc, required=1.10, installed=1.8.1)
        p11-kit (p11-kit-1.pc, required=0.19.0, installed=0.12)
        libnl-route (libnl-route-3.0.pc, required=3.2.7, installed=3.2.3)
        gnutls (gnutls.pc, required=3.1, installed=2.12.14)
        libnl (libnl-3.0.pc, required=3.2.7, installed=3.2.3)

    No matching system package installed:
    //ALL THE NOT MATCHING INSTALLED PACKAGES 

    Optional packages: (JHBuild will build the missing packages)
    System installed packages which are too old:
        iso-codes (iso-codes.pc, required=3.51, installed=3.31)
        xtrans (xtrans.pc, required=1.3.5, installed=1.2.6)
        fontconfig (fontconfig.pc, required=2.11.1, installed=2.8.0)`
然后,它通过apt文件(我之前安装的)搜索这些软件包,我得到以下信息:

I: Installing dependencies on system: rdflib WebKit1 xmlto xcb-xkb spamassassin polkit-agent polkit-gobject poppler libyaml libarchive wayland-egl mtdev egl ragel enchant sqlite3 doxygen liboauth libproxy dbus-glib libsystemd highlight libsystemd-daemon gbm libsystemd-login rapper xorg-macros libgphoto2 libicu libcanberra bogofilter libnl-genl libical libndp
I: Using apt-file to search for providers; this may be slow.  Please wait.
I: No native package found for xcb-xkb (/xcb-xkb.pc)
I: No native package found for libsystemd (/libsystemd.pc)
I: No native package found for libsystemd-daemon (/libsystemd-daemon.pc)
I: No native package found for libsystemd-login (/libsystemd-login.pc)
I: No native package found for libicu (/icu-i18n.pc)
I: No native package found for libndp (/libndp.pc)
I: Installing: libwebkitgtk-3.0-dev libpolkit-agent-1-dev libpolkit-gobject-1-dev libpoppler-glib-dev libarchive-dev libegl1-mesa-dev libmtdev-dev cedarview-graphics-drivers libenchant-dev libsqlite3-dev liboauth-dev libproxy-dev libdbus-glib-1-dev libgbm-dev xutils-dev libgphoto2-2-dev libcanberra-gtk-dev libnl-genl-3-dev libical-dev python-rdflib xmlto spamassassin libyaml-dev ragel doxygen highlight raptor-utils bogofilter-bdb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libegl1-mesa-dev : Depends: libegl1-mesa-drivers (= 8.0.4-0ubuntu0.7) or
                             libegl1-mesa-drivers-lts-quantal but it is not going to be installed or
                             libegl1-mesa-drivers-lts-raring but it is not going to be installed or
                             libegl1-mesa-drivers-lts-saucy but it is not going to be installed or
                             libegl1-mesa-drivers-lts-trusty but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Traceback (most recent call last):
  File "/home/MYPCNAME/.local/bin/jhbuild", line 32, in <module>
    jhbuild.main.main(sys.argv[1:])
  File "/home/MYPCNAME/jhbuild/jhbuild/jhbuild/main.py", line 151, in main
    rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
  File "/home/MYPCNAME/jhbuild/jhbuild/jhbuild/commands/__init__.py", line 183, in run
    return cmd.execute(config, args, help)
  File "/home/MYPCNAME/jhbuild/jhbuild/jhbuild/commands/__init__.py", line 52, in execute
    return self.run(config, options, args, help)
  File "/home/MYPCNAME/jhbuild/jhbuild/jhbuild/commands/sysdeps.py", line 207, in run
    installer.install(uninstalled)
  File "/home/MYPCNAME/jhbuild/jhbuild/jhbuild/utils/systeminstall.py", line 382, 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', 'libwebkitgtk-3.0-dev', 'libpolkit-agent-1-dev', 'libpolkit-gobject-1-dev', 'libpoppler-glib-dev', 'libarchive-dev', 'libegl1-mesa-dev', 'libmtdev-dev', 'cedarview-graphics-drivers', 'libenchant-dev', 'libsqlite3-dev', 'liboauth-dev', 'libproxy-dev', 'libdbus-glib-1-dev', 'libgbm-dev', 'xutils-dev', 'libgphoto2-2-dev', 'libcanberra-gtk-dev', 'libnl-genl-3-dev', 'libical-dev', 'python-rdflib', 'xmlto', 'spamassassin', 'libyaml-dev', 'ragel', 'doxygen', 'highlight', 'raptor-utils', 'bogofilter-bdb']' returned non-zero exit status 100
由于这个问题,现在我无法构建任何gnome应用程序


我目前正在使用Ubuntu 12.04和jhbuild 3.12.0

尝试在您的系统上安装开发包,例如在Fedora上,我使用sudo yum install libarchive devel和其他所需的类似软件包。在Ubuntu上,它可能类似于
sudo apt get install libarchive dev


至于
系统安装的软件包太旧:
,我认为您需要获得这些软件包的更新版本。

我尝试了sudo apt,但没有发生任何事情,所以我从软件包管理器下载了软件包,但问题仍然没有解决。是的,
JHBuild
显然缺乏一种在本地很好地构建和安装那些非Gnome系统依赖项的方法…:(
E: Unable to locate package rdflib
E: Unable to locate package WebKit1
E: Unable to locate package xcb-xkb
E: Unable to locate package polkit-agent
E: Unable to locate package polkit-gobject
E: Unable to locate package poppler
E: Unable to locate package libyaml
E: Unable to locate package libarchive
E: Unable to locate package wayland-egl