[
https://issues.apache.org/jira/browse/TS-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-3730:
------------------------------
Fix Version/s: (was: 6.1.0)
6.0.0
> 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.0.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)