Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565576 - =dev-libs/libxml2-2.9.8 - src_test(): FileNotFoundError: [Errno 2] No such file or directory: '../../test/valid/REC-xml-19980210.xml'
Summary: =dev-libs/libxml2-2.9.8 - src_test(): FileNotFoundError: [Errno 2] No such fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-11-12 08:29 UTC by Jeroen Roovers (RETIRED)
Modified: 2019-01-03 10:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-libs:libxml2-2.9.2-r4:20151112-080234.log (20151112-080234.log,256.54 KB, text/x-log)
2015-11-12 08:29 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-11-12 08:29:09 UTC
Created attachment 416762 [details]
dev-libs:libxml2-2.9.2-r4:20151112-080234.log

## running Python regression tests
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2/python/tests/reader5.py", line 17, in <module>
    f = open('../../test/valid/REC-xml-19980210.xml', 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '../../test/valid/REC-xml-19980210.xml'
-- reader5.py

make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2-.hppa-python3_4/python/tests'
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-11-12 16:09:33 UTC
I actually have the same error, I wonder how I did not see it before.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-11-12 16:27:15 UTC
ok got it, this is out-of-tree build for python modules that triggers this problem.
Comment 3 Mart Raudsepp gentoo-dev 2018-04-22 08:28:48 UTC
hmm, I didn't get this with libxml2-2.9.8; has this perhaps been somehow tweaked over time to not be a problem anymore?
Comment 4 Mart Raudsepp gentoo-dev 2018-05-30 09:50:16 UTC
seeing the issue now on arm64, but it doesn't die out
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-23 09:18:25 UTC
The test rule is apparently broken and does not fail on test failures.  I'm going to call this a major issue since ignored test failures result in people missing them and wrongly adding support for new Python versions when they are clearly regressions.
Comment 6 Larry the Git Cow gentoo-dev 2019-01-03 10:54:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00985c576a4af05b6cc871fe63f93a6537bb20e

commit c00985c576a4af05b6cc871fe63f93a6537bb20e
Author:     Mike Frysinger <vapier@chromium.org>
AuthorDate: 2019-01-03 10:52:31 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: 2019-01-03 10:54:21 +0000

    dev-libs/libxml2: fix reader5.py test #565576
    
    Closes: https://bugs.gentoo.org/565576
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

 .../files/libxml2-2.9.8-out-of-tree-test.patch     | 40 ++++++++++++++++++++++
 dev-libs/libxml2/libxml2-2.9.8.ebuild              |  3 ++
 2 files changed, 43 insertions(+)