You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Ruilong Huo (JIRA)" <ji...@apache.org> on 2016/01/18 05:26:39 UTC

[jira] [Commented] (HAWQ-334) installcheck fail due to cannot locate Env.pm during compilation on CentOS 7.2

    [ https://issues.apache.org/jira/browse/HAWQ-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104154#comment-15104154 ] 

Ruilong Huo commented on HAWQ-334:
----------------------------------

Root cause analysis shows that: the Env.pm is not packaged on some RHEL and CentOS 7.x distribution. Refer to https://bugzilla.redhat.com/show_bug.cgi?id=1052761 for details.
{noformat}
[gpadmin@localhost ~]$ cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

[gpadmin@localhost ~]$ ls -alt /usr/share/perl5/Env.pm
ls: cannot access /usr/share/perl5/Env.pm: No such file or directory
{noformat}

> installcheck fail due to cannot locate Env.pm during compilation on CentOS 7.2
> ------------------------------------------------------------------------------
>
>                 Key: HAWQ-334
>                 URL: https://issues.apache.org/jira/browse/HAWQ-334
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 2.0.0-beta-incubating
>            Reporter: Ruilong Huo
>            Assignee: Ruilong Huo
>
> installcheck fail due to cannot locate Env.pm during compilation:
> {noformat}
> [gpadmin@localhost incubator-hawq]$ make installcheck-good
> 'make -C src/test installcheck-good
> make[1]: Entering directory `/data/repository/incubator-hawq/src/test'
> make -C regress installcheck-good
> make[2]: Entering directory `/data/repository/incubator-hawq/src/test/regress'
> make -C ../../../src/port all
> make[3]: Entering directory `/data/repository/incubator-hawq/src/port'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/data/repository/incubator-hawq/src/port'
> rm -rf ./testtablespace
> mkdir ./testtablespace
> ./checkinc.py
> Greenplum INCLUDEDIR:    /data/workspace/hawq/include
> Greenplum PKGINCLUDEDIR: /data/workspace/hawq/include/postgresql
> Checking includes...
> Include files are ok
> sed -e 's,%%GPOPTUTILS_NAMESPACE%%,orcaudftest,g; s,%%EXT%%,,g' ./sql/orca_udfs.sql.in > ./sql/orca_udfs.sql
> cd . && ./makeschedule ./known_good_schedule /data/repository/incubator-hawq/src/test/regress/current_good_schedule
> Writing new schedule '/data/repository/incubator-hawq/src/test/regress/current_good_schedule'.
> rm -rf data/upg_catupgrade_12.sql
> perl -pi \
> 	-e 's/(, )?(indexid|relid|reltype_oid|toast_oid|toast_index|toast_relid|toast_reltype|shared|CamelCase)=[0-9a-zA-Z]+//gi;' \
> 	-e 's/oid=false//g;' \
> 	-e 's/with \([^a-zA-Z]*\)//g;' \
> 	-e 's/\(oid=[0-9]+\)//;' \
> 	-e 's/tablespace pg_global//g;' \
> 	-e 's/oids=true, /oids=true/;' \
> 	-e 's/\(,/(/;' \
>  		< ./data/upgrade20/upg2_catupgrade_20.sql.in \
> 	> data/upg_catupgrade_20.sql
> Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /data/workspace/hawq/bin/gpstringsubs.pl line 26.
> BEGIN failed--compilation aborted at /data/workspace/hawq/bin/gpstringsubs.pl line 26.
> make[2]: *** [upg2-setup] Error 2
> make[2]: Leaving directory `/data/repository/incubator-hawq/src/test/regress'
> make[1]: *** [installcheck-good] Error 2
> make[1]: Leaving directory `/data/repository/incubator-hawq/src/test'
> make: *** [installcheck-good] Error 2
> {noformat}



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