Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405443 - dev-libs/libxml2-2.7.8-r5 suffers a test failure
Summary: dev-libs/libxml2-2.7.8-r5 suffers a test failure
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-02-23 14:19 UTC by Ian Delaney (RETIRED)
Modified: 2014-06-30 14:01 UTC (History)
0 users

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


Attachments
the build log (libxml2-2.7.8-r5_build.log,150.94 KB, text/plain)
2012-02-23 14:19 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-02-23 14:19:19 UTC
Created attachment 302977 [details]
the build log

Testing the packages.

This test fail is fixable but I don't know how to get the newly acquired package untarred into the source.

Testing HTMLparser : 32 of 38 functions ...
Testing HTMLtree : 18 of 18 functions ...
----------------------------------------------
xmlconf/xmlconf.xml is missing 
  you need to fetch and extract the
  latest XML Conformance Test Suites
  http://www.w3.org/XML/Test/xmlts20080205.tar.gz
  see http://www.w3.org/XML/Test/ for informations
Ran 0 tests, no errors
Total 0 tests, no errors

localhost logs # find /var/tmp/portage/portage/dev-libs/libxml2-2.7.8-r5/work/libxml2-2.7.8/ -name xmlconf

not present

Having acquired an updated vesrion of the file, xmlts20080827.tar

idella@localhost ~ $ tar -xf xmlts20080827.tar
idella@localhost ~ $ ls xmlconf/
eduni  files  ibm  japanese  oasis  sun  testcases.dtd  xmlconf.xml  xmltest


Here is our missing xmlconf.xml

To the ebuild, I added;

XSTS_TARBALL_3="http://www.w3.org/XML/Test/xmlts20080827.tar"
(It comes in both .tar and .tar.gz)

SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz
        test? (
                ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
                ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
                ${XSTS_TARBALL_3} )"

(The already present XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite" is a different site)

This I am not practiced enough to get quite right.  All need be done is to get the xmlts20080827.tar to be unpacked in the source.  Then at least the xmlconf/xmlconf.xml will be present and it should then pass.
It may not like the xmlts20080827.tar and want a xmlts20080827.tar.gz, I haven't tried.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-02-23 15:18:04 UTC
hmmm, seems I figured it.  Two occasions in one day.

My guess is emerge =dev-libs/libxml2-2.7.8-r5 initially failed with test set.
Thereafter I used ebuild libxml2-2.7.8-r5 clean test from in the portage tree.

The file I am sure still requires adding to the ebuild. 
With test set, emerge =dev-libs/libxml2-2.7.8-r5 now is effective.

>>> Emerging (1 of 1) dev-libs/libxml2-2.7.8-r5
>>> Installing (1 of 1) dev-libs/libxml2-2.7.8-r5

I have a log saved. 
/home/idella/logs//build//dev-libs/libxml2-2.7.8-r5:20120223-150341.log

if desired
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-06-30 14:01:47 UTC
If this is still relevant with >=libxml2-2.9.1-r4, please reopen.