You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Mark Grover (JIRA)" <ji...@apache.org> on 2013/03/28 22:57:16 UTC
[jira] [Created] (PIG-3262) Pig contrib 0.11 doesn't compile on
certain rpm systems
Mark Grover created PIG-3262:
--------------------------------
Summary: Pig contrib 0.11 doesn't compile on certain rpm systems
Key: PIG-3262
URL: https://issues.apache.org/jira/browse/PIG-3262
Project: Pig
Issue Type: Bug
Components: build
Affects Versions: 0.11
Reporter: Mark Grover
Fix For: 0.12, 0.11.1
While working on BIGTOP-870, I found out that Pig doesn't compile on certain rpm based systems and fails with an error like:
{code}
04:27:41 compile:
04:27:41 [echo] *** Compiling Pig UDFs ***
04:27:41 [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/build.xml:93: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
04:27:41 [javac] Compiling 158 source files to /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/build/classes
04:27:41 [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/IsInt.java:31: unmappable character for encoding ASCII
04:27:41 [javac] * Note this function checks for Integer range ???2,147,483,648 to 2,147,483,647.
04:27:41 [javac] ^
04:27:41 [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/IsInt.java:31: unmappable character for encoding ASCII
04:27:41 [javac] * Note this function checks for Integer range ???2,147,483,648 to 2,147,483,647.
04:27:41 [javac] ^
04:27:41 [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/IsInt.java:31: unmappable character for encoding ASCII
04:27:41 [javac] * Note this function checks for Integer range ???2,147,483,648 to 2,147,483,647.
04:27:41 [javac] ^
04:27:42 [javac] 3 errors
{code}
This seems to be related to encoding not being set for Javac in the build.xml file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira