Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540620 - app-portage/portage-utils: add support for repos.conf (broken without PORTDIR in make.conf)
Summary: app-portage/portage-utils: add support for repos.conf (broken without PORTDIR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
: 546136 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-19 08:16 UTC by Elias Probst
Modified: 2015-06-11 19:04 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 Elias Probst 2015-02-19 08:16:10 UTC
I moved my /usr/portage/ to /var/cache/portage/repos/gentoo/.

'quse' fails now like this:

moria ~ # quse -D X
use: skipping use.desc: No such file or directory
use: skipping use.local.desc: No such file or directory
use: skipping arch.list: No such file or directory
use: skipping profiles/desc/: No such file or directory
Comment 1 SpanKY gentoo-dev 2015-02-19 23:19:15 UTC
what does this show:
  portageq envvar PORTDIR
  DEBUG=1 q
Comment 2 Elias Probst 2015-02-19 23:30:54 UTC
(In reply to SpanKY from comment #1)
> what does this show:
>   portageq envvar PORTDIR
% portageq envvar PORTDIR                    
WARNING: 'portageq envvar PORTDIR' is deprecated. Use 'portageq repositories_configuration' instead.
/var/cache/portage/repos/gentoo

% portageq repositories_configuration /      
[DEFAULT]
auto-sync = yes
main-repo = gentoo

[gentoo]
auto-sync = yes
location = /var/cache/portage/repos/gentoo
masters = 
priority = -1000
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage

>   DEBUG=1 q

ROOT = /
ACCEPT_LICENSE = *
INSTALL_MASK = 
PKG_INSTALL_MASK = 
ARCH = amd64
CONFIG_PROTECT = /etc /etc /etc
CONFIG_PROTECT_MASK = /etc/env.d /etc/gconf /etc/env.d
NOCOLOR = 0
FEATURES = noman noinfo nodoc assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr ccache parallel-fetch preserve-libs splitdebug collision-protect -userfetch
EPREFIX = /
PORTDIR = /usr/portage
PORTAGE_BINHOST = http://tinderbox.dev.gentoo.org/default/linux/amd64
PORTAGE_TMPDIR = /var/tmp
PKGDIR = /var/cache/portage/packages/
Q_VDB = /var/db/pkg
Comment 3 SpanKY gentoo-dev 2015-02-20 05:06:46 UTC
portage-utils doesn't support repos.conf files.  you'll need to manually set PORTDIR to the main tree to keep them working.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-04-10 08:51:10 UTC
*** Bug 546136 has been marked as a duplicate of this bug. ***