Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80241 - eix should ignore binaries and gz bz2 files in overlay directory rather than segfaulting
Summary: eix should ignore binaries and gz bz2 files in overlay directory rather than ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High critical
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-31 11:44 UTC by David Grant
Modified: 2005-02-02 09:41 UTC (History)
1 user (show)

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


Attachments
Fixes for known overlay-bugs (eix-0.2.0_alpha-bugfixes.patch,9.77 KB, patch)
2005-02-02 08:22 UTC, Emil Beinroth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2005-01-31 11:44:19 UTC
-(/home/david:$)-> eix -u
Updating portage database
Using portage cache: /usr/portage/metadata/cache/
Reading categories
Reading masks
Reading metadata cache
[app] [dev] [games] [gnome] [gnustep] [kde] [mail] [media] [net] [rox] [sci] [sec] [sys] [www] [x11] [xfce]
Reading portage overlays
[/usr/local/portage/]
Segmentation fault
-(/home/david:$)->


-(/home/david:$)-> emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.1.3-r1,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Nov 10 2004, 00:18:15)]
ccache version 2.3 [enabled]
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mfpmath=sse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mfpmath=sse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d aalib acpi alsa anthy apache2 apm async atlas avi bash-completion berkdb bigger-fonts bitmap-fonts bonobo cdparanoia cdr crypt cscope cups curl directfb divx4linux dvd dvdr emacs encode f77 fam fbcon fftw flac foomaticdb fortran gd gdbm geoip gif gimp gimpprint gnome gnuplot gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 ipv6 java javascript jikes joystick jpeg jpeg2k junit kde latex ldap lesstif libg++ libwww mad maildir matroska migemo mmx mmx2 monkey mozcalendar mozdevelop mozilla mozp3p mozsvg mpeg mpi mysql nas ncurses net nls nntp no-old-linux nptl nptlonly nvidia oav odbc offensive ofx oggvorbis opengl operanom2 oss pam pda pdflib perl php pic plotutils png postgres ppds python qt quicktime quotes readline real ruby samba scanner sdl server slang spell sqlite sse ssl svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1 type1-fonts usb v4l v4l2 vhosts wmf wxwindows xbase xml xml2 xmms xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

-(/home/david:$)->
Comment 1 David Grant 2005-01-31 14:02:10 UTC
Changing to critical as this bug renders eix useless because it doesn't create /var/cache/eix

Behaviour should be changed so that, /var/cache/eix is created before checking overlay...or the problem with the overlay should be caught.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-31 22:30:53 UTC
which version? could you please try the latest, i just added 0.2.0_alpha to cvs, i had overlay issues with 0.1.4 as well, but current cvs solved the problems, so please test it
Comment 3 Emil Beinroth 2005-02-01 11:27:34 UTC
Hi there.
If 0.2.0_alpha solves your problem, it probably had something to do with the old ebuild-reader (which was replaced by a small parser in the current 0.2.0_alpha).
If not, please check if you have any files, that normaly don't belong in a overlay, and remove them (for example a tar.bz2).

Sorry for the inconvenience.
Comment 4 David Grant 2005-02-01 12:26:35 UTC
Actually I had many tar.gz files in my overlay. I think this is a bug, it should ignore those files gracefully.

eix is great, much faster updating than esearch and must faster searching. Nicer output too, showing all the available versions.
Comment 5 David Grant 2005-02-01 12:27:15 UTC
Oh, I didn't mention, removing the gz files fixed it. I had also upgraded to 0.2.0-alpha first though, so I'm not sure if both factors fixed it or just the former.
Comment 6 Emil Beinroth 2005-02-01 13:35:41 UTC
Removing the files fixed the problem (0.2.0_alpha should still segfault).
You are absolutely right, this is just a workaround and the bug should be fixed. And we will fix it soon, probably before end of the week.

Comment 7 Emil Beinroth 2005-02-02 08:22:03 UTC
Created attachment 50214 [details, diff]
Fixes for known overlay-bugs

This fixes the overlay-bugs and includes the patch from
http://bugs.gentoo.org/show_bug.cgi?id=80318. It's also in upstream-cvs.
Comment 8 Benedikt Böhm (RETIRED) gentoo-dev 2005-02-02 09:41:58 UTC
removed old portdir patch and added this patch