Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14242 - repoman doesn't use local directory correctly
Summary: repoman doesn't use local directory correctly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 11:57 UTC by Alain Penders (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
2 users (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 Alain Penders (RETIRED) gentoo-dev 2003-01-20 11:57:43 UTC
Although I'm in a local CVS checkout of gentoo-x86, repoman constantly keeps on
looking at /usr/portage.  Setting PORTDIR to my CVS copy fixes this, but from
what I understand should not be needed.  If it is needed, it's prime time to
update the repoman manual :-)

For example:

/home/alain> cd gentoo/gentoo-x86/dev-util/subversion/
dev-util/subversion> ls
CVS  ChangeLog  files  subversion-0.10_pre1.ebuild  subversion-0.16.ebuild
dev-util/subversion> repoman

RepoMan scours the neighborhood...
!!! Failed to stat ebuild: /usr/portage/dev-util/subversion/subversion-0.16.ebuild
!!! doebuild: /usr/portage/dev-util/subversion/subversion-0.16.ebuild not found.

aux_get(): (0) Error in dev-util/subversion-0.16 ebuild.

  digest.missing       1
   dev-util/subversion/files/digest-subversion-0.16
  ebuild.notadded      1
   dev-util/subversion/subversion-0.16.ebuild
  ebuild.syntax        1
   dev-util/subversion/subversion-0.16.ebuild


dev-util/subversion> setenv PORTDIR /home/alain/gentoo/gentoo-x86/
dev-util/subversion> repoman

RepoMan scours the neighborhood...

aux_get(): (0) Error in dev-util/subversion-0.16 ebuild.


aux_get(): (1) couldn't open cache entry for dev-util/subversion-0.16
               Check for syntax error or corruption in the ebuild.


  digest.missing       1
   dev-util/subversion/files/digest-subversion-0.16
  ebuild.notadded      1
   dev-util/subversion/subversion-0.16.ebuild
  ebuild.syntax        1
   dev-util/subversion/subversion-0.16.ebuild


dev-util/subversion>
Comment 1 Alain Penders (RETIRED) gentoo-dev 2003-03-07 20:17:30 UTC
The latest version of repoman fixes this by setting PORTDIR to the directory you're working in, but it still requires running as root before repoman works correctly :-(
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-03-10 21:40:44 UTC
Did you add your user to group portage?
Another path bug is fixed for 47-r9, also.
Comment 3 Alain Penders (RETIRED) gentoo-dev 2003-03-11 09:26:20 UTC
Nope.  Since repoman doesn't write anything, I shouldn't really have to...
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-03-12 08:04:29 UTC
It does... It can't create deps without being in the portage group...
and if it can't create the deps, it can't check syntax errors nor make
any reasonable reports about the ebuild.
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2003-03-13 22:48:05 UTC
portage group