Your message dated Sun, 09 Nov 2014 17:03:52 +0000
with message-id <[email protected]>
and subject line Bug#768828: fixed in kivy 1.8.0+dfsg-2.1
has caused the Debian Bug report #768828,
regarding FTBFS against cython 0.21.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
768828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768828
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kivy
Version: 1.8.0+dfsg-2
Severity: serious
Tags: patch upstream
Justification: fails to build from source (but built successfully in the past)

As originally reported while talking to cython folks... citing here in full and
will upload a 1 day delayed NMU shortly which would pick up that patch from
upstream to resolve this FTBFS.

Date: Sat, 11 Oct 2014 11:13:23 -0400
From: Yaroslav Halchenko <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [Cython] kivy patch for:  Cython 0.21 released


On Sat, 11 Oct 2014, Stefan Behnel wrote:

> Yaroslav Halchenko schrieb am 11.10.2014 um 16:18:
> > On Wed, 10 Sep 2014, Stefan Behnel wrote:
> >> on behalf of the Cython dev team, I'm pleased to announce the release of
> >> Cython 0.21, a major feature release. Thanks everyone who contributed code,
> >> documentation improvements, test feedback, bug reports and/or otherwise
> >> helpful insights for this release.

> > a little change detected while down-stream testing builds in Debian
> > (previous version was 0.20.2 and it built fine)

> >  ------------------------------------------------------------
> >  ...
> >              vertex_format.last_shader = self
> >              for i in xrange(vertex_format.vattr_count):
> >                  attr = &vertex_format.vattr[i]
> >                  if attr.per_vertex == 0:
> >                      continue
> >                  attr.index = glGetAttribLocation(self.program, <char 
> > *><bytes>attr.name)
> >                                                                ^
> >  ------------------------------------------------------------

> >  kivy/graphics/shader.pyx:448:63: Casting temporary Python object to 
> > non-numeric non-Python type

> Wow, interesting piece of code. What's that even supposed to do?

> Looking up their code, I find that "attr.name" is a char*:

> https://github.com/kivy/kivy/blob/master/kivy/graphics/vertex.pxd

> So the above code creates a temporary Python bytes object by copying data
> from a char*, then gets the char* to the internal object buffer and throws
> the object away, thus deleting its buffer. Then it passes that invalidated
> char* into a function. I can't see how this makes any sense. And I'm happy
> to see that Cython catches this kind of bug now.


> > I wondered if that is an intentional restriction now to restrict such 
> > casting
> > only to numeric (and exclude the simplest form -- bytes/chars) or a
> > regression?

> It seems they fixed their code already:
> https://github.com/kivy/kivy/commit/827bd6c7b7d04ec72cb3bdbf0ffcd90630d90008

Gotcha -- THANKS a bunch for a detailed response!

CCing kivy maintainers in Debian -- get ready for upcoming cython 0.21
upload - a little patch to pick up! ;)


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--- End Message ---
--- Begin Message ---
Source: kivy
Source-Version: 1.8.0+dfsg-2.1

We believe that the bug you reported is fixed in the latest version of
kivy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yaroslav Halchenko <[email protected]> (supplier of updated kivy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 09 Nov 2014 10:11:22 -0500
Source: kivy
Binary: python-kivy python3-kivy python-kivy-examples
Architecture: source amd64 all
Version: 1.8.0+dfsg-2.1
Distribution: unstable
Urgency: high
Maintainer: Bastian Venthur <[email protected]>
Changed-By: Yaroslav Halchenko <[email protected]>
Description:
 python-kivy - Kivy - Multimedia / Multitouch framework in Python (Python 2)
 python-kivy-examples - Kivy - Example files
 python3-kivy - Kivy - Multimedia / Multitouch framework in Python (Python 3)
Closes: 768828
Changes:
 kivy (1.8.0+dfsg-2.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * Fixing FTBFS against cythoin 0.21.1 by cherry-picking upstream fix
     debian/patches/0001-Fix-cython-python-temp-coercion-exception.patch
     (Closes: #768828)
Checksums-Sha1:
 cafbf84ea2ea807cacca8bc0f36998fb5715cf21 1358 kivy_1.8.0+dfsg-2.1.dsc
 02dcad0bd3ecc6335c376f4771afccf67db1630f 4184 kivy_1.8.0+dfsg-2.1.debian.tar.xz
 e8355b6dc3c2af93c5076834c8caf0407113fc84 1766502 
python-kivy_1.8.0+dfsg-2.1_amd64.deb
 2f4a13e487640e255d5238b5c5b7b79278f0a2c2 1763116 
python3-kivy_1.8.0+dfsg-2.1_amd64.deb
 f918a6779465f26996e2a777c287d7b1ef9f1cd6 7165806 
python-kivy-examples_1.8.0+dfsg-2.1_all.deb
Checksums-Sha256:
 4b8ab25f66b9f37c65a56b62311345849ee34a7172256a6ab8d46505a5e97c5b 1358 
kivy_1.8.0+dfsg-2.1.dsc
 a3b5749b399a1efbfba803ef127824c22c34a0512dda14015ebe477ff5891fc8 4184 
kivy_1.8.0+dfsg-2.1.debian.tar.xz
 e9868ce4ae36da6c2809c2c5818ad20346115891b3e8443b9b8cc206e60b39d2 1766502 
python-kivy_1.8.0+dfsg-2.1_amd64.deb
 0eac8f0d77f6b6b1530aeb854434ff25e1f68b2459fa5fdb14e288114bd7c3c0 1763116 
python3-kivy_1.8.0+dfsg-2.1_amd64.deb
 a02e5beeb82b5c1f0a0a0ab32e3bc04ae7b54cdfb2b381b484d8041a0478a7d9 7165806 
python-kivy-examples_1.8.0+dfsg-2.1_all.deb
Files:
 52efc31afcd2d8bdfe0ca420f871e4bb 1766502 python extra 
python-kivy_1.8.0+dfsg-2.1_amd64.deb
 03cd2951edaa081dd7f72df4a16e1083 1763116 python extra 
python3-kivy_1.8.0+dfsg-2.1_amd64.deb
 186e1876bddc81fc826f0451839d1e87 7165806 python extra 
python-kivy-examples_1.8.0+dfsg-2.1_all.deb
 ae46fe8a2f377f000d223aa2d049bcae 1358 python extra kivy_1.8.0+dfsg-2.1.dsc
 b411721117161e7892f42e78ea33dba1 4184 python extra 
kivy_1.8.0+dfsg-2.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRfmoEACgkQjRFFY3XAJMhR8gCfU2goZ7LS2Yrfd4zTygJUr9oJ
uJ8AoMiXaudQ9bgAOATU5mSSkh2su/Te
=eyni
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to