Description
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:
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'