Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376827 - we got the wrong release tarball for dev-python/cython-0.14.1
Summary: we got the wrong release tarball for dev-python/cython-0.14.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: http://mail.python.org/pipermail/cyth...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 23:17 UTC by François Bissey
Modified: 2011-07-30 23:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2011-07-28 23:17:24 UTC
According to this message on the cython mailing list:
http://mail.python.org/pipermail/cython-devel/2011-March/000170.html
and this bug on the macport tracker:
https://trac.macports.org/ticket/28682
two different release tarball were produced for cython-0.14.1 by mistake. The one on the cython website had a few more commits compared to the one posted on pypi. While it may seem fairly harmless it leads to some strange compilation failures on some systems:
https://github.com/cschwan/sage-on-gentoo/issues/81

The tarball included in distfile and the cython manifest need to be updated to take care of this. Note that upstream has admitted the issue and updated the tarball on their website.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-07-30 18:11:08 UTC
The current SRC_URI points to
 <http://www.cython.org/release/Cython-0.14.1.tar.gz>,
not
 <http://pypi.python.org/packages/source/C/Cython/Cython-0.14.1.tar.gz>.

The former is newer than the latter. Which is the right one to use?
Comment 2 François Bissey 2011-07-30 19:28:20 UTC
(In reply to comment #1)
> The current SRC_URI points to
>  <http://www.cython.org/release/Cython-0.14.1.tar.gz>,
> not
>  <http://pypi.python.org/packages/source/C/Cython/Cython-0.14.1.tar.gz>.
> 
> The former is newer than the latter. Which is the right one to use?

If you read the attached url you'll see that 
 <http://www.cython.org/release/Cython-0.14.1.tar.gz>
has been copied back from 
<http://pypi.python.org/packages/source/C/Cython/Cython-0.14.1.tar.gz>
at some point. So they should be identical at this point in time.
But the one we have on the mirror is a wrong one that has been replaced upstream. The right one should have a size of 1314345, the one currently on the mirror has a size of 1315824.
Comment 3 Rafael Martins (RETIRED) gentoo-dev 2011-07-30 20:56:45 UTC
rafael@luka ~ $ sha1sum Cython-0.14.1.tar.gz Cython-pypi-0.14.1.tar.gz 
2edc619bea5636fdc265d21112cd4a3654132603  Cython-0.14.1.tar.gz
2edc619bea5636fdc265d21112cd4a3654132603  Cython-pypi-0.14.1.tar.gz
rafael@luka ~ $ grep Cython-0.14.1.tar.gz /development/cvs/gentoo-x86/dev-python/cython/Manifest | sed 's/^.*SHA1 \([^ ]*\).*$/\1/'
2edc619bea5636fdc265d21112cd4a3654132603

djc fixed this some time ago. This bug is duplicate of #361579.

File in our mirrors is ok. Both files are the same, that's the same of Manifest.

Closing.

*** This bug has been marked as a duplicate of bug 361579 ***
Comment 4 François Bissey 2011-07-30 23:59:38 UTC
OK after more checking you are right upstream now distribute the tarball of size 1315824 instead of 1314345 as it was doing originally. It's a shame because from the point of view of the software I am looking at the currently distributed cython is broken. But that's upstream problem not Gentoo's, sorry for the noise.