Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447436 - app-portage/genlop - Use of uninitialized value in concatenation (.) or string at /usr/bin/genlop line X.
Summary: app-portage/genlop - Use of uninitialized value in concatenation (.) or stri...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 483766 501114 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-16 10:59 UTC by Toralf Förster
Modified: 2020-06-07 20:08 UTC (History)
1 user (show)

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


Attachments
emerge.log (emerge.log.xz,404.25 KB, text/plain)
2012-12-16 10:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2012-12-16 10:59:16 UTC
Created attachment 332458 [details]
emerge.log

$ genlop -it -f /mnt/ramdisk/n22unst4/var/log/emerge.log dev-libs/boostusing logfile /mnt/ramdisk/n22unst4/var/log/emerge.log
 * dev-libs/boost                                                                                                                                      
                                                                                                                                                       
     Sat Jun 23 17:41:23 2012 >>> dev-libs/boost-1.49.0-r1                                                                                             
       merge time: 38 minutes and 44 seconds.                                                                                                          
                                                                                                                                                       
     Thu Nov  1 19:40:53 2012 >>> dev-libs/boost-1.51.0-r1                                                                                             
       merge time: 51 minutes and 40 seconds.                                                                                                          
                                                                                                                                                       
     Sat Nov 10 12:02:04 2012 >>> dev-libs/boost-1.52.0-r1                                                                                             
       merge time: 24 minutes and 46 seconds.                                                                                                          
                                                                                                                                                       
     Sun Nov 11 13:01:58 2012 >>> dev-libs/boost-1.52.0-r2
       merge time: 28 minutes and 2 seconds.

     Sun Nov 18 21:53:16 2012 >>> dev-libs/boost-1.52.0-r3
       merge time: 26 minutes and 36 seconds.

     Thu Nov 22 21:21:51 2012 >>> dev-libs/boost-1.52.0-r4
       merge time: 21 minutes and 24 seconds.

     Sun Dec 16 11:20:05 2012 >>> dev-libs/boost-1.52.0-r5
       merge time: 25 minutes and 4 seconds.


   Total builds: 7
   Global build time: 3 hours, 36 minutes and 16 seconds.
   Average merge time: 30 minutes and 53 seconds.

   Info about currently installed ebuild:

   * dev-libs/boost-1.49.0-r2
Use of uninitialized value $e_date in concatenation (.) or string at /usr/bin/genlop line 840.
   Install date: 
   USE=" -debug -doc -icu -mpi -python -static-libs -tools"
   CFLAGS="-O2 -march=native -pipe"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-13 01:07:30 UTC
*** Bug 501114 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-13 01:07:37 UTC
*** Bug 483766 has been marked as a duplicate of this bug. ***
Comment 3 Toralf Förster gentoo-dev 2014-03-09 17:03:24 UTC
The solution might be a simple if () :
if ($e_date)    {
   print "   Install date: ";
   print colored("$e_date\n", $COLORS{'green'});
}
Comment 4 Toralf Förster gentoo-dev 2014-03-09 17:06:27 UTC
And BTW the paragraph above might be shorter written as :

$e_date = ($gmt_found) ? scalar gmtime "$1" : scalar localtime "$1";
Comment 5 Thomas Deutschmann gentoo-dev Security 2017-02-17 12:34:36 UTC
Still present in genlop-0.30.10-r1:

# genlop -h
Use of uninitialized value in concatenation (.) or string at /usr/bin/genlop line 354.
Comment 6 Renee D'Netto 2020-06-07 20:08:25 UTC
> Use of uninitialized value in concatenation (.) or string at /usr/bin/genlop line 354.

This is only triggered if the help message is displayed because there's nothing to do (which means it's fairly benign), and has been fixed on master (in 2015):
https://github.com/gentoo-perl/genlop/commit/32d55e9c5b960d4e4d28884d9d04e6b151d419a1

It looks like just releasing the accumulated changes would be sufficient to resolve  this.