On Wed, 27 Jan 2016 14:54:23 +0000 (UTC)
Martin Vaeth <mar...@mvath.de> wrote:

> »Q« <boxc...@gmx.net> wrote:
> > eix-sync  
> 
> Which method do you use for syncing (rsync, git, ...)?
> 
> > I've run 'emerge --metadata' and 'eix-update'  
> 
> The requirement to run emerge --metadata seems to suggest that
> you use git?  If this is true, better use egencache to generate
> the metadata in the repositories' directories instead of
> /var/cache/edb/dep/
> 
> Afterwards (or if you use rsync anyway),
> remove possibly obsolete /var/cache/edb/dep/*
> and do *not* call emerge --metadata manually.
> 
> What is the output of eix-update?
> 
> Also check whether perhaps the information of eix is
> correct. E.g. for
> 
> > $ eix qtchooser
> > [?] dev-qt/qtchooser
> >      Available versions:  0_p20150102 ~0_p20151008  
> 
> check whether in ${PORTDIR}/metadata/md5-cache/dev-qt
> the file qtchooser-0_p20151008 perhaps contains a line with
> KEYWORDS= ... ~amd64 ...

The same kind of issue has happened again -- so I'm resurrecting the
thread.  I'm more interesting in finding out what causes it so I can
prevent it for the future than in fixing this one instance of it.  (But
finding out how to fix it would make it much less annoying if it does
happen again.)

After my latest eix-sync (using rsync), portage and eix see the status
of dev-perl/Pango differently, with portage saying 1.224.0-r1 is stable
and eix saying it's not.  I'm running amd64.

$ emerge -p dev-perl/Pango
[snip]
[ebuild   R    ] dev-perl/Pango-1.224.0-r1 

$ eix -e Pango
[?] dev-perl/Pango
     Available versions:  1.224.0 ~1.224.0-r1

I've already emerged Pango-1.224.0-r1.  Here's where the underlying
discrepancy seems to be:

$ grep
KEYWORDS /usr/portage/metadata/md5-cache/dev-perl/Pango-1.224.0-r1
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86
~amd64-linux ~x86-linux

$ grep KEYWORDS /usr/portage/dev-perl/Pango/Pango-1.224.0-r1.ebuild 
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86
~amd64-linux ~x86-linux"

I removed /var/cache/edb/dep/* and ran eix-update:

# eix-update 
Reading Portage settings ..
Building database (/var/cache/eix/portage.eix) ..
[0] 'gentoo' /usr/portage/ (cache: metadata-md5-or-flat)
     Reading category 164|164 (100%) Finished             
[1] 'grub2-themes' /var/lib/layman/grub2-themes (cache:
parse|ebuild*#metadata-md5#metadata-assign#assign) Reading category
164|164 (100%) Finished [2] 'mozilla' /var/lib/layman/mozilla (cache:
parse|ebuild*#metadata-md5#metadata-assign#assign) Reading category
164|164 (100%) Finished [3] 'spelling' /usr/local/portage (cache:
parse|ebuild*#metadata-md5#metadata-assign#assign) Reading category
164|164 (100%) Finished Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix/portage.eix ..
Database contains 18838 packages in 164 categories.


Reply via email to