libxml2-2.6.20-r2 will try to fetch xsts-2002-01-16.tar.gz during the test phase. This should be moved to be a SRC_URI component.
Created attachment 71643 [details, diff] Add test tarballs to SRC_URI when building tests Two tarballs are fetched from w3.org for tests: http://www.w3.org/XML/2004/xml-schema-test-suite/xmlschema2002-01-16/xsts-2002-01-16.tar.gz http://www.w3.org/XML/2004/xml-schema-test-suite/xmlschema2004-01-14/xsts-2004-01-14.tar.gz The ebuild patch here (for 2.6.20-r2) includes them in SRC_URI, and moves them to their expected location in src_unpack(). I haven't done anything outside of the ebuild, but you may want to consider doing changing gnome.org.eclass to provide the name of the source archive: [ -z "${GNOME_TARBALL_SUFFIX}" ] && export GNOME_TARBALL_SUFFIX="bz2" PVP=(${PV//[-\._]/ }) GNOME_TARBALL="${P}.tar.${GNOME_TARBALL_SUFFIX}" SRC_URI="mirror://gnome/sources/${PN}/${PVP[0]}.${PVP[1]}/${GNOME_TARBALL}" and then using ${GNOME_TARBALL} in the src_unpack() function instead of ${P}.tar.${GNOME_TARBALL_SUFFIX} as I have done. Same probably applies to 2.6.22 but that's left as an exercise for the reader :) The tarballs are listed in xstc/Makefile (search for TARBALL)
Created attachment 72429 [details, diff] ebuild patch to add test tarballs to SRC_URI when building tests Here's a patch against 2.6.22 to make it easy, since the issue wasn't been picked up before marking 2.6.22 stable. Patch is essentially unchanged from 2.6.20-r2, just applies cleanly against 2.6.22. It still may be worth exporting the archive filename from gnome.org.eclass - see previous comments.
Leonardo; since you've just added libxml-2.6.23, could you please consider putting in this fix. The fix has been here since 2.6.20-r2. Thanks
Fix committed on 2.6.23-r1 with permission of AllanonJL, all arches marked unstable.
This fix does not work for me. Moving /usr/portage/distfiles/xsts-2002-01-16.tar.gz to /var/tmp/portage/libxml2-2.6.23-r1/work/libxml2-2.6.23/xstc/xsts-2002-01-16.tar.gz is denied. Here is the error, sorry for hungarian words: ACCESS DENIED rename: /usr/portage/distfiles/xsts-2002-01-16.tar.gz mv: `/usr/portage/distfiles/xsts-2002-01-16.tar.gz'-t nem lehet ide
This fix does not work for me. Moving /usr/portage/distfiles/xsts-2002-01-16.tar.gz to /var/tmp/portage/libxml2-2.6.23-r1/work/libxml2-2.6.23/xstc/xsts-2002-01-16.tar.gz is denied. Here is the error, sorry for hungarian words: ACCESS DENIED rename: /usr/portage/distfiles/xsts-2002-01-16.tar.gz mv: `/usr/portage/distfiles/xsts-2002-01-16.tar.gz'-t nem lehet ide áthelyezni: `/var/tmp/portage/libxml2-2.6.23-r1/work/libxml2-2.6.23/xstc/xsts-2002-01-16.tar.gz'
Using cp ${DISTDIR}/${XSTS_TARBALL_1} instead of mv ${DISTDIR}/${XSTS_TARBALL_1} in the patch seems good.
Gah - how embarrassing; that was a stupid mistake! Thanks for the report; fixed in cvs (changed mv to cp!)