mbox series

[bug#64870,0/1] gnu: picard: Update to 2.9.

Message ID cover.1690366345.git.hako@ultrarare.space
Headers show
Series gnu: picard: Update to 2.9. | expand

Message

Hilton Chain July 26, 2023, 10:20 a.m. UTC
Hello Guix!

This patch updates picard to 2.9.  One test file (test_util_pipe.py) is deleted
since it fails in the build environment and I don't know how to fix it, the context
is given below.

Tests will succeed in the container spawned with "guix shell" with the following
commands:
--8<---------------cut here---------------start------------->8---
cd /tmp/
tar xf /gnu/store/fdm4a4mk5fygdvkcwc612k6k24zkkl2s-picard-2.9.tar.gz
cd picard-release-2.9/
guix shell -CD picard

export SETUPTOOLS_SHIM="import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))"

python -c "$SETUPTOOLS_SHIM" build && python -c "$SETUPTOOLS_SHIM" test
--8<---------------cut here---------------end--------------->8---

But for "guix build", one test fails and check phase hangs with the following
output:
--8<---------------cut here---------------start------------->8---
[...]
E: 09:46:44,831 util/pipe.read_from_pipe:244: pipe reader exception: ERROR: Pipe doesn't exist
E: 09:46:44,831 util/pipe._reader:346: Pipe file removed unexpectedly
E: 09:46:44,831 util/pipe.read_from_pipe:244: pipe reader exception: ERROR: Pipe doesn't exist
E: 09:46:44,831 util/pipe._reader:346: Pipe file removed unexpectedly
E: 09:46:44,832 util/pipe.read_from_pipe:244: pipe reader exception: ERROR: Pipe doesn't exist
E: 09:46:44,832 util/pipe._reader:346: Pipe file removed unexpectedly
.......s............................................................................................................................................................................................................................................s...........................................................................................................................s....................s.ss.ss.ss......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s........s....s....s.............s.......s....s....s.........................................s.................s.......................................................................................................................................................................................................................................................................................................................................................................s..............ss......................s..............ss............s..............ss..................................s...s...........................s...s...........................s...s............................s...s............................s...s...........................s...s...........................s...s.................................s...s....................................s...s...........
======================================================================
FAIL: test_pipe_protocol (test.test_util_pipe.TestPipe)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-picard-2.9.drv-0/picard-release-2.9/test/test_util_pipe.py", line 93, in test_pipe_protocol
    self.assertEqual(res, message,
AssertionError: '' != 'it'
+ it : Data is sent and read correctly

----------------------------------------------------------------------
Ran 2329 tests in 44.455s

FAILED (failures=1, skipped=72)
At least one test failed.
--8<---------------cut here---------------end--------------->8---

Thanks

Hilton Chain (1):
  gnu: picard: Update to 2.9.

 gnu/packages/music.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)


base-commit: ca133a7c4d8bf07618b17a614b872fb8538da77b
--
2.41.0