Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242516 - app-portage/eix-0.14.1 caches using incorrect format
Summary: app-portage/eix-0.14.1 caches using incorrect format
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 23:37 UTC by lythandrel
Modified: 2008-12-05 00:50 UTC (History)
3 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 lythandrel 2008-10-17 23:37:05 UTC
When running update-eix-remote update on eix 0.14.1, the cache tarball it downloads appears to be using the wrong format.  

Reproducible: Always

Steps to Reproduce:
1. update-eix-remote update
2.
3.

Actual Results:  
Upgrade to eix 0.14.1, then update-eix && update-eix-remote update.
update-eix-remote update will download the following file: 
http://dev.gentooexperimental.org/eix_cache/eix-caches.tbz2

Then it will provide 129 similar error messages.  Error messages reduced down to the 129th message for brevity.  They all look identical except for the overlay name.

[129] "" (layman/zugaina) (cache: eix* /tmp/update-eix-remote.KVdHQn/1/_usr_portage_local_layman_zugaina.eix [*])
      Reading   0%
Cache file /tmp/update-eix-remote.KVdHQn/1/_usr_portage_local_layman_zugaina.eix uses obsolete format 27 (current is 28)
      Reading aborted




Expected Results:  
[129] "" (layman/zugaina) (cache: eix* /tmp/update-eix-remote.sciBC7/1/_usr_portage_local_layman_zugaina.eix [*])
      Reading 100%

This appears to be less of a bug, and more of a problem with the cache tarball/database format on the overlays, but it's still something that needs to be addressed, since we can't keep ~x86 and ~x86_64/amd64 users from updating eix unless that version is masked.  More intelligently, the cache tarball should, get fixed to have the correctly formatted stuff within it.

Severity of major chosen, since it's impossible to update-eix-remote update without a proper cache tarball, making it impossible to query eix for anything in remote overlays.  eix WILL still work for main portage tree, and installed overlays.
Comment 1 wolfden 2008-10-17 23:56:41 UTC
(In reply to comment #0)
> When running update-eix-remote update on eix 0.14.1, the cache tarball it
> downloads appears to be using the wrong format.  
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. update-eix-remote update
> 2.
> 3.
> 
> Actual Results:  
> Upgrade to eix 0.14.1, then update-eix && update-eix-remote update.
> update-eix-remote update will download the following file: 
> http://dev.gentooexperimental.org/eix_cache/eix-caches.tbz2
> 
> Then it will provide 129 similar error messages.  Error messages reduced down
> to the 129th message for brevity.  They all look identical except for the
> overlay name.
> 
> [129] "" (layman/zugaina) (cache: eix*
> /tmp/update-eix-remote.KVdHQn/1/_usr_portage_local_layman_zugaina.eix [*])
>       Reading   0%
> Cache file
> /tmp/update-eix-remote.KVdHQn/1/_usr_portage_local_layman_zugaina.eix uses
> obsolete format 27 (current is 28)
>       Reading aborted
> 
> 
> 
> 
> Expected Results:  
> [129] "" (layman/zugaina) (cache: eix*
> /tmp/update-eix-remote.sciBC7/1/_usr_portage_local_layman_zugaina.eix [*])
>       Reading 100%
> 
> This appears to be less of a bug, and more of a problem with the cache
> tarball/database format on the overlays, but it's still something that needs to
> be addressed, since we can't keep ~x86 and ~x86_64/amd64 users from updating
> eix unless that version is masked.  More intelligently, the cache tarball
> should, get fixed to have the correctly formatted stuff within it.
> 
> Severity of major chosen, since it's impossible to update-eix-remote update
> without a proper cache tarball, making it impossible to query eix for anything
> in remote overlays.  eix WILL still work for main portage tree, and installed
> overlays.
> 

same for me also  :-(
Comment 2 Martin Väth 2008-10-18 10:09:39 UTC
The remote format depends on the eix version on dev.gentooexperimental.org.
As far as I understood, that server is more or less regularly upgraded
to the newest testing version of eix, but perhaps only genstef did this
(who is still on devaway).

Once that server is upgraded to >=eix-0.14.0/1, the current format 28
will be produced.
Comment 3 Neil Bothwick 2008-10-22 15:28:54 UTC
I see this as a bug. While eix and eix-update only need to be able to handle the current format, eix-update-remote should be able to load and convert older formats. The eix database format changes quite often, and it is quite possible for overlays to be out of sync, just like they are now.
Comment 4 Martin Väth 2008-10-22 16:59:59 UTC
(In reply to comment #3)
> and it is quite possible for overlays to be out of sync

Once more: This concerns not arbitrary (user) overlays but _only_ the
eix version on dev.gentooexperimental.org.
When this is always kept up-to-date with the latest ~ARCH version of eix,
there is no danger to get out of sync (except for a very small period when
eix is in the portage tree but the server is not yet upgraded; only currently
this period is longer, since apparently nobody is there to update
dev.gentooexperimental.org).

I will certainly not spend time to write code which is redundant after the next upgrade of dev.gentooexperimental.org.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-31 22:13:22 UTC
(In reply to comment #4)
> (In reply to comment #3)

> I will certainly not spend time to write code which is redundant after the next
> upgrade of dev.gentooexperimental.org.
> 

A new cache was generated on dev.ge.org with:

$ eix --version
eix 0.14.2 (x86_64-pc-linux-gnu)

I had to pull strings and I am working on getting myself access to do this myself. Hope that solves this bug. Please reopen if there is still a problem.
Comment 6 lythandrel 2008-11-09 15:17:50 UTC
Same bug is now showing up in 0.13.5, however, 0.14.2 works just fine.
Comment 7 Martin Väth 2008-11-10 12:22:30 UTC
(In reply to comment #6)
> Same bug is now showing up in 0.13.5

Older eix versions will always fail for most current data.
I suggest to use the ~ARCH version of eix if use want to use update-eix-remote
(this feature is really useful anyway only if you are interested in
bleeding edge).
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-05 00:50:20 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Same bug is now showing up in 0.13.5
> 
> Older eix versions will always fail for most current data.
> I suggest to use the ~ARCH version of eix if use want to use update-eix-remote
> (this feature is really useful anyway only if you are interested in
> bleeding edge).
> 

Makes sense.