Package: src:pycollada
Version: 0.7.2-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --buildsystem=pybuild --with python3
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/lineset.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/primitive.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/polylist.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/material.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/source.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/scene.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/xmlutil.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/controller.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/geometry.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/polygons.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/animation.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/common.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/triangleset.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/camera.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/light.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/schema.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/__main__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
copying collada/asset.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_asset.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_lineset.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_light.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_iteration.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_geometry.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_collada.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_source.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_material.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_camera.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
copying collada/tests/test_scene.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/resources
copying collada/resources/schema-1.4.1.xml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/resources
copying collada/resources/xsd.xml -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/resources
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m unittest discover -v
test_asset (collada.tests.test_asset.TestAsset.test_asset) ... ok
test_asset_contributor 
(collada.tests.test_asset.TestAsset.test_asset_contributor) ... ok
test_orthographic_camera_saving 
(collada.tests.test_camera.TestCamera.test_orthographic_camera_saving) ... ok
test_orthographic_camera_xmag_ymag_aspect_ratio 
(collada.tests.test_camera.TestCamera.test_orthographic_camera_xmag_ymag_aspect_ratio)
 ... ok
test_perspective_camera_saving 
(collada.tests.test_camera.TestCamera.test_perspective_camera_saving) ... ok
test_perspective_camera_xfov_yfov_aspect_ratio 
(collada.tests.test_camera.TestCamera.test_perspective_camera_xfov_yfov_aspect_ratio)
 ... ok
test_collada_attribute_replace 
(collada.tests.test_collada.TestCollada.test_collada_attribute_replace) ... ok
test_collada_duck_poly 
(collada.tests.test_collada.TestCollada.test_collada_duck_poly) ... ERROR
test_collada_duck_tris 
(collada.tests.test_collada.TestCollada.test_collada_duck_tris) ... ERROR
test_collada_duck_zip 
(collada.tests.test_collada.TestCollada.test_collada_duck_zip) ... ERROR
test_collada_empty_triangles 
(collada.tests.test_collada.TestCollada.test_collada_empty_triangles) ... ERROR
test_collada_saving 
(collada.tests.test_collada.TestCollada.test_collada_saving) ... ok
test_collada_trifans 
(collada.tests.test_collada.TestCollada.test_collada_trifans) ... ERROR
test_collada_tristrips 
(collada.tests.test_collada.TestCollada.test_collada_tristrips) ... ERROR
test_namespace (collada.tests.test_collada.TestCollada.test_namespace)
Test loading a file with a different namespace. ... ERROR
test_empty_geometry_saving 
(collada.tests.test_geometry.TestGeometry.test_empty_geometry_saving) ... ok
test_geometry_lineset_adding 
(collada.tests.test_geometry.TestGeometry.test_geometry_lineset_adding) ... ok
test_geometry_polygons_adding 
(collada.tests.test_geometry.TestGeometry.test_geometry_polygons_adding) ... ok
test_geometry_polylist_adding 
(collada.tests.test_geometry.TestGeometry.test_geometry_polylist_adding) ... ok
test_geometry_triangleset_adding 
(collada.tests.test_geometry.TestGeometry.test_geometry_triangleset_adding) ... 
ok
test_polylist_iterator_vert_normals 
(collada.tests.test_iteration.TestIteration.test_polylist_iterator_vert_normals)
 ... /usr/lib/python3/dist-packages/numpy/matrixlib/defmatrix.py:70: 
PendingDeprecationWarning: the matrix subclass is not the recommended way to 
represent matrices or deal with linear algebra (see 
https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
adjust your code to use regular ndarray.
  return matrix(data, dtype=dtype, copy=False)
ok
test_triangle_iterator_vert_normals 
(collada.tests.test_iteration.TestIteration.test_triangle_iterator_vert_normals)
 ... ok
test_ambient_light_saving 
(collada.tests.test_light.TestLight.test_ambient_light_saving) ... ok
test_directional_light_saving 
(collada.tests.test_light.TestLight.test_directional_light_saving) ... ok
test_point_light_saving 
(collada.tests.test_light.TestLight.test_point_light_saving) ... ok
test_spot_light_saving 
(collada.tests.test_light.TestLight.test_spot_light_saving) ... ok
test_empty_lineset_saving 
(collada.tests.test_lineset.TestLineset.test_empty_lineset_saving) ... ok
test_lineset_construction 
(collada.tests.test_lineset.TestLineset.test_lineset_construction) ... ok
test_cimage_data_loading 
(collada.tests.test_material.TestMaterial.test_cimage_data_loading) ... FAIL
test_cimage_saving 
(collada.tests.test_material.TestMaterial.test_cimage_saving) ... ok
test_effect_saving 
(collada.tests.test_material.TestMaterial.test_effect_saving) ... ok
test_effect_with_params 
(collada.tests.test_material.TestMaterial.test_effect_with_params) ... ok
test_map_saving (collada.tests.test_material.TestMaterial.test_map_saving) ... 
ok
test_material_saving 
(collada.tests.test_material.TestMaterial.test_material_saving) ... ok
test_rgbzero (collada.tests.test_material.TestMaterial.test_rgbzero) ... ok
test_sampler2d_saving 
(collada.tests.test_material.TestMaterial.test_sampler2d_saving) ... ok
test_surface_empty 
(collada.tests.test_material.TestMaterial.test_surface_empty) ... ok
test_surface_saving 
(collada.tests.test_material.TestMaterial.test_surface_saving) ... ok
test_scene_camera_node_saving 
(collada.tests.test_scene.TestScene.test_scene_camera_node_saving) ... ok
test_scene_geometry_node 
(collada.tests.test_scene.TestScene.test_scene_geometry_node) ... ok
test_scene_light_node_saving 
(collada.tests.test_scene.TestScene.test_scene_light_node_saving) ... ok
test_scene_lookat_node 
(collada.tests.test_scene.TestScene.test_scene_lookat_node) ... ok
test_scene_material_node 
(collada.tests.test_scene.TestScene.test_scene_material_node) ... ok
test_scene_matrix_node 
(collada.tests.test_scene.TestScene.test_scene_matrix_node) ... ok
test_scene_node_combos 
(collada.tests.test_scene.TestScene.test_scene_node_combos) ... ok
test_scene_node_saving 
(collada.tests.test_scene.TestScene.test_scene_node_saving) ... ok
test_scene_node_with_instances 
(collada.tests.test_scene.TestScene.test_scene_node_with_instances) ... ok
test_scene_rotate_node 
(collada.tests.test_scene.TestScene.test_scene_rotate_node) ... ok
test_scene_scale_node 
(collada.tests.test_scene.TestScene.test_scene_scale_node) ... ok
test_scene_translate_node 
(collada.tests.test_scene.TestScene.test_scene_translate_node) ... ok
test_scene_with_nodes 
(collada.tests.test_scene.TestScene.test_scene_with_nodes) ... ok
test_float_source_saving 
(collada.tests.test_source.TestSource.test_float_source_saving) ... ok
test_idref_source_saving 
(collada.tests.test_source.TestSource.test_idref_source_saving) ... ok
test_name_source_saving 
(collada.tests.test_source.TestSource.test_name_source_saving) ... ok

======================================================================
ERROR: test_collada_duck_poly 
(collada.tests.test_collada.TestCollada.test_collada_duck_poly)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_collada.py", 
line 95, in test_collada_duck_poly
    mesh = collada.Collada(f, validate_output=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/__init__.py", 
line 170, in __init__
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/data/duck_polylist.dae'

======================================================================
ERROR: test_collada_duck_tris 
(collada.tests.test_collada.TestCollada.test_collada_duck_tris)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_collada.py", 
line 21, in test_collada_duck_tris
    mesh = collada.Collada(f, validate_output=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/__init__.py", 
line 170, in __init__
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/data/duck_triangles.dae'

======================================================================
ERROR: test_collada_duck_zip 
(collada.tests.test_collada.TestCollada.test_collada_duck_zip)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_collada.py", 
line 124, in test_collada_duck_zip
    mesh = collada.Collada(f, validate_output=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/__init__.py", 
line 170, in __init__
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/data/duck.zip'

======================================================================
ERROR: test_collada_empty_triangles 
(collada.tests.test_collada.TestCollada.test_collada_empty_triangles)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_collada.py", 
line 349, in test_collada_empty_triangles
    mesh = collada.Collada(f, validate_output=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/__init__.py", 
line 170, in __init__
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/data/empty_triangles.dae'

======================================================================
ERROR: test_collada_trifans 
(collada.tests.test_collada.TestCollada.test_collada_trifans)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_collada.py", 
line 343, in test_collada_trifans
    mesh = collada.Collada(f, validate_output=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/__init__.py", 
line 170, in __init__
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/data/trifans.dae'

======================================================================
ERROR: test_collada_tristrips 
(collada.tests.test_collada.TestCollada.test_collada_tristrips)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_collada.py", 
line 337, in test_collada_tristrips
    mesh = collada.Collada(f, validate_output=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/__init__.py", 
line 170, in __init__
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/data/tristrips.dae'

======================================================================
ERROR: test_namespace (collada.tests.test_collada.TestCollada.test_namespace)
Test loading a file with a different namespace.
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_collada.py", 
line 370, in test_namespace
    mesh = collada.Collada(file_name, validate_output=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/__init__.py", 
line 170, in __init__
    with open(filename, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/data/wam.zae'

======================================================================
FAIL: test_cimage_data_loading 
(collada.tests.test_material.TestMaterial.test_cimage_data_loading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/collada/tests/test_material.py", 
line 107, in test_cimage_data_loading
    self.assertTrue(os.path.isfile(texture_file_path), "Could not find 
data/duckCM.tga file for testing")
AssertionError: False is not true : Could not find data/duckCM.tga file for 
testing

----------------------------------------------------------------------
Ran 54 tests in 0.477s

FAILED (failures=1, errors=7)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover 
-v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to