Bug#712881: ITP: python-enum34 -- support for enums (backport of Python 3.4's enum package)
Package: wnpp Severity: wishlist Owner: Barry Warsaw ba...@python.org -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 * Package name: python-enum34 Version : 0.9 Upstream Author : Ethan Furman et...@stoneleaf.us * URL : https://pypi.python.org/pypi/enum34 * License : BSD Programming Lang: Python Description : support for enums (backport of Python 3.4's enum package) PEP 435 describes the new enum package for Python 3.4. enum34 is a backport of this package for older Pythons. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRwwOhAAoJEBJutWOnSwa/y94QALh+XU4J5kQ9pgpccGeuIpbm 6I7azhBnMvpojuJrcQCulGqs4EQ1sPPpCvEU6MWrwt30d5nmacEbVEBJuOQK1F9/ 4xDtprAmHrbZ7OkBfMrumj6+HSyO3yNTLz7VbXFeg4VdE0blIEq/fW7iFVBRMIOU BtqMLHs5fkhS+fLUJIxuByTahKnt89cdQRcfh3ntrx6oYKLX6x13dSTyE2C/Ur/M krxoVYzW8xR6q/sWBcKaT3btvlbfdmopu95WRGXfDnVvYsqtp5SSfQR65uWWj4RW Lh5igtUw2Dq6e0oMXpDYqJZBqYLE+emqo48DikR4obAtKrOMYx1blinnWAJbobBY gg/MR9PVa2eL4f3fNSH8SPiSw6HSTEq9bJzJviD1sJsERRT3iRoETlTjtaV1gQZ6 385SR5cls9Jol+5h1/oX/2E72SasNvq3dBKXzM/h5/KXTUjOY7pkVqzLMhBnDXHn ohu9u/x7gl+FBVV6KRQkLWbRbOMV7BAluidztPxHH/Iql/rsYtGw1qW5z/ZbPhiF Kbg0WOZWM8gSLCBgx2NF/31OOeFDvVIeRz9DIsdtokbpwihxq4lsyjELdXhkUEtZ HLZMVgJdO0IhFjAzo9NTgSox6jsTaucX7qAd0QVdw2Sq2E0Nwz56TyO+3IPw6HsT gxzjB31JVZPYGzYtVyEp =2FYm -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679199: chipmunk-dev: please upgrade old version of chipmunk to newer version
Hi, It is. Apparently upstream believes it shouldn't be used as a shared lib though. Here is a response I got on the forum: It was removed quite some time ago. Compiling Chipmunk as a shared library is *not* recommended. Since version differences can cause a slight change in the simulation behavior due to floating point rounding issues, substituting a dynamic library can cause things to break. Secondly, I also don't specifically maintain binary compatibility between Chipmunk versions. On occasions, I've added new fields to structs for instance. Instead, I've always recommended compiling Chipmunk as a static library. Since it's such a tiny library and it's very unlikely to be running more than one process using Chipmunk at a time, there is little to no benefit of having it as a shared library anyway. I may just bump the Debian SOVERSION that Miriam set in the last package and let the chips fall where they may. Thanks, -- Barry deFreese Sometimes helper, sometimes hinderer to: Debian Games, QA, GNU/Hurd -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679199: chipmunk-dev: please upgrade old version of chipmunk to newer version
Hi, I actually have a working new package. However, there is an issue with the upstream build system where it does not set a SONAME properly. I am trying to get a hold of either Miriam or upstream to figure out what the proper SONAME would be. Thanks, -- Barry deFreese Sometimes helper, sometimes hinderer to: Debian Games, QA, GNU/Hurd -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#705415: pathological: cannot load music/intro.xm
Hi, It appears that there is something with the file itself. The actual error from pygame is error loading samplerate. If you rename background.xm to intro.xm it works fine. Bye the way, your last patch seems to have a bug also. If you disable the music, pathological throws an error. I haven't looked into that one yet. Thanks, Barry deFreese Debian Games Team -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#498930: pyracerz: don't fit into the screen
Hi, I know this is an old bug but hopefully you will still get this. Just out of curiousity, have you tried passing --resolution 640x480 to see if it fits? The default resolution is 1024x768 so it should work but I wanted to see if it makes a difference on your system. Thank you, Barry deFreese Debian Games Team. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#585052: closed by Barry deFreese bdefre...@debian.org (reply to bdefre...@debian.org) (Re: boswars: crash when trying to load a saved game for a removed campaign)
On 6/2/2013 8:09 PM, Marc Dequènes (duck) wrote: reopen 585052 thanks Coin, After speaking with upstream, this is expected behavior. The save games are not transferable between versions unfortunately. He was saying that the error reporting could be better but it is intended behavior. No, I already opened a bug report upstream almost 3 years ago and explained why this is a bug and needs to be solved. I don't mind if upstream is not willing to work on loading old saved games, I'm asking to fix a crash. If the saved game is not loadable, the game should really says so instead of a nasty and misleading behavior. There's no good reason for a crash, being just a game or not. Regards. Duck, Understood but if upstream won't fix it what is the point of having the bug in Debian? Thanks, Barry -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#710317: adonthell: FTBFS on all buildd
On 5/29/2013 5:28 PM, Markus Koschany wrote: Package: adonthell Version: 0.3.5-8 Severity: serious Tags: patch Justification: FTBFS on all buildd Hi Barry, adonthell fails to build from source on all buildd. The reason is a wrong dh addon called yes in your rules file. wrong: dh $@ --with python2, yes correct: dh $@ --with python2 You can trigger the bug by building a binary-only build with dpkg-buildpackage -B. Regards, Markus ___ Pkg-games-devel mailing list pkg-games-de...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-devel That makes zero sense. That is how I was told to build it and it builds fine in pbuilder. Anyway, I will take a look. Thanks, Barry -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#610814: libbox2d-dev: new upstream release (v2.2.1)
Hi folks, Sorry that I have been away so long. I am working on packaging 2.2.1. Please hit me up if you are available to do some testing. Thanks, Barry deFreese -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#672391: Please consider chaging dependency of libsigc++1.2 to 2.0
I have a patch to pick up libsigc++-2.0. That is the EASY part. However, 2.0 is not even close to being binary compatible with libsigc++-1.2. I will try it for a bit but I am not very familiar with libsigc at all. Thanks, Barry deFreese Debian Games Team -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#707086: (no subject)
This is caused by the ancient version of zope.interface in sid/jessie. We need to get z.i 4.0.5 (the latest upstream release) and then this bug will fix itself wink. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#635476: duplicated library code
On May 22, 2013, at 03:21 PM, Dmitry Shachnev wrote: I can try to package the first one (hotkeys), but probably I won't have time for it until next week. That would be great. I personally have no interest or time to package JavaScript stuff, and I definitely don't want to be a maintainer for any JS packages. If the consensus is indeed that upgrading coverage in Debian must block on packaging the JS components, so be it. I will gladly help with coverage packaging, including adding Python 3 support, once the JS bits are done. signature.asc Description: PGP signature
Bug#709360: python-imaging: PILcompat needs to add PngImagePlugin.py
Package: python-imaging Version: 1.1.7+2.0.0-1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, As seen in https://bugs.launchpad.net/ubuntu/+source/phatch/+bug/1173704 and its duplicates, we missed PngImagePlugin when creating the PILcompat package. It's an easy fix (see attached). - -- System Information: Debian Release: wheezy/sid APT prefers saucy-updates APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), (100, 'saucy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9.0-2-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-imaging depends on: ii libc6 2.17-0ubuntu5 ii libfreetype6 2.4.11-0ubuntu1 ii libjpeg8 8c-2ubuntu7 ii liblcms1 1.19.dfsg-1.2ubuntu2 ii libtiff5 4.0.2-4ubuntu3 ii mime-support 3.54ubuntu1 ii python 2.7.4-0ubuntu1 ii python-imaging-compat 1.1.7+2.0.0-1 ii zlib1g 1:1.2.8.dfsg-1ubuntu1 python-imaging recommends no packages. Versions of packages python-imaging suggests: pn python-imaging-dbg none pn python-imaging-doc none - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRnRPJAAoJEBJutWOnSwa/qsgQALqDc2Hpbk8udYN4TbG+3I2G rEKGc+Dnd55sbgaz0Fngw3Q3pcih8aDAhf9EHQoocveA2Et7G7H8V4QXxyrJ0qch cuifzbsOSveuDqkONsrYynsr9OmixLD+ZxP04niU26UGYBwOR0jloi3ymWuONbyd 2ztQW2Y9S/xyWuzOtsKc958IAzzV3pr/Gn75OfmAtYYn1/FxHxubQRnnV1HgNTD4 Ls+hqv76O4nX095tXmqaQfilpuGNOYIEkZV+u1jNr7FCxC+Fmfi4f2SHCT45vvaa jGs8PpPtBpARjUnNC0tVsQtNpkzdP01LH276BzgTD3uzq59nf6XC5oInBXipJnNN Li8Rk9Rj2SZSSwQKK3NPivb3qRiRTB1g7qHDZWICTP4P/l1jEARL/HPxoN5eXDN8 9vYq/Mdu8VlJ0t22VKUF/RXBAniM9YgBJR7I6sDoE0k7vDi30FAA064iN/esKXXx ZgGXGkv76f0ci06BCwvQ3lJQMeqxTxdLu74Hyhwk2Kmw51omt2l75W7Myuwi4iel RHBL1l1/coaJmBw0ER9l1MaK0+5mJb9NkLStob9NpeWSTFn9Y4EfBq1fccDns9oo xht5DM+iArG6/hjgS2SzQmSkMIjIGzycBrXuvvo58XXeMM8qtxX8iwn4Nv4N0Q4/ IAIeh7zZe4cGw0W72qdk =T/4e -END PGP SIGNATURE- === added file 'debian/PILcompat/PILcompat/PngImagePlugin.py' --- debian/PILcompat/PILcompat/PngImagePlugin.py 1970-01-01 00:00:00 + +++ debian/PILcompat/PILcompat/PngImagePlugin.py 2013-05-22 18:32:59 + @@ -0,0 +1,1 @@ +from PIL.PngImagePlugin import *
Bug#709370: phatch: Add dependency on python-imaging-compat
Package: phatch Severity: important -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, As seen in http://pad.lv/1173704 phatch imports PIL modules directly, assuming the existence of PIL.pth. With the switch to Pillow for python-imaging, the ..pth file is only available with python-imaging-compat, so you need to add a Depend on this for the phatch-cli binary package. I will commit a fix to svn for this. - -- System Information: Debian Release: wheezy/sid APT prefers saucy-updates APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), (100, 'saucy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9.0-2-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRnSCIAAoJEBJutWOnSwa/CvQP/2pbTl+jHJcSwq2j9Gqh+dxj LF86/yk5E8W9IhV+B0HnAQ60HOItGfvNZucCesqp3xIuXGUElE56oExcXQ3X/42V I+/t1u/o0FbmRLrvGVcFALXAIp9pvU95+zvKeiO3od6yCtr4coZlYdCjr4L0odxB aTlkLdSk/7KMfjc+aEtpm/24Pz2Cb3HwxqA0OFG6Tj7ooh8MFD+luH035G27+Cvx x0c6xfR77QOwClS9f1+kSJUGfpxGXNnAc7iMJKXDvsZwOaw+8pTGuJzLCULrKzDs 1ulRA3TwwH+whwkzEnrKWU9h+0BpxEar77TSFuMH0/1geG3DLQk6jPyklHNWlhqk GNjr7Xk7nesvJCLXsxjNrp9XrX/wunb9c75XV2RYZ+eQyH0bORIK72O5wP/zrwx1 6o1HaUv9jV7O6ZF7ZUO3PvZulw2yMUJslFcJ8VbuvoishxavpTcnAFJIurtpoyQm 7ctSkX6Q1Z4+UBUQ0tqz57RjRweNONv3VvzTagWUgKgXdhSrjzXvn+wMMml8RFbe qOxdGHlInnemvZUa0vqZLALFv7UAlYUiWsIyQSVNsQ6qNR1S//drDQbkEowmLyQ3 /ePl47uyyVgVB10htFx7aptDyvJ7VIkplF2MwD2XQ07WXooUNY4OpACNCOZnixgw QRIirG4kRXg1/pxVFWn+ =o6gZ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#635476: duplicated library code
On May 21, 2013, at 01:30 PM, Ben Finney wrote: I'm confused though because if those block bug packages aren't packaged for Debian yet (they're wnpp), then how can they be duplicated library code? Duplicated in other packages. (e.g. ‘jquery.hotkeys.js’ is in Debian's ‘wordpress’, ‘spotweb’, etc.) More generally, the problem isn't necessarily that the code is duplicated. The problem is that the code is bundled in with a work, yet the maintainers of that work (‘python-coverage’) aren't the maintainers of that bundled code (e.g. the ‘isonscreen’ library). The solution does not entail adding more Debian packages bundling library code that is not maintained by the package upstream maintainers. I fully agree, at least as a goal. It's a bit of a shame that this has to block upgrading python-coverage when the problem already exists in other packages. I don't have any particular burning desire to package a bunch of JavaScript. ;/ Can't we get coverage 3.6 into Debian, with enabled Python 3 support now? If you can see a way to do it without adding those libraries in the package, sure. I think it would not be worthwhile to bundle them with ‘python-coverage’. I don't personally use any of the html stuff in coverage, so for me, if it's just a degradation in the html output, I won't care. Others might, but I'll let them fix the JavaScript packaging issues. I just want a modern (and Python 3 compatible!) coverage package. Cheers, -Barry signature.asc Description: PGP signature
Bug#708933: adonthell: Missing desktop and menu files
Hi Markus, Thanks for the report. I am currently looking at this but I may reassign to the adonthell-data package. Though adonthell provides the binary it is just the game engine and doesn't have a GUI interface so it would be kind of useless. Thank you, Barry deFreese -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#635476: (no subject)
Hi Ben. You made bugs 635474 and 635475 as blocking bugs for getting python-coverage updated to the latest PyPI version, saying: Upstream version 3.5 introduces yet more duplicated library code that is currently not packaged properly for Debian, so upstream version 3.5 cannot be packaged yet. I'm confused though because if those block bug packages aren't packaged for Debian yet (they're wnpp), then how can they be duplicated library code? Can't we get coverage 3.6 into Debian, with enabled Python 3 support now? Then, when those JavaScript libraries are available in Debian, we can change coverage's packaging to not duplicate them. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#708763: jam segfaults with CFLAGS passed in format -foo=bar
Package: jam Version: 2.5rel-1 Severity: normal Hi, While trying to update crystalspace to the new upstream, I was attempting to add the hardening CFLAGS. The build system calls: sh configure $(COMPILER_FLAGS) ... Any parameters that I pass in that have the format -foo=bar (such as --param=ssp-buffer-size=4 or -Werror=format-security) seem to cause jam to segfault. Thank you, Barry deFreese -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#426851: auto-apt: fails to use sources in /etc/apt/sources.list.d/
Hi, I am not going to try to take this on but somehow you would have to evaluate apt-config Dir::Etc::sourcepart. The tricky part would be making it dynamic as currently it just creates a symlink to /etc/apt/sources.list. Good luck, Barry deFreese -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#695796: (no subject)
Hi. Note that 0.3.3 is now available on PyPI: https://pypi.python.org/pypi/python-gnupg/0.3.3 and of course, wheezy's out now! :) It would be great to get 0.3.3 into jessie. Thanks. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#705168: Wheezy fails to boot linux/3.2.41-2 kernel
Why is the bug listed against linux/3.2.39-2, when that kernel works fine? It occurs in the latest 3.2.41-2 kernel. My guess is that it is in the common KMS code, triggered by multiple display controllers, where one of the controllers is unused, but can't be disconnected, such as being on the motherboard. The system hangs up prior to the network being configured, so I have no way to log into the system. -- Barry Fishman -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#705168: Wheezy fails to boot after 2013-04-05 update
A further note. This might be the same as Ubuntu bug 1167114. Note: I have two graphics controllers: lspci | grep VGA 01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780L [Radeon HD 3000] 02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670] There does not seem to be any other kernels in testing that I can try. -- Barry Fishman -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#705168: Wheezy fails to boot after 2013-04-05 update
I have a Radeon HD 4670 graphics card. If I add the option radeon.modeset=0 to the linux boot command the system will boot successfully and run fine. Of cource the graphics runs very slow. Could the problems be in changes to the radeon driver KMS code? -- Barry Fishman -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#543141: smplayer: fonts of interface look ugly probably not deinterlaced
This problem does not occur in SMPlayer Version: 0.8.0 Using Qt 4.8.2 (compiled with Qt 4.7.4) bug = closed On Sat, Mar 30, 2013 at 8:25 AM, Reinhard Tartler siret...@gmail.comwrote: tag 543141 moreinfo stop Hi, sorry for taking so long to get to this bug. From the description, I have the impression that this is actually a bug in mplayer, rather than smplayer. Can you please try updated versions of mplayer and mplayer2, and report back if this problem still persists? Thanks, Reinhard -- regards, Reinhard
Bug#702009: tox: Upgrade tox to 1.4.3
Package: tox Version: 1.4.3 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Upstream has released tox 1.4.3. I've updated alioth svn to the new version, but it is currently blocked on bug #699312 (pytest 2.3.4 required). As soon as that bug is closed, I'll update tox, so this is just a placeholder. - -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRMNKpAAoJEBJutWOnSwa/S4gQAJFrF2eeNEq8N+UQEMDymAki gIuRVh+mXiSOkMY/FZYSn1WZZONOhPhsAoWRQeHYrSgXKyBVcC7qDlWNVgrjVJ1c YFb6kWh8zGoYa3MiCIYmfTQrCHvbd7AcxiqD+zdNBT3Ie9wtbZaddy3AnO8g6mlI g/4ZWTGTmN1FSa9qtP0aW4iYj9rf7EKK8kdKq5d9oBjBI098HO3Tf88Q9if9/EOi XqN3lGJC0WD8UmcZBXmslvq8iV9NjFlA86VptFGK2u5sGjUG5BMzHfHNKD6CumJI zG2Rna/H/oDetulMsN++SfIXWsK4Nr70/ppQCsn5e4SGYoVHbROm4lQq4MbxtIem MlSnIUX5QshEVm2tuAKFN2hAxn9uwOXdboc7CGDJ9BsSSKKYfpfeB9wX3oKkyual 1vesen63/T/vjX5Oud1qtiQcOHZlCIuRJvBV/RpI0YIFT5mHDBCNrO5p1nxfSwCH 2uTOIyhUfW2dv8lmqOa6s+dIol/yxD/3w6Qn03KoU0WRh5yOAQbNAv0fkvw8zUmS TK0DSa57bbthsJVYYvaI7nYI2Cj0LtpALdZYb/U+O+PrgWpk4S1GP+hJvQE3mCb1 +PHWKpAzdQcLrLU686fD+eQ1Ww9NeH3LVz4/SCdAwPrkiGXSmBJBbRh74EeO+5Yt 9ru5mCsHJZ3B1ik/VC1a =5GYv -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#699312: (no subject)
Please consider uploading pytest 2.3.4 to experimental soonish. I would like to update tox to 1.3.4, but this is blocked on a newer pytest. I've updated alioth pytest svn to the new version, but it currently ftbfs. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#701192: python-defaults: Debian Python Policy clarification of binary package naming for submodules
Package: python-defaults Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, DPP section 2.2 describes the policy for naming binary packages of Python packages, e.g. python-* and python3-*. For packages with submodules in namespaces, e.g. zope.interface, the implied policy is to name it python-foo.bar and python3-foo.bar. However, I've had some feedback from people that this should be explicitly stated, thus this bug Something like the following could be added to python-policy.sgml: For subpackages such as varfoo.bar/var, the recommendation is to name the binary packages packagepython-varfoo.bar/var/package and packagepython3-varfoo.bar/var/package. - -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRJ4zoAAoJEBJutWOnSwa/ZD0QAL+iiNdA00zo44+XUcGQWkoL vnJVq7biptf3mgtj+mhkVLmdhzK2ZbI4sieo1CstaB4+Sj6wgwoYlEWoNPYgKJAL HO5jKA4O/ZZQbhgxLWVyMS5K0Ie5DA/9YJi7euSg6OJgzhGravPX4zaIXIV+LyS9 WXShj3Bz1qE8pKKZvnJeAnsbdqwL3jY5WTs4jdImrB+Ps156rFCV2CZ1/96jplCs zOMGfHlzigaaVWwn3p8vNzusxijcUbXXm+nqpqOokNVzEQVgiBiunR4x64oEM9dD V0aG/POq9rHmG+2hp2WPllKdDJtUVQNUwvgyfxygjYmDHBp7zvVA+h4clPNJN9UQ Hvaozb75PkLYTbJFv262/I+KnKmzAqBvAtN8Yf7zor8Xdx79AeNSX44jelf5LBSA myNu+0WSdDvwNvKosZxHpfXV9vYZXBO1PS9I0RUbPWcy8ff5RQToxlVv2R3dj+R9 z6lsEw2qLoKyradnIR+xnRhB5YxOyGMtYi0YqOoteQl9+ilzJiI2Q+qe9Ie6OHUl 5svs+m6bnKp3VKeiuhzHMB2jowrFWhNqt9tmP2wlnhtJ674e7eBIv+LObnQOrrHi fwkVmbWg7ZCzuUTios7SO+bJ8Wfc6MrKnYtrDVUB4QciAe/K0J4SfM6LsRyX+/MF HICbuTirpifxWUUDQIK6 =0LBA -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#699491: pycompile: Support -OO to suppress docstrings in .pyo files
Package: python-defaults Version: 2.7.3-11 Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Python of course supports -OO which both optimizes and removes docstrings from the resulting .pyo files. This can provide significant file size savings. pycompile currently only supports a single -O flag, but it should support -OO too. I'll attach a proposed patch. - -- System Information: Debian Release: wheezy/sid APT prefers raring-updates APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring'), (100, 'raring-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8.0-2-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRCvAIAAoJEBJutWOnSwa/XK4P/0XUhlGzlX+R3OQjSAk2FOMH japFqCR8dRo1irmLja9mfx9LY+UhvYdBLIVEUHxecOoh1OwWLx6D9S8zoN8ZA3bz f3rb9lNb7086q4Z3viHI6j+6UiJwY5q0T8v9Sck/MymV+9kOZvJKgCIj8PZM7cjA qJ4Gvw88w17OEc9L/6jxe2nkRQoSIv8R5GveDBlnT+9ZGG4ikUfOEeqZG7fJD7ms jzgO9oyfVN6DFzq3IiJ9ie9xW+TwGWZtSyxcIIR9Vq7YhlBuuei4yC4QSgBkTK7H tJyF9cqO4yZf4VXwvUBHcscpTsxHVdrfnfdBCkcosKD42OgUUSTqd5nJ2rYnhHHA 4QTNqarLojp8lF89OwF1yMaSXa/fRBOTf6uq5D7F5coQJBu+HhwHMcaCoOTKfU7V ELRVshGMtHkxpd8N4plJ+UqyAQnFD7zWVxoy7svHeMwBpqgUEmJu/gY+NM+EPNST mdt/NTeczuIGBuZtVhg0GVEmAEKaH8VV65YUrMEgFOUOwYOiimfztF1vYydj99F5 g3+7OItalDLSCW9+I74jeozsCJlbVghKge7I1pp46qpLYMuIM3A/f/uGcrP36OtC nvyYLNCKQw09Kc8YS24whtGA1dcdAzaKtrR4jd4X6g9oTV9ULZnvxKvH+nHaVKq9 KLGUXSnHAx51iioCfYlv =ybRV -END PGP SIGNATURE- === modified file 'pycompile' --- pycompile 2012-06-30 12:33:33 + +++ pycompile 2013-01-31 22:10:31 + @@ -130,8 +130,14 @@ def py_compile(version, optimize, workers): if not isinstance(version, basestring): version = vrepr(version) -cmd = /usr/bin/python%s%s -m py_compile - \ -% (version, ' -O' if optimize else '') +if optimize == 0: +optflag = '' +elif optimize == 1: +optflag = ' -O' +else: +optflag = ' -OO' + +cmd = /usr/bin/python%s%s -m py_compile - % (version, optflag) process = Popen(cmd, bufsize=1, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True) workers[version] = process # keep the reference for .communicate() @@ -190,8 +196,9 @@ default=False, help='be quiet') parser.add_option('-f', '--force', action='store_true', dest='force', default=False, help='force rebuild even if timestamps are up-to-date') -parser.add_option('-O', action='store_true', dest='optimize', -default=False, help=byte-compile to .pyo files) +parser.add_option('-O', action='count', dest='optimize', +default=0, +help=byte-compile to .pyo files; -OO to remove doc strings) parser.add_option('-p', '--package', help='specify Debian package name whose files should be bytecompiled') parser.add_option('-V', type='version_range', dest='vrange', @@ -209,6 +216,9 @@ (options, args) = parser.parse_args() +if options.optimize 2: +parser.error('-O or -OO only allowed') + if options.verbose or environ.get('PYCOMPILE_DEBUG') == '1': log.setLevel(logging.DEBUG) log.debug('argv: %s', sys.argv)
Bug#699491: (no subject)
Here's a patch to pycompile.rst to update the manpage. === modified file 'pycompile.rst' --- pycompile.rst 2011-02-06 20:20:41 + +++ pycompile.rst 2013-01-31 22:30:58 + @@ -27,6 +27,8 @@ -O byte-compile to .pyo files +-OO byte-compile to .pyo files and remove doc strings. + -q, --quiet be quiet -v, --verbose turn verbose mode on
Bug#699498: python3-defaults: Support -OO to suppress docstrings in .pyo files
Package: python3-defaults Version: python3-defaults Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Similar to bug #699491 - this bug requests support for py3compile -OO to remove docstrings from the resulting .pyo files. I'll attach a proposed patch. - -- System Information: Debian Release: wheezy/sid APT prefers raring-updates APT policy: (500, 'raring-updates'), (500, 'raring-security'), (500, 'raring'), (100, 'raring-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8.0-2-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJRCxxzAAoJEBJutWOnSwa/VdsQAIGIT+gbIS9mMFawTjgm0xsZ NM4LXC2ey9QegKNd6z/txtYwrhWDGfbLFQdO4VhN8YNmw9RbgnmrafdIC6SR4c1j Lsgu0HkRi96TZsg/uWKTwnNpaKtp76PL8WQAHuF1gqT8/O6UELGNuth24xKLKHUB kwT271HWoVWrucUuDEnbiKx3BIIBFDPwSN0Z1A4tMsl1YA/vd7piN7QWsjRji2od 9KpZMeEUdQHaY1mq9WttB3IaVNoa2/E1qOHsxsFXupJOg2jH4rypsnPTlhSeVWId Aqk6Aq0Lpv/tBZWjMyMi54vor0XnaL+QAGE7VutXIBLQmLbWva6GFT1dNceH2yqS azz6P8RlBvTaRp2M9h/Smr9ammNC7HYC8dzz2+1JkgKuHs+4FcM9YlB1mYEjxaAz ek/ovUe8dJLY1Zb67F4m5gRJW8stY1bHVlmlWHiwE8+lmB9dcosgRYZzP6PaJppN 5pYcF+6XFW2hE6K8JanI32Pcq5Ul0bSOsELyFg+PTU5WIRn+19rrMbUNhyLK7C8c Z/88dOPXzvYgi7DAgxvIDdK12x9QkSFPOCY/HRzulrTYrolgspkiHtm/ed4WPbAP QtsOt5RNk9qj3on6yWCenjU3JzwCjDqwMQ3xYCvwB5xkpP2ZSgx6xBifKao/R/zm Px/dVOJAoNy4F6JpmskR =vb6v -END PGP SIGNATURE- === modified file 'py3compile' --- py3compile 2012-12-06 21:59:07 + +++ py3compile 2013-02-01 01:10:49 + @@ -129,8 +129,13 @@ def py_compile(version, optimize, workers): if not isinstance(version, str): version = vrepr(version) -cmd = /usr/bin/python%s%s -m py_compile - \ -% (version, ' -O' if optimize else '') +if optimize == 0: +optflag = '' +elif optimize == 1: +optflag = ' -O' +else: +optflag = ' -OO' +cmd = /usr/bin/python%s%s -m py_compile - % (version, optflag) process = Popen(cmd, bufsize=1, shell=True, stdin=PIPE, close_fds=True) workers[version] = process # keep the reference for .communicate() @@ -149,7 +154,14 @@ next(coroutine) STDINS[version] = coroutine -interpreter = Interpreter('python' if not optimize else 'python -O') +interpreter = 'python' +if optimize == 0: +pass +if optimize == 1: +interpreter += ' -O' +else: +interpreter += ' -OO' +interpreter = Interpreter(interpreter) # byte compile files skip_dirs = set() @@ -202,8 +214,9 @@ parser.add_option('-f', '--force', action='store_true', dest='force', default=False, help='force rebuild even if timestamps are up-to-date') -parser.add_option('-O', action='store_true', dest='optimize', - default=False, help=byte-compile to .pyo files) +parser.add_option('-O', action='count', dest='optimize', +default=0, +help=byte-compile to .pyo files; -OO to remove doc strings) parser.add_option('-p', '--package', help='specify Debian package name whose files should be bytecompiled') parser.add_option('-V', type='version_range', dest='vrange', @@ -221,6 +234,9 @@ (options, args) = parser.parse_args() +if options.optimize 2: +parser.error('-O or -OO only allowed') + if options.verbose or environ.get('PYCOMPILE_DEBUG') == '1': log.setLevel(logging.DEBUG) log.debug('argv: %s', sys.argv) === modified file 'py3compile.rst' --- py3compile.rst 2012-10-24 21:57:35 + +++ py3compile.rst 2013-02-01 00:58:56 + @@ -10,7 +10,7 @@ py3compile [-V [X.Y][-][A.B]] DIR_OR_FILE [-X REGEXPR] - pycompile -p PACKAGE + py3compile -p PACKAGE DESCRIPTION === @@ -27,6 +27,8 @@ -O byte-compile to .pyo files +-OO byte-compile to .pyo files and remove doc strings + -q, --quiet be quiet -v, --verbose turn verbose mode on
Bug#697084: Iceweasle failure
Hello I have recently installed Firefox and it does not have the same bug as Iceweasel. That is when I connect to netbank.com.au the id password panel remains on screen. Regards Barry White -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#697084: (no subject)
Subject: iceweasel: When connecting to www.netbank.com.au it puts up the login page for one Package: iceweasel Version: 3.0.6-3 Severity: grave Justification: renders package unusable When connect to www.netbank.com.au the login page appears for 1 sec then is replaced by blank page. Same with epiphany and iceweasel with Debian 6 on another m/c. Firefox and Win XP OK. Suspect java problem. It occured after netbank maintenance weekend. No responce from bank except they do not support iceweasel. I have yo use windows to do banking Barry White -- System Information: Debian Release: 5.0 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages iceweasel depends on: ii debianutils 2.30 Miscellaneous utilities specific t ii fontconfig 2.6.0-3 generic font configuration library ii libc6 2.7-18lenny7 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libglib2.0-02.16.6-3 The GLib library of C routines ii libgtk2.0-0 2.12.11-4The GTK+ graphical user interface ii libnspr4-0d 4.7.1-5 NetScape Portable Runtime Library ii libstdc++6 4.3.2-1.1The GNU Standard C++ Library v3 ii procps 1:3.2.7-11 /proc file system utilities ii psmisc 22.6-1 Utilities that use the proc filesy ii xulrunner-1.9 1.9.0.19-14 XUL + XPCOM application runner iceweasel recommends no packages. Versions of packages iceweasel suggests: pn latex-xft-fonts none (no description available) ii libkrb531.6.dfsg.4~beta1-5lenny6 MIT Kerberos runtime libraries pn mozplugger none (no description available) pn ttf-mathematica none (no description available) pn xfonts-mathml none (no description available) pn xprint none (no description available) ii xulrunner-1.9-g 1.9.0.19-14 Support for GNOME in xulrunner app -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#695958: (no subject)
=== modified file 'debian/changelog' --- debian/changelog 2012-12-10 19:10:32 + +++ debian/changelog 2012-12-20 13:54:33 + @@ -1,3 +1,9 @@ +python2.7 (2.7.3-13) experimental; urgency=low + + * Expose multiarch triplet as sys._multiarch. Closes: #695958 + + -- Barry Warsaw ba...@python.org Thu, 20 Dec 2012 08:53:42 -0500 + python2.7 (2.7.3-12) experimental; urgency=low * Fix typo in pkgconfig file. Closes: #695671, LP: #1088988. === modified file 'debian/patches/series.in' --- debian/patches/series.in 2012-12-10 16:06:41 + +++ debian/patches/series.in 2012-12-20 14:29:49 + @@ -66,3 +66,4 @@ lib2to3-no-pickled-grammar.diff add-python-config-sh.diff ssl.match_hostname.diff +sys-multiarch.diff === added file 'debian/patches/sys-multiarch.diff' --- debian/patches/sys-multiarch.diff 1970-01-01 00:00:00 + +++ debian/patches/sys-multiarch.diff 2012-12-20 13:53:34 + @@ -0,0 +1,25 @@ +--- a/Makefile.pre.in b/Makefile.pre.in +@@ -1304,6 +1304,11 @@ + + Python/thread.o: @THREADHEADERS@ + ++Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile ++ $(CC) -c $(PY_CORE_CFLAGS) \ ++ -DMULTIARCH='$(MULTIARCH)' \ ++ -o $@ $(srcdir)/Python/sysmodule.c ++ + # Declare targets that aren't real files + .PHONY: all build_all sharedmods oldsharedmods test quicktest memtest + .PHONY: install altinstall oldsharedinstall bininstall altbininstall +--- a/Python/sysmodule.c b/Python/sysmodule.c +@@ -1435,6 +1435,8 @@ + PyFloat_GetInfo()); + SET_SYS_FROM_STRING(long_info, + PyLong_GetInfo()); ++SET_SYS_FROM_STRING(_multiarch, ++PyString_FromString(MULTIARCH)); + #ifdef Py_USING_UNICODE + SET_SYS_FROM_STRING(maxunicode, + PyInt_FromLong(PyUnicode_GetMax()));
Bug#695959: (no subject)
After discussion on Bug #695958 here is an updated patch. This exposes the triplet on sys.implementation._multiarch === modified file 'debian/changelog' --- debian/changelog 2012-12-04 04:36:42 + +++ debian/changelog 2012-12-20 15:04:24 + @@ -1,3 +1,10 @@ +python3.3 (3.3.0-7) experimental; urgency=low + + * debian/patches/sys-implementation.diff: Expose multiarch triplet value +as sys.implementation._multiarch. Closes: #695959 + + -- Barry Warsaw ba...@python.org Fri, 14 Dec 2012 15:50:45 -0500 + python3.3 (3.3.0-6) experimental; urgency=low * Don't use xattrs on kfreebsd and the Hurd. === modified file 'debian/patches/series.in' --- debian/patches/series.in 2012-12-04 04:36:42 + +++ debian/patches/series.in 2012-12-14 20:52:45 + @@ -54,3 +54,4 @@ ext-no-libpython-link.diff add-python-config-sh.diff kfreebsd-xattrs.diff +sys-implementation.diff === added file 'debian/patches/sys-implementation.diff' --- debian/patches/sys-implementation.diff 1970-01-01 00:00:00 + +++ debian/patches/sys-implementation.diff 2012-12-20 13:00:31 + @@ -0,0 +1,28 @@ +--- a/Makefile.pre.in b/Makefile.pre.in +@@ -647,6 +647,7 @@ + Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile + $(CC) -c $(PY_CORE_CFLAGS) \ + -DABIFLAGS='$(ABIFLAGS)' \ ++ -DMULTIARCH='$(MULTIARCH)' \ + -o $@ $(srcdir)/Python/sysmodule.c + + $(IO_OBJS): $(IO_H) +--- a/Python/sysmodule.c b/Python/sysmodule.c +@@ -1534,6 +1534,15 @@ + if (res 0) + goto error; + ++/* For Debian multiarch support. */ ++value = PyUnicode_FromString(MULTIARCH); ++if (value == NULL) ++goto error; ++res = PyDict_SetItemString(impl_info, _multiarch, value); ++Py_DECREF(value); ++if (res 0) ++goto error; ++ + /* dict ready */ + + ns = _PyNamespace_New(impl_info);
Bug#695958: python2.7: Expose multiarch triplet in sys module
On Dec 19, 2012, at 11:57 PM, Matthias Klose wrote: hard-coding gcc is wrong. you should use CC and have this code at a position where it's clear which CC to use. if this patch is debian local, you can drop the dpkg-architecture check. This is actually much simpler than I first though. We already have a patch to calculate `gcc -print-multiarch` in configure.ac and it's already stashed in the MULTIARCH autoconf variable. So really, all my patch needs to do is to expose that in the sys module. _architecture is a bad name. just name it _multiarch, or obfuscate it even more (a name longer than single_version_externally_managed would be preferred). sys.implementation._multiarch is fine. Make sure that the tuple ends up in _sysconfigdata.py with a sensible name, e.g. HOST_MULTIARCH. The latter one can be overwritten for cross builds (once the 3.3 cross build changes are backported), and should be the preferred way to access this information. It's already there :) $ python3.3 -c import _sysconfigdata; print(_sysconfigdata.build_time_vars['MULTIARCH']) x86_64-linux-gnu $ python2.7 -c import _sysconfigdata; print(_sysconfigdata.build_time_vars['MULTIARCH']) x86_64-linux-gnu Updated patch attached. === modified file 'debian/changelog' --- debian/changelog 2012-12-10 19:10:32 + +++ debian/changelog 2012-12-20 15:10:49 + @@ -1,3 +1,10 @@ +python2.7 (2.7.3-13) experimental; urgency=low + + * debian/patches/sys-multiarch.diff: Expose multiarch triplet as +sys._multiarch. Closes: #695958 + + -- Barry Warsaw ba...@python.org Thu, 20 Dec 2012 08:53:42 -0500 + python2.7 (2.7.3-12) experimental; urgency=low * Fix typo in pkgconfig file. Closes: #695671, LP: #1088988. === modified file 'debian/patches/series.in' --- debian/patches/series.in 2012-12-10 16:06:41 + +++ debian/patches/series.in 2012-12-20 15:10:49 + @@ -66,3 +66,4 @@ lib2to3-no-pickled-grammar.diff add-python-config-sh.diff ssl.match_hostname.diff +sys-multiarch.diff === added file 'debian/patches/sys-multiarch.diff' --- debian/patches/sys-multiarch.diff 1970-01-01 00:00:00 + +++ debian/patches/sys-multiarch.diff 2012-12-20 15:10:49 + @@ -0,0 +1,25 @@ +--- a/Makefile.pre.in b/Makefile.pre.in +@@ -1304,6 +1304,11 @@ + + Python/thread.o: @THREADHEADERS@ + ++Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile ++ $(CC) -c $(PY_CORE_CFLAGS) \ ++ -DMULTIARCH='$(MULTIARCH)' \ ++ -o $@ $(srcdir)/Python/sysmodule.c ++ + # Declare targets that aren't real files + .PHONY: all build_all sharedmods oldsharedmods test quicktest memtest + .PHONY: install altinstall oldsharedinstall bininstall altbininstall +--- a/Python/sysmodule.c b/Python/sysmodule.c +@@ -1435,6 +1435,8 @@ + PyFloat_GetInfo()); + SET_SYS_FROM_STRING(long_info, + PyLong_GetInfo()); ++SET_SYS_FROM_STRING(_multiarch, ++PyString_FromString(MULTIARCH)); + #ifdef Py_USING_UNICODE + SET_SYS_FROM_STRING(maxunicode, + PyInt_FromLong(PyUnicode_GetMax())); === modified file 'debian/changelog' --- debian/changelog 2012-12-10 19:10:32 + +++ debian/changelog 2012-12-20 15:10:49 + @@ -1,3 +1,10 @@ +python2.7 (2.7.3-13) experimental; urgency=low + + * debian/patches/sys-multiarch.diff: Expose multiarch triplet as +sys._multiarch. Closes: #695958 + + -- Barry Warsaw ba...@python.org Thu, 20 Dec 2012 08:53:42 -0500 + python2.7 (2.7.3-12) experimental; urgency=low * Fix typo in pkgconfig file. Closes: #695671, LP: #1088988. === modified file 'debian/patches/series.in' --- debian/patches/series.in 2012-12-10 16:06:41 + +++ debian/patches/series.in 2012-12-20 15:10:49 + @@ -66,3 +66,4 @@ lib2to3-no-pickled-grammar.diff add-python-config-sh.diff ssl.match_hostname.diff +sys-multiarch.diff === added file 'debian/patches/sys-multiarch.diff' --- debian/patches/sys-multiarch.diff 1970-01-01 00:00:00 + +++ debian/patches/sys-multiarch.diff 2012-12-20 15:10:49 + @@ -0,0 +1,25 @@ +--- a/Makefile.pre.in b/Makefile.pre.in +@@ -1304,6 +1304,11 @@ + + Python/thread.o: @THREADHEADERS@ + ++Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile ++ $(CC) -c $(PY_CORE_CFLAGS) \ ++ -DMULTIARCH='$(MULTIARCH)' \ ++ -o $@ $(srcdir)/Python/sysmodule.c ++ + # Declare targets that aren't real files + .PHONY: all build_all sharedmods oldsharedmods test quicktest memtest + .PHONY: install altinstall oldsharedinstall bininstall altbininstall +--- a/Python/sysmodule.c b/Python/sysmodule.c +@@ -1435,6 +1435,8 @@ + PyFloat_GetInfo()); + SET_SYS_FROM_STRING(long_info, + PyLong_GetInfo()); ++SET_SYS_FROM_STRING(_multiarch, ++PyString_FromString(MULTIARCH)); + #ifdef Py_USING_UNICODE + SET_SYS_FROM_STRING(maxunicode, + PyInt_FromLong(PyUnicode_GetMax())); signature.asc Description: PGP signature
Bug#695959: (no subject)
Sorry, one more patch. This is the last one, I promise. === modified file 'debian/changelog' --- debian/changelog 2012-12-04 04:36:42 + +++ debian/changelog 2012-12-20 15:13:05 + @@ -1,3 +1,10 @@ +python3.3 (3.3.0-7) experimental; urgency=low + + * debian/patches/sys-multiarch.diff: Expose multiarch triplet value +as sys.implementation._multiarch. Closes: #695959 + + -- Barry Warsaw ba...@python.org Fri, 14 Dec 2012 15:50:45 -0500 + python3.3 (3.3.0-6) experimental; urgency=low * Don't use xattrs on kfreebsd and the Hurd. === modified file 'debian/patches/series.in' --- debian/patches/series.in 2012-12-04 04:36:42 + +++ debian/patches/series.in 2012-12-20 15:12:47 + @@ -54,3 +54,4 @@ ext-no-libpython-link.diff add-python-config-sh.diff kfreebsd-xattrs.diff +sys-multiarch.diff === added file 'debian/patches/sys-multiarch.diff' --- debian/patches/sys-multiarch.diff 1970-01-01 00:00:00 + +++ debian/patches/sys-multiarch.diff 2012-12-20 13:00:31 + @@ -0,0 +1,28 @@ +--- a/Makefile.pre.in b/Makefile.pre.in +@@ -647,6 +647,7 @@ + Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile + $(CC) -c $(PY_CORE_CFLAGS) \ + -DABIFLAGS='$(ABIFLAGS)' \ ++ -DMULTIARCH='$(MULTIARCH)' \ + -o $@ $(srcdir)/Python/sysmodule.c + + $(IO_OBJS): $(IO_H) +--- a/Python/sysmodule.c b/Python/sysmodule.c +@@ -1534,6 +1534,15 @@ + if (res 0) + goto error; + ++/* For Debian multiarch support. */ ++value = PyUnicode_FromString(MULTIARCH); ++if (value == NULL) ++goto error; ++res = PyDict_SetItemString(impl_info, _multiarch, value); ++Py_DECREF(value); ++if (res 0) ++goto error; ++ + /* dict ready */ + + ns = _PyNamespace_New(impl_info);
Bug#695707: (no subject)
Alioth svn updated with latest patch based on comments in bug #695958. Once that gets uploaded, then svn can get sponsored to fix the problem. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#679967: (no subject)
With 6.1.0 I can not reproduce this. I think Andreas fixed a lot of problems in this area, so I'll mark this as closed by the new version. Feel free of course to re-open if it happens again. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#208303: (no subject)
Forwarded upstream: https://bugs.launchpad.net/debian/+bug/1092794 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#695958: python2.7: Expose multiarch triplet in sys module
On Dec 19, 2012, at 12:50 PM, Jakub Wilk wrote: * Barry Warsaw ba...@python.org, 2012-12-14, 16:29: ++dnl Debian multiarch support in sys.implementation._architecture ++dnl Try `dpkg-architecture -qDEB_BUILD_MULTIARCH` first, then ++dnl `gcc --print-multiarch`. ++AC_SUBST(MULTIARCH_BUILD) ++AC_CHECK_PROG(HAS_DPKG_ARCHITECTURE, dpkg-architecture, found, not-found) ++if test $HAS_DPKG_ARCHITECTURE = found ++then ++MULTIARCH_BUILD=dpkg-architecture -qDEB_BUILD_MULTIARCH ++else ++AC_CHECK_PROG(HAS_GCC_FOR_ARCH, gcc, found, not-found) ++if test $HAS_GCC_FOR_ARCH = found ++then ++MULTIARCH_BUILD=gcc --print-multiarch ++else ++MULTIARCH_BUILD= ++fi ++fi s/DEB_BUILD_MULTIARCH/DEB_HOST_MULTIARCH/ presumably? Yes, I think you're right. Thanks. (Does it make sense to expose the other dpkg-architecture stuff, or should we just keep it simple?) signature.asc Description: PGP signature
Bug#695707: Fixing python-virtualenv for Python 2.7
If you apply the multarchi27.diff patch in bug #695958, then this patch to virtualenv will do the trick. Ignore the earlier two python-virtualenv patches. === modified file 'debian/changelog' --- debian/changelog 2012-11-30 15:06:23 + +++ debian/changelog 2012-12-12 19:11:43 + @@ -1,3 +1,10 @@ +python-virtualenv (1.8.4-2) experimental; urgency=low + + * debian/patches/multiarch.patch: Use system multiarch path if available. +Closes: #695707 + + -- Barry Warsaw ba...@python.org Wed, 12 Dec 2012 14:10:49 -0500 + python-virtualenv (1.8.4-1) experimental; urgency=low * Team upload. === added file 'debian/patches/multiarch.patch' --- debian/patches/multiarch.patch 1970-01-01 00:00:00 + +++ debian/patches/multiarch.patch 2012-12-17 19:26:03 + @@ -0,0 +1,24 @@ +Description: Use system multiarch path if available. +Author: Barry Warsaw ba...@python.org +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695707 +Forwarded: no + +--- a/virtualenv_embedded/site.py b/virtualenv_embedded/site.py +@@ -584,9 +584,13 @@ + paths.insert(0, lib64_path) + else: + paths.append(lib64_path) +-# This is hardcoded in the Python executable, but relative to sys.prefix: +-plat_path = os.path.join(sys.real_prefix, 'lib', 'python'+sys.version[:3], +- 'plat-%s' % sys.platform) ++# This is hardcoded in the Python executable, but relative to ++# sys.prefix. In Python 3.3+ the multiarch triplet lives in (as per ++# PEP 421) sys.implementation, but in Python 2.7 it lives in sys. ++multiarch = getattr(sys, 'implementation', sys)._architecture ++plat_path = os.path.join(sys.real_prefix, 'lib', ++ 'python'+sys.version[:3], ++ 'plat-%s' % multiarch) + if os.path.exists(plat_path): + paths.append(plat_path) + # This is hardcoded in the Python executable, but === modified file 'debian/patches/series' --- debian/patches/series 2012-11-30 15:06:23 + +++ debian/patches/series 2012-12-12 19:10:23 + @@ -2,3 +2,4 @@ use_distribute.patch system-python.patch entry-points.patch +multiarch.patch
Bug#695958: python2.7: Expose multiarch triplet in sys module
Package: python2.7 Version: 2.7.3~rc2-2.1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, We have several cases where the multiarch triplet is needed for the proper building or functioning of other Python modules or applications. A recent example is virtualenv. In the debian-python mailing list, several solutions for the virtualenv problem have been discussed, but all of them are unsatisfying. What we really need is an officially approved, common way of getting the triplet, that doesn't require shelling out or globbing the file system. When Python is built, it already knows (or can easily find out) what the triplet should be, so it's best if we expose this in the sys module. Attached is a patch similar to one discussed on debian-python. It exposes the triplet as `sys._architecture`. A similar patch will be made available for Python 3.3, except that there, it will be avialable under `sys.implementation._architecture` as per PEP 421. Bilingual Python code can use: import sys getattr(sys, 'implementation', sys)._architecture Cheers. - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python2.7 depends on: ii libbz2-1.0 1.0.6-4 ii libc6 2.13-37 ii libdb5.1 5.1.29-5 ii libexpat1 2.1.0-1 ii libgcc11:4.7.2-4 ii libncursesw5 5.9-10 ii libreadline6 6.2-8 ii libsqlite3-0 3.7.13-1 ii libtinfo5 5.9-10 ii mime-support 3.52-1 ii python2.7-minimal 2.7.3~rc2-2.1 python2.7 recommends no packages. Versions of packages python2.7 suggests: ii binutils 2.22-7.1 pn python2.7-doc none - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIbBAEBCAAGBQJQy5pQAAoJEBJutWOnSwa/e1QP91RxE/xWAUKQvSM08BEZsmW6 J7NEgCOz5GNIM2nG2VxTL2L2s3dxNNODhMi9r35RrmgSeTkkiUmMiqpL5hKPiVMs 5bjIA/GHYfdZp3wt52qBA2KckvW9D0257QoMs+d5j0lHs/syijTPLGvg9qAJx70L 4SsjZSCnJ4aKpYvu8je8RKc2lzmsLBuY6NuIoIRbee0KhZoXwXwb0y0JNpUj7r2T QlCiM9dh8OS2vMtiRmL27/jT1HWLnoT3tkBzkP/eaYP+wyhwbIsQ8q9Ltk5PtzMV gX/N7sy8QnetNopILxAhmK+h0O9OoH5Is4WrF8USsAJeb8TWLmxOjTTlDmHGyIde xOqj7hlhzc+uNzR/jB09j7Uszj7J0i0hunJadGCmCTk/OunY5Y+IKHBA78+JSNVI hF8j81p6iTg1BNzrcrKAwzbkXFWD/bUgK85xBP1wdtm6srIKVyBfSw5eqiuAVfgw SwLyhiqZPz+UeFXaSKgOGAYLW+do5qZdaQ64CbXTAjm5P/hZR7+xwfA0cnla9RT5 ZclZnHojln9uw/9i1mTMZ+278hnIbTzfzxRkmaNUmKN7VV0gDry9ltlUJtHsGb3C Kn/jYSVsnSqCV06qm2x4Gei5sPqlVN/TpuvEssf5ZnK40mSVMKvTDnit9Gvmh/yU viPWNZdWPBrqaSJ2gAc= =2fr2 -END PGP SIGNATURE- === modified file 'debian/changelog' --- debian/changelog 2012-12-10 19:10:32 + +++ debian/changelog 2012-12-14 20:24:32 + @@ -1,3 +1,10 @@ +python2.7 (2.7.3-13) experimental; urgency=low + + * debian/patches/sys-implementation.diff: Expose multiarch triplet value +as sys._architecture. + + -- Barry Warsaw ba...@python.org Fri, 14 Dec 2012 15:23:02 -0500 + python2.7 (2.7.3-12) experimental; urgency=low * Fix typo in pkgconfig file. Closes: #695671, LP: #1088988. === modified file 'debian/patches/series.in' --- debian/patches/series.in 2012-12-10 16:06:41 + +++ debian/patches/series.in 2012-12-14 20:24:32 + @@ -66,3 +66,4 @@ lib2to3-no-pickled-grammar.diff add-python-config-sh.diff ssl.match_hostname.diff +sys-implementation.diff === added file 'debian/patches/sys-implementation.diff' --- debian/patches/sys-implementation.diff 1970-01-01 00:00:00 + +++ debian/patches/sys-implementation.diff 2012-12-14 20:24:32 + @@ -0,0 +1,60 @@ +--- a/configure.ac b/configure.ac +@@ -24,6 +24,24 @@ + prefix=`echo $prefix | sed -e 's/\/$//g'` + fi + ++dnl Debian multiarch support in sys.implementation._architecture ++dnl Try `dpkg-architecture -qDEB_BUILD_MULTIARCH` first, then ++dnl `gcc --print-multiarch`. ++AC_SUBST(MULTIARCH_BUILD) ++AC_CHECK_PROG(HAS_DPKG_ARCHITECTURE, dpkg-architecture, found, not-found) ++if test $HAS_DPKG_ARCHITECTURE = found ++then ++MULTIARCH_BUILD=dpkg-architecture -qDEB_BUILD_MULTIARCH ++else ++AC_CHECK_PROG(HAS_GCC_FOR_ARCH, gcc, found, not-found) ++if test $HAS_GCC_FOR_ARCH = found ++then ++MULTIARCH_BUILD=gcc --print-multiarch ++else ++MULTIARCH_BUILD= ++fi ++fi ++ + dnl This is for stuff that absolutely must end up in pyconfig.h. + dnl Please use pyport.h instead, if possible. + AH_TOP([ +--- a/Makefile.pre.in b/Makefile.pre.in +@@ -40,6 +40,7 @@ + HGVERSION= @HGVERSION@ + HGTAG= @HGTAG@ + HGBRANCH= @HGBRANCH@ ++MULTIARCH_BUILD= @MULTIARCH_BUILD@ + + GNULD= @GNULD@ + +@@ -1304,6 +1305,11 @@ + + Python/thread.o: @THREADHEADERS@ + ++Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile ++ $(CC) -c $(PY_CORE_CFLAGS) \ ++ -DMULTIARCH_BUILD=\`LC_ALL=C $(MULTIARCH_BUILD
Bug#695959: python3.3: Expose multiarch triplet in sys module
Package: python3.3 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, We have several cases where the multiarch triplet is needed for the proper building or functioning of other Python modules or applications. A recent example is virtualenv. In the debian-python mailing list, several solutions for the virtualenv problem have been discussed, but all of them are unsatisfying. What we really need is an officially approved, common way of getting the triplet, that doesn't require shelling out or globbing the file system. When Python is built, it already knows (or can easily find out) what the triplet should be, so it's best if we expose this in the sys module. Attached is a patch similar to one discussed on debian-python. It exposes the triplet as sys.implementation_architecture. A similar patch has been made available for Python 2.7, except that there, it will be avialable under sys._architecture. Bilingual Python code can use: import sys getattr(sys, 'implementation', sys)._architecture Cheers. - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQy56RAAoJEBJutWOnSwa/W3wP/ili/1kfbJu7sZvy2LjrgYPJ TXepiU7cp1Ezj5ZQFNMZf7vT9vguamuQfXSXuEaMbzuB22oKaGfdBmVjO9uWppxY 3SJ6Qm8WKM2xcRGmGHVKgwBD7lH1AnUIVSWwz0UMqw7Q6gc2SIYI8ESEYfCvLMRV WVscW9iUMxrzBqHT099PWe7DdCWPhckEnNL76L+uNXkco3HgwasYo+mO/oHCoAVB h67VbWdc2FBo3sbtcf8UQVmAfXeWL5ek1qw7QL2MCAxFR+0rdqj3zRa80+ZhP3Tu zsJqzTietpaS8mnM5fSzsW6yWGutsuBk958cxb4jlKN88U6rvQvM0I+duYzVmSIU gP4iG/F4I5yEN1J41Jpm6xYBOjmmGyHRoDcsnRl3r0bjNnY1JmgymOjnQvTqTYso 0dUR+Oddvd/2PoMr1xWHHstCI5QszbTutXVWMf/cSZPkcbyWuJOTR8p0UU1WzOsO TDmp2OoT/h6/VYuK/MQbEAZMm11A704M4P4rcC2ct045ao/2zRGVJ5cbbvrTbU69 Dy6HbkqeNMBmXsU9jHdyD20jhC9c/WSF3hEKXnMsddNWu6AyM1/4dOrT6UJ1ufxT Gw26A15YtS+ySAcSmwYwb6YcaLjSMyOFpH9x4qpWbTVWZLGqxRccHsqMcfPHOrrr ZQpXIbw85BsTZ29UCbfP =vxcp -END PGP SIGNATURE- === modified file 'debian/changelog' --- debian/changelog 2012-12-04 04:36:42 + +++ debian/changelog 2012-12-14 20:52:07 + @@ -1,3 +1,10 @@ +python3.3 (3.3.0-7) experimental; urgency=low + + * debian/patches/sys-implementation.diff: Expose multiarch triplet value +as sys._architecture. + + -- Barry Warsaw ba...@python.org Fri, 14 Dec 2012 15:50:45 -0500 + python3.3 (3.3.0-6) experimental; urgency=low * Don't use xattrs on kfreebsd and the Hurd. === modified file 'debian/patches/series.in' --- debian/patches/series.in 2012-12-04 04:36:42 + +++ debian/patches/series.in 2012-12-14 20:52:07 + @@ -54,3 +54,4 @@ ext-no-libpython-link.diff add-python-config-sh.diff kfreebsd-xattrs.diff +sys-implementation.diff === added file 'debian/patches/sys-implementation.diff' --- debian/patches/sys-implementation.diff 1970-01-01 00:00:00 + +++ debian/patches/sys-implementation.diff 2012-12-14 20:52:07 + @@ -0,0 +1,63 @@ +--- a/configure.ac b/configure.ac +@@ -84,6 +84,24 @@ + prefix=`echo $prefix | sed -e 's/\/$//g'` + fi + ++dnl Debian multiarch support in sys.implementation._architecture ++dnl Try `dpkg-architecture -qDEB_BUILD_MULTIARCH` first, then ++dnl `gcc --print-multiarch`. ++AC_SUBST(MULTIARCH_BUILD) ++AC_CHECK_PROG(HAS_DPKG_ARCHITECTURE, dpkg-architecture, found, not-found) ++if test $HAS_DPKG_ARCHITECTURE = found ++then ++MULTIARCH_BUILD=dpkg-architecture -qDEB_BUILD_MULTIARCH ++else ++AC_CHECK_PROG(HAS_GCC_FOR_ARCH, gcc, found, not-found) ++if test $HAS_GCC_FOR_ARCH = found ++then ++MULTIARCH_BUILD=gcc --print-multiarch ++else ++MULTIARCH_BUILD= ++fi ++fi ++ + dnl This is for stuff that absolutely must end up in pyconfig.h. + dnl Please use pyport.h instead, if possible. + AH_TOP([ +--- a/Makefile.pre.in b/Makefile.pre.in +@@ -43,6 +43,7 @@ + HGVERSION= @HGVERSION@ + HGTAG= @HGTAG@ + HGBRANCH= @HGBRANCH@ ++MULTIARCH_BUILD= @MULTIARCH_BUILD@ + + GNULD= @GNULD@ + +@@ -647,6 +648,7 @@ + Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile + $(CC) -c $(PY_CORE_CFLAGS) \ + -DABIFLAGS='$(ABIFLAGS)' \ ++ -DMULTIARCH_BUILD=\`LC_ALL=C $(MULTIARCH_BUILD)`\ \ + -o $@ $(srcdir)/Python/sysmodule.c + + $(IO_OBJS): $(IO_H) +--- a/Python/sysmodule.c b/Python/sysmodule.c +@@ -1534,6 +1534,15 @@ + if (res 0) + goto error; + ++/* For Debian multiarch support. */ ++value = PyUnicode_FromString(MULTIARCH_BUILD); ++if (value == NULL) ++goto error; ++res = PyDict_SetItemString(impl_info, _architecture, value); ++Py_DECREF(value); ++if (res 0) ++goto error; ++ + /* dict ready */ + + ns = _PyNamespace_New(impl_info);
Bug#695707: (no subject)
On Dec 13, 2012, at 11:04 AM, Matthias Klose wrote: Am 12.12.2012 21:06, schrieb Barry Warsaw: Or this one... when creating a virtualenv, you usually know which interpreter you'll be using for the new env, so why not use the interpreter to get the name of the dir? python -S -c 'import sys, os.path; print [os.path.basename(d) for d in sys.path if os.path.basename(d).startswith(plat-)][0]' I really don't want to promote hacks like this. It will lead everyone to inventing their own slightly different ways of doing it, and then we'll have no clear recommendations, but a million opinions and hacks. Please see the discussion on debian-python. signature.asc Description: PGP signature
Bug#695707: (no subject)
How horrible is it to use dpkg-architecture? It adds a dependency on dpkg-dev, but that doesn't seem so bad to *me*. :) Attached is a patch that uses dpkg-architecture and fixes the problem for me. === modified file 'debian/changelog' --- debian/changelog 2012-11-30 15:06:23 + +++ debian/changelog 2012-12-12 19:11:43 + @@ -1,3 +1,10 @@ +python-virtualenv (1.8.4-2) experimental; urgency=low + + * debian/patches/multiarch.patch: Use system multiarch path if available. +Closes: #695707 + + -- Barry Warsaw ba...@python.org Wed, 12 Dec 2012 14:10:49 -0500 + python-virtualenv (1.8.4-1) experimental; urgency=low * Team upload. === modified file 'debian/control' --- debian/control 2012-04-22 17:34:40 + +++ debian/control 2012-12-12 19:13:44 + @@ -19,6 +19,7 @@ Depends: python-pkg-resources, python-setuptools, + dpkg-dev, ${misc:Depends}, ${python:Depends} Recommends: python-pip (= 0.7.2) === added file 'debian/patches/multiarch.patch' --- debian/patches/multiarch.patch 1970-01-01 00:00:00 + +++ debian/patches/multiarch.patch 2012-12-12 19:29:25 + @@ -0,0 +1,33 @@ +Description: Use system multiarch path if available. +Author: Barry Warsaw ba...@python.org +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695707 +Forwarded: no + +--- a/virtualenv_embedded/site.py b/virtualenv_embedded/site.py +@@ -83,6 +83,16 @@ + USER_SITE = None + USER_BASE = None + ++# Debian multiarch support. ++# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695707 ++# We can't use subprocess here. :/ ++try: ++with os.popen('dpkg-architecture -qDEB_HOST_MULTIARCH') as fp: ++host_arch = fp.read().splitlines()[0] ++except IndexError: ++host_arch = '' ++plat_arch = 'plat-%s' % (sys.platform if not host_arch else host_arch) ++ + _is_pypy = hasattr(sys, 'pypy_version_info') + _is_jython = sys.platform[:4] == 'java' + if _is_jython: +@@ -570,7 +580,7 @@ + # + # This is hardcoded in the Python executable, but relative to sys.prefix: + for path in paths[:]: +-plat_path = os.path.join(path, 'plat-%s' % sys.platform) ++plat_path = os.path.join(path, plat_arch) + if os.path.exists(plat_path): + paths.append(plat_path) + elif sys.platform == 'win32': === modified file 'debian/patches/series' --- debian/patches/series 2012-11-30 15:06:23 + +++ debian/patches/series 2012-12-12 19:10:23 + @@ -2,3 +2,4 @@ use_distribute.patch system-python.patch entry-points.patch +multiarch.patch
Bug#695707: (no subject)
Or this one... === modified file 'debian/changelog' --- debian/changelog 2012-11-30 15:06:23 + +++ debian/changelog 2012-12-12 19:11:43 + @@ -1,3 +1,10 @@ +python-virtualenv (1.8.4-2) experimental; urgency=low + + * debian/patches/multiarch.patch: Use system multiarch path if available. +Closes: #695707 + + -- Barry Warsaw ba...@python.org Wed, 12 Dec 2012 14:10:49 -0500 + python-virtualenv (1.8.4-1) experimental; urgency=low * Team upload. === modified file 'debian/control' --- debian/control 2012-04-22 17:34:40 + +++ debian/control 2012-12-12 19:13:44 + @@ -19,6 +19,7 @@ Depends: python-pkg-resources, python-setuptools, + dpkg-dev, ${misc:Depends}, ${python:Depends} Recommends: python-pip (= 0.7.2) === added file 'debian/patches/multiarch.patch' --- debian/patches/multiarch.patch 1970-01-01 00:00:00 + +++ debian/patches/multiarch.patch 2012-12-12 20:01:03 + @@ -0,0 +1,44 @@ +Description: Use system multiarch path if available. +Author: Barry Warsaw ba...@python.org +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695707 +Forwarded: no + +--- a/virtualenv_embedded/site.py b/virtualenv_embedded/site.py +@@ -83,6 +83,22 @@ + USER_SITE = None + USER_BASE = None + ++# Debian multiarch support. ++# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695707 ++# We can't use subprocess here. :/ ++host_architectures = [] ++for command in ['dpkg-architecture -qDEB_HOST_MULTIARCH', ++'gcc -print-multiarch', ++]: ++try: ++with os.popen(command) as fp: ++host_arch = fp.read().splitlines()[0] ++if host_arch not in host_architectures: ++host_architectures.append(host_arch) ++except IndexError: ++pass ++host_architectures.append('plat-%s' % sys.platform) ++ + _is_pypy = hasattr(sys, 'pypy_version_info') + _is_jython = sys.platform[:4] == 'java' + if _is_jython: +@@ -570,9 +586,10 @@ + # + # This is hardcoded in the Python executable, but relative to sys.prefix: + for path in paths[:]: +-plat_path = os.path.join(path, 'plat-%s' % sys.platform) +-if os.path.exists(plat_path): +-paths.append(plat_path) ++for host_arch in host_architectures: ++plat_path = os.path.join(path, host_arch) ++if os.path.exists(plat_path): ++paths.append(plat_path) + elif sys.platform == 'win32': + paths = [os.path.join(sys.real_prefix, 'Lib'), os.path.join(sys.real_prefix, 'DLLs')] + else: === modified file 'debian/patches/series' --- debian/patches/series 2012-11-30 15:06:23 + +++ debian/patches/series 2012-12-12 19:10:23 + @@ -2,3 +2,4 @@ use_distribute.patch system-python.patch entry-points.patch +multiarch.patch
Bug#690575: python-coverage for Python 3
On Dec 11, 2012, at 08:18 AM, Ben Finney wrote: Good idea. Port 9 is the “discard” service. But why that particular address? The Crazy Circumstantial Conditions of the Cult of the Cargo. This should probably be mandatory for any distutils based package. ;) It's a band-aid over the real problem, that of distutils expecting internet access for build/install actions. Well, yeah, there's that. It's a useful feature for some development regimes (virtualenv, buildout), if you trust PyPI of course, but I think we'll have more luck preventing it in package builds than changing Python/setuptools/distribute to change their behavior. signature.asc Description: PGP signature
Bug#690575: python-coverage for Python 3
On Dec 10, 2012, at 01:46 PM, Dmitry Shachnev wrote: It doesn't find python3 version on distribute, so calls use_setuptools() which tries to download one from pypi.python.org. This is a serious bug. You should add a build-dependency on python3-setuptools, and to be sure you may also want to remove lines 38–46 from setup.py. Also, please put this near the top of your d/rules file: -snip snip- # Prevent setuptools/distribute from accessing the internet. export http_proxy = http://127.0.9.1:9 -snip snip- This should probably be mandatory for any distutils based package. ;) signature.asc Description: PGP signature
Bug#694803: Wheezy beta4 installation report
driver in use: ata_piix 02:00.0 Ethernet controller [0200]: D-Link System Inc DGE-528T Gigabit Ethernet Adapter [1186:4300] (rev 10) Subsystem: D-Link System Inc DGE-528T Gigabit Ethernet Adapter [1186:4300] Kernel driver in use: r8169 Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card:[O] Configure network: [O] Detect CD: [O] Load installer modules: [O] Detect hard drives: [O] Partition hard drives: [O] Install base system:[O] Clock/timezone setup: [O] User/password setup:[O] Install tasks: [O] Install boot loader:[O] Overall install:[E ] Comments/Problems: Install went fine (grub installed) until first reboot (at end of installation process) Then had two problems which I've seen before, and I think people should be given workarounds for them if the installer can't cope with them. Both problems relate to CRT display, probably about failure of auto-detect. NB the machine's graphics device is on-motherboard and described as 'Intel® G33 x86/MMX/SSE2' Problem 1: on booting uncorrected install, part-way through boot process, display went blank with (display hardware-generated) box saying: 'Out of range ' HF=30-96 KHz ' VF=47-160 Hz '106 KHz 75Hz which I guess you can easily interpret. Disconcertingly, THIS HAPPENED EVEN WHEN BOOTING IN recovery MODE (apologies for shouting, but that's very disconcerting!) My workaround: edit grub command string by adding to linux command the string 'video=1024x768@75' (and boot in recovery mode to avoid entering X11). More permanent workaround: add this string as a default linux kernel para=meter in /etc/default/grub Problem 2: I had installed the Debian Desktop (gnome), and even with the 'Problem 1' workaround above, entry to X11 failed as in Problem 1. But at least I could ctrl-alt-F1 to a text terminal. My workaround: create (or copy across from previous install) a pretty minimal /etc/X11/xorg.conf with a couple of stanzas like: Section Monitor Identifier Hansol 920D VendorName Hansol ModelName 920D HorizSync 30.0 - 96.0 VertRefresh 47.0 - 160.0 Option DPMS EndSection Section Screen Identifier Default Screen MonitorHansol 920D EndSection With this in place, booting to gnome works fine. Hope that helps! Barry
Bug#693721: python2.7: modules built with distutils + --prefix=/usr not installed in sys.path
On Nov 30, 2012, at 05:24 AM, Matthias Klose wrote: So, Barry's [CCed] concern was that an upstream build without any options would include /usr/local/lib/python2.7/site-packages, which was used by debian policy as well. Therefore the debian system build now uses dist-packages for /usr and /usr/local. Otoh, it's most likely that you do want to use the system packages for everything else, e.g. when building library bindings. Historically[1], a from-source build of Python using the default configure, would install Python into /usr/local/bin, with /usr/local/lib/pythonX.Y/site-packages being where third party modules got installed. Debian's interpretation of the FHS allows system owners to install third party software outside of the packaging system to install Python modules into /usr/local/lib/pythonX.Y/site-packages, and for those to be visible to the system Python. Thus we have a clash, because if I install Python from source and some third party modules (e.g. for isolation from the system Python), I could potentially break my system Python. Worse, it might work on Solaris and Gentoo, but break on Debian and Ubuntu. The solution (many years field tested by now) was the switch to dist-packages as the place that the Debian packaging system installs modules and putting /usr/local/lib/pythonX.Y/dist-packages on sys.path. This eliminates potential conflicts between system Python and a from-source install. My suggestion for upstream Xen would be to amend its build command line to something like this: $(PYTHON) setup.py install --prefix=$(PREFIX) $(INSTALL_LAYOUT) Normally $INSTALL_LAYOUT would be empty so people doing Xen builds from source would just get whatever behavior is typical for the Python they're using. The Debian packager would then define INSTALL_LAYOUT='--install-layout=deb' and it would Just Work. Then, if Xen users wanted to install Xen from source into their system Python[2] they would have to either provide the $INSTALL_LAYOUT value, or add /usr/local/lib/pythonX.Y/site-packages to their sys.path manually. Cheers, -Barry [1] I'm not sure how far back it goes, but at least since 1994 when I became involved in Python, but it was true for other *nix free software long before that. [2] Which I personally think is a bit suspect since IMHO only Debian packages should be used with the system Python - and why not use virtualenv or a from-source build of Python? signature.asc Description: PGP signature
Bug#693721: python2.7: modules built with distutils + --prefix=/usr not installed in sys.path
On Nov 30, 2012, at 10:27 AM, Ian Campbell wrote: BTW, why is this Debian specific? Don't all these arguments about system-python vs. custom-python apply to all distros? Or is this stuff going to happen upstream too? It might not, since not all distros or platforms have the same interpretation of /usr/local as Debian does. signature.asc Description: PGP signature
Bug#693721: python2.7: modules built with distutils + --prefix=/usr not installed in sys.path
FWIW, let's reference the Python documentation for --prefix: http://docs.python.org/2.7/install/index.html#alternate-installation-unix-the-prefix-scheme On Nov 30, 2012, at 04:37 PM, Ian Campbell wrote: What this bug is about is what happens when I build a 3rd party module for use with the system Python using --prefix=/usr. In this case the modules are installed to /usr/lib/python2.7/site-packages/ even though I built against the system Python. This means that the system Python doesn't see the module which I built for it. I can interpret the referenced documentation in two ways. On first reading of Python's prefix scheme, it seems that using --prefix=/usr only should indeed install into site-packages. But the documentation also says this: Incidentally, the real reason the prefix scheme is important is simply that a standard Unix installation uses the prefix scheme, but with --prefix and --exec-prefix supplied by Python itself as sys.prefix and sys.exec_prefix. Thus, you might think you’ll never use the prefix scheme, but every time you run python setup.py install without any other options, you’re using it. Given that the system Python's sys.prefix and sys.exec_prefix are both /usr, then you could reasonably expect these two commands to be the same: $ python setup.py install $ python setup.py install --prefix=/usr and of course, they are not. It's not just {dist,site}-packages that are different but that the former uses /usr/local by default. [2] Which I personally think is a bit suspect since IMHO only Debian packages should be used with the system Python I wholeheartedly disagree with this. It is entirely reasonable for users to want to use a simple 3rd party module with the system Python without having to rebuild the whole Python system (including all the modules they use which *are* in Debian) from source. They don't have to rebuild the whole Python system of course. You can use `virtualenv --system-site-packages` and then just build the special stuff into the virtualenv. Everything else, you get from the system. The reason I don't favor installing 3rd party packages into /usr outside of the packaging system is that it becomes much more difficult to manage your Python system when you do this. What if you find that the newer Xen (or one of its automatically installed dependencies) breaks your system? How do you uninstall things and get back to a clean state? Sadly distutils doesn't really provide package management support so without the Debian packaging system, you can't really be certain you've cleaned things up properly. In a very real sense then, if you do this, you're own your own, and you probably have more to worry about than adding --install-layout=deb or removing --prefix and letting things get installed into /usr/local/lib/pythonX.Y/dist-packages. As you note, the latter would still be importable by your system Python, but is definitely much easier to clean up after. - and why not use virtualenv or a from-source build of Python? It is unreasonable to expect users to have to build Python from source just to do a build of a newer version of Xen (or any other python module) than is packaged in Debian. As I've mentioned, there are other workaround that I would *personally* recommend (e.g. virtualenv), but one thing is also not clear to me. From your original bug report: Removing the --prefix=$(PREFIX) results in installation into /usr/local/lib/python2.7/dist-packages/ which is in the sys.path (so correct in that sense) but doing this in the Xen tree removes the option for people to install Xen to an alternate prefix (e.g. I think NetBSD uses --prefix=/usr/pkg or some such). Why couldn't you change the Xen build system to look something like this: $(PYTHON) setup.py install $(PREFIX) and leave $PREFIX empty by default? Then you'd get acceptable behavior on Debian, and leave open the possibility for NetBSD users to provide `PREFIX=--prefix=/usr/pkg`. Also, why doesn't NetBSD do the right thing with no --prefix? signature.asc Description: PGP signature
Bug#694564: pep8: Support Python 3
Package: pep8 Version: 1.2-1 Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Upstream package already supports Python 3, such that you can do: $ python3 -c 'import pep8' It would be nice to get a Python 3 compatible pep8 package into Debian as well. I think it would be pretty easy, and I'm happy to contribute a patch, but there's one small detail to work out. Most Python packages are named python-foo so it's easy to add a python3-foo version, which is the current recommendation. However, this binary package is just 'pep8'. Should we name the Python 3 version python3-pep8 anyway? Should you rename pep8 to python-pep8? Or maybe the pep8 package would be just the executable, with python-pep8 and python3-pep8 being the libraries. What do you think? - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pep8 depends on: ii python2.7.3~rc2-1 ii python-pkg-resources 0.6.24-1 ii python-setuptools 0.6.24-1 ii python2.6 2.6.8-0.2 ii python2.7 2.7.3~rc2-2.1 pep8 recommends no packages. pep8 suggests no packages. - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQtRvoAAoJEBJutWOnSwa/qvYP/jWNwG3u9pRcj3XEsmarepAy jzRwkC77b5TSEXY/tePN6kgtasfLyliofocyGqAbz6NedEVtwnxhqZ6eNQB+5Z+C UmLfyIGa9pgsq8i0pmPCgc0c/7nEfUHjBHDNVgaADpdgWGnRbDkiIH9SjEvYsr+Q vONDWtFFVAsC0Xnc9CE7f/Plmt+/csNsXiIn2JLFn4NLSpzeQTuNu+/Qx4+SB/dv 28LmbJDGsIQpd7jR8KyWfChq35x9oXzHDn43jKE5d0Os9QRWQmrmNc8S2+PwMGRP hB6tlwdWuBfmD9ZHk0ErB2DUMsaQ0D31cXhTDfsrA6NjakoAGu6AJHLcj7i5Aufg 7vOgfdQzb5FtJRm543iWuQfHvZlk6N+Rv7QdO7peyMq20vV4I+R+jZjkvJbIg9yb bMmtzn3zzuG071AL8O5N8FJnZ/pb8EC+72lutw9kzbe/kcH+FPnmSXxHekEk/4yy ZEstcWRxgEHGQAccJIfnXQW/I9Zo9O2InWhYSIqrnPb8sZyCMqXvSHeA0BQLuCcI KWX9iYQLF6cgGtYygcTjrVL4x3bdw5p37Gin6pxWe648D65H85F9PFqHrTGZzhYk 2QUsn9uz+X2CpIZff71CWXqs5Cg4yLo9t79HJwIMlWhtqjLtMYOHhKzAkdqD23+y EeaB72MpAJqMpmWaaNRS =Rf1S -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683053: (no subject)
I understand that there are issues with 2.7.3 final, some but not all of which are resolved. I would personally prefer to see 2.7.3 final in Wheezy, as it will provide a stable base release which ought to be common across different distros. Better I think to unblock 2.7.3-5 (now, in sid) and file rc bugs for any failures that might still exist. signature.asc Description: PGP signature
Bug#664759: (no subject)
Okay, I did a bit more work on the packaging and svn-injected it into the python-apps svn repo: http://anonscm.debian.org/viewvc/python-apps/packages/tox/ I'll ask for a review/sponsorship from debian-python. Thanks Bradley for laying out the start of the packaging! signature.asc Description: PGP signature
Bug#692602: python3-requests: Upgrade to new upstream version 0.14.2
Package: python3-requests Version: 0.12.1-1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Latest upstream version on PyPI is 0.14.2. I am in the process of upgrading the Ubuntu 13.04 version of the package (LP: #1076107) and will add a patch when that's uploaded. - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python3-requests depends on: ii ca-certificates 20120623 ii python3 3.2.3-5 ii python3-six 1.1.0-2 Versions of packages python3-requests recommends: ii python3-chardet 2.0.1-1 python3-requests suggests no packages. - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQmru8AAoJEBJutWOnSwa/OWEQAIJm3XChfiI9TOHc+sMNVSsX w6OnfMfKtPxax2mPx8DIW5qkakJTxKLyhMmBXjzXzYwiOuJRpB5EyukzKBTGirX5 eWpMrQeYM20cGqaYqyzKDYiwp8k9rWBIfNEjawfW+QG4YxFTtO+IbokocsSMPAwD LCYV9WTfCSnjAGN7qkPI8kI/umcFp6BS5CjTQ45/gdJSKlgfYLOcuCvecdo0TN3N OE5BVgk6muMW8sF11Cb7yS+CNsq/oTBABzx/iuRtQZjLM1D/CvrbGspNZVsmGJw7 fBUE7830NSFzcD11FxNbpdPLQtE4Z1PqP4AjN4/AhfHrxOjuETFMsn6h/bb5yPlt nUXNhSlEtSRQqFHMtgVyOH1viYYo21SYW2QozQN9GH5f8gLXSVU3lmHY1wS1uXII jWaKhRjUILMBmLAZp5G3h4dU7qFWgPsyGWNKYSPScHWrXw/JOj5+x9c0FojwyT7V 6Y/tD/s7oua+nRAg+PLsWj/2fox55yF6ViJbERihkieFcuf7i5vswS9peKARD+yj ClMtdnKZqVgJlBRwMZ+mwTZ74GfTNERaGlIKlVKYpr9o9NqsWnQDquTILaKSE5CA z1qSHO/p9T6F6fYOjML+GVPRAzm+6l1osdsx2Qw/ewA2/IWvvkwxQJN8XC2K4yMu yqW1H4lO7LBtA5/8mIKw =jXcf -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#692602: (no subject)
Attached is the diff against the Ubuntu version of the package. You should be able to extract the relevant changes for the Debian version, but because you might be interested in our delta from Debian, I'm including the entire diff. If not, let me know and I can prepare a diff just for the Debian version. === modified file 'debian/changelog' --- debian/changelog 2012-09-13 14:55:21 + +++ debian/changelog 2012-11-07 20:11:05 + @@ -1,3 +1,15 @@ +requests (0.14.2-0ubuntu1) raring; urgency=low + + * New upstream release (LP: #1076107). Remaining changes: +- debian/patches/01_do-not-use-python-certifi.patch: No longer necessary. +- debian/patches/02_do-not-use-embedded-python-six.patch: refreshed +- debian/patches/03-dont-use-embeded-urllib3.patch: refreshed and + renamed to 03-use-distro-packages.patch +- debian/control: python-chardet and python3-chardet are now required + (i.e. Depends instead of Recommends). + + -- Barry Warsaw ba...@ubuntu.com Thu, 01 Nov 2012 14:56:00 +0100 + requests (0.12.1-1ubuntu6) quantal; urgency=low * debian/control: Resolve Depends misspelling of python-urllib3. === modified file 'debian/control' --- debian/control 2012-09-13 14:55:21 + +++ debian/control 2012-11-07 19:46:11 + @@ -11,6 +11,7 @@ python3-all, python3-six, python-chardet, + python3-chardet, python-urllib3, python3-urllib3, python-gevent, @@ -30,9 +31,9 @@ ${python:Depends}, ca-certificates, python-urllib3, - python-six + python-six, + python-chardet Recommends: - python-chardet, python-gevent, python-oauthlib Description: elegant and simple HTTP library for Python, built for human beings @@ -61,8 +62,7 @@ ${python3:Depends}, ca-certificates, python3-urllib3, - python3-six -Recommends: + python3-six, python3-chardet Description: elegant and simple HTTP library for Python3, built for human beings Requests allow you to send HTTP/1.1 requests. You can add headers, form data, === removed file 'debian/patches/01_do-not-use-python-certifi.patch' --- debian/patches/01_do-not-use-python-certifi.patch 2012-05-04 14:34:47 + +++ debian/patches/01_do-not-use-python-certifi.patch 1970-01-01 00:00:00 + @@ -1,17 +0,0 @@ -Description: To verify SSL certificates for HTTPS requests, use the bundle - provided by ca-certificates instead of python-certifi. -Author: Daniele Tricoli er...@mornie.org -Forwarded: not-needed -Last-Update: 2012-05-04 - a/setup.py -+++ b/setup.py -@@ -32,7 +32,7 @@ - # On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can - # use the system CA bundle instead; see `requests.utils` for details. - # If your platform is supported, set `requires` to [] instead: --requires = ['certifi=0.0.7'] -+requires = [] - - # chardet is used to optimally guess the encodings of pages that don't declare one. - # At this time, chardet is not a required dependency. However, it's sufficiently === modified file 'debian/patches/02_do-not-use-embedded-python-six.patch' --- debian/patches/02_do-not-use-embedded-python-six.patch 2012-04-01 12:33:42 + +++ debian/patches/02_do-not-use-embedded-python-six.patch 2012-11-01 14:03:01 + @@ -5,45 +5,47 @@ --- a/requests/packages/urllib3/connectionpool.py +++ b/requests/packages/urllib3/connectionpool.py -@@ -51,7 +51,7 @@ +@@ -52,7 +52,7 @@ ) - + from .packages.ssl_match_hostname import match_hostname, CertificateError -from .packages import six +import six - - + + xrange = six.moves.xrange --- a/requests/packages/urllib3/filepost.py +++ b/requests/packages/urllib3/filepost.py -@@ -14,8 +14,8 @@ - +@@ -10,8 +10,8 @@ + from uuid import uuid4 from io import BytesIO - + -from .packages import six -from .packages.six import b +import six +from six import b - + writer = codecs.lookup('utf-8')[3] - + --- a/requests/packages/urllib3/response.py +++ b/requests/packages/urllib3/response.py @@ -11,7 +11,7 @@ from io import BytesIO - - from .exceptions import HTTPError + + from .exceptions import DecodeError -from .packages.six import string_types as basestring +from six import string_types as basestring - - + + log = logging.getLogger(__name__) --- a/requests/packages/urllib3/util.py +++ b/requests/packages/urllib3/util.py -@@ -16,7 +16,7 @@ +@@ -18,7 +18,7 @@ except ImportError: # `select` doesn't exist on AppEngine. select = False - + -from .packages import six +import six from .exceptions import LocationParseError + + === removed file 'debian/patches/03-dont-use-embeded-urllib3.patch' --- debian/patches/03-dont-use-embeded-urllib3.patch 2012-09-07 09:06:26 + +++ debian/patches/03-dont-use-embeded-urllib3.patch 1970-01-01 00:00:00 + @@ -1,60 +0,0 @@ -Description: Do not use embeded copy of python-urllib3 -Author: Chuck Short zul...@ubuntu.com -Forwarded: non-need -Last-Update: 2012-09-05 -diff -Naurp requests-0.12.1.orig/requests/models.py requests-0.12.1/requests/models.py requests-0.12.1
Bug#692602:
On Nov 08, 2012, at 12:04 AM, Daniele Tricoli wrote: Hello Barry, On Wednesday 07 November 2012 21:18:27 Barry Warsaw wrote: Attached is the diff against the Ubuntu version of the package. You should be able to extract the relevant changes for the Debian version, but because you might be interested in our delta from Debian, I'm including the entire diff. If not, let me know and I can prepare a diff just for the Debian version. Many thanks for your work! I followed the Ubuntu bug but I was a litte busy so your patch arrives in a perfect time. I don't intend to diverge for your work, but I think I will able to use this entire diff. Due to the freeze I will ask for an upload on experimental. Is this a problem for Ubuntu? For the bug tracker (since we chatted on IRC): this is perfect. I'll resync when the upload lands in experimental. Tell me if I can do more. Many thanks and kind regards, Perfect, and thanks! Although I forgot to file a bug on it, I also updated to the latest upstream of python-urllib3 (1.5). We did have to add a few patches to that package, but it would be great to also get that updated in Debian too. Since you're the maintainer of that package too, will you grab the Ubuntu (raring) version for experimental, or would you like me to file a separate bug on that? signature.asc Description: PGP signature
Bug#691509: python-zope.interface: Upgrade to zope.interface 4.0.1
Package: python-zope.interface Version: 3.6.1-3 Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, wheezy/sid currently has zope.interface 3.6.1, but this is over two years old. One specific problem is that this version is not compatible with Python 3.3 because of LP: #900906, which is fixed in zope.interface 4.0.0. The current latest version on PyPI is 4.0.1 so it would be good to upgrade to that version. There are a lot of reverse dependencies though, so upgrading z.i could entail upgrading other ZTK packages. I have not yet done that analysis. - -- System Information: Debian Release: wheezy/sid APT prefers quantal-updates APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal'), (100, 'quantal-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5.0-17-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-zope.interface depends on: ii libc6 2.15-0ubuntu20 ii python2.7.3-0ubuntu7 ii python-pkg-resources 0.6.28-1ubuntu2 ii python2.7 2.7.3-5ubuntu4 python-zope.interface recommends no packages. python-zope.interface suggests no packages. - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJQirXHAAoJEBJutWOnSwa/HToP/0kbMSTzRaD12igbBbtSjRdZ XtScR2sR3Oq2D3bYZgotW4qhmm+B+l9uI7ZCGyc09XO1Z9oscN62gLMRXvJ9sDrG e3heREOrRknfuueZuZi0+qqWfUszro1PB/8oEt7jT6L5SYglkNdlb6z1g8Qqmevj X7mjqRIVSqmwk9ZCd4eqOOy9RqGqLEzC/h9ishYHPUFIi7ZkGus5Q6CVd2ou/wd4 JbF+IelYnG/yXTOSDADIpixujJkkmoHVPIPBAT50TOZmkG6vlpZGnPvEy0yDPe5F OIs6MP7minzKIf7pcn85G4AhjxwAP0t7XS3Y3G7dtshGSo0KTLiiPyatVuWy0W3U EO3nxFKLWbQJiyJ6yNhCZ1z1UtBEObplYXntfgtljoYhA8I00Jey4ctRgzY/Tb9q +gwoiKN+WJ9UIeJBL/pl8IE6SAaJEFyjgTEkopMolzu9RL46UIUsTpNcixrXtuzw JF4Z7EC4dRx2062lwuGBHh7O38XxhHpSvZlk9XQEVsWQvNn4eNopG1D+JgKQDGgN wuXKaEW7icH1j5RlQqHETbYnT8LrGcxKmzWtlLjDvdgQ4j/HjzhmVfONxQ+3hfSN GLlE7IjcnGVztvvgcbYdFdz9Ckt2pyZ+UlNRAtlJySSCOy+Rrp283yNKYN/JXA+E cv/7ygjLa2h02jwP70R0 =2YKh -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#691509: (no subject)
Tracking this in Ubuntu as LP: #1071845 https://bugs.launchpad.net/debian/+source/zope.interface/+bug/1071845 signature.asc Description: PGP signature
Bug#690575: python-coverage: upstream coverage supports python 3
Package: python-coverage Version: 3.4-3 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, When bug #635476 is addressed (new upstream version), please also add support for Python 3, which upstream coverage supports. - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-coverage depends on: ii libc6 2.13-35 ii libjs-jquery 1.7.2+debian-2.1 ii libjs-jquery-tablesorter 6-1 ii python2.7.3~rc2-1 ii python-pkg-resources 0.6.24-1 ii python2.6 2.6.8-0.2 ii python2.7 2.7.3~rc2-2.1 python-coverage recommends no packages. python-coverage suggests no packages. - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQfFeYAAoJEBJutWOnSwa/8isQAIYodcBfsMdRHVpCbEvS6s1v 3QwY0WvMsVubreU3ZpxD11SM4OzRbvkOWXkNypB+2vtqSqSZ3kMYon6F2thP4O4M 2+XZCmMJMIYxDtY4COxI7rGOtYtNN8rPKJ5kGEN9391YBZPiE/ZldFaXxze6bZkb oyydgVmCzVyGQM1vjsT6uNynwNgaDvakcIiJYUb+WAKX6APsdfL8Z9Dmvo2i3cRT PfSOUbdrrH+yVQuNLSqOw8Wyekq2hII4G45t/PZe/i4EKKw3fi2sCyWm95p2dG9S TAsLkOioDSIZ+gSYbi5qHMfWi7/1Pdo2kHowC7MabfprtcfQs+PPKCn1qkr837kI NiCgVSDEHGUFufq2ckntdTTZzWyTYQuEgAWwxRhQBQlYjWRv/gN6nD6p9GlAC1XA iRQKjeVoclT3FZJDZ5E0uMj/SvlwZj/N0w3ykONF/5hqdxJX2gkw4KAm+VMhpFcg eGOOCZr5K3/5NZotPubzoGMVnihRhv7InkEoRX8S6xjPOx6uP6qkQ1ahPGqO3Nn5 wgAFT4Tcqv98WIk/0n5G9YHUxly6IvwR3/6yHvgtGLxHxroJf8+0qxedTvjSzCm3 vP6PVLqKQzJWqSWBSqgWmRa7pCYvmrGPLY/pI3yGoKpcZctIiGQA5HPF1nfbNTkw buvn6o3Wi699NPJQKpQZ =0Pf/ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#690259: python3: 'make tests' uses wrong executable
Package: python3 Version: 3.2.3-5 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, In the top level directory of the source package, run this: $ make tests This will fail because 'nosetests-3' is not a valid executable. It should be nosetests3 (from the python3-nose package). - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python3 depends on: ii python3-minimal 3.2.3-5 ii python3.23.2.3-2 python3 recommends no packages. Versions of packages python3 suggests: pn python3-doc none pn python3-tk none - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQdw9iAAoJEBJutWOnSwa/ITUP/1Kajh00Z03ENiTn/2Yds3Zp K9qcjx9H8fhK/+T/bkBjVKszw/9nWt7sXk6L1bWHLaip9bDbr47PYqpsrQ8xQdAh aHASv7emF8+9mMFH85vzPqxjg2JxCQJPJEgtDi9G8BVICLDTg4U5Gm5v2q5JZf0R cd9/aooOOUv7XsYOmt2tUYPMVqXXCWXAa9pTjIR9TWJSE+ayrW4cEnI4hDalA6Au SpEQD34Lvg9jFJuSDBxb61iV3tDTxNfzxMCkQisBGb6Q3KSbAo6kP9OiuXANqUQh gNBkolxrCLlifzk3t+BBZtiZSFMwlXc64wlnyW0O+MdS/pF2w8dWjRECSWa1BBRT Gw1adro33Mas2TNwN7fnoLYXzcUrP+l1wtRe5cCuKKRVu8B6WVkbZfKD77RJV1Jd cL9oIvyt8iXKJMZy/cam2jQe70IsG9GzKUgnZ35ZD+yVwBoRUyiP7fqYJXFtIo6U Lx4l974rwsJiFSVYb+8l7uXiH9cdYb7Db/Sf6QAIwdjSz6FhebDVBNru4gD8jj+R ODgcPT3X3B9AQHj1/brhul+LuY5hASWLtfKuxYwRN2PxD4n3dph/CNEfWE7xHXDV 8aeBpBjtYpT+pWm7Fujvw6DlhYpumKDPwyWhYWMQ2zlAfZ26RuDa59yWZgwuFb1E +XEUke9eRQ+HDWjgPgcR =aHqG -END PGP SIGNATURE- === modified file 'Makefile' --- Makefile 2012-06-30 19:32:37 + +++ Makefile 2012-10-11 18:22:32 + @@ -35,7 +35,7 @@ # TESTS nose: - nosetests-3 --with-doctest --with-coverage + nosetests3 --with-doctest --with-coverage tests: nose make -C tests
Bug#672178: dh_python3: not ready for Python 3.3
Package: python3 Version: 3.2.3-5 Followup-For: Bug #672178 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, The attached patch fixes both bug 672178 and 690259. It should allow python3-defaults to be compatible with Python 3.3 now. - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python3 depends on: ii python3-minimal 3.2.3-5 ii python3.23.2.3-2 python3 recommends no packages. Versions of packages python3 suggests: pn python3-doc none pn python3-tk none - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQd0bXAAoJEBJutWOnSwa/51kP/2T6pYPY65NLDuON4VH8JlYy uR017VxOGPbaLR++ahZorjawoiQxqtfWAsjnrB61of/xGt3ixz20/hDkB5TEyFF5 WOHv87cxTNaFMbKbetX6WDUg2FXI8pQtb2sLt9iBH7JjY5S6yp1pztfrG2L1q3ra Relqi59ChmI2W5F1qSkVRDiMHtkGnag6J2um5+RJ09vFHdw+MlwrvO5gt/LJyFAB qu5c1K0uIu744WQMdRbsz7O+Rq5QqAKqPmwcAzPLZ7tOC+iOJJE6V+vNdi32h2V6 HFyisGcIcEO0c+mrEy/wdqzhJRSRdsNgbvOFG+6PMhX/T2MOGP7BWfhPq61AvEGv GsN+vlM3yEY5oRKG+bfHWhTKf76+6PDh8ET18YXw44YT2itTnQ3DU12dy1s8RZxg lh/cRgagNE5ku7vIto7SPsO3QqotXN6zabrz5k4NTEjj0oR+TDjsbQftiRsNNOSj A5515TGRK0l7yyeRTakWWU4jLbmTk1xmYhDHyEwNsgT9Sedq7R3BgE8MDONwXOt0 fXhAmaUXEQjbisLJCS76YCXeEVU0sO7cb+zMEXoLevX4jsglXFLIwGJ43LPSenZ8 PWGFBxwfs7XasH1YxKcHMJib395jUTrVdkc8YBSYiwZPB7jGQ8zG4DeTMydUjXIF hJPgq9KZZHrAix5FIB63 =hf+j -END PGP SIGNATURE- === modified file 'Makefile' --- Makefile 2012-06-30 19:32:37 + +++ Makefile 2012-10-11 19:08:03 + @@ -35,7 +35,7 @@ # TESTS nose: - nosetests-3 --with-doctest --with-coverage + nosetests3 --with-doctest --with-coverage tests: nose make -C tests === modified file 'README.derivatives' --- README.derivatives 2011-03-13 22:13:08 + +++ README.derivatives 2012-10-11 21:33:21 + @@ -1,7 +1,8 @@ How to change a list of supported Python versions? ~~ -* Open debian/debian_defaults file and change `supported-versions` variable +* Open debian/debian_defaults file and change `supported-versions` variable, + separating multiple values by comma * Open debian/control.in file and edit python3-all, python3-all-dev and python3-all-dbg's Depends line (add or remove pythonX.Y packages) * Open debpython/versions.py file and edit `SUPPORTED` list around @@ -14,8 +15,6 @@ * Open debian/debian_defaults file and change `default-version` variable * Open debian/rules file and edit `VER` variable (default version), `NVER` (default + 1 version) and `PVER` (default version with python prefix) -* Open debian/py3versions.py file and edit `debian_default` variable around - line 171 * Open debpython/versions.py file and edit `DEFAULT` variable around line 27 === modified file 'debian/changelog' --- debian/changelog 2012-09-19 22:17:51 + +++ debian/changelog 2012-10-11 21:44:11 + @@ -1,3 +1,17 @@ +python3-defaults (3.2.3-7) UNRELEASED; urgency=low + + * dh_python3: Rework calculation of extension tags to add support for +Python 3.3's different suffixes, and to allow for unadorned .so files +to assume they are built with the default Python 3 version. +Closes: 672178 + * README.derivatives: It is no longer necessary to edit +debian/py3versions.py since the values are taken from +debian_defaults. Also added some text on how to separate the +specification when multiple versions are supported. + * Makefile: Fix the nosetests3 command. Closes: 690259 + + -- Barry Warsaw ba...@python.org Thu, 11 Oct 2012 15:09:02 -0400 + python3-defaults (3.2.3-6) unstable; urgency=low [ Piotr Ożarowski ] === modified file 'dh_python3' --- dh_python3 2012-06-30 19:15:05 + +++ dh_python3 2012-10-11 19:04:38 + @@ -47,9 +47,17 @@ log = logging.getLogger(__name__) os.umask(0o22) -# tag that will be added to .so files without one -EXTENSION_TAG = 'cpython-%smu' -DBG_EXTENSION_TAG = 'cpython-%sdmu' +# Tag that will be added to .so files without one. Because these values are +# different between versions of Python 3 (e.g. 3.2 has dmu but 3.3 only has +# dm), this maps vrepr()'s to extension templates. +EXTENSION_TAGS = { +'3.2': 'cpython-%smu', +'3.3': 'cpython-%sm', +} +DBG_EXTENSION_TAGS = { +'3.2': 'cpython-%sdmu', +'3.3': 'cpython-%sdm', +} TAG_RE = re.compile(r'-([0-9]{2})[^-.]*\.so$') # naming conventions used in the file: @@ -132,17 +140,23 @@ ### PACKAGE DETAILS def tagged_extname(fname, version, dbg_package=False): Return tagged extension name for given file version. -vers = vrepr(version) # make sure it's a string -vers = vers.replace('.', '') +extkey = vrepr(version) # make sure it's a string +vers = extkey.replace
Bug#672178: (no subject)
Apologies for the syntax error in the Closes text. signature.asc Description: PGP signature
Bug#572072: (no subject)
For all intents and purposes, computer-janitor is abandonware. https://bugs.launchpad.net/ubuntu/+source/computer-janitor/+bug/1050071 signature.asc Description: PGP signature
Bug#674083: debian/rules style for python-tz
Apologies for not responding sooner, this one got buried in my inbox. On Sep 19, 2012, at 05:41 PM, Thomas Kluyver wrote: I think Barry's key suggestion was to avoid using for loops to handle multiple versions of Python 3. The example in LibraryStyleGuide uses rules like this: build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build CCed Barry in case he wants to offer other suggestions about modernising d/rules. For reference, the current d/rules file in Debian is here: http://anonscm.debian.org/viewvc/pkg-zope/python-tz/trunk/debian/rules?view=markup I happen to like this style over the explicit for-loop because it's more succinct, and lets make do the hard lifting. It's easier to describe to folks, and easier to cargo cult, so I think in general it makes for less problematic d/rules files. Functionally, the two styles achieve the same results, so it's hard to argue on that point. Several of us debian-python folks settled on the current recommendations after much discussion in various forums, including tracker issues. Of course, the decision about which to use is always up to the maintainer, however I still personally recommend the LibraryStyleGuide version for Debian Python packagers. Cheers, -Barry And yep, I can't wait for python-multibuild ;). Maybe we need to get dh support for Python 3 in the meantime? signature.asc Description: PGP signature
Bug#661441: (no subject)
I added a merge proposal on the Ubuntu bug which fixes the FTBFS (and adds the `set -x` flag in d/rules). I'm not sure upstream would approve of the patch, since it's not clear to me whether the bogus SCRIPT tag should be entirely stripped or not. But in the absence of upstream response to their bug, this does fix the FTBFS. Here's the Ubuntu bug: https://bugs.launchpad.net/ubuntu/quantal/+source/genshi/+bug/935516 and the merge proposal with the diff: https://code.launchpad.net/~barry/ubuntu/quantal/genshi/lp935516/+merge/127596 signature.asc Description: PGP signature
Bug#689327: python-mode: Update copyrights
Package: python-mode Version: 1:6.0.12-1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 $ debdiff python-mode_6.0.10-1.dsc python-mode_6.0.12-1.dsc | grep -i copyright +;; Copyright (C) 2009,2010 Joao Tavora +;; Copyright (C) 2012 Urs Fleisch +;; Copyright (C) 2012 Urs Fleisch +;; Copyright (C) 2004, 2005, 2007, 2008, 2009 William Xu +# Copyright 2005-2007 Matt Mackall m...@selenic.com - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-mode depends on: ii emacs23 [emacsen] 23.4+1-4 ii python 2.7.3~rc2-1 Versions of packages python-mode recommends: pn pychecker none pn pymacs none Versions of packages python-mode suggests: pn pylint none pn python-ropemacs none - -- no debconf information -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQabx1AAoJEBJutWOnSwa/JVYP/j8G0chzmOPprtHvcfXnaP5T Nh+Zt9RM42KMDTJ1EM+o7ubzVGYrpO9WbxBJwJ15Gx+qwI070C32GxdV45jOF0XF yyZRCTaSjwXKiXMAfTYWiV8NOUCkVGgXLj1TJXlLF48U0BCqOHJ7q9tFqPZc0DSw FfzPNfkcjin5yV0kyRJMTsowRDxuN772AY0fV41+39NX8YAmKEJgdndtE/pTuXCJ d68+IFZtD3LzxY++kE3fSfBmwUNlDHAwenPjdgoTEDfsJY2lR8287Vpyk9fSfUsZ wzTDAELWUBz3WMKqoR5FCTYnV3+k/d5Mqw3B5BMT54mNP1ym+O4244jeQ0Bwb9Wv jEaMcIJKRvTa7NwbRrasr91G9WMfTriLwEVe3xYtQt15XJRsAzoEMoEW1bjDT8A5 JDFKeFKK5HcAmFNquQcErn0mdTmVUuVF/B2DW13WnsuJNLJZWWtAOXO/cXr5Vgfq tu4/eWSP0xh0n7bXU34FPuwSKFFWk310CF6DuTh77m72JrP02xxfIQNHPAgJZHDp uXoJBWuDXax7Ea0TZ2mu23qmFXTmCZK5GWQ6lEy4FpM6oUYbUkqMw1yX3IruSpy4 AKtkDDnoJRLNSuVfQxjnZ1+yLKdX9pWUek/FuBuG03MVzBrvtxtbA+bPE2PRztlZ o557J2CiqU0k53nYd3zb =LHO+ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#681502: (no subject)
Submitted to upstream at https://bugs.launchpad.net/debian/+source/python-mode/+bug/1058261 As mentioned in the upstream bug, when testing my soon-to-be-uploaded 6.0.12 package on unstable with `emacs -q`, I see the following differences: * Jumping to the end of the file shows me proper syntax highlighting. * While scrolling up does stall, emacs eventually responds to C-g signature.asc Description: PGP signature
Bug#328894: (no subject)
I cannot reproduce this with python-mode 6.0.12 (soon to be uploaded). Is this still a problem for you? signature.asc Description: PGP signature
Bug#329234: (no subject)
In python-mode.el, when I crash the sub-interpreter, I see this: -snip snip- Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) [GCC 4.6.3] on linux2 import ctypes i = ctypes.c_char('a') j = ctypes.pointer(i) c = 0 while True: ... j[c] = 'a' ... c += 1 ... Process python segmentation fault (core dumped) -snip snip- which seems good enough to me. signature.asc Description: PGP signature
Bug#680578: (no subject)
Is XEmacs even still available in Wheezy? % aptitude search xemacs % sudo apt-get install xemacs21 Reading package lists... Done Building dependency tree Reading state information... Done Package xemacs21 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'xemacs21' has no installation candidate % lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux testing (wheezy) Release:testing Codename: wheezy signature.asc Description: PGP signature
Bug#680577: (no subject)
I'll add the requested skip in 1:6.0.12-1, but I can't test it as I don't have emacs21 installed and it's not available in Wheezy. At least the skip doesn't seem to break installation on emacs23 :). signature.asc Description: PGP signature
Bug#657395: RFS: cinnamon/1.5.2-1 [ITP] -- Innovative and comfortable desktop
May I strongly request that a DD sponsor cinnamon (and muffin) so that it is in Wheezy? Many of us, long time Debian advocates and ambassadors, simply do not desire to move from GNOME2 to (vanilla) GNOME3. Cinnamon is a critical package to preserve efficiency and our workflows within GNOME3. It would really be a shame to drop the ball on this -- this is one bit of choice that I think is quite essential for Wheezy, and deserves to get in despite the freeze. Cheers, -Don -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#685167: py3clean removes *.pyc of foreign packages
On Sep 19, 2012, at 07:20 AM, Dmitry Shachnev wrote: @Scott: please merge Barry's branch :) I also think we should use a different version number (something like 3.2.3.6) to fix bug #684431. Piotr mentioned he was going to try to get to it today. signature.asc Description: PGP signature
Bug#685167: (no subject)
So I agree that this is a legitimate bug, and the patch does appear to fix the problem, at least in the use case given. I'm just not sure it does it in the right way. I'm confused by a few things in the original code. Looking at the docstring for destroyer() we see: Remove every .py[co] file associated to received .py file. :param magic_tag: if None, removes __pycache__ directories, if False, removes python3.1's .pyc files only, otherwise removes given magic tag from __pycache__ directory :type magic_tag: None or False or str Dmitry's patch changes this documented behavior because when magic_tag=None, it will *not* remove the __pycache__ directory if that happens to be /usr/lib/python3/dist-packages. So if the patch is accepted, the docstring at least has to be updated. (Aside: if you really wanted to remove the entire __pycache__ directory and everything in it, I wonder why one call to shutil.rmtree() wasn't used instead?) (Aside2: imp.cache_from_source() would give you the tagged .pyc file to remove, but i guess of course the problem is that the version of Python 3 running py3clean won't necessarily match the version of pyc files you want to clean up. Still, I might use imp.cache_from_source() first, then split the basename and substitute for the tags, or glob for the tags part of the resulting file name.) destroyer()'s documented behavior only makes sense when you're dealing with a private package. Otherwise, for public packages, it should never be correct to remove the __pycache__ directory and all its contents. An empty /usr/lib/python3/dist-packages/__pycache__ shouldn't ever hurt. Unfortunately, py3clean doesn't know whether it's dealing with a private or public package. I don't think `-p package` gives it enough information, though perhaps there's a way to find out from the package name that I'm missing. The other thing I'd do is instead of hard-coding python3/dist-packages, I'd probably compare the resulting directory against the list given by site.getsitepackages(): import site site.getsitepackages() ['/usr/local/lib/python3.2/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.2/dist-packages', '/usr/lib/dist-python'] If the directory being cleaned were any of these, then don't empty them out. So I guess if no one else has any other suggestions, then the following changes should be made to the patch, after which it could be applied: * compare against site.getsitepackages() for directories that should not be removed. * update the docstring to indicate that site package directories are not removed even if magic_tag is None signature.asc Description: PGP signature
Bug#685167: py3clean removes *.pyc of foreign packages
On Sep 18, 2012, at 07:37 PM, Dmitry Shachnev wrote: On Tue, 18/09/2012 11:05 -0400, Barry Warsaw wrote: So I guess if no one else has any other suggestions, then the following changes should be made to the patch, after which it could be applied: * compare against site.getsitepackages() for directories that should not be removed. * update the docstring to indicate that site package directories are not removed even if magic_tag is None Done, the updated patch attached. Thanks for the suggestions! Also, I've updated my branch at lp:~mitya57/+junk/python3-defaults so that it can be easily merged. Thanks for making the changes. Note that the above branch has some other changes which aren't related to this bug. I'm disinclined to include those fixes here for that reason, and also because i think there are better ways to do it, e.g. by using a context manager to handle the automatic closing of the files, instead of relying on potentially buggy explicit .closes() signature.asc Description: PGP signature
Bug#685167: py3clean removes *.pyc of foreign packages
On Sep 18, 2012, at 07:37 PM, Dmitry Shachnev wrote: On Tue, 18/09/2012 11:05 -0400, Barry Warsaw wrote: So I guess if no one else has any other suggestions, then the following changes should be made to the patch, after which it could be applied: * compare against site.getsitepackages() for directories that should not be removed. * update the docstring to indicate that site package directories are not removed even if magic_tag is None Done, the updated patch attached. Thanks for the suggestions! Also, I've updated my branch at lp:~mitya57/+junk/python3-defaults so that it can be easily merged. I'll commit this to alioth bzr after I do some additional local testing, but it generally looks pretty good. Thanks! I made a few minor changes, such as using os.path.splitext() instead of assuming the extension is 3 characters long (it probably always will be, but splitext() is safer). I also added a bunch of comments so that it's clearer what's going on. I'll have to request sponsorship since I can't upload this myself. signature.asc Description: PGP signature
Bug#685167: py3clean removes *.pyc of foreign packages
Okay, I don't have permission either to commit changes to pkg-python. My branch, ready for merging and sponsorship, is at bzr branch bzr+ssh://bzr.debian.org/home/users/warsaw-guest/public_bzr/pkg-python/bug-685167 dget http://barry.warsaw.us/debian/python3-defaults_3.2.3-6.dsc signature.asc Description: PGP signature
Bug#681645: ptlib: FTBFS on Debian GNU/Hurd [patch attached]
Eugen, My apologies, I haven't been able to get back to this.. Thanks for doing it! Barry On 8/14/2012 4:58 AM, Eugen Dedu wrote: tags 681645 fixed-upstream thanks I committed them: http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revisionrevision=28199 http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revisionrevision=28200 It remains the question on OSS. On 15/07/12 02:10, Barry deFreese wrote: Package: ptlib Version: 2.10.4~dfsg-1 Severity: important User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently ptlib fails to build on Debian GNU/Hurd. Attached is a patch for building on Hurd. It also requires a fix to remove the --enable-oss flag when building on Hurd as we don't have sound support. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#682413: Possible solution.
I was having the same problem as you WRT: The mouse cursor wanders around a lot, esp. when a finger is resting on it, making precise pointing infuriating. I'm using the same hardware and kernel module. $ uname -a Linux CN212851 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64 GNU/Linux $ lsusb |grep -i synapt Bus 003 Device 004: ID 06cb:0009 Synaptics, Inc. Composite TouchPad and TrackPoint $ lsmod |grep synaptic synaptics_usb 12912 0 usbcore 128498 5 ehci_hcd,ohci_hcd,usbhid,synaptics_usb After configuring the trackpoint device's acceleration and deceleration, I am no longer infuriated. Try this in a terminal: $ xinput list |grep -i trackpoint ⎜ ↳ Synaptics Inc. Composite TouchPad / TrackPointid=10 [slave pointer (2)] ⎜ ↳ Synaptics Inc. Composite TouchPad / TrackPoint (Stick)id=11 [slave pointer (2)] (Stick) is id=11 xinput --set-prop 11 'Device Accel Constant Deceleration' 3 xset m 5 1 Reference: https://wiki.archlinux.org/index.php/Mouse_acceleration If this helps you (and others) too, perhaps the module dev(s) could make these the default settings for trackpoint devices. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#523558: sdlmm -- is there still interest in this package?
On 7/22/2012 10:44 AM, Manuel A. Fernandez Montecelo wrote: Hello Barry, all, Is there still interest in packaging this library for Debian (SDL wrapper for C++ ). There's some work done in SVN by Barry, but it was never actually uploaded -- why? The project seems stangnant/dead upstream, and there are other projects providing C++ wrappers or similar (sdllucid and sdlpp in sourceforge, probably others). At this point, is the only thing remaining in SVN instead of Git. I can just move it and leave it alone, but I thought that it would be better to ask in the case, so maybe somebody actually goes ahead and uploads a package; or prefers to not have our repository cluttered with packages not uploaded. It serves also as a ping for the WNPP bug. Cheers. Hi Manuel, I was working on it as a build-dep for some package but I will be damned if I can remember why since I have been out of the loop for so long If you don't get any response back from anyone else I would say just drop it. Thanks! Barry -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#674073: (no subject)
Just a quick reply because I'm interested in being able to import Cython in my Python 3 library's setup.py. It's a bit non-standard to have cython and cython3 packages, but it's probably too much work (or maybe infeasible, I haven't looked) to split the package into a python-cython, python3-cython, and cython packages where the first two would be the importable Cython library for Python 2 and 3, while the latter would contain the 'cython' script. I'd vote for cython3 unless a split is easy. For question #2, `cython --help` shows both a -2 and -3 option to generate the appropriate version of code. I'm not sure if you need both a cython and cython3 script in that case, although I guess the latter would default to `cython -3`. Of course, I'd rather it just generate Python 3 code by default, but that's just me. :) I'll try the patch against 0.16 in Ubuntu and follow up later. I want a Python 3 version in Ubuntu 12.10 even if it's blocked temporarily for Debian Wheezy's freeze. signature.asc Description: PGP signature
Bug#674073: [Python-apps-team] Bug#674073: (no subject)
On Jul 18, 2012, at 09:04 PM, Yaroslav Halchenko wrote: do you have 0.16 already? any patches for fixing failing tests (I am yet to either figure them out or just bisect since seems many to be fixed upstream): https://buildd.debian.org/status/package.php?p=cythonsuite=experimental I just sync'd from experimental to quantal, but haven't tried the package yet. I'm building my Xapian bindings in a virtualenv against the PyPI 0.16 at the moment. I'll take a look at the package tomorrow. I want a Python 3 version in Ubuntu 12.10 even if it's blocked temporarily for Debian Wheezy's freeze. hopefully we would 'stabilize' it in experimental as well ;) For sure! I haven't yet ran my magical script to see which build-dependees get broken by 0.16 ;) Maybe we'll find out in Quantal. :) signature.asc Description: PGP signature
Bug#681731: libomxil-bellagio: FTBFS on Debian GNU/Hurd and kfreeBSD
Package: libomxil-bellagio Version: 0.9.3-1 Severity: important User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently libomxil-bellagio fails to build on Debian GNU/Hurd and kfreeBSD. Attached is a patch for building that works on both. Right now it just disables a couple of debugging outputs that use Linux specific syscalls. It would be better to find a more portable solution. On thought would be to use pthread_self() but that isn't guaranteed to return an integer. Thank you, Barry deFreese Index: libomxil-bellagio-0.9.3/src/base/omx_base_component.h === --- libomxil-bellagio-0.9.3.orig/src/base/omx_base_component.h 2012-07-15 23:19:41.0 + +++ libomxil-bellagio-0.9.3/src/base/omx_base_component.h 2012-07-15 23:20:04.0 + @@ -32,7 +32,9 @@ #include string.h #include unistd.h #include errno.h +#if defined(__linux__) #include asm/unistd.h +#endif #ifdef ANDROID_COMPILATION #include oscl_base_macros.h Index: libomxil-bellagio-0.9.3/src/base/omx_base_component.c === --- libomxil-bellagio-0.9.3.orig/src/base/omx_base_component.c 2012-07-15 23:20:04.0 + +++ libomxil-bellagio-0.9.3/src/base/omx_base_component.c 2012-07-15 23:20:04.0 + @@ -1440,9 +1440,11 @@ omx_base_component_PrivateType* omx_base_component_Private = (omx_base_component_PrivateType*)openmaxStandComp-pComponentPrivate; internalRequestMessageType *message; +#if defined(__linux__) DEBUG(DEB_LEV_FUNCTION_NAME, In %s for component %p\n, __func__, openmaxStandComp); omx_base_component_Private-bellagioThreads-nThreadMessageID = (long int)syscall(__NR_gettid); DEBUG(DEB_LEV_SIMPLE_SEQ, In %s the thread ID is %i\n, __func__, (int)omx_base_component_Private-bellagioThreads-nThreadMessageID); +#endif while(1){ /* Wait for an incoming message */ Index: libomxil-bellagio-0.9.3/src/base/omx_base_filter.c === --- libomxil-bellagio-0.9.3.orig/src/base/omx_base_filter.c 2011-01-12 07:53:26.0 + +++ libomxil-bellagio-0.9.3/src/base/omx_base_filter.c 2012-07-15 23:27:00.0 + @@ -26,7 +26,9 @@ */ #include unistd.h +#if defined(__linux__) #include asm/unistd.h +#endif #include omxcore.h #include omx_base_filter.h @@ -94,9 +96,11 @@ OMX_BOOL isInputBufferNeeded=OMX_TRUE,isOutputBufferNeeded=OMX_TRUE; int inBufExchanged=0,outBufExchanged=0; +#if defined(__linux__) omx_base_filter_Private-bellagioThreads-nThreadBufferMngtID = (long int)syscall(__NR_gettid); DEBUG(DEB_LEV_FUNCTION_NAME, In %s of component %p\n, __func__, openmaxStandComp); DEBUG(DEB_LEV_SIMPLE_SEQ, In %s the thread ID is %i\n, __func__, (int)omx_base_filter_Private-bellagioThreads-nThreadBufferMngtID); +#endif DEBUG(DEB_LEV_FUNCTION_NAME, In %s\n, __func__); /* checks if the component is in a state able to receive buffers */ Index: libomxil-bellagio-0.9.3/src/base/omx_base_source.c === --- libomxil-bellagio-0.9.3.orig/src/base/omx_base_source.c 2011-01-12 07:53:26.0 + +++ libomxil-bellagio-0.9.3/src/base/omx_base_source.c 2012-07-15 23:28:57.0 + @@ -78,8 +78,10 @@ OMX_BOOL isOutputBufferNeeded = OMX_TRUE; int outBufExchanged = 0; +#if defined(__linux__) omx_base_source_Private-bellagioThreads-nThreadBufferMngtID = (long int)syscall(__NR_gettid); DEBUG(DEB_LEV_SIMPLE_SEQ, In %s the thread ID is %i\n, __func__, (int)omx_base_source_Private-bellagioThreads-nThreadBufferMngtID); +#endif DEBUG(DEB_LEV_FUNCTION_NAME, In %s \n, __func__); while(omx_base_component_Private-state == OMX_StateIdle || omx_base_component_Private-state == OMX_StateExecuting || Index: libomxil-bellagio-0.9.3/src/base/omx_base_sink.c === --- libomxil-bellagio-0.9.3.orig/src/base/omx_base_sink.c 2011-01-12 07:53:26.0 + +++ libomxil-bellagio-0.9.3/src/base/omx_base_sink.c2012-07-15 23:29:46.0 + @@ -76,8 +76,10 @@ OMX_BOOLisInputBufferNeeded = OMX_TRUE; int inBufExchanged = 0; +#if defined(__linux__) omx_base_sink_Private-bellagioThreads-nThreadBufferMngtID = (long int)syscall(__NR_gettid); DEBUG(DEB_LEV_SIMPLE_SEQ, In %s the thread ID is %i\n, __func__, (int)omx_base_sink_Private-bellagioThreads-nThreadBufferMngtID); +#endif DEBUG(DEB_LEV_FUNCTION_NAME, In %s \n, __func__); while(omx_base_component_Private-state == OMX_StateIdle || omx_base_component_Private-state == OMX_StateExecuting || omx_base_component_Private-state == OMX_StatePause ||
Bug#681645: ptlib: FTBFS on Debian GNU/Hurd [patch attached]
Package: ptlib Version: 2.10.4~dfsg-1 Severity: important User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently ptlib fails to build on Debian GNU/Hurd. Attached is a patch for building on Hurd. It also requires a fix to remove the --enable-oss flag when building on Hurd as we don't have sound support. Thank you, Barry deFreese Index: ptlib-2.10.4~dfsg/configure === --- ptlib-2.10.4~dfsg.orig/configure2012-07-14 21:43:50.0 + +++ ptlib-2.10.4~dfsg/configure 2012-07-14 21:44:26.0 + @@ -4358,6 +4358,24 @@ ;; + gnu*)OSTYPE=gnu ; + OSRELEASE=\`uname -r`\; + OS_TAG=P_GNU ; + need_pragma=yes ; + +$as_echo #define P_PTHREADS 1 confdefs.h + + +ac_fn_cxx_check_func $LINENO swab ac_cv_func_swab +if test x$ac_cv_func_swab = xyes; then : + +$as_echo #define USE_SYSTEM_SWAB /**/ confdefs.h + +fi + + ;; + + freebsd*|kfreebsd*) OSTYPE=FreeBSD ; OS_TAG=P_FREEBSD ; if test x$OSRELEASE = x; then Index: ptlib-2.10.4~dfsg/include/ptbuildopts.h.in === --- ptlib-2.10.4~dfsg.orig/include/ptbuildopts.h.in 2012-07-14 21:43:50.0 + +++ ptlib-2.10.4~dfsg/include/ptbuildopts.h.in 2012-07-14 21:44:26.0 + @@ -50,6 +50,7 @@ #undefP_MACOSX #undefP_CYGWIN #undefP_MINGW +#undefP_GNU #undefP_UNKNOWN_OS #ifndef _WIN32_WCE Index: ptlib-2.10.4~dfsg/include/ptlib/Nucleus++/ptlib/pmachdep.h === --- ptlib-2.10.4~dfsg.orig/include/ptlib/Nucleus++/ptlib/pmachdep.h 2012-07-14 21:43:50.0 + +++ ptlib-2.10.4~dfsg/include/ptlib/Nucleus++/ptlib/pmachdep.h 2012-07-14 21:44:26.0 + @@ -62,6 +62,23 @@ #endif /// +#if defined(P_GNU) + +#include paths.h +#include errno.h +#include signal.h +#include sys/ioctl.h +#include sys/fcntl.h +#include sys/termios.h +#include unistd.h +#include net/if.h +#include netinet/in.h +#include dlfcn.h + +#define HAS_IFREQ +#define PSETPGRP() setpgrp() + +/// #elif defined(P_FREEBSD) #if defined(P_PTHREADS) Index: ptlib-2.10.4~dfsg/include/ptlib/Nucleus++/ptlib/ptlib.inl === --- ptlib-2.10.4~dfsg.orig/include/ptlib/Nucleus++/ptlib/ptlib.inl 2012-07-14 21:43:50.0 + +++ ptlib-2.10.4~dfsg/include/ptlib/Nucleus++/ptlib/ptlib.inl 2012-07-14 21:44:26.0 + @@ -29,7 +29,7 @@ * $Id: ptlib.inl 25251 2011-03-04 11:12:05Z rjongbloed $ */ -#if defined(P_LINUX) +#if defined(P_LINUX) || defined(P_GNU) #if (__GNUC_MINOR__ 7) #include localeinfo.h #else Index: ptlib-2.10.4~dfsg/include/ptlib/unix/ptlib/pmachdep.h === --- ptlib-2.10.4~dfsg.orig/include/ptlib/unix/ptlib/pmachdep.h 2012-07-14 21:43:50.0 + +++ ptlib-2.10.4~dfsg/include/ptlib/unix/ptlib/pmachdep.h 2012-07-14 21:44:26.0 + @@ -61,6 +61,23 @@ #endif /// +#elif defined(P_GNU) + +#include paths.h +#include errno.h +#include signal.h +#include sys/ioctl.h +#include sys/fcntl.h +#include sys/termios.h +#include unistd.h +#include net/if.h +#include netinet/in.h +#include netinet/tcp.h +#include dlfcn.h + +#define HAS_IFREQ + +/// #elif defined(P_FREEBSD) #if defined(P_PTHREADS) Index: ptlib-2.10.4~dfsg/include/ptlib/unix/ptlib/ptlib.inl === --- ptlib-2.10.4~dfsg.orig/include/ptlib/unix/ptlib/ptlib.inl 2012-07-14 21:43:50.0 + +++ ptlib-2.10.4~dfsg/include/ptlib/unix/ptlib/ptlib.inl2012-07-14 21:44:26.0 + @@ -29,7 +29,7 @@ * $Id: ptlib.inl 19008 2007-11-29 09:17:41Z rjongbloed $ */ -#if defined(P_LINUX) +#if defined(P_LINUX) || defined(P_GNU) #if (__GNUC_MINOR__ 7 __GNUC__ = 2) #include localeinfo.h #else Index: ptlib-2.10.4~dfsg/include/ptlib/object.h === --- ptlib-2.10.4~dfsg.orig/include/ptlib/object.h 2012-07-14 21:43:50.0 + +++ ptlib-2.10.4~dfsg/include/ptlib/object.h2012-07-14 21:44:26.0 + @@ -755,6 +755,9 @@ #ifdef P_LINUX + sizeof(pthread_t) #endif +#ifdef P_GNU + + sizeof(pthread_t) +#endif )%8 }; @@ -769,6 +772,9 @@ #ifdef P_LINUX pthread_tthread; #endif +#ifdef
Bug#673709: sg3-utils: FTBFS hurd-i386
Hi, It seems that OS_xxx_TRUE and OS_xxx_FALSE do not get defined on GNU/Hurd. I was hoping that defining GNU/Hurd as OS_LINUX would work but it doesn't as it tries to bring in the scsi includes from Linux. Ideally the whole source tree would need to be updated to include OS_GNU_TRUE but it looks like a bit of work. I will see if I can get to it. Thanks, Barry deFreese -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#681273: upgrade-reports: keyboard and mouse not responding after upgrade
Package: upgrade-reports Severity: important Dear Maintainer, I did a dist-upgrade and rebooted to console where the keyboard was working fine. I then did a startx and the KDE desktop came up fine except the keyboard and mouse do not respond. This is a laptop with an external mouse. Unplugging and plugging the mouse back in fixed the mouse. ssh'ing into the machine and run udevadm trigger fixes the keyboard. Bill -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#681028: libfilehandle-fmode-perl: FTBFS on Debian GNU/Hurd
Package: libfilehandle-fmode-perl Version: 0.11-1 Severity: important User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently libfilehandle-fmode-perl fails to build on Debian GNU/Hurd due to Hurd including O_RDONLY in O_RDWR, etc. Attached is a patch for building on Hurd. I have also tested the patch on GNU/Linux on i386. I haven't tested it on other archs/OSs. Thank you, Barry deFreese --- libfilehandle-fmode-perl-0.11.orig/Fmode.pm +++ libfilehandle-fmode-perl-0.11/Fmode.pm @@ -1,5 +1,5 @@ package FileHandle::Fmode; -use Fcntl qw(O_WRONLY O_RDWR O_APPEND F_GETFL); +use Fcntl qw(O_ACCMODE O_RDONLY O_WRONLY O_RDWR O_APPEND F_GETFL); use strict; require Exporter; @@ -45,7 +45,7 @@ return 0; } my $fmode = fcntl($_[0], F_GETFL, my $slush = 0); -if(defined($fmode) !($fmode O_WRONLY) !($fmode O_RDWR)) {return 1} +if(defined($fmode) ($fmode O_ACCMODE) == O_RDONLY) {return 1} return 0; } @@ -61,7 +61,7 @@ return 0; } my $fmode = fcntl($_[0], F_GETFL, my $slush = 0); -if($fmode O_WRONLY) {return 1} +if(defined($fmode) ($fmode O_ACCMODE) == O_WRONLY) {return 1} return 0; } @@ -87,7 +87,7 @@ return 0; } my $fmode = fcntl($_[0], F_GETFL, my $slush = 0); -if($fmode O_RDWR) {return 1} +if(defined($fmode) ($fmode O_ACCMODE) == O_RDWR) {return 1} return 0; }
Bug#679968: in ipython shell -- inserts history substitution before the prompt line -- renders python-mode interactive use with ipython unusable
On Jul 02, 2012, at 04:45 PM, Yaroslav Halchenko wrote: if python-mode.el is affected, please open a ticket also at https://bugs.launchpad.net/python-mode isn't python-mode.el belonging to python-mode package the one responsible for setting up ipython shell comint mode??? (sorry, I just do not know those details) I don't either since I'm not an ipython user. Barry, I thought you had some handy way to forward bugs to LP or have misunderstood? We can easily link bugs in Launchpad to the related bug in Debian, but that's about it. N.B. Ideally, I am as a user report bugs in Debian using reportbug, and then the mighty Maintainer either fixes them himself or forwards upstream (i.e. LP). Who am I to steal the pleasure of maintainership duties away from him ? ;) and as you kindly pointed out -- it might not be a bug of python-mode.el?... +1 ** busy fixing a bug in numpy and forwarding it upstream ATM. Yay! signature.asc Description: PGP signature
Bug#679584: python-mode: Enable tests during package build time
Package: python-mode Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Upstream suggests that the tests can be run from the command line via: python-mode-tests.sh in the tests directory. For higher quality package, these should be run at package build time. - -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-mode depends on: ii emacs [emacsen]23.4+1-3 ii emacs23 [emacsen] 23.4+1-3 ii python 2.7.3~rc2-1 ii python2.6 2.6.7-4 ii python2.7 2.7.3~rc2-2.1 Versions of packages python-mode recommends: pn pychecker none pn pymacs none Versions of packages python-mode suggests: pn pylint none pn python-ropemacs none -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJP7iReAAoJEBJutWOnSwa/JLYQAJZ8kVGDaL0cmjo0sXJDjbTS 98Y4EuxDCDrQ6JSMJ0uppCinWLjUKxzoDImzfaCJisiNaiOXOpnRvaay9g05FdKB /SFR0mt8OtOAtt/xWoBowVKrXkzAH/rWdCa0YY3RIw+EuOa9RjlVlhZ3AKSMevpr j0/tfgGk0Y/xxXCr5myGaMSGdlQITiPMl1OdOdCM+ooJxm5xD3VxuJsBTBJLY+XR ignBanRfB+7UTx+17fQJwq+31zbJrsTS2bGcqsTr4ZqW5eR5tvgmrgVSHCG//gh5 m68SUNzGFow+fGwtYMDXNwLxYEui17z2ebxvjkAZuRPJqWOkXoc774N0osS/34YY Cxk9YleXIRYNsspLdo0R7hYf7GcrHWAF2KJcac38JeA2/KGPxw9gPuugPfDdd+oD iNWO6IZJGsfssU5G+TfbpowzZmBcsIb3XgUDKSaRzWOobvrM+2JGxtvL/+B/fJst /ITtyg/c6GH8VmMrCidxSLJHZBL6V7bnV1Cw15JUupqwCjjx6iFl0tvDDEA7gMFh 26/nIbQ+aEv8dR2YcX54TXX4/aeOvpKKk+v3GPnl2sSyB7ZsJ/S9Fih09a3HyArL a+VW6xnjOJKNEOHNfp14I1C3pLhJrbl7XVNlrbXlRCEM6eiQqW58ilMvE7eod7sT vM9rFD88LlORf/eUGRow =p6g/ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#678354: libpeas: Build a Python 3 loader
Package: libpeas Version: 1.4.0-2 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Upstream libpeas supports both Python 2 and Python 3. As part of our effort in Ubuntu to promote Python 3, we'd like to be able to load Python 3 libpeas plugins. Enabling Python 3 plugins is a fairly simple matter of recompiling the libpeas with $PYTHON=python3. We want to prevent using both Python 2 and Python 3 plugins in the same application, but of course we want to continue to allow different applications on the same system to use either Python 2 or Python 3. Fortunately, we can do this without any changes to the code. The approach taken here is to essentially build libpeas twice, into two separatre build directories. The first build is the normal one, which builds the Python 2 version. The second build builds into tmp-py3, but the only thing we need from the second build is the libpythonloader.so, which must be renamed to libpython3loader.so. This allows an application to enable both the Python 2 and Python 3 loader, but the first one loaded wins. You can see how this works by running the peas-demo program. After loading either the Python 2 or Python 3 plugin, the second one will properly fail to load, without causing any other problems. Hopefully the changes in the debdiff make sense. Thanks to Dmitrij Ledkovs for helping figure out the cdbs flavors magic. - -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-25-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJP4ox3AAoJEBJutWOnSwa/4d0P/1ED6J4NAJKtFqGqzueXE5wS 3cuDanZOEFNzA0RtnHxt/CpE2+qPQfbwgziwRiAs4RwBiL6tdDCvJaXg4NFcoDo+ UGYmW/iv20LmklqiUEVWsYy+b5tB4uqHHV/Qz6QlMdL7NZtYrYKymShUnxeD196D vcit8tVk7h6+N0WKkNbywJwOWaq71FdT0TV7PcJHadYQo+q6j7f4i2qOpgu3VKUE X6i9sYYYWTQug5E4MdlT2kND10sYDCaiX2otHXcgvCQORqIEjKULsahiosmON756 vkeSw6i5JFRZ5CrzfbSysaoVtnJ/SQDXcjrBG4+H6QQRIZoWn7Ra88HVb/kqxver 6LaJeup2xhlr7BcLlyfIz4YTZneVB88mkNuMbbnpXSEhw3GbCPsJMNzOhI7Lz6G1 b09PJgtceBbfriKOfzlf9nJB/B7M0zz2LriYvvHi26g6mRGTm4jeH/QidnLxUcDj PMmIDqFfRg5BdOicfV9jtm8mcKPyI07JIpvyvB12KlSoW1jY0ff5FnuAGL8JSJWo hsYHYwVxPEOz5QH79QZVOGFypHUkm3cF1N96C2ifvgyM61+fBLetvM7FpMCmnMWM V7RS+2gO/s7IkqydVN1b8/aXF1eUXr4w/hylF3NSBE+MlUn3R6Drv0iLwI+kf62T UJ1YjfnaaCgjXIIDtVWr =MvZR -END PGP SIGNATURE- diff -Nru libpeas-1.4.0/debian/changelog libpeas-1.4.0/debian/changelog --- libpeas-1.4.0/debian/changelog 2012-05-28 00:40:22.0 -0400 +++ libpeas-1.4.0/debian/changelog 2012-06-20 22:31:30.0 -0400 @@ -1,3 +1,11 @@ +libpeas (1.4.0-2ubuntu2) quantal; urgency=low + + * Build the Python 3 plugin, and enable it to exist next to the Python 2 +plugin (though only one can be used by an application at a time). Add +Python 3 support to peas-demo. + + -- Barry Warsaw ba...@ubuntu.com Tue, 19 Jun 2012 11:16:15 -0400 + libpeas (1.4.0-2ubuntu1) quantal; urgency=low * Merge with Debian unstable, remaining Ubuntu changes: diff -Nru libpeas-1.4.0/debian/control libpeas-1.4.0/debian/control --- libpeas-1.4.0/debian/control 2012-06-20 22:33:01.0 -0400 +++ libpeas-1.4.0/debian/control 2012-06-20 22:31:35.0 -0400 @@ -10,6 +10,8 @@ Uploaders: Debian GNOME Maintainers pkg-gnome-maintain...@lists.alioth.debian.org, Michael Biebl bi...@debian.org, Sjoerd Simons sjo...@debian.org Build-Depends: cdbs (= 0.4.90), debhelper (= 8), + quilt, + autoconf, gnome-pkg-tools, intltool (= 0.40), gtk-doc-tools (= 1.11), @@ -20,6 +22,7 @@ libgtk-3-dev, python-dev (= 2.5.2), python-gi-dev (= 3.0.0), + python3-dev, valac-0.14, gnome-icon-theme Standards-Version: 3.9.3 diff -Nru libpeas-1.4.0/debian/control.in libpeas-1.4.0/debian/control.in --- libpeas-1.4.0/debian/control.in 2012-05-28 00:40:22.0 -0400 +++ libpeas-1.4.0/debian/control.in 2012-06-20 17:14:04.0 -0400 @@ -5,6 +5,8 @@ Uploaders: @GNOME_TEAM@ Build-Depends: cdbs (= 0.4.90), debhelper (= 8), + quilt, + autoconf, gnome-pkg-tools, intltool (= 0.40), gtk-doc-tools (= 1.11), @@ -15,6 +17,7 @@ libgtk-3-dev, python-dev (= 2.5.2), python-gi-dev (= 3.0.0), + python3-dev, valac-0.14, gnome-icon-theme Standards-Version: 3.9.3 diff -Nru libpeas-1.4.0/debian/patches/python3-demo.patch libpeas-1.4.0/debian/patches/python3-demo.patch --- libpeas-1.4.0/debian/patches/python3-demo.patch
Bug#678173: dwarfutils: FTBFS on Debian GNU/Hurd
Package: dwarfutils Version: 20120410-1 Severity: important User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently dwarfutils fails to build on Debian GNU/Hurd due to the use of reserved identifier. Honestly I am not sure why this succeeds on GNU/Linux. Attached is a patch for building on Hurd. It is a very simple fix and I just used ferrno just as a test, you might want to use a more appropriate variable name. Thank you, Barry deFreese Index: dwarfutils-20120410/dwarfdump2/print_die.cc === --- dwarfutils-20120410.orig/dwarfdump2/print_die.cc2012-06-19 16:52:34.0 + +++ dwarfutils-20120410/dwarfdump2/print_die.cc 2012-06-19 16:53:19.0 + @@ -1222,8 +1222,8 @@ /* Get the global offset for reference */ res = dwarf_global_formref(attrib, ref_off, err); if (res != DW_DLV_OK) { -int errno = dwarf_errno(err); -if (errno == DW_DLE_REF_SIG8_NOT_HANDLED ) { +int ferrno = dwarf_errno(err); +if (ferrno == DW_DLE_REF_SIG8_NOT_HANDLED ) { // No need to stop, ref_sig8 refers out of // the current section. break; @@ -1234,8 +1234,8 @@ } res = dwarf_dieoffset(die, die_off, err); if (res != DW_DLV_OK) { -int errno = dwarf_errno(err); -if (errno == DW_DLE_REF_SIG8_NOT_HANDLED ) { +int ferrno = dwarf_errno(err); +if (ferrno == DW_DLE_REF_SIG8_NOT_HANDLED ) { // No need to stop, ref_sig8 refers out of // the current section. break;
Bug#678197: hello: The po/fr.po file has an incorrect translation
Package: hello Version: Incorrect French translation Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, Forwarded from LP: #989946: https://bugs.launchpad.net/ubuntu/+source/hello/+bug/989946 In french version of hello when you launch hello -h it give you some option and one doesn't exist in this version it's -m, --mail Patch and debdiff are attached to the Launchpad bug. - -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-25-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJP4OdtAAoJEBJutWOnSwa/No4QAKNaZwwdrgJyxE0HUQ4jRF9x m9yUbf9Cqz3x+7vZk1tEHvnRhuZqUHfR4Jjjmr7euZJsfRjmjuwDnL2JmoybAH79 IqL29MCX27UFdbTE7frgdXMg3c2JUxxQhIHVpIzE4G9IwfVMilZHwAFjPYQZ1/Na ZqgPH9ntXkmsFoU4YS7SbXFtlL6csOnIB40gL/0qT2usL9GqsWJA5CQ58HIafzuy bhdLxtd05I7CpYaaUTVoQqXkyfoBsbYLVYEcJf/96PsjFEbDJXItXgcI7fPN8DYY IiD5+H8iuoR4EC+8SP9FFrCDtK+RDx3wLtB9AapSlW08Vd7ZmF+8Mj+Jq5AYW848 s5vh0aycImmP/vSswFtikY9Z6j0KkcEn2lz/LmWuinxgEStaZrTMvqV4fMej8Gle VDHbkupVzk9Sx5CR9AIB7eEqJdGdQx67j24hDqhskxf8g6It5su0Zaku5F9rOjyT Lh+sT1PNlK//BSdlSQ2YRuLTIilu2rjE/GACsf2CeA5qAA3t0u4xWz5JgyEn/u9v hjr2JMMLRLYPj2TLQpX9Ldg0L2aMcrkqI6FpUS+gt6Mo+Ii4Ea/8kyjiF7NKG1Z0 B6CLmIbUXbK83j3BZ0PEleHO/x60HMJVVGk4D35cDjRwc7h3TwA/E1z9DPe1Jbe0 y/PC4WVQqSHC59S0QEP3 =C+1z -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#678063: gearmand: FTBFS on Debian GNU/Hurd - Unconditional use of PATH_MAX [patch attached]
Package: gearmand Version: 0.32-2 Severity: important User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently gearmand fails to build on Debian GNU/Hurd due to an unconditional use of PATH_MAX which we do not define. Attached is a patch for building on Hurd. Thank you, Barry deFreese Index: gearmand-0.32/libtest/server.cc === --- gearmand-0.32.orig/libtest/server.cc2012-06-18 17:52:26.0 + +++ gearmand-0.32/libtest/server.cc 2012-06-18 19:20:31.0 + @@ -76,6 +76,22 @@ return output; // for multiple operators } +#ifdef __GLIBC__ +namespace { + +class Buffer +{ +public: + Buffer(char *b) : b_(b) {} + ~Buffer() { free(b_); } + char* buf() { return b_; } +private: + char *b_; +}; + +} +#endif // __GLIBC__ + #define MAGIC_MEMORY 123570 Server::Server(const std::string host_arg, const in_port_t port_arg, @@ -204,8 +220,14 @@ continue; } +#ifdef __GLIBC__ +Buffer buf( get_current_dir_name()); +char *getcwd_buf= buf.buf(); +#else char buf[PATH_MAX]; char *getcwd_buf= getcwd(buf, sizeof(buf)); +#endif // __GLIBC__ + throw libtest::fatal(LIBYATL_DEFAULT_PARAM, Unable to open pidfile in %s for: %s stderr:%s, getcwd_buf ? getcwd_buf : ,
Bug#625509: (no subject)
On Jun 13, 2012, at 06:26 PM, Colin Watson wrote: Meta-question: do you think it makes sense to turn on `from __future__ import unicode_literals`? We've talked about this on a few occasions. :-) I know. I just can't seem to let this go. :) This is more or less the poster child for a case where I think unicode_literals is difficult. There's a complex API which is quite sensitive to whether things are bytes or unicode in places, and often handles both. The tests need to check whether both are handled. It interacts with several other interfaces that prefer to work with bytes in Python 2 but Unicode strings in Python 3. In short, I did try, but I found it to be much more complicated to try to shift to unicode_literals than it was worth, and I really wasn't confident enough in absolute 100% test coverage to be certain I hadn't broken anything. Agreed, thanks for the explanation! Everything looks great; just one last suggestion. diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py index 4c5b74e..7e8d0a6 100644 --- a/lib/debian/deb822.py +++ b/lib/debian/deb822.py @@ -246,6 +246,8 @@ class Deb822Dict(object, UserDict.DictMixin): # If we got here, everything matched return True +__hash__ = None + I think it would useful to include a comment for why this is here. It's a relatively obscure corner of the language, so it'll be helpful for the next person reading the code. signature.asc Description: PGP signature
Bug#677167: xutils-dev: Missing configuration settins in gnu.cf [patch attached]
Package: xutils-dev Version: 1:7.7~1 Severity: Important User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, It seems that the GNU configuration file gnu.cf hasn't been keeping up. It is missing a define for ManDirectoryRoot so some packages fail to build the man pages in the correct dirs and building in Debian therefore fails. Attached is a patch to correct this issue. Thank you, Barry deFreese Index: xutils-dev-7.7~1/xorg-cf-files/gnu.cf === --- xutils-dev-7.7~1.orig/xorg-cf-files/gnu.cf 2012-06-11 20:32:45.0 + +++ xutils-dev-7.7~1/xorg-cf-files/gnu.cf 2012-06-11 20:34:24.0 + @@ -25,6 +25,19 @@ # define BuildPDFdocs NO #endif +#ifndef ProjectRoot +# define ProjectRoot /usr +#endif +#ifndef ManDirectoryRoot +# define ManDirectoryRoot /usr/share/man +#endif +#ifndef AlternateUsrLibDir +# define AlternateUsrLibDir NO +#endif +#ifndef AlternateIncRoot +# define AlternateIncRoot NO +#endif + #ifndef GnuBinUtilsMajorVersion # define GnuBinUtilsMajorVersion DefaultGnuBinUtilsMajorVersion #endif
Bug#676450: [Python-modules-team] Bug#676450: python-psutil: FTBFS on Debian GNU/Hurd
On 6/8/2012 5:46 PM, Sandro Tosi wrote: Hello Barry, On Thu, Jun 7, 2012 at 3:52 AM, Barry deFreese bdefre...@debian.org wrote: Currently python-psutil fails to build on Debian GNU/Hurd. (Doesn't recognize gnu system). Attached is a patch for building on Hurd. Thanks for the patch! But I think it's not enough: I've tried to build the package on exodar but the test suite fails to run due to: running test/test_psutil.py on python2.7 Traceback (most recent call last): File test/test_psutil.py, line 32, in module import psutil File /home/morph/python-psutil-0.4.1/build/lib.gnu-0.3-i686-AT386-2.7/psutil/__init__.py, line 83, in module raise NotImplementedError('platform %s is not supported' % sys.platform) NotImplementedError: platform gnu0 is not supported Is it possible to you to follow up and let tests run too? Cheers, Sandro, I updated the patch but it still isn't quite right. The _psposix code doesn't seem to include __extra__all. So I could use some advice. Rather than trying to use posix should I be creating a new set of platform files for GNU? Thanks! Barry Index: python-psutil-0.4.1/setup.py === --- python-psutil-0.4.1.orig/setup.py 2012-06-10 10:24:51.0 + +++ python-psutil-0.4.1/setup.py2012-06-10 10:35:34.0 + @@ -72,6 +72,12 @@ sources=['psutil/_psutil_linux.c'], ), posix_extension] +# GNU +elif sys.platform.lower().startswith(gnu): +extensions = [Extension('_psutil_posix', +sources=['psutil/_psutil_posix.c'], +), + posix_extension] else: raise NotImplementedError('platform %s is not supported' % sys.platform) Index: python-psutil-0.4.1/psutil/__init__.py === --- python-psutil-0.4.1.orig/psutil/__init__.py 2012-06-10 10:24:51.0 + +++ python-psutil-0.4.1/psutil/__init__.py 2012-06-10 10:36:46.0 + @@ -79,6 +79,9 @@ elif sys.platform.lower().startswith(freebsd): import psutil._psbsd as _psplatform +elif sys.platform.lower().startswith(gnu): +import psutil._psposix as _psplatform + else: raise NotImplementedError('platform %s is not supported' % sys.platform)
Bug#672178: (no subject)
For #1, the change in flags makes sense. Because Python 3.3 has flexible string representations (PEP 393), the --with-wide-unicode configure flag has gone away. It's this flag that's represented by the 'u' in the .so file name. #2 is an unfortunate hack. I had problems with this before. I'm not sure what to do about these, but they are legitimate problems. Probably the best thing to do is to remove the build flags from EXTENSION_TAG and DBG_EXTENSION_TAG, and probably tagged_extname() needs to know whether it's moving files for Python 3.3 or an earlier version. I just took a cursory look at the code but I think some refactoring is going to be necessary to handle these problems. I just don't have time right now to do that. :( signature.asc Description: PGP signature
Bug#676445: wxsqlite3: FTBFS on Debian GNU/Hurd [patch attached]
Package: wxsqlite3 Version: 3.0.0.1~dfsg0-1 Severity: normal User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently wxsqlite3 fails to build on Debian GNU/Hurd. (Doesn't recognize gnu system). Attached is a patch for building on Hurd. Might be a little bit overkill. Thank you, Barry deFreese Index: wxsqlite3-3.0.0.1~dfsg0/configure === --- wxsqlite3-3.0.0.1~dfsg0.orig/configure 2012-06-06 18:57:17.0 + +++ wxsqlite3-3.0.0.1~dfsg0/configure 2012-06-06 19:15:29.0 + @@ -5968,6 +5968,89 @@ fi ;; +GNU*) +if test $INTELCC != yes; then + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext 5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +{ $as_echo $as_me:$LINENO: checking whether we are using the Sun C compiler 5 +$as_echo_n checking whether we are using the Sun C compiler... 6; } +if test ${bakefile_cv_c_compiler___SUNPRO_C+set} = set; then + $as_echo_n (cached) 6 +else + cat conftest.$ac_ext _ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h conftest.$ac_ext +cat conftest.$ac_ext _ACEOF +/* end confdefs.h. */ + +int +main () +{ + + #ifndef __SUNPRO_C +choke me + #endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try=$ac_compile +case (($ac_try in + *\* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo=\\$as_me:$LINENO: $ac_try_echo\ +$as_echo $ac_try_echo) 5 + (eval $ac_compile) 2conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 conftest.err + rm -f conftest.er1 + cat conftest.err 5 + $as_echo $as_me:$LINENO: \$? = $ac_status 5 + (exit $ac_status); } { +test -z $ac_c_werror_flag || +test ! -s conftest.err + } test -s conftest.$ac_objext; then + bakefile_cv_c_compiler___SUNPRO_C=yes +else + $as_echo $as_me: failed program was: 5 +sed 's/^/| /' conftest.$ac_ext 5 + + bakefile_cv_c_compiler___SUNPRO_C=no + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +{ $as_echo $as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C 5 +$as_echo $bakefile_cv_c_compiler___SUNPRO_C 6; } +if test x$bakefile_cv_c_compiler___SUNPRO_C = xyes; then +:; SUNCC=yes +else +:; +fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + +fi +;; + HP-UX*) @@ -8508,6 +8591,16 @@ fi ;; + *-*-gnu* ) +if test $INTELCC = yes -a $INTELCC8 != yes; then +PIC_FLAG=-KPIC +elif test x$SUNCXX = xyes; then +SHARED_LD_CC=${CC} -G -o +SHARED_LD_CXX=${CXX} -G -o +PIC_FLAG=-KPIC +fi + ;; + *-*-solaris2* ) if test x$SUNCXX = xyes ; then SHARED_LD_CC=${CC} -G -o @@ -9310,7 +9403,7 @@ case ${BAKEFILE_HOST} in *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ - *-*-k*bsd*-gnu | *-*-mirbsd* ) + *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* ) if test x$SUNCXX = xyes; then SONAME_FLAG=-h else
Bug#676449: stlport5.2: FTBFS on Debian GNU/Hurd
Package: stlport5.2 Version: 5.2.1-5.2 Severity: normal User: debian-h...@lists.debian.org Usertags: hurd Tags: patch Hi, Currently stlport5.2 fails to build on Debian GNU/Hurd. (Doesn't recognize gnu system). Attached is a patch for building on Hurd. Very similar to patch for GNU/kfreeBSD. Thank you, Barry deFreese Index: stlport5.2-5.2.1/build/Makefiles/gmake/sysid.mak === --- stlport5.2-5.2.1.orig/build/Makefiles/gmake/sysid.mak 2012-06-06 20:38:22.0 + +++ stlport5.2-5.2.1/build/Makefiles/gmake/sysid.mak2012-06-06 20:38:23.0 + @@ -56,6 +56,10 @@ OSNAME := linux endif +ifeq ($(OSNAME),gnu) +OSNAME := linux +endif + NODENAME := $(shell uname -n | tr '[A-Z]' '[a-z]' ) SYSVER := $(shell uname -v ) USER := $(shell echo $$USER ) @@ -94,6 +98,10 @@ BUILD_OSNAME := linux endif +ifeq ($(BUILD_OSNAME),gnu) +BUILD_OSNAME := linux +endif + BUILD_OSREL := $(shell uname -r | tr '[A-Z]' '[a-z]' | tr ', /\\()' ',//' | tr ',/' ',-') BUILD_M_ARCH := $(shell uname -m | tr '[A-Z]' '[a-z]' | tr ', /\\()' ',//' | tr ',/' ',-') ifeq ($(OSNAME),hp-ux) Index: stlport5.2-5.2.1/stlport/stl/config/_system.h === --- stlport5.2-5.2.1.orig/stlport/stl/config/_system.h 2012-06-06 20:38:22.0 + +++ stlport5.2-5.2.1/stlport/stl/config/_system.h 2012-06-06 20:40:22.0 + @@ -59,7 +59,7 @@ # elif defined (__HP_aCC) #include stl/config/_hpacc.h # endif -#elif defined (linux) || defined (__linux__) || defined (__GLIBC__) +#elif defined (linux) || defined (__linux__) || defined (__GLIBC__) || defined (__GNU__) # include stl/config/_linux.h # if defined (__BORLANDC__) #include stl/config/_bc.h /* Borland C++ 0x570 */