Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 243300

Summary: app-portage/genlop-0.30.8-r1: -i has an odd warning when CFLAGS is missing in vdb
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: CONFIRMED ---    
Severity: minor Keywords: PATCH
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /tmp/emerge--info
Get rid of the readlines() message

Description DEMAINE Benoît-Pierre, aka DoubleHP 2008-10-23 01:11:55 UTC
dhp@moon-gen-3:~$ genlop -i genlop
 * app-portage/genlop


   Total builds: 3
   Global build time: 33 seconds.
   Average merge time: 11 seconds.

   Info about currently installed ebuild:

   * app-portage/genlop-0.30.8-r1
   Install date: Sun Feb 24 01:37:01 2008
   USE=""
   CFLAGS="-O2 -march=athlon-mp -pipe"
dhp@moon-gen-3:~$ genlop -i mplayer
 * media-video/mplayer


   Total builds: 6
   Global build time: 2 hours, 34 minutes and 27 seconds.
   Average merge time: 25 minutes and 44 seconds.

   Info about currently installed ebuild:

   * media-video/mplayer-1.0_rc2_p27725-r1
   Install date: Wed Oct 22 20:36:46 2008
   USE=""
readline() on closed filehandle pkg_cflag at /usr/bin/genlop line 902.
   CFLAGS=""
dhp@moon-gen-3:~$


*** *** ***

I dont think the "readline" message is really expected :)
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2008-10-23 01:12:05 UTC
Created attachment 169522 [details]
/tmp/emerge--info
Comment 2 Jesus Rivero (RETIRED) gentoo-dev 2008-11-30 23:47:53 UTC
Created attachment 173914 [details, diff]
Get rid of the readlines() message

The circumstances being CFLAGS file is not present in /var/db/pkg... This patch may help to get rid of the funny message
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-18 22:11:26 UTC
I don't see when this was fixed in git...