GNOME Bugzilla – Bug 742545
append() takes exactly one argument (2 given)
Last modified: 2015-01-08 08:05:14 UTC
$ jhbuild sysdeps --install vte W: Circular dependencies detected: vte -> glib -> gvfs -> glib W: Circular dependencies detected: vte -> glib -> glib-networking -> glib W: Circular dependencies detected: vte -> glib -> dconf -> glib W: Circular dependencies detected: vte -> gtk+ -> adwaita-icon-theme -> gtk+ System installed packages which are new enough: flex (required=2.0) freetype2 (freetype2.pc, required=2.4.9, installed=14.0.8) git make intltool (required=0.50) libXft (xft.pc, required=2.0.0, installed=2.2.0) libpng (libpng.pc, installed=1.2.46) xorg-xproto (xproto.pc, installed=7.0.22) docbook-xsl xmllint xorg-kbproto (kbproto.pc, installed=1.0.5) libffi (libffi.pc, required=3.0.0, installed=3.0.11-rc1) gettext-bin bison (required=2.4) pixman (pixman-1.pc, required=0.30, installed=0.30.2) libxml2 (libxml-2.0.pc, required=2.7.8, installed=2.7.8) gl (gl.pc, installed=8.0.4) pkg-config libxml2-python c++ libX11 (x11.pc, installed=1.4.99.1) libtool shared-mime-info (shared-mime-info.pc, required=1.0, installed=1.0) cc xsltproc zlib (zlib.pc, installed=1.2.3.4) automake xmlcatalog Required packages: System installed packages which are too old: xcb (xcb.pc, required=1.10, installed=1.8.1) No matching system package installed: dbus (dbus-1.pc, required=1.4.10) libtiff python2-devel (python2.pc, required=2.5) xorg-macros (xorg-macros.pc) doxygen (required=1.8.1) egl (egl.pc, required=10.1.3) libXtst (xtst.pc, required=1) libxslt (libxslt.pc, required=1.1.26) xmlto libicu (icu-i18n.pc, required=4) xcb-xkb (xcb-xkb.pc, required=1.10) ragel libjpeg Optional packages: (JHBuild will build the missing packages) System installed packages which are too old: xtrans (xtrans.pc, required=1.3.5, installed=1.2.6) fontconfig (fontconfig.pc, required=2.11.1, installed=2.8.0) No matching system package installed: I: Installing dependencies on system: dbus libtiff python2-devel xorg-macros doxygen egl libXtst libxslt xmlto libicu xcb-xkb ragel libjpeg Traceback (most recent call last):
+ Trace 234523
jhbuild.main.main(sys.argv[1:])
rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
return cmd.execute(config, args, help)
return self.run(config, options, args, help)
installer.install(uninstalled)
uninstalled_pkgconfigs, uninstalled_filenames = get_uninstalled_pkgconfigs_and_filenames(uninstalled)
uninstalled_pkgconfigs.append(module_name, value)
Sorry about that. commit 9b3a58783464fc9ac159da14e2bf53ef1915f2b0 Author: Frédéric Péters <fpeters@0d.be> Date: Wed Jan 7 21:41:51 2015 +0100 add missing parenthesises https://bugzilla.gnome.org/show_bug.cgi?id=742545
Created attachment 294061 [details] [review] Append takes exactly one argument I'm running into this problem as well. It looks like one of the calls to append in get_uninstalled_pkgconfigs_and_filenames passes two arguments instead of one to append. By looking at the other appends in that function I assume that they should be passed as a tuple, which solved the problem for me.
Comment on attachment 294061 [details] [review] Append takes exactly one argument Resolved while submitting.
I did a 'git pull', but now the error is this: Traceback (most recent call last):
+ Trace 234524
uninstalled_filenames.append((module.name, os.path.join('/usr/include', value),))
Someone changed the source, but not quite in the way that was suggested...
(In reply to comment #4) Sorry, this is a different error. My mistake. I replaced 'module.name' => 'module_name' and it solved the problem.
Indeed that should habe been module_name; I pushed the fix.