Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300108 - app-portage/gentoolkit-0.3.0_rc8: epkginfo fails with CVS tree
Summary: app-portage/gentoolkit-0.3.0_rc8: epkginfo fails with CVS tree
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2010-01-07 23:52 UTC by Dror Levin (RETIRED)
Modified: 2010-02-19 15:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dror Levin (RETIRED) gentoo-dev 2010-01-07 23:52:41 UTC
This is the error I get:
spatz@kamino ~ $ epkginfo gcc
Traceback (most recent call last):
  File "/usr/bin/epkginfo-2.6", line 34, in <module>
    main(args)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/equery/meta.py", line 488, in main
    call_format_functions(matches)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/equery/meta.py", line 261, in call_format_functions
    herds = format_herds(ref_pkg.metadata.herds(include_email=True))
  File "/usr/lib64/python2.6/site-packages/gentoolkit/metadata.py", line 232, in herds
    herd_mail = self._get_herd_email(elem.text)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/metadata.py", line 208, in _get_herd_email
    self._herdstree = etree.parse(herds_path)
  File "<string>", line 45, in parse
  File "<string>", line 22, in parse
IOError: [Errno 2] No such file or directory: u'/home/spatz/dev/gentoo-x86/metadata/herds.xml'

It did work in 0.3.0_rc7 though.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2010-01-08 19:05:16 UTC
epkginfo was changed to be a wrapper that calls equery meta to generate the same output.

This change was tested extensively against the portage tree, unfortunately, no one doing the testing thought to run it against a CVS tree.

As a workaround until it is fixed, you can grab the older epkginfo from:
http://sources.gentoo.org/viewcvs.py/gentoolkit/trunk/deprecated/epkginfo/
Comment 2 Paul Varner (RETIRED) gentoo-dev 2010-01-08 21:39:04 UTC
$ svn commit -m "Fix epkginfo to not traceback if herds.xml is not in the tree"
Sending        gentoolkit/ChangeLog
Sending        gentoolkit/pym/gentoolkit/metadata.py
Transmitting file data ..
Committed revision 732.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2010-02-19 15:27:13 UTC
Released in gentoolkit-0.3.0_rc9