Summary: | >=x11-terms/gnome-terminal-2.26.3.1-r2 fails src_test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Meier <maekke> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jean-michel.berliere |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=617206 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 263083, 281427 | ||
Attachments: |
x11-terms:gnome-terminal-2.26.3.1-r2:20091016-173318.log
emerge --info gnome-terminal-2.26.3.1-r2 build.log of gnome-terminal-2.26.3.1-r2 Patch to get valid XML in en_GB help |
Description
Markus Meier
![]() Created attachment 207345 [details]
x11-terms:gnome-terminal-2.26.3.1-r2:20091016-173318.log
I had the exact same problem and emerging dev-libs/libxml2-2.7.3-r2 solved it. Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce this test failure. (In reply to comment #3) > Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce > this test failure. this happens with libxml2-2.7.3-r2 USE="examples ipv6 python readline test". try with LINGUAS provided in `emerge --info`. Created attachment 218541 [details]
emerge --info gnome-terminal-2.26.3.1-r2
Created attachment 218547 [details]
build.log of gnome-terminal-2.26.3.1-r2
If this can help to solve ... I've tried to update in december ==> failed; I've deleted it and re emerge ==> failed ; I try today ==> failed. You'll find on attachements : N°218541 : the result of an emerge --info gnome-terminal-2.26.3.1-r2 N°218547 : the build.log And the libxml2-2.7.3-r2 is installed. (In reply to comment #3) > Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce > this test failure. > @ Nirbheek These issues has nothing to do with libxml2. The way some (most?) GNOME packages work to reproduce these problems you have to make sure that LINGUAS only is specified for the failing language, else it might not build the documentation. It also might build it but not test it, or might (not so common) build and fail during testing it, but the makefile does not error out. I have seen all three happend trying to reproduce bug #289372. So the way to make sure you will reproduce this is to specify LINGUAS="en_GB", else you might not see this error. This is also true for bug #289372 and bug #289348. Seems just like bug #289348: I bet the error is the content of help/en_GB/gnome-terminal.xml which is not valid to the DTD. Maybe I can look into this tomorrow night (CET). Created attachment 220209 [details, diff]
Patch to get valid XML in en_GB help
The attached patch corrects the en_GB help to valid XML according to xmllint run by "make check".
(In reply to comment #10) > Created an attachment (id=220209) [details] > Patch to get valid XML in en_GB help > > The attached patch corrects the en_GB help to valid XML according to xmllint > run by "make check". > Hum, I shall like to believe whether it is it. But in my case I'm not sure of it. My LINGAS is Fr, the first error which appears with Traceback is "ImportError: No module name libxml2" (and the installed version of libxml2 is 2.7.3-r2); and to finish I don't how understand to install the patch because that files don't exist (It's no more a upgrade, I can not install Gnome-Terminal) (In reply to comment #11) > (In reply to comment #10) > > Created an attachment (id=220209) [details] [details] > > Patch to get valid XML in en_GB help > > Hum, I shall like to believe whether it is it. But in my case I'm not sure of > it. > My LINGAS is Fr, the first error which appears with Traceback is "ImportError: > No module name libxml2" (and the installed version of libxml2 is 2.7.3-r2); and > to finish I don't how understand to install the patch because that files don't > exist (It's no more a upgrade, I can not install Gnome-Terminal) Sorry, I have not read comment #6 and your build log. Your "ImportError" should not be related to the patch I attached. It seems that libxml2 can not be loaded by the python script /usr/bin/xml2po (from app-text/gnome-doc-utils-0.16.1 on my system) on your system. I have /usr/lib/python2.6/site-packages/libxml2.py (and .pyo, .pyc). It belongs to dev-libs/libxml2-2.7.3-r2. Maybe the python bindings for/from libxml2 are missing on your system. What do the following three commands output on your system? # emerge --info libxml2 ... dev-libs/libxml2-2.7.3-r2 was built with the following: USE="ipv6 python readline -debug -doc -examples -test" LDFLAGS="-Wl,-O1" # qlist libxml2 | fgrep .py /usr/lib/python2.6/site-packages/libxml2.py /usr/lib/python2.6/site-packages/drv_libxml2.py # python -c 'import libxml2' ; echo $? 0 (In reply to comment #12) > (In reply to comment #11) > Sorry, I have not read comment #6 and your build log. No matter, thanks for your answer > Your "ImportError" should not be related to the patch I attached. It seems that > libxml2 can not be loaded by the python script /usr/bin/xml2po (from > app-text/gnome-doc-utils-0.16.1 on my system) on your system. The version of my /usr/bin/xml2po is "0.16.1". I don't know with which package it came. > I have /usr/lib/python2.6/site-packages/libxml2.py (and .pyo, .pyc). It belongs > to dev-libs/libxml2-2.7.3-r2. Maybe the python bindings for/from libxml2 are > missing on your system. I have the 3 libxml2 too (.py, .pyo, .pyc), but curiously, their mode is 644 (x flag is missing ?!) > What do the following three commands output on your system? > > # emerge --info libxml2 > ... > dev-libs/libxml2-2.7.3-r2 was built with the following: > USE="ipv6 python readline -debug -doc -examples -test" > LDFLAGS="-Wl,-O1" The same without the last line "LDFLAGS ..." > # qlist libxml2 | fgrep .py > /usr/lib/python2.6/site-packages/libxml2.py > /usr/lib/python2.6/site-packages/drv_libxml2.py The same > # python -c 'import libxml2' ; echo $? > 0 The same I think that this bug is bound to the upgrade to python 2.6 (as my problem with ROX see : http://bugs.gentoo.org/show_bug.cgi?id=303597 ). But I don't really see how resolving it. (In reply to comment #13) I answer to myself because I found ! I just come to chmod 744 /usr/lib/python2.6/site-packages/libxml2.*, and now the emerge -vau gnome-terminal works !! Now, it would be necessary to know why these executable files were installed in mode 644 ? Thanks to Daniel to have shown me the way. + 30 Apr 2010; Pacho Ramos <pacho@gentoo.org> + gnome-terminal-2.26.3.1-r2.ebuild, + +files/gnome-terminal-2.26.3.1-en_GB.patch, gnome-terminal-2.28.2.ebuild: + Fix British English documentation translation. Thanks to Daniel Schömer + for pointing to the issue and Markus Meier for reporting bug #289361. This + is solved by upstream in >2.30.1 |