On Wed, Mar 12, 2014 at 12:47:18AM +0100, Jakub Wilk wrote:
[This is a copy of what I sent to #702005 (after unarchiving it), which
didn't show up on bugs.d.o yet.]
According to python2.7-minimal's README.Debian, the _ssl and _hashlib are
supposed to be included in the -minimal package.
python2.7-minimal_2.7.3-6_amd64.deb indeed includes them both, but on every
other architecture they are shipped in python2.7.
Worse, if you rebuild wheezy's src:python2.7 in a clean environment, the
modules move to python2.7, likely leading to upgrade problem similar to that
reported a while ago:
I'll contact the people doing archive rebuilds; file lists could be compared
for successful builds.
There are several Java packages in Wheezy which have broken file lists after
* Vincent Lefevre vinc...@vinc17.net, 2013-03-01, 17:00:
Unpacking replacement python2.7 ...
dpkg: error processing /var/cache/apt/archives/python2.7_2.7.3-7_amd64.deb
trying to overwrite '/usr/lib/python2.7/lib-dynload/_hashlib.so', which is
also in package python2.7-minimal 2.7.3-6
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
I believe the bug lies in the following part of debian/rules:
DH_COMPAT=2 dh_movefiles -p$(p_min) --sourcedir=$(d) \
$(foreach i,$(MIN_MODS),$(scriptdir)/$(i).py) \
$(foreach i,$(MIN_PACKAGES),$(scriptdir)/$(i)) \
$(foreach i,$(MIN_ENCODINGS),$(scriptdir)/$(i)) \
$(shell cd $(d); for i in $(MIN_EXTS); do \
test -e $(scriptdir)/lib-dynload/$$i.so \
echo $(scriptdir)/lib-dynload/$$i.so; \
The culprit appears to be that make expands $(shell ... ) too early, when no
*.so files exist yet.
Replacing $(shell ... ) with $$( ... ), and then adding appropriate
Breaks+Replaces should fix this bug. (I haven't tested the proposed fix in
Thanks a lot for your analysis. I'll make a test build tomorrow and follow up.
It still don't understand why this bug didn't trigger for the amd64 package.
Perhaps the build log could shed some light on it.
Unfortunately I don't have the build log for the deb7u1 upload, the amd64
version was the one I uploaded and I didn't save the log.
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org