| View previous topic :: View next topic |
| Author |
Message |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Thu Dec 29, 2005 1:07 pm Post subject: weird eix behavior after eix-sync |
|
|
| Code: | ric mnt # eix wxgtk
* x11-libs/wxGTK
Available versions: !2.4.2-r2 !2.4.2-r3 !2.4.2-r4 [M]2.5.3 !2.6.0-r1 !2.6.1 !2.6.2 !2.6.2-r1
Installed: 2.4.2-r4 2.6.1
Homepage: RDEPEND=opengl? ( virtual/opengl ) >=x11-libs/gtk+-2.0 >=dev-libs/glib-2.0 media-libs/tiff odbc? ( dev-db/unixODBC ) !mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) )
Description: DEPEND=opengl? ( virtual/opengl ) >=x11-libs/gtk+-2.0 >=dev-libs/glib-2.0 media-libs/tiff odbc? ( dev-db/unixODBC ) !mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) ) dev-util/pkgconfig !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) sys-libs/zlib sys-apps/sed sys-devel/gnuconfig |
i do not have ANY idea how to solve this.
"emerge -s" works correctly, re-emerging eix (and portage) does not help.
| Code: | ric mnt # emerge -pv eix
...
[ebuild R ] app-portage/eix-0.3.0-r2 USE="-bash-completion" 0 kB |
i did not update any packages before....
strange thing....
anyone knows what to do?
thanks, ric |
|
| Back to top |
|
 |
yaq n00b


Joined: 02 Sep 2005 Posts: 49 Location: Poland/Krakow
|
Posted: Thu Dec 29, 2005 8:51 pm Post subject: |
|
|
Was discussed already, it is related to the new cache thingy in portage 2.1, add:
| Code: | | PORTDIR_CACHE_METHOD="backport" |
in /etc/eixrc |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Thu Dec 29, 2005 10:33 pm Post subject: |
|
|
hm could not find that thread....
i did not have a eixrc, creating it did not solve it
| Code: | | emerge metadata && update-eix | also did not help, but now i simply get no results when finding with eix.
| Code: | ric ric # eix wxgtk
Found 0 matches |
i´m using portage-2.1_pre2 at the time.... shouldn´t i?
thanks,
ric |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Dec 30, 2005 7:02 am Post subject: |
|
|
eix-0.3.0-r2 is working fine with portage-2.1_pre2 here..
...with 'cdb' in /etc/eixrc _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Fri Dec 30, 2005 7:10 am Post subject: |
|
|
when i downgraded to stable portage, it worked.
then i upgraded again
| Code: | ric ric # emerge --metadata
skipping sync
>>> Updating Portage cache: 100%
ric ric # update-eix
Reading Portage settings ..
Building database (/var/cache/eix) from scratch ..
[0] /usr/portage/ (cache: cdb)
Reading 100%
[1] /usr/local/portage/ (cache: none)
Reading 100%
Applying masks ..
Database contains 5 packages in 145 categories.
ric ric # cat /etc/eixrc
PORTDIR_CACHE_METHOD="cdb"
|
with "backport" instead of "cdb" it also does not work.
[ed]
it says it contains 5 packages, this are that one from the overlay |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Dec 30, 2005 8:02 am Post subject: |
|
|
check out jstubbs post near the bottom of this thread
http://forums.gentoo.org/viewtopic-p-2987268.html#2987268
I have installed the new cdb.py and the new 'module' entry and can confirm that eix is still working ffine..
Mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Fri Dec 30, 2005 10:21 am Post subject: |
|
|
so i copied the file to /usr/lib/portage/pym/cache/cdb.py
added the line
| Code: | | portdbapi.auxdbmodule = cache.cdb.database |
on top.
but now?
update-eix
no success |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Dec 30, 2005 10:34 am Post subject: |
|
|
you do mean on top of /etc/portage/modules ?
mine looks like
| Code: | portdbapi.auxdbmodule = cache.cdb.database
#portdbapi.auxdbmodule = portage_db_cdb.database
#eclass_cache.dbmodule = portage_db_cdb.database
|
_________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Fri Dec 30, 2005 10:41 am Post subject: |
|
|
i meant i added it in cdb.py
so i removed it again and added it to /etc/portage/modules (i created it).
now i get:
| Code: |
ric ric # eix-sync
====================================
Error: Failed to import module 'cache.cdb.database'
File "/usr/lib/portage/pym/portage.py", line 1285, in load_best_module
mod = load_mod(best_mod)
File "/usr/lib/portage/pym/portage.py", line 142, in load_mod
mod = __import__(modname)
File "/usr/lib/portage/pym/cache/cdb.py", line 6, in ?
cdb_module = __import__("cdb")
No module named cdb
====================================
* Error syncing.
|
i guess some file is missing? |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Dec 30, 2005 10:50 am Post subject: |
|
|
I use 'update-eix' btw
do you have dev-db/cdb emerged? _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Fri Dec 30, 2005 11:52 am Post subject: |
|
|
i can´t find it:
| Code: | ric ~ # eix dev-db/cdb
Found 0 matches |
i had not, but now i have
eix-sync .... the same as before  |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Dec 30, 2005 12:06 pm Post subject: |
|
|
try sorry I see you were using it earlier..
perhaps you need to re-emerge eix now you have emerged cdb
do you get nothing when doing update-eix?
edit have just had a look back at the original thread
http://forums.gentoo.org/viewtopic-t-261580-highlight-eix.html
and wonder if you installed python-cdb ?
might be an idea to have a look at that thread again..
edit2 well now unclepine stopped working, so I'm going back to 'no cdb' for a while! _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Fri Dec 30, 2005 4:24 pm Post subject: |
|
|
emerged python-cdb,
reemerged eix,
read the whole thread,
could not find a hint
and will now downgrade to stable portage....
thank you anyway! |
|
| Back to top |
|
 |
Lu Tze n00b


Joined: 21 Nov 2005 Posts: 8 Location: Sofia
|
Posted: Tue Jan 10, 2006 4:13 pm Post subject: |
|
|
I dot the same problem yesterday after doing an emerge --sync and updating portage. eix is actually working except for the garbage at the bottom where the homepage and the description is supposed to be, and the fact that all versios of the ebuild are given in red with an exclamation mark in front of each one of them. Also, there is this weird "no $HOME found in environment" message which appears only when using eix as root:
| Code: |
lu-tze ~> eix wine
* app-emulation/wine
Available versions: !0.9 !0.9.1 !0.9.2 !0.9.3 !0.9.4 !0.9.5 !9999 [M]20041019-r3 [M]20050111-r2 [M]20050211 [M]20050310-r1 [M]20050419 [M]20050524 [M]20050628 [M]20050725-r1 [M]20050830 [M]20050930
Installed: none
Homepage: SRC_URI=
Description: RDEPEND=>=media-libs/freetype-2.0.0 media-fonts/corefonts ncurses? ( >=sys-libs/ncurses-5.2 ) jack? ( media-sound/jack-audio-connection-kit ) X? ( || ( ( x11-libs/libXrandr x11-libs/libXi x11-libs/libXmu x11-libs/libXxf86dga x11-libs/libXxf86vm ) virtual/x11 ) ) arts? ( kde-base/arts ) alsa? ( media-libs/alsa-lib ) esd? ( media-sound/esound ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) gif? ( media-libs/giflib ) jpeg? ( media-libs/jpeg ) ldap? ( net-nds/openldap ) glut? ( virtual/glut ) lcms? ( media-libs/lcms ) xml2? ( dev-libs/libxml2 dev-libs/libxslt ) truetype? ( media-libs/freetype ) scanner? ( media-gfx/sane-backends ) amd64? ( >=app-emulation/emul-linux-x86-xlibs-2.1 >=app-emulation/emul-linux-x86-soundlibs-2.1 >=sys-kernel/linux-headers-2.6 )
|
| Code: |
root lu-tze# eix wine
No $HOME found in environment.
* app-emulation/wine
Available versions: !0.9 !0.9.1 !0.9.2 !0.9.3 !0.9.4 !0.9.5 !9999 [M]20041019-r3 [M]20050111-r2 [M]20050211 [M]20050310-r1 [M]20050419 [M]20050524 [M]20050628 [M]20050725-r1 [M]20050830 [M]20050930
Installed: none
Homepage: SRC_URI=
Description: RDEPEND=>=media-libs/freetype-2.0.0 media-fonts/corefonts ncurses? ( >=sys-libs/ncurses-5.2 ) jack? ( media-sound/jack-audio-connection-kit ) X? ( || ( ( x11-libs/libXrandr x11-libs/libXi x11-libs/libXmu x11-libs/libXxf86dga x11-libs/libXxf86vm ) virtual/x11 ) ) arts? ( kde-base/arts ) alsa? ( media-libs/alsa-lib ) esd? ( media-sound/esound ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) gif? ( media-libs/giflib ) jpeg? ( media-libs/jpeg ) ldap? ( net-nds/openldap ) glut? ( virtual/glut ) lcms? ( media-libs/lcms ) xml2? ( dev-libs/libxml2 dev-libs/libxslt ) truetype? ( media-libs/freetype ) scanner? ( media-gfx/sane-backends ) amd64? ( >=app-emulation/emul-linux-x86-xlibs-2.1 >=app-emulation/emul-linux-x86-soundlibs-2.1 >=sys-kernel/linux-headers-2.6 )
|
I emerged cdb, python-cdb, applied the cdb patch, re-emerged eix, did an update-eix and...well, nothing  _________________ "My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Tue Jan 10, 2006 4:54 pm Post subject: |
|
|
did you change /etc/eixrc to the following?
| Code: |
PORTDIR_CACHE_METHOD="backport"
#PORTDIR_CACHE_METHOD="cdb"
|
and re-run update-eix
ref http://bugs.gentoo.org/show_bug.cgi?id=115995 _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
iamben Apprentice

Joined: 10 May 2004 Posts: 203
|
Posted: Tue Jan 10, 2006 6:55 pm Post subject: |
|
|
thanks for posting info here, i was having the problem stated in the original post and adding PORTDIR_CACHE_METHOD="backport" to eixrc then doing update-eix fixed it for me.
i know this doesnt help the OP much, just thought i'd share my success/thanks |
|
| Back to top |
|
 |
Lu Tze n00b


Joined: 21 Nov 2005 Posts: 8 Location: Sofia
|
Posted: Wed Jan 11, 2006 3:33 am Post subject: |
|
|
I tried with both cdb and backport, and the eix database gets updated really quickly, but the output is still garbled. Could it have something to do with the "no $HOME found in environment" message? I looked at eixrc.h's source - this message is displayed when getenv("HOME") fails:
http://dev.gentoo.org/~hollow/eix/doc/eixrc_8h-source.html _________________ "My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Wed Jan 11, 2006 7:43 am Post subject: |
|
|
even had a problem with downgrading....
bugs.gentoo.org wrote:
| Quote: | ------- Comment #2 From Jakub Moc 2005-12-18 16:57 PST [reply] -------
Try this:
echo PORTDIR_CACHE_METHOD=none >> /etc/eixrc
update-eix |
| Code: | ric ric # eix -e portage
* sys-apps/portage
Available versions: 2.0.51.22-r3 2.0.53 2.0.54 2.1_pre3-r1
Installed: 2.1_pre3-r1
Homepage: http://www.gentoo.org/
Description: The Portage Package Management System. The primary package management and distribution system for Gentoo.
|
works now as it should  |
|
| Back to top |
|
 |
Lu Tze n00b


Joined: 21 Nov 2005 Posts: 8 Location: Sofia
|
Posted: Thu Jan 12, 2006 4:22 am Post subject: |
|
|
Negative...
I did an emerge --sync this morning and was hopeful for a minute there because there was a new release of eix (0.5.0-r1), which I was hoping to fix things. It didn't, however, even with the "PORTDIR_CACHE_METHOD=none" in /etc/eixrc. What is more, eix does not recognize itself anymore - it says that 0.5.0-r1 is installed, but there is no 0.5.0-r1 in the "Available versions" section:
| Code: |
root lu-tze# eix eix
No $HOME found in environment. <---- where did [i]that[/i] come from...?
* app-portage/eix
Available versions: !0.3.0-r1 !0.3.0-r2 !0.5.0
Installed: 0.5.0-r1
Homepage: SRC_URI=http://dev.gentoo.org/~hollow/distfiles/eix-0.5.0.tar.bz2
Description: RDEPEND=sys-apps/portage bash-completion? ( || ( app-admin/eselect app-shells/bash-completion-config ) )
Found 1 matches
|
| Code: |
lu-tze ~> eix eix
* app-portage/eix
Available versions: !0.3.0-r1 !0.3.0-r2 !0.5.0
Installed: 0.5.0-r1
Homepage: SRC_URI=http://dev.gentoo.org/~hollow/distfiles/eix-0.5.0.tar.bz2
Description: RDEPEND=sys-apps/portage bash-completion? ( || ( app-admin/eselect app-shells/bash-completion-config ) )
|
The "No $HOME found in environment" message is still there when running eix as root, and I noticed that winesetuptk also fails with the same message - what is that $HOME variable anyway? Nothing ever complained about a missing $HOME variable until I updated portage the other day; eix doesn't work properly when run in user mode either, so it can't be just that variable...grrr anyway, emerge--sync is really flying now so I'll leave it like that until I reinstall Gentoo.
Thanks for the input, anyway  _________________ "My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Thu Jan 12, 2006 7:00 am Post subject: |
|
|
$HOME is the environment variable for your home directory, for example "/home/ric"
for testing you can set this manually with "export HOME=/home/..."
i have no idea in wich file this is set... |
|
| Back to top |
|
 |
Lu Tze n00b


Joined: 21 Nov 2005 Posts: 8 Location: Sofia
|
Posted: Thu Jan 12, 2006 7:19 am Post subject: |
|
|
But the message pops up only when working as root, and the home directory for the root is /root by default, isn't it, so why should any application need that variable at all? I mean, it should be specified for users, but the root doesn't really have any use for it, I think...
In any case, everything is falling apart since two days ago - now I can't upgrade portage (I downgraded it to 2.0.54 in order to see if that would fix the eix problem and I can't upgrade any more), and revdep-rebuild doesn't work, either...
GMT (Gentoo being Mean Time)  _________________ "My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright |
|
| Back to top |
|
 |
RlC Guru


Joined: 30 Jul 2005 Posts: 358 Location: austria
|
Posted: Thu Jan 12, 2006 9:43 am Post subject: |
|
|
it is used for example, if you have a config file in your home, this apps look in $HOME
what does "echo $HOME" say?
however.... probably this won´t solve your eix-problem....
just another idea, are there some outdated config files (etc-update)? |
|
| Back to top |
|
 |
Lu Tze n00b


Joined: 21 Nov 2005 Posts: 8 Location: Sofia
|
Posted: Thu Jan 12, 2006 12:43 pm Post subject: |
|
|
Hi again,
echo $HOME displays a big black nothing, as expected, and the config files are all up to date...I fear that if I keep trying to "fix" it, the computer won't even boot next time, so I'll do a back-up and reinstall Gentoo from scratch. I'll let you know if that fixes the problem  _________________ "My brother sent me a postcard the other day with this big satellite photo of the entire Earth on it. On the back it said: "Wish you were here"" - Steven Wright |
|
| Back to top |
|
 |
eduardo451 Apprentice


Joined: 29 Apr 2005 Posts: 173 Location: Indianapolis, IN
|
Posted: Thu Feb 02, 2006 6:07 pm Post subject: |
|
|
In order for eix to pick-up all packages, and not just those in /usr/local/portage, I had to add
| Code: | | PORTDIR_CACHE="/usr/portage" |
to my /etc/eixrc.
And putting
| Code: | | PORTDIR_CACHE_METHOD="none" |
in /etc/eixrc got rid of the extra gobbeldy-gook emitted when running eix. Using "backport" did not work for me. |
|
| Back to top |
|
 |
data n00b


Joined: 15 Jan 2004 Posts: 17 Location: France
|
Posted: Mon Mar 06, 2006 7:31 pm Post subject: |
|
|
Great, that worked for me
Thanks. |
|
| Back to top |
|
 |
|