Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136925 - app-portage/genlop: genlop -i doesn't handle multiline IUSE
Summary: app-portage/genlop: genlop -i doesn't handle multiline IUSE
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 13:16 UTC by Giordano
Modified: 2007-03-18 13:12 UTC (History)
2 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 Giordano 2006-06-15 13:16:51 UTC
When I type on the shell:

-------------------
#genlop -i mplayer
-------------------

I get:


-------------------
* media-video/mplayer


   Total builds: 4
   Global build time: 1 hour, 5 minutes and 44 seconds.
   Average merge time: 16 minutes and 26 seconds.

   Info about currently installed ebuild:

   * media-video/mplayer-1.0_pre8
   Install date: Thu Jun 15 20:52:56 2006
   USE=""
readline() on closed filehandle pkg_cflag at /usr/bin/genlop line 682.
   CFLAGS=""
-------------------


I tried to downgrade to genlop 0.30.3 but I got a similar output:


-------------------
 media-video/mplayer


   Total builds: 4
   Global build time: 1 hour, 5 minutes and 44 seconds.
   Average merge time: 16 minutes and 26 seconds.

   Info about currently installed ebuild:

   * media-video/mplayer-1.0_pre8
   Install date: Thu Jun 15 20:52:56 2006
   USE=""
readline() on closed filehandle pkg_cflag at /usr/bin/genlop line 723.
   CFLAGS=""
-------------------


It seems that "mplayer" is the only package affected by this error.



genlop version: 0.30.5


emerge --info

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-suspend2-r7 i686)
=================================================================
System uname: 2.6.16-suspend2-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acpi ada alsa apache2 arts asf async audiofile automount avi bash-completion berkdb bidi bitmap-fonts bl bzip2 cdparanoia cli cpudetection crypt css cups curl dbus dbx dga doc dri dvd dvdr dvdread emacs emboss encode ethereal exif fat fbcon fbsplash ffmpeg foomaticdb fortran gatos gdbm gecko-sdk gif glibc-omitfp glut gmp gphoto2 gpm gs gstreamer gtk gtk2 gzip hal icq idn imagemagick imlib ipv6 irc jabber java javascript jpeg jpeg2k kde lcms libg++ libwww live lm_sensors logitech-mouse lzo mad madwifi matroska mbox mikmod mime mjpeg mmx mmxext mng motif mp3 mpeg mplayer msn musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ogg opengl oss pam pascal pcmcia pcre pdf pdflib perl php png python qt quicktime rar readline real reflection samba sdl session slang spell spl sql sse sse2 ssl svg svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales visualization vorbis wifi win32codecs xcomposite xine xml xmms xorg xosd xscreensaver xv xvid zlib elibc_glibc kernel_linux linguas_it linguas_en userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Thanks, bye!
Comment 1 Giordano 2006-06-21 02:39:49 UTC
Same problem with xine-lib: "USE" field not shown.



* media-libs/xine-lib


   Total builds: 7
   Global build time: 1 hour, 37 minutes and 9 seconds.
   Average merge time: 13 minutes and 52 seconds.

   Info about currently installed ebuild:

   * media-libs/xine-lib-1.1.2_pre20060328-r9
   Install date: Wed Jun 21 11:35:26 2006
   USE=""
   CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -ffunction-sections"
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 13:12:59 UTC
Happens on any ebuild where IUSE is on multiple lines... Someone play with this line to fix it:

<snip> 
 if ($_ =~ m/^IUSE=\"(\$\{IUSE\} )?(.*)"/g) {
</snip>