[
https://issues.apache.org/jira/browse/TS-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13787643#comment-13787643
]
ASF subversion and git services commented on TS-2207:
-----------------------------------------------------
Commit 1b38b3fd5b050b2ddbfefd90a43311c506077c58 in branch refs/heads/4.0.x from
[[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=1b38b3f ]
TS-2207: CentOS5 out of tree perl module build fails
The older version of automake on CentOS5 doesn't supply the $(builddir)
variable, possibly because it's implicitly the current working
directory. It also doesn't supply various $abs_ variables that later
versions do. Rewrite the copy using more fundamental automake
variables.
Conflicts:
CHANGES
> Centos5 out of tree perl build fails
> ------------------------------------
>
> Key: TS-2207
> URL: https://issues.apache.org/jira/browse/TS-2207
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: James Peach
> Assignee: James Peach
> Fix For: 4.0.2, 4.1.0
>
>
> On Centos5, the perl module build fails when {{$(srcdir)}} != {{$(builder)}}.
> For example,
> https://ci.trafficserver.apache.org/job/centos_5_x64-master-debug-regression/lastFailedBuild/console:
> {code}
> make[2]: Entering directory
> `/var/jenkins/workspace/centos_5_x64-master-debug-regression/build/centos_5_x64-master-debug-regression.50/lib/perl'
> [ /var/jenkins/workspace/centos_5_x64-master-debug-regression/lib/perl != ]
> && cp -rf /. /.
> /bin/sh: line 0: [:
> /var/jenkins/workspace/centos_5_x64-master-debug-regression/lib/perl: unary
> operator expected
> make[2]: [Makefile-pl] Error 2 (ignored)
> /usr/bin/perl Makefile.PL INSTALLDIRS=
> PREFIX=/var/jenkins/workspace/centos_5_x64-master-debug-regression/install/centos_5_x64-master-debug-regression.50
> Can't open perl script "Makefile.PL": No such file or directory
> make[2]: *** [Makefile-pl] Error 2
> make[2]: Leaving directory
> `/var/jenkins/workspace/centos_5_x64-master-debug-regression/build/centos_5_x64-master-debug-regression.50/lib/perl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/jenkins/workspace/centos_5_x64-master-debug-regression/build/centos_5_x64-master-debug-regression.50/lib'
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)