Your message dated Sat, 18 Nov 2017 21:10:37 +0000
with message-id <e1eganp-000eoz...@fasolo.debian.org>
and subject line Bug#878818: fixed in ovito 2.9.0+dfsg1-3
has caused the Debian Bug report #878818,
regarding ovito: FTBFS - Testsuite fails because executed with python3.5 
instead of 3.6
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 ow...@bugs.debian.org
immediately.)


-- 
878818: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878818
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ovito
Version: 2.9.0+dfsg1-2
Severity: serious
Tags: patch
Justification: FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

With the ongoing python3.6 transition ovito is built with both python3.5 and 
3.6. The latter being the defaut.
This makes the testsuite fails with:
make[1]: Entering directory 
'/<<BUILDDIR>>/ovito-2.9.0+dfsg1/obj-x86_64-linux-gnu'

Running tests...
/usr/bin/ctest --force-new-ctest-process -j1
Test project /<<BUILDDIR>>/ovito-2.9.0+dfsg1/obj-x86_64-linux-gnu
        Start   1: affine_transformation_modifier.py
  1/184 Test   #1: affine_transformation_modifier.py ......................   
Passed    0.39 sec
        Start   2: affine_transformation_modifier.py_extern
  2/184 Test   #2: affine_transformation_modifier.py_extern 
...............***Failed    0.13 sec
Traceback (most recent call last):
  File "affine_transformation_modifier.py", line 1, in <module>
    from ovito.io import *
  File 
"/<<BUILDDIR>>/ovito-2.9.0+dfsg1/obj-x86_64-linux-gnu/lib/ovito/plugins/python/ovito/__init__.py",
 line 17, in <module>
    import ovito.plugins.PyScript
ImportError: Python version mismatch: module was compiled for version 3.6, 
while the interpreter is running version 3.5.

        Start   3: ambient_occlusion_modifier.py
  3/184 Test   #3: ambient_occlusion_modifier.py ..........................   
Passed    0.29 sec
        Start   4: ambient_occlusion_modifier.py_extern
  4/184 Test   #4: ambient_occlusion_modifier.py_extern 
...................***Failed    0.13 sec
Traceback (most recent call last):
  File "ambient_occlusion_modifier.py", line 1, in <module>
    import ovito
  File 
"/<<BUILDDIR>>/ovito-2.9.0+dfsg1/obj-x86_64-linux-gnu/lib/ovito/plugins/python/ovito/__init__.py",
 line 17, in <module>
    import ovito.plugins.PyScript
ImportError: Python version mismatch: module was compiled for version 3.6, 
while the interpreter is running version 3.5.
...

An easy workaround is to tell cmake to use the default python3 interpreter 
instead of the first one it finds.
Patch attached.

Thanks,

_g.


- -- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAlnlGykACgkQ7+hsbH/+
z4ObBwf7BIOnt3YAnvDpLQk6VSyeGDFodYuyyRqsG3a2GaLngyjYTNi9JsMEZ5OL
Bbxo3+exnQANSZqsI/7Iz+K1kN2EQZxIAwym9GLLIn+k4Sv2H5eoOGRM0YnmfsK/
5skaLKsfXmqEBD6p+v35E1/GylJt7AhkqHpd/QqYjgT9tiYyHOYkm6Xkg4rSrjBh
9BWKYeb2ecUYYxJkMzJ92eIjkJ+9qL4NLgDnj5gEclSb7HHpIQN+f7IEDePNqNyA
ZmshKvKF8mrA4/5vIfjr2lAz8u1FcbWGEZxdKf2Vwvw4KX+QkqkO8DveMZmLvmMU
Jb0tHh1m08wt504mfH7A4J3SAdYq9A==
=Mq9q
-----END PGP SIGNATURE-----
diff -Nru ovito-2.9.0+dfsg1/debian/changelog ovito-2.9.0+dfsg1/debian/changelog
--- ovito-2.9.0+dfsg1/debian/changelog  2017-08-10 19:44:59.000000000 +0200
+++ ovito-2.9.0+dfsg1/debian/changelog  2017-10-16 12:24:21.000000000 +0200
@@ -1,3 +1,10 @@
+ovito (2.9.0+dfsg1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Force using default Python 3 interpreter
+
+ -- Gilles Filippini <p...@debian.org>  Mon, 16 Oct 2017 12:24:21 +0200
+
 ovito (2.9.0+dfsg1-2) unstable; urgency=medium
 
   * [cdb5bde] Fix FTBFS on archs, where char is unsigned. (Closes: #871248)
diff -Nru ovito-2.9.0+dfsg1/debian/rules ovito-2.9.0+dfsg1/debian/rules
--- ovito-2.9.0+dfsg1/debian/rules      2017-08-06 23:51:10.000000000 +0200
+++ ovito-2.9.0+dfsg1/debian/rules      2017-10-16 12:24:17.000000000 +0200
@@ -5,6 +5,7 @@
        dh $@ --parallel
 
 extra_flags += \
+       -DPYTHON_EXECUTABLE=/usr/bin/python3 \
        -DOVITO_BUILD_DOCUMENTATION=TRUE \
        -DOVITO_BUILD_PLUGIN_SCRIPTING=TRUE \
        -DOVITO_BUILD_PLUGIN_NETCDF=TRUE \

--- End Message ---
--- Begin Message ---
Source: ovito
Source-Version: 2.9.0+dfsg1-3

We believe that the bug you reported is fixed in the latest version of
ovito, 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 878...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gl...@debian.org> (supplier of updated ovito 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 18 Nov 2017 21:20:59 +0100
Source: ovito
Binary: ovito ovito-doc
Architecture: source
Version: 2.9.0+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Anton Gladky <gl...@debian.org>
Description:
 ovito      - visualization and analysis tool for atomistic simulation data
 ovito-doc  - documentation for ovito
Closes: 878818
Changes:
 ovito (2.9.0+dfsg1-3) unstable; urgency=medium
 .
   [ Anton Gladky ]
   * Team upload.
   * [0ce9a9a] Apply Standards-Version: 4.1.1
   * [6dabeb5] Remove myself from uploaders
   * [3e02bb4] Remove unneeded testsuite-field in d/control
 .
   [ Gilles Filippini ]
   * [35bf4bd] Force using default Python 3 interpreter. (Closes: #878818)
Checksums-Sha1:
 7117d76bef36e22b5a048b8053930741b9bc4dee 2582 ovito_2.9.0+dfsg1-3.dsc
 37eb23e4d69b55add180eca270f742b13c5d3d60 13696 
ovito_2.9.0+dfsg1-3.debian.tar.xz
 4619c27bdfd4cefb8f1aebd6f4770a85b7096f72 14555 
ovito_2.9.0+dfsg1-3_source.buildinfo
Checksums-Sha256:
 ed8da1136b0a1a139e8d9b44873a0cf24e623b020ddfc3509fe793ba7bdee4f5 2582 
ovito_2.9.0+dfsg1-3.dsc
 0861e982857f1b2b39ed9305fc273bd428a4e6cbee236877233c65ab197cb1fa 13696 
ovito_2.9.0+dfsg1-3.debian.tar.xz
 0456143c355d6a80d48d37c96ba6d22dda809f944c4d1a41be2bc3c1ba33f2a6 14555 
ovito_2.9.0+dfsg1-3_source.buildinfo
Files:
 3b618cdf15b47c72c37651f02404178d 2582 science optional ovito_2.9.0+dfsg1-3.dsc
 e98965cf5192c06f09f6b8d0a172421d 13696 science optional 
ovito_2.9.0+dfsg1-3.debian.tar.xz
 5b35c7ce81b141791ceb5d64381de3e5 14555 science optional 
ovito_2.9.0+dfsg1-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAloQmAAACgkQ0+Fzg8+n
/wasLA//Q+vv6JK4S73BrVUpmDmjCXTv2eJ320kudSVz1xJQLhuylXoe8PKlXcXy
MY7mRIXEhSiPcadYxDliyu16TJvEFwuhUuxyqiL6e2+JoYP2Hmm7aPTvPSbHJyhM
m5AYuaWJyocunR36hgdxW0ej2J402ZtccYXaInBEp3Sn9D7OnhclRkkZqWkaX8P2
YP5QvHl3QwNcj/KBR2kLHolIj8eK/GI7pYc3ezSu3PaZgKsp6LHP62NK8xH9W7s9
QoOAadk9aDyemU/fF55Did7zRGhsMYsJs7PndEF0Ov8czYMOMCT548FSbK07vUaX
MJS9a3cSUWqctonEWi25eDZuK70F1YDyrvWegvSMBdkRlVupynSmbGm1++jzq2U2
NaLwOreNmTEThogk1aNJsamBajMUdBAibEdmrhibLUApNhYO90COTjiJGzUEsFrD
kThK7clbWeUWnNsMgVx5DbpaAoWrrwrc8F8tCjnhUR4fU2i4RPUUIfrQl0eoL76J
KyRDXJ07Ims5/wkHOeOArBbgCLrFkUXGLO+7VKN36X5FtckDXL9raTAITWwiMcag
FoeHT9dXEF8/+BzL5U0FJwvWKTCRIGIIbkvod9CuHc56WEBxVpCtnTpiNiYcdUWp
Iun4RSk2aec98WuKAHpATLXy7G08MySzvdvWKNCssxBlqb9Maco=
=M6F2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to