Your message dated Tue, 02 Feb 2010 23:24:55 +0000 with message-id <[email protected]> and subject line Bug#561878: fixed in python-qt4 4.7-2 has caused the Debian Bug report #561878, regarding python-qt4: FTBFS on hurd-i386: wrong value checking for errno result to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 561878: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561878 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-qt4 Version: 4.6-1 Severity: important Tags: patch User: [email protected] Usertags: hurd Hi, with a fixed sip4 (cfr #560418), python-qt4 fails to configure on GNU/Hurd. The problem is basically the same as bug #560418: patch 01_configure has the code snippet: + except OSError, e: + if e.errno != 17: + raise which relies on the actual implementation of the various errno values. The easy fix is to use the errno Python module and its EEXIST constant. Attached there is the modified version of patch 01_configure with the above change. Thanks, -- Pino#! /bin/sh /usr/share/dpatch/dpatch-run ## 01_configure.dpatch by Torsten Marek <[email protected]> ## ## DP: Make PyQt4 objectdir-buildable @DPATCH@ diff -urNad python-qt4-4.6~/configure.py python-qt4-4.6/configure.py --- python-qt4-4.6~/configure.py 2009-09-26 11:19:41.000000000 -0400 +++ python-qt4-4.6/configure.py 2009-10-07 10:03:11.173526146 -0400 @@ -28,6 +28,8 @@ # WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# Modified for Debian by Torsten Marek <[email protected]> + import sys import os import glob @@ -36,6 +38,24 @@ import sipconfig +topsrcdir = os.path.dirname(os.path.abspath(__file__)) +has_objdir = topsrcdir != os.path.abspath(os.path.curdir) +if not has_objdir: + topsrcdir = None + + +def makeDir(dirname): + try: + os.mkdir(dirname) + except OSError, e: + import errno + if e.errno != errno.EEXIST: + raise + +def srcPath(filename): + if topsrcdir is not None: + return os.path.join(topsrcdir, filename) + return filename # Initialise the globals. pyqt_version = 0x040600 @@ -260,7 +280,7 @@ build_file="pyrcc.sbf", dir="pyrcc", install_dir=opts.pyqtbindir, console=1, qt=["QtCore", "QtXml"], debug=opts.debug, warnings=1, universal=sipcfg.universal, - arch=sipcfg.arch) + topsrcdir=topsrcdir, arch=sipcfg.arch) def generate_target_default(self, mfile): """Generate the default target.""" @@ -357,6 +377,7 @@ check_module("QAxContainer", "qaxobject.h", "new QAxObject()", extra_libs=["QAxContainer"]) + makeDir("dbus") if os.path.isdir("dbus"): check_dbus() @@ -474,10 +495,10 @@ # Generate the composite module. qtmod_sipdir = os.path.join("sip", "Qt") - mk_clean_dir(qtmod_sipdir) + mk_clean_dir(srcPath(qtmod_sipdir)) qtmod_sipfile = os.path.join(qtmod_sipdir, "Qtmod.sip") - f = open(qtmod_sipfile, "w") + f = open(srcPath(qtmod_sipfile), "w") f.write("""%CompositeModule PyQt4.Qt @@ -589,7 +610,7 @@ mname is the name of the module. """ - qpy_dir = os.path.abspath(os.path.join("qpy", mname)) + qpy_dir = os.path.join("qpy", mname) if sys.platform == 'win32': if opts.debug: @@ -599,7 +620,7 @@ else: qpy_lib_dir = qpy_dir - return qpy_dir, qpy_lib_dir + return srcPath(qpy_dir), os.path.abspath(qpy_lib_dir) def _static_plugins(self, mname): """Return a tuple of the libraries (in platform neutral format) and the @@ -670,7 +691,7 @@ return libs, libdirs def module_installs(self): - return ["__init__.py", "pyqtconfig.py"] + return [srcPath("__init__.py"), "pyqtconfig.py"] def qpy_libs(self): # See which QPy support libraries to build. @@ -689,8 +710,12 @@ qmake_args = fix_qmake_args() cwd = os.getcwd() + makeDir("qpy") + for qpy, pro in qpylibs.items(): sipconfig.inform("Creating QPy support library for %s Makefile..." % qpy) + + makeDir(os.path.join("qpy", qpy)) os.chdir(os.path.join("qpy", qpy)) @@ -721,14 +746,21 @@ else: pro_config = 'release' + if topsrcdir: + pro = srcPath(os.path.join("qpy", qpy, pro)) + extra = "VPATH = %s" % (srcPath(os.path.join("qpy", qpy)), ) + inc_path.append(srcPath(os.path.join("qpy", qpy))) + else: + extra = "" + f.write( """# Tell the original .pro file about additional directories. INCLUDEPATH = %s - CONFIG += %s +%s include(%s) -""" % (" ".join(inc_path), pro_config, pro)) +""" % (" ".join(inc_path), pro_config, extra, pro)) f.close() @@ -758,6 +790,7 @@ install_dir=pydbusmoddir, qt=["QtCore"], debug=opts.debug, + topsrcdir=topsrcdir, universal=sipcfg.universal, arch=sipcfg.arch ) @@ -767,18 +800,19 @@ makefile.generate() tool.append("dbus") - # Only include ElementTree for older versions of Python. - if sipcfg.py_version < 0x020500: - sipconfig.inform("Creating elementtree Makefile...") + # Don't include elementtree on Debian +## # Only include ElementTree for older versions of Python. +## if sipcfg.py_version < 0x020500: +## sipconfig.inform("Creating elementtree Makefile...") - makefile = sipconfig.PythonModuleMakefile( - configuration=sipcfg, - dstdir=os.path.join(pyqt_modroot, "elementtree"), - dir="elementtree" - ) +## makefile = sipconfig.PythonModuleMakefile( +## configuration=sipcfg, +## dstdir=os.path.join(pyqt_modroot, "elementtree"), +## dir="elementtree" +## ) - makefile.generate() - tool.append("elementtree") +## makefile.generate() +## tool.append("elementtree") # Create the pyuic4 wrapper. Use the GUI version on MacOS (so that # previews work properly and normal console use will work anyway), but @@ -793,16 +827,18 @@ use_arch = '' uicdir=os.path.join(pyqt_modroot, "uic") - wrapper = sipconfig.create_wrapper(os.path.join(uicdir, "pyuic.py"), os.path.join("pyuic", "pyuic4"), gui, use_arch) + makeDir("pyuic") + # Wrapper not needed in Debian + #wrapper = sipconfig.create_wrapper(os.path.join(uicdir, "pyuic.py"), os.path.join("pyuic", "pyuic4"), gui, use_arch) sipconfig.inform("Creating pyuic4 Makefile...") makefile = sipconfig.PythonModuleMakefile( configuration=sipcfg, dstdir=uicdir, - srcdir="uic", + srcdir=srcPath(os.path.join("pyuic", "uic")), dir="pyuic", - installs=[[os.path.basename(wrapper), opts.pyqtbindir]] + #installs=[[os.path.basename(wrapper), opts.pyqtbindir]] ) makefile.generate() @@ -810,7 +846,7 @@ if "QtXml" in pyqt_modules: sipconfig.inform("Creating pylupdate4 Makefile...") - + makeDir("pylupdate") makefile = sipconfig.ProgramMakefile( configuration=sipcfg, build_file="pylupdate.sbf", @@ -820,15 +856,17 @@ qt=["QtCore", "QtGui", "QtXml"], debug=opts.debug, warnings=1, + topsrcdir=topsrcdir, universal=sipcfg.universal, arch=sipcfg.arch ) + makefile.extra_include_dirs.append(srcPath("pylupdate")) makefile.generate() tool.append("pylupdate") sipconfig.inform("Creating pyrcc4 Makefile...") - + makeDir("pyrcc") makefile = pyrccMakefile() makefile.generate() tool.append("pyrcc") @@ -868,7 +906,7 @@ # Run qmake to generate the Makefile. qmake_args = fix_qmake_args() cwd = os.getcwd() - os.chdir("designer") + os.chdir(srcPath("designer")) # Create the qmake project file. fin = open("python.pro-in") @@ -895,7 +933,7 @@ run_command("%s %s" % (opts.qmake, qmake_args)) os.chdir(cwd) - tool.append("designer") + tool.append(srcPath("designer")) return tool @@ -1061,7 +1099,6 @@ add_makefile_extras(makefile, extra_include_dirs, extra_lib_dirs, extra_libs) exe, build = makefile.build_command(name) - # Make sure the executable file doesn't exist. remove_file(exe) run_command(build) @@ -1212,7 +1249,7 @@ return # Check the module's main .sip file exists. - if os.access(os.path.join("sip", mname, mname + "mod.sip"), os.F_OK): + if os.access(srcPath(os.path.join("sip", mname, mname + "mod.sip")), os.F_OK): sipconfig.inform("Checking to see if the %s module should be built..." % mname) if check_api(incfile, test, mname, extra_include_dirs=extra_include_dirs, extra_lib_dirs=extra_lib_dirs, extra_libs=extra_libs): @@ -1423,10 +1460,13 @@ argv.append(buildfile) argv.append("-I") - argv.append("sip") + argv.append(srcPath("sip")) # SIP assumes POSIX style path separators. - argv.append("/".join(["sip", mname, mname + "mod.sip"])) + if topsrcdir is not None: + argv.append("/".join([topsrcdir, "sip", mname, mname + "mod.sip"])) + else: + argv.append("/".join(["sip", mname, mname + "mod.sip"])) cmd = " ".join(argv) @@ -1448,7 +1488,11 @@ sipfiles = [] for s in glob.glob("sip/" + mname + "/*.sip"): - sipfiles.append(os.path.join("..", "sip", mname, os.path.basename(s))) + if has_objdir: + topdir = topsrcdir + else: + topdir = ".." + sipfiles.append(os.path.join(topdir, "sip", mname, os.path.basename(s))) installs.append([sipfiles, os.path.join(opts.pyqtsipdir, mname)]) @@ -1948,7 +1992,7 @@ ).generate() # Install the configuration module. - create_config("pyqtconfig.py", "pyqtconfig.py.in", macros) + create_config("pyqtconfig.py", srcPath("pyqtconfig.py.in"), macros) ###############################################################################
--- End Message ---
--- Begin Message ---Source: python-qt4 Source-Version: 4.7-2 We believe that the bug you reported is fixed in the latest version of python-qt4, which is due to be installed in the Debian FTP archive: pyqt4-dev-tools_4.7-2_amd64.deb to main/p/python-qt4/pyqt4-dev-tools_4.7-2_amd64.deb python-qt4-dbg_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-dbg_4.7-2_amd64.deb python-qt4-dbus-dbg_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-dbus-dbg_4.7-2_amd64.deb python-qt4-dbus_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-dbus_4.7-2_amd64.deb python-qt4-dev_4.7-2_all.deb to main/p/python-qt4/python-qt4-dev_4.7-2_all.deb python-qt4-doc_4.7-2_all.deb to main/p/python-qt4/python-qt4-doc_4.7-2_all.deb python-qt4-gl-dbg_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-gl-dbg_4.7-2_amd64.deb python-qt4-gl_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-gl_4.7-2_amd64.deb python-qt4-phonon-dbg_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-phonon-dbg_4.7-2_amd64.deb python-qt4-phonon_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-phonon_4.7-2_amd64.deb python-qt4-sql-dbg_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-sql-dbg_4.7-2_amd64.deb python-qt4-sql_4.7-2_amd64.deb to main/p/python-qt4/python-qt4-sql_4.7-2_amd64.deb python-qt4_4.7-2.debian.tar.gz to main/p/python-qt4/python-qt4_4.7-2.debian.tar.gz python-qt4_4.7-2.dsc to main/p/python-qt4/python-qt4_4.7-2.dsc python-qt4_4.7-2_amd64.deb to main/p/python-qt4/python-qt4_4.7-2_amd64.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Torsten Marek <[email protected]> (supplier of updated python-qt4 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Tue, 02 Feb 2010 22:48:20 +0100 Source: python-qt4 Binary: python-qt4 python-qt4-dbg python-qt4-phonon python-qt4-phonon-dbg python-qt4-dbus python-qt4-dbus-dbg python-qt4-gl python-qt4-gl-dbg python-qt4-sql python-qt4-sql-dbg python-qt4-dev python-qt4-doc pyqt4-dev-tools Architecture: source amd64 all Version: 4.7-2 Distribution: unstable Urgency: low Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Torsten Marek <[email protected]> Description: pyqt4-dev-tools - Development tools for PyQt4 python-qt4 - Python bindings for Qt4 python-qt4-dbg - Python bindings for Qt4 (debug extensions) python-qt4-dbus - DBus Support for PyQt4 python-qt4-dbus-dbg - DBus Support for PyQt4 (debug extensions) python-qt4-dev - Development files for PyQt4 python-qt4-doc - Documentation and examples for PyQt4 python-qt4-gl - Python bindings for Qt4's OpenGL module python-qt4-gl-dbg - Python bindings for Qt4's OpenGL module (debug extension) python-qt4-phonon - Python bindings for Phonon python-qt4-phonon-dbg - Python bindings for Phonon (debug extensions) python-qt4-sql - Python bindings for PyQt4's SQL module python-qt4-sql-dbg - Python bindings for PyQt4's SQL module (debug extension) Closes: 558112 558244 561878 564657 567224 Changes: python-qt4 (4.7-2) unstable; urgency=low . * Uploaded new upstream to unstable (Closes: #567224, #561878, #564657, 558112) * debian/control - Bumped standards version to 3.8.4, no changes necessary * debian/rules - Build rc module for qtdemo.py and don't compress XML files (Closes: #558244) * debian/README.source - Removed, we don't use dpatch anymore * debian/patches/{series,htmllinks.diff} - Adapted/removed, pyqt4ref.html is not installed into html/ any more Checksums-Sha1: c5c6e95b627789634f8c07d521b50178e25a37b4 1865 python-qt4_4.7-2.dsc ea7e56a50d4de947715f7d90073dc42a86e7f48b 14735 python-qt4_4.7-2.debian.tar.gz cca454ad09a50c007ad28d82620f9bc7989ee24f 5373370 python-qt4_4.7-2_amd64.deb d4c146ef32180ff1fd979b98d4646ffa59e777a5 48753934 python-qt4-dbg_4.7-2_amd64.deb 8cbe3950033d251086e4a591231605f4abe4d115 238120 python-qt4-phonon_4.7-2_amd64.deb ab2d1e7aaaef00ca2d06adc92408c73bcbe3e480 3077710 python-qt4-phonon-dbg_4.7-2_amd64.deb b91d6c1a5f9115bac19c550b6fc0228dfed87dc9 94578 python-qt4-dbus_4.7-2_amd64.deb 5d08d145c9878595bff456d6e8c719f921890ed2 222096 python-qt4-dbus-dbg_4.7-2_amd64.deb e0aa7f6fa86e7da0061ef418ec05783d304cb16c 146474 python-qt4-gl_4.7-2_amd64.deb a782acff80cbafa68352f7401b5142ea7cb3bc17 1609952 python-qt4-gl-dbg_4.7-2_amd64.deb fd4a59c3c824dc74a1127e160473e42ac8b6a1b5 224768 python-qt4-sql_4.7-2_amd64.deb d7c82c8f1b1ffcfce38b9c837a5ebc5b525665e2 2322832 python-qt4-sql-dbg_4.7-2_amd64.deb f662cdda14bc9f549dba70d2b316893ef54c7141 163310 pyqt4-dev-tools_4.7-2_amd64.deb 831b0ee972da75991f804678d71173b15696182d 290892 python-qt4-dev_4.7-2_all.deb 287408f47397910f009252a3000df372571b6078 6714482 python-qt4-doc_4.7-2_all.deb Checksums-Sha256: ec8c3abe35cdca2acad896ab4ca5d00de41af8e241e5562f4a5cd62b5d34434e 1865 python-qt4_4.7-2.dsc 63c258710a9165509ff2f66570d566988f9ab04387a07de626d1ac193cd7319b 14735 python-qt4_4.7-2.debian.tar.gz 68ee371f59bde94b73488bd4bb01a48606baa16df9fd9b5649d377935fff1717 5373370 python-qt4_4.7-2_amd64.deb a28f69b9a60f3a1e11570a9be1059ddb976513362cbe4721bf31a9b6715ba863 48753934 python-qt4-dbg_4.7-2_amd64.deb aad9ce650f7e1c8869c057905b771f30676c543779f10a27f0c792a01dc84ae7 238120 python-qt4-phonon_4.7-2_amd64.deb 4a7fad13e016f9b6c8040c7ed609591a0402a45ce26102f96ac7d25504125bc3 3077710 python-qt4-phonon-dbg_4.7-2_amd64.deb a0b89e2a821aadc3240b91e5caf139b689a35784a3482baf38e8bd0e2de959ce 94578 python-qt4-dbus_4.7-2_amd64.deb 256d657301fab4ffebb39a5e3c44c31258f00f697d182ab1ed69ad901bc6a95e 222096 python-qt4-dbus-dbg_4.7-2_amd64.deb 523856a508da24257e7664d00bfdaa0e857092e6a4d681d42bea8641f0b49fba 146474 python-qt4-gl_4.7-2_amd64.deb e67649c50edffbc0e69e3ec151c21bcf8da002c495da7a88d1e0e37228d04217 1609952 python-qt4-gl-dbg_4.7-2_amd64.deb 7b979a4b83c74dd94eed1d956ba5a1ebe9a5066ab0368a50705911bafc0d00a5 224768 python-qt4-sql_4.7-2_amd64.deb 3c77314b34709d3629085ac3d99baacaf865957a9e4fedec8c5d028166230ac2 2322832 python-qt4-sql-dbg_4.7-2_amd64.deb 2693af2bb130270445980854e0621b0a92a08782bde5a7a2cf21955664e53657 163310 pyqt4-dev-tools_4.7-2_amd64.deb f7cffccd16de2a88f93ca7f88969a7ce328bd19c4592fa2f4289dc911e4d9566 290892 python-qt4-dev_4.7-2_all.deb ef164ad0f824868cdbbc3631fc4b93904f1d0b6f9afa95a6c6293f92feb6cd61 6714482 python-qt4-doc_4.7-2_all.deb Files: afa56ba622e50976b0b0ec18a5c8db15 1865 python optional python-qt4_4.7-2.dsc fed4684a024b126a3b7ddcfc53df6562 14735 python optional python-qt4_4.7-2.debian.tar.gz d00d434ce2d44c49d3923e4644df9b2c 5373370 python optional python-qt4_4.7-2_amd64.deb 5f018f682e597c9a786d85b07eb25c2f 48753934 debug extra python-qt4-dbg_4.7-2_amd64.deb 40682e00683e77f23d42d3c9fdc6d522 238120 python optional python-qt4-phonon_4.7-2_amd64.deb eb430b09f46df28c414039bb9b20b3eb 3077710 debug extra python-qt4-phonon-dbg_4.7-2_amd64.deb eae749b7b109aad9367e91a542aa21ac 94578 python optional python-qt4-dbus_4.7-2_amd64.deb 42218429080e23b56cac2b87476238e1 222096 debug extra python-qt4-dbus-dbg_4.7-2_amd64.deb 58b1a3fc286754cc31524055eef727dd 146474 python optional python-qt4-gl_4.7-2_amd64.deb 1fc060c89afd2299fb084a904615660a 1609952 debug extra python-qt4-gl-dbg_4.7-2_amd64.deb b9b847e0f676c1b5643795b7cbd4e9dd 224768 python optional python-qt4-sql_4.7-2_amd64.deb 7624aa9e1acff419d64f1e5470857f7d 2322832 debug extra python-qt4-sql-dbg_4.7-2_amd64.deb 2c5834708dfb855fe97f75704623a9dd 163310 python optional pyqt4-dev-tools_4.7-2_amd64.deb d2736d449b00983e6e41c60204ea3108 290892 python optional python-qt4-dev_4.7-2_all.deb 7dd6c8913743a5c93e7a86f1f417512c 6714482 doc optional python-qt4-doc_4.7-2_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktop90ACgkQfMVFHqJEyFgkHwCeOGcVslwXnHostwyeMNhBJEe8 8ucAoKJLw7mCF0EnoWh/mOvswHhfq3an =a5ZL -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

