Your message dated Thu, 14 Mar 2013 11:17:45 +0000
with message-id <[email protected]>
and subject line Bug#692381: fixed in yafaray 0.1.2+really0.1.2~beta5-4
has caused the Debian Bug report #692381,
regarding yafaray: FTBFS against python3.3
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.)


-- 
692381: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692381
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: yafaray
Version: 0.1.2+really0.1.2~beta5-2
Severity: normal
User: [email protected]
Usertags: python3.3
Tags: patch

Yafaray fails to build from source against python3.3, because python3.3
in debian has two include paths instead of one. I bypass upstream
detection and instead use pkg-config as that provides correct include
paths on Debian.

Please consider applying this patch, or solving this build failure in
some other way.

diff -Nru yafaray-0.1.2+really0.1.2~beta5/debian/changelog yafaray-0.1.2+really0.1.2~beta5/debian/changelog
--- yafaray-0.1.2+really0.1.2~beta5/debian/changelog	2012-09-04 09:29:11.000000000 +0000
+++ yafaray-0.1.2+really0.1.2~beta5/debian/changelog	2012-10-24 18:04:36.000000000 +0000
@@ -1,3 +1,10 @@
+yafaray (0.1.2+really0.1.2~beta5-2.1) UNRELEASED; urgency=low
+
+  * Build against default python version only. Use pkg-config to detect
+    python includes, fixes ftbfs against py3.3.
+
+ -- Dmitrijs Ledkovs <[email protected]>  Wed, 24 Oct 2012 17:13:07 +0100
+
 yafaray (0.1.2+really0.1.2~beta5-2build1) quantal; urgency=low
 
   * Rebuild for libtiff5.
diff -Nru yafaray-0.1.2+really0.1.2~beta5/debian/control yafaray-0.1.2+really0.1.2~beta5/debian/control
--- yafaray-0.1.2+really0.1.2~beta5/debian/control	2012-05-28 08:56:25.000000000 +0000
+++ yafaray-0.1.2+really0.1.2~beta5/debian/control	2012-10-24 17:33:58.000000000 +0000
@@ -12,10 +13,10 @@
                libpng-dev,
                libtiff-dev,
                libxml2-dev,
-               python3-all-dev,
+               python3-dev,
+               pkg-config,
                swig,
                zlib1g-dev
-X-Python3-Version: >= 3.2
 DM-Upload-Allowed: yes
 Standards-Version: 3.9.3
 Homepage: http://www.yafaray.org
diff -Nru yafaray-0.1.2+really0.1.2~beta5/debian/patches/fix-ftbfs-py3.3.patch yafaray-0.1.2+really0.1.2~beta5/debian/patches/fix-ftbfs-py3.3.patch
--- yafaray-0.1.2+really0.1.2~beta5/debian/patches/fix-ftbfs-py3.3.patch	1970-01-01 00:00:00.000000000 +0000
+++ yafaray-0.1.2+really0.1.2~beta5/debian/patches/fix-ftbfs-py3.3.patch	2012-10-24 17:30:16.000000000 +0000
@@ -0,0 +1,32 @@
+Description: fix FTBFS against python3.3
+ Use pkg-config look-up which is actually correct.  Also see packaging
+ changes to build against the default python3 only, instead of
+ multiple versions. (Doesn't make sense for a Blender plugin anyway).
+Origin: Dmitrijs Ledkovs <[email protected]>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: not yet
+Last-Update: 2012-10-24
+--- yafaray-0.1.2+really0.1.2~beta5.orig/src/bindings/CMakeLists.txt
++++ yafaray-0.1.2+really0.1.2~beta5/src/bindings/CMakeLists.txt
+@@ -40,7 +40,7 @@ IF (WITH_YAF_PY_BINDINGS)
+ 	endif(YAF_PY_VERSION)
+ 	
+ 	MESSAGE("Searching for Python ${REQUIRED_PYTHON_VERSION}")
+-	find_package(YafPythonLibs REQUIRED)
++	pkg_check_modules(PYTHON python-${REQUIRED_PYTHON_VERSION})
+ 	
+ 	if (NOT PYTHON_LIBRARIES)
+ 		message("Python wasn't found, please install it to build python bindings")
+@@ -84,8 +84,8 @@ if (WITH_YAF_PY_BINDINGS)
+ 
+ 	endif(NOT WIN32)
+ 	
+-	message("Python header path: ${PYTHON_INCLUDE_DIR}")
+-	include_directories(${YAF_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIR})
++	message("Python header path: ${PYTHON_INCLUDE_DIRS}")
++	include_directories(${YAF_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
+ 	include(${SWIG_USE_FILE})
+ 
+ 	if(YAF_PY_VERSION GREATER 3)
diff -Nru yafaray-0.1.2+really0.1.2~beta5/debian/patches/series yafaray-0.1.2+really0.1.2~beta5/debian/patches/series
--- yafaray-0.1.2+really0.1.2~beta5/debian/patches/series	2012-05-28 08:33:20.000000000 +0000
+++ yafaray-0.1.2+really0.1.2~beta5/debian/patches/series	2012-10-24 17:28:08.000000000 +0000
@@ -1,2 +1,3 @@
 0001-Fix_FTBFS_on_ARM.patch
 0002-Disable_FAST_MATH.patch
+fix-ftbfs-py3.3.patch
diff -Nru yafaray-0.1.2+really0.1.2~beta5/debian/rules yafaray-0.1.2+really0.1.2~beta5/debian/rules
--- yafaray-0.1.2+really0.1.2~beta5/debian/rules	2012-01-09 12:02:53.000000000 +0000
+++ yafaray-0.1.2+really0.1.2~beta5/debian/rules	2012-10-24 17:25:32.000000000 +0000
@@ -2,7 +2,7 @@
 export DH_OPTIONS
 
 INSTDIR=debian/tmp
-PY3VERS=$(shell py3versions -drv debian/control)
+PY3VERS=$(shell py3versions -dv)
 
 %:
 	dh $@ --buildsystem=cmake --builddirectory=build --with python3
@@ -22,5 +22,3 @@
 	dh_install
 	cp -rf $(INSTDIR)/$(CURDIR)/bindings/python/* \
 		debian/yafaray/usr/lib/yafaray
-
-override_dh_pysupport:
Regards,

Dmitrijs.

--- End Message ---
--- Begin Message ---
Source: yafaray
Source-Version: 0.1.2+really0.1.2~beta5-4

We believe that the bug you reported is fixed in the latest version of
yafaray, 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.
Matteo F. Vescovi <[email protected]> (supplier of updated yafaray 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: Thu, 14 Mar 2013 11:46:17 +0100
Source: yafaray
Binary: yafaray
Architecture: source amd64
Version: 0.1.2+really0.1.2~beta5-4
Distribution: experimental
Urgency: low
Maintainer: Debian Multimedia Maintainers 
<[email protected]>
Changed-By: Matteo F. Vescovi <[email protected]>
Description: 
 yafaray    - modern, xml-speaking raytracing-based rendering system
Closes: 692381
Changes: 
 yafaray (0.1.2+really0.1.2~beta5-4) experimental; urgency=low
 .
   * debian/: dh bump 8 => 9
   * debian/control: blender version bumped in Recommends
   * debian/control: S-V 3.9.3 => 3.9.4 (no changes needed)
   * debian/control: DMUA flag dropped
   * debian/watch: source path updated.
     Thanks to Bart Martens (bartm) for the hint.
   * debian/patches/: #0003 added to fix FTBFS on Python 3.3.
     Thanks to Dmitrijs Ledkovs for the initial patch. (Closes: #692381)
Checksums-Sha1: 
 6d1ca41ec8fa2642bfaad90f572d6b3c8e14c0c6 2260 
yafaray_0.1.2+really0.1.2~beta5-4.dsc
 37c469609295a30c44b7adc89fb01622f8e9b3e1 7834 
yafaray_0.1.2+really0.1.2~beta5-4.debian.tar.gz
 23ad6ed062e5a4ed437194a9864468b405831774 1076998 
yafaray_0.1.2+really0.1.2~beta5-4_amd64.deb
Checksums-Sha256: 
 5d192f1d49b9183a2edb749f24494bab897bc44b8cbe687a8ad3c2cf88ce1847 2260 
yafaray_0.1.2+really0.1.2~beta5-4.dsc
 a2066a02802e55d794624815a7ef5709b29ea204715fa05bf61dba34718f8a99 7834 
yafaray_0.1.2+really0.1.2~beta5-4.debian.tar.gz
 6e5cdac6d94422f5627b2a79b39db4dab939cd062f045a58dac82685677d7a44 1076998 
yafaray_0.1.2+really0.1.2~beta5-4_amd64.deb
Files: 
 da8a1ac5eda51377ae00c1be7fc97676 2260 graphics optional 
yafaray_0.1.2+really0.1.2~beta5-4.dsc
 21e7e8b8260b5ea93f70c379f76910ca 7834 graphics optional 
yafaray_0.1.2+really0.1.2~beta5-4.debian.tar.gz
 488a4399f58a4547c8bef1643654f0b8 1076998 graphics optional 
yafaray_0.1.2+really0.1.2~beta5-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Debian powered!

iQIcBAEBAgAGBQJRQa2PAAoJEIBiOYmDss96ge8P/iRPKjzheQs57rNlv0gyqwt+
0EJpMkM4FgDPumnpOXgY7U1jI+J92SIGbuPqA17QLM4AXy0MQ50M32zh+vmJk7L8
WfUWzRUzYB1F9kUYaYI6kDjdstdi76OlQ+ewhVgFomxXrz0/ozCf+38KbDbu7Q55
67AOPT2xzh6RxpKyN+ne1Z3IhqwebWTFmsBSsUPLDpR7ifXhRocaDFIlK9GS5Sp8
8tCZIU2BtUbUVSPzL9veGIW7XYDprh40TG1+nqHGmozYFlMJozRM/F5AayZDVBYO
JUr4n3t2Nn+p414TXrMjeWbtVa3kka4BSt+Y77ViOvJvhwnCLo+XB2Mm2vmtsWcN
Ordh5gH5GcNL6Tqg9OwpVdJemAxHXPAenXGkXGXwXFf6epqLz1DbRmDBtp8wHjyr
8NVwGye8OHrMTeSVgT+50Qso5C1X0BHztWgM/hr1Lsi8hfudJXS2fjJGi5Y9JCAM
i2DoPNKCsuvDiT2hIxLimkUx8ZqdFY5WaLw5KCp7ge3tSyR4hbLph7eVdX0tuCIr
8M+tnnR6qGF6ThRrieStq0hsA5C5AFZkX+oD0lcolhUKX4nLtVGyNWu86xtD3kK7
Jt6u42DRX5a1FTdK9/BR511idwlPUC6V1BSdLEfdUcZgs7MGhF4Dk3FQbswLvwlL
/KWqnWH/axEdeT+rr96b
=U8J/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to