Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127101 - eix-sync 0.5.4 does not show upgrade or downdgraded packages
Summary: eix-sync 0.5.4 does not show upgrade or downdgraded packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 11:48 UTC by ignoreme
Modified: 2006-03-22 03:12 UTC (History)
1 user (show)

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


Attachments
Test ebuild. (eix-0.5.5.ebuild,1.11 KB, text/plain)
2006-03-21 14:09 UTC, Emil Beinroth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ignoreme 2006-03-21 11:48:47 UTC
I have noticed that after upgrading to eix-0.5.4 when I do an eix-sync it no longer lists upgraded or downgraded packages.  I ran some tests while using my overlay, but I expiernce the same problems in the main portage branch

These tests were ran with eix-0.5.1-r2

root@ignoreme portage $ eix-sync -m
 * eix-cache doesn't exist or uses obsolete format. Running update-eix!   [ ok ]
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)

root@ignoreme portage $ mv /etc/portage/net-nntp/ /ignore/download/

root@ignoreme portage $ eix-sync -m
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)
[D] == net-nntp/klibido (0.2.4.1): KDE Linux Binaries Downloader

root@ignoreme portage $ mv /ignore/download/net-nntp/ /etc/portage/

root@ignoreme portage $ eix-sync -m
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)
[U] == net-nntp/klibido (0.2.5): KDE Linux Binaries Downloader

When I removed the package it reported it, and the same when I added the package back in.

These tests were ran with eix-0.5.4

eix-root@ignoreme portage $ eix-sync -m
 * eix-cache doesn't exist or uses obsolete format. Running update-eix!   [ ok ]
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)

root@ignoreme portage $ mv /etc/portage/net-nntp/ /ignore/download/

root@ignoreme portage $ eix-sync -m
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)

root@ignoreme portage $ mv /ignore/download/net-nntp/ /etc/portage/

root@ignoreme portage $ eix-sync -m
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)

When I added and removed the package it did not report it.  I then noticed that when I emerged the latest version it's deafult cache was set to metadata.  So I create the eixrc in /etc/ and set it to backport and re ran the tests.

These tests were ran with eix-0.5.4 and PORTDIR_CACHE_METHOD="backport"

root@ignoreme portage $ eix-sync -m                                              * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)

root@ignoreme portage $ mv /etc/portage/net-nntp/ /ignore/download/

root@ignoreme portage $ eix-sync -m
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)

root@ignoreme portage $ mv /ignore/download/net-nntp/ /etc/portage/

root@ignoreme portage $ eix-sync -m
 * Running emerge --metadata ...                                          [ ok ]
 * Running update-eix ...                                                 [ ok ]
Diffing databases (10797 - 10797 packages)

If anyone needs any additional information please let me know.
Comment 1 Emil Beinroth 2006-03-21 14:09:26 UTC
Created attachment 82816 [details]
Test ebuild.

Could you please give this ebuild/version a try?
Comment 2 Emil Beinroth 2006-03-21 14:15:44 UTC
Comment on attachment 82816 [details]
Test ebuild.

Well, this was pretty useless :)

Just copy the ebuild from the portage-tree .. the new version is 0.5.5 (eix-0.5.5.ebuild)
Comment 3 ignoreme 2006-03-21 16:02:41 UTC
I copied over the eix directory into /etc/portage, and renamed the 0.5.4 ebuild to 0.5.5 then did a digest on it.  I then tried to emerge that build.  I complained about eix-0.5.4-proper-template-usage.patch, so I renamed that one to eix-0.5.5-proper-template-usage.patch and re did the digest.  I then tried to emerge again and it barfed on that patch.  This is the output from /var/tmp/portage/eix-0.5.5/temp/eix-0.5.5-proper-template-usage.patch-25894.out

***** eix-0.5.5-proper-template-usage.patch *****

=================================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /etc/portage/app-portage/eix/files/eix-0.5.5-proper-template-usage.patch

=================================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nau eix-0.5.4/src/eixTk/ptr_list.h.orig eix-0.5.4/src/eixTk/ptr_list.h
|--- eix-0.5.4/src/eixTk/ptr_list.h.orig        2006-03-21 01:58:05.000000000 +0100
|+++ eix-0.5.4/src/eixTk/ptr_list.h     2006-03-21 01:58:18.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=================================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /etc/portage/app-portage/eix/files/eix-0.5.5-proper-template-usage.patch

=================================================
patching file src/eixTk/ptr_list.h
Hunk #1 FAILED at 81.
1 out of 1 hunk FAILED -- saving rejects to file src/eixTk/ptr_list.h.rej
=================================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /etc/portage/app-portage/eix/files/eix-0.5.5-proper-template-usage.patch

=================================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nau eix-0.5.4/src/eixTk/ptr_list.h.orig eix-0.5.4/src/eixTk/ptr_list.h
|--- eix-0.5.4/src/eixTk/ptr_list.h.orig        2006-03-21 01:58:05.000000000 +0100
|+++ eix-0.5.4/src/eixTk/ptr_list.h     2006-03-21 01:58:18.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=================================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /etc/portage/app-portage/eix/files/eix-0.5.5-proper-template-usage.patch

=================================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nau eix-0.5.4/src/eixTk/ptr_list.h.orig eix-0.5.4/src/eixTk/ptr_list.h
|--- eix-0.5.4/src/eixTk/ptr_list.h.orig        2006-03-21 01:58:05.000000000 +0100
|+++ eix-0.5.4/src/eixTk/ptr_list.h     2006-03-21 01:58:18.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=================================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /etc/portage/app-portage/eix/files/eix-0.5.5-proper-template-usage.patch

=================================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nau eix-0.5.4/src/eixTk/ptr_list.h.orig eix-0.5.4/src/eixTk/ptr_list.h
|--- eix-0.5.4/src/eixTk/ptr_list.h.orig        2006-03-21 01:58:05.000000000 +0100
|+++ eix-0.5.4/src/eixTk/ptr_list.h     2006-03-21 01:58:18.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 4 ignoreme 2006-03-21 16:12:46 UTC
I commented out that line within the ebuild, and it seemed to build properly. I went ahead and did the eix-sync -m and it showed the updated version of eix, I moved an ebuild in an out of the overlay and it properly reported it.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-22 03:12:04 UTC
I bumped the version to 0.5.5, this should fix it. Thanks for reporting