Given this page: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4#doc_chap2 repoman does not support <changelog> in metadata.xml, see that following error message: RepoMan scours the neighborhood... !!! metadata.xml is invalid: !!! I/O error : Attempt to load network entity http://www.gentoo.org/dtd/metadata.dtd !!! /tmp/gentoo-x86/app-portage/eix/metadata.xml:2: warning: failed to load external entity "http://www.gentoo.org/dtd/metadata.dtd" !!! <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> !!! ^ !!! /tmp/gentoo-x86/app-portage/eix/metadata.xml:3: element pkgmetadata: validity error : Element pkgmetadata content does not follow the DTD, expecting (herd | maintainer | longdescription | use | upstream)*, got (herd maintainer maintainer changelog use ) !!! Document /tmp/gentoo-x86/app-portage/eix/metadata.xml does not validate against /usr/portage/distfiles/metadata.dtd ebuild.notadded 1 app-portage/eix/eix-0.17.0.ebuild metadata.bad 1 app-portage/eix/metadata.xml
%% emerge --version Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29.4 x86_64)
Repoman uses a DTD thats on the network. curl http://www.gentoo.org/dtd/metadata.dtd shows that the DTD supports changelogs; so the question is...why did your download of that DTD fail? RepoMan scours the neighborhood... !!! metadata.xml is invalid: !!! I/O error : Attempt to load network entity http://www.gentoo.org/dtd/metadata.dtd !!! /tmp/gentoo-x86/app-portage/eix/metadata.xml:2: warning: failed to load external entity "http://www.gentoo.org/dtd/metadata.dtd" -A
I have same error on my overlay after failed downloading of metadata.dtd. Where I need to place this file to fix it?
(In reply to comment #3) > I have same error on my overlay after failed downloading of metadata.dtd. Where > I need to place this file to fix it? wget -O $(portageq distdir)/metadata.dtd http://www.gentoo.org/dtd/metadata.dtd
(In reply to comment #4) > (In reply to comment #3) > > I have same error on my overlay after failed downloading of metadata.dtd. Where > > I need to place this file to fix it? > > wget -O $(portageq distdir)/metadata.dtd http://www.gentoo.org/dtd/metadata.dtd > Ahh, sorry solved by myself already :). There my solution: during refreshing download in /usr/portage/distfiles repoman reated zero-sized metadata.dtd. I deleted it and now repoman works fine. Thank you!
(In reply to comment #5) > There my solution: during refreshing download in /usr/portage/distfiles repoman > reated zero-sized metadata.dtd. That case should be fixed in latest portage (2.1.7.x). Now it downloads metadata.dtd to a temporary file and renames the temporary file only after a complete and successful download.