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

[jira] [Created] (TS-3730) make asf-dist failed on CentOS6

Gota Adachi created TS-3730:
-------------------------------

             Summary: make asf-dist failed on CentOS6
                 Key: TS-3730
                 URL: https://issues.apache.org/jira/browse/TS-3730
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
            Reporter: Gota Adachi


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)