[publican-list] annoying perl warnings with publican 2.9

Jeff Fearn jfearn at redhat.com
Tue Feb 28 00:16:42 UTC 2012


On 02/28/2012 10:15 AM, Jeff Fearn wrote:
> On 02/27/2012 08:46 PM, Raphael Hertzog wrote:
>> Hello,
>>
>> I am running publican 2.9 (publican-2x, commit r2011) and it spews lots
>> of warnings on me:
>>
>> Use of uninitialized value in concatenation (.) or string at
>> /usr/share/perl5/Publican/Builder.pm line 724.
>> Use of uninitialized value in concatenation (.) or string at
>> /usr/share/perl5/Publican/Builder.pm line 732.
>> [ ... Several duplicates of the above warnings ... ]
>> Use of uninitialized value $product in string eq at
>> /usr/share/perl5/Publican/Builder.pm line 2273.
>> Use of uninitialized value $RPM_VERSION in concatenation (.) or string
>> at /usr/share/perl5/Publican/Builder.pm line 860.
>> Use of uninitialized value $RPM_RELEASE in concatenation (.) or string
>> at /usr/share/perl5/Publican/Builder.pm line 860.
>>
>> And this even if the product name is set in the XML, etc. In any case, it
>> should either fail when some important information is missing and
>> properly
>> initialize unset variables otherwise.
>>
>> Thank you. Let me know if you prefer that I file this in a ticket.
>>
>> Cheers,
>
> Hi Raphael, I've migrated all the 2.9 changes to trunk and am fixing
> everything there now. Do you get the same issue with trunk?
>
> There are a bunch more changes in trunk, so it might be a bit intrusive
> in some ways.

<insert why git is better here>

Jeff.




More information about the publican-list mailing list