Your message dated Wed, 31 Jul 2024 11:50:00 +0000
with message-id <e1sz7qc-00biak...@fasolo.debian.org>
and subject line Bug#1074586: fixed in mayavi2 4.8.2-1
has caused the Debian Bug report #1074586,
regarding mayavi2:FTBFS:build failure(UnicodeDecodeError)
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.)


-- 
1074586: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074586
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mayavi2
Version: 4.8.1-5
Severity: serious
Tags: FTBFS, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear mayavi2 Maintainer,
The package mayavi2 build failed on arch riscv64 caused
by UnicodeDecodeError.The crucial buildd log below:
```

INFO: compile options: '-I/usr/include/python3.12 -c'
extra options: '-march=native'
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 432, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/numpy/distutils/core.py", line
170, in setup
    return old_setup(**new_attr)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line
107, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py",
line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py",
line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py",
line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233,
in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py",
line 988, in run_command
    cmd_obj.run()
  File "/<<PKGBUILDDIR>>/setup.py", line 288, in run
    build.build.run(self)
  File "/usr/lib/python3/dist-packages/numpy/distutils/command/build.py",
line 62, in run
    old_build.run(self)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py",
line 131, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py",
line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233,
in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py",
line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/numpy/distutils/command/build_ext.py",
line 163, in run
    self.compiler_opt = new_ccompiler_opt(
                        ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 2665, in new_ccompiler_opt
    opt = CCompilerOpt(compiler, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 2223, in __init__
    _CCompiler.__init__(self)
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 1075, in __init__
    if self.cc_test_flags([f]):
       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 908, in cache_wrap_me
    ccb = cb(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 1088, in cc_test_flags
    test = self.dist_test(test_path, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 632, in dist_test
    self.dist_compile(
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 614, in dist_compile
    return ccompiler.compile(sources, extra_postargs=flags, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler.py",
line 91, in <lambda>
    m = lambda self, *args, **kw: func(self, *args, **kw)
                                  ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler.py",
line 369, in CCompiler_compile
    single_compile(o)
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler.py",
line 328, in single_compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler.py",
line 91, in <lambda>
    m = lambda self, *args, **kw: func(self, *args, **kw)
                                  ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/distutils/unixccompiler.py",
line 54, in UnixCCompiler__compile
    self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + deps +
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 756, in _dist_test_spawn
    o = subprocess.check_output(cmd, stderr=subprocess.STDOUT,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 550, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1196, in communicate
    stdout = self.stdout.read()
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
30: ordinal not in range(128)
INFO: CCompilerOpt.cache_flush[864] : write cache to path ->
/<<PKGBUILDDIR>>/build/temp.linux-riscv64-cpython-312/ccompiler_opt_cache_ext.py
Exception ignored in: <function _Cache.__del__ at 0x3fa58eb6a0>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/numpy/distutils/ccompiler_opt.py",
line 852, in __del__
AttributeError: 'NoneType' object has no attribute 'items'
E: pybuild pybuild:389: build: plugin distutils failed with: exit
code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p 3.12
returned exit code 13
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=mayavi2&arch=riscv64&ver=4.8.1-5&stamp=1719833618&raw=0
My solution to this issue:
This error is caused by incorrect locale setting on riscv64,so I can modify
debian/rules to make the locale setting match this package build
environment.The patch is in the attachment,I have tested the solution in my
machine,and it works well.Please let me know wheather this solution can be
accepted.

Attachment: fix_unicodedecodeerror_on_riscv64.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: mayavi2
Source-Version: 4.8.2-1
Done: Michael R. Crusoe <cru...@debian.org>

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

Debian distribution maintenance software
pp.
Michael R. Crusoe <cru...@debian.org> (supplier of updated mayavi2 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: Wed, 31 Jul 2024 11:51:11 +0200
Source: mayavi2
Architecture: source
Version: 4.8.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Michael R. Crusoe <cru...@debian.org>
Closes: 1035165 1074586 1075260 1076818
Changes:
 mayavi2 (4.8.2-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version. Closes: #1074586, #1075260, #1076818
   * Standards-Version: 4.6.2 (routine-update)
   * d/watch: removed outdated reference to debian/orig-tar.sh
   * d/patches: removed traitsui-8 &
     681e29acb678f49037df38f99994c86fa767203a, applied upstream.
   * d/control: run the tests using pytest like upstream does
   * d/rules: don't ignore the results of running the tests
   * Use autopkgtest-pkg-pybuild. Closes: #1035165
Checksums-Sha1:
 89aaa0df87c089cf8dd34a2260d7588b6d4904b6 2268 mayavi2_4.8.2-1.dsc
 3ff47306f742a4f6975bbb325bae24b1757b7869 7100132 mayavi2_4.8.2.orig.tar.gz
 1225cbe5f8d325c1d8dde8f6af54f40ba28ac380 366552 mayavi2_4.8.2-1.debian.tar.xz
 fc2b77a6f0b90675af303432bc004c6ffa335c98 9540 mayavi2_4.8.2-1_source.buildinfo
Checksums-Sha256:
 dc1cba209ebba282a69a501f5d171aac2b28b15da16195222ea827fb91c1582f 2268 
mayavi2_4.8.2-1.dsc
 b10fe9145f21c48e4902f0e746b3603b3cb694d11456515a46820f21a0a74229 7100132 
mayavi2_4.8.2.orig.tar.gz
 21139334163245b3c2159303196914a5462167d9710db4d278cae09e62b2cd13 366552 
mayavi2_4.8.2-1.debian.tar.xz
 829d48d27fa9553b22f10801e48a21e500f55a4f3f171f92015319aeea3d3820 9540 
mayavi2_4.8.2-1_source.buildinfo
Files:
 23ebbd9bbc4b8a66beb2c346f90cc377 2268 science optional mayavi2_4.8.2-1.dsc
 7a792b840a63efa0fc30e9eaa4fe5bcb 7100132 science optional 
mayavi2_4.8.2.orig.tar.gz
 fcd649155750835310d26040af3fcde7 366552 science optional 
mayavi2_4.8.2-1.debian.tar.xz
 b2fa3413119b8772da7cbdd4960fd4f1 9540 science optional 
mayavi2_4.8.2-1_source.buildinfo

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

iQIzBAEBCgAdFiEEck1gkzcRPHEFUNdHPCZ2P2xn5uIFAmaqItYACgkQPCZ2P2xn
5uLgMRAAja5673WjoI/bN59SqzocjiBqrfZVvaccpZVjptaLZAoMntPV8jyT3rPi
QhFgapXNhJ/APE9HNa9wD1s7o4H0IxlXXePoeJsKr5va3LuDgMZa5ajyXM+nXwV1
7sCp2iw7AbRJTYSj6fwTa3fIAFKV8BB4rjvp+P26IQfJe7Mv4Y53YEZYHHDP4Qjs
pt4MOrOM8EPumzRc9IMshQHJD6VIG3LRxOkY6ISlXya0sw1J2nclKjQygn5x+Pwl
N5XfRSDcY5NEq/fPCSoF2PhpuzEfSW2fhSJL14DCmADrKNmhlUavejM1yifC1bFk
njS7f9tob8csoM/C7KDi9eGEHkJSeipLlqqtekhvfNTooUUhLUKRTfJyRITqPKCb
rlDo9g1RaeqtYaPD0YFtMCogjwIlwpfxJXF/4PNJEdtlfb63q+lOadx4m3btCOTv
i9fyYcx5lozUfw211u9y1BwYEhdUPDgdHEXxN5Rmjv/W3ToEE5NVK5yz7uylpIKL
BP/k8yG8EKA9rfpvNqV/ga5PMmItNVn8tRvfSDkEFk9/GmRo+y0nEHHZ/zWhch9V
E9nKzqi6H2B2SFRoC7pt5isMW4BF0j2ttbx0MPuo1exmfSE+8DWkZmfvqFCydLfd
MdGTYXCYLzgzYDW+wYWQxeNZGLRLypKR96I5kFyKq1jZI6N9TsU=
=m6Ta
-----END PGP SIGNATURE-----

Attachment: pgpp1i8CMEQXo.pgp
Description: PGP signature


--- End Message ---

Reply via email to