You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Phil Sorber (JIRA)" <ji...@apache.org> on 2015/07/02 05:23:04 UTC

[jira] [Resolved] (TS-3730) Fix changelog.pl for backward compatibility

     [ https://issues.apache.org/jira/browse/TS-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Sorber resolved TS-3730.
-----------------------------
    Resolution: Fixed

> Fix changelog.pl for backward compatibility
> -------------------------------------------
>
>                 Key: TS-3730
>                 URL: https://issues.apache.org/jira/browse/TS-3730
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Gota Adachi
>            Assignee: Phil Sorber
>             Fix For: 6.1.0
>
>
> make asf-dist fails by error on changelog.pl
> {code:none}
> $ cat /etc/redhat-release 
> CentOS release 6.6 (Final)
> $ make asf-dist
> ./changelog.pl 6.0.0 > CHANGELOG-6.0.0
> Can't use an undefined value as filehandle reference at ./changelog.pl line 54.
> make: *** [gen-changelog] Error 11
> {code}
> probably it works apply patch like this: 
> {code:none}
> $ git diff -U1
> diff --git a/changelog.pl b/changelog.pl
> index c3d0173..977f9ff 100755
> --- a/changelog.pl
> +++ b/changelog.pl
> @@ -51,3 +51,4 @@ sub jira_search
>    $curl->setopt(CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
> -  $curl->setopt(CURLOPT_WRITEDATA, \$resp_body);
> +  open(my $fileb, ">", \$resp_body);
> +  $curl->setopt(CURLOPT_WRITEDATA, \$fileb);
>    $curl->setopt(CURLOPT_URL, $url . $endpoint);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)