GNU bug report logs -
#64870
[PATCH 0/1] gnu: picard: Update to 2.9.
Previous Next
Reported by: Hilton Chain <hako <at> ultrarare.space>
Date: Wed, 26 Jul 2023 10:22:02 UTC
Severity: normal
Tags: patch
Done: 宋文武 <iyzsong <at> envs.net>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 1 year and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.