Ed Espino created HAWQ-993: ------------------------------ Summary: Symbolic link (contrib/pgcrypto) pointing to non-existent loctation Key: HAWQ-993 URL: https://issues.apache.org/jira/browse/HAWQ-993 Project: Apache HAWQ Issue Type: Bug Components: Build Reporter: Ed Espino Assignee: Lei Chang
The following symbolic link points to a non-existent location. This generates a potential error for the "rat" utility (see below): contrib/pgcrypto@ -> ../depends/thirdparty/postgres/contrib/pgcrypto {code} java -Xms1024m -Xmx1024m -jar ~/Downloads/apache-rat-0.11/apache-rat-0.11.jar . Exception in thread "main" org.apache.rat.api.RatException: Cannot read header at org.apache.rat.report.claim.util.ClaimReporterMultiplexer.report(ClaimReporterMultiplexer.java:44) at org.apache.rat.walker.DirectoryWalker.report(DirectoryWalker.java:147) at org.apache.rat.walker.DirectoryWalker.processNonDirectories(DirectoryWalker.java:131) at org.apache.rat.walker.DirectoryWalker.process(DirectoryWalker.java:98) at org.apache.rat.walker.DirectoryWalker.processDirectory(DirectoryWalker.java:71) at org.apache.rat.walker.DirectoryWalker.processDirectories(DirectoryWalker.java:114) at org.apache.rat.walker.DirectoryWalker.process(DirectoryWalker.java:99) at org.apache.rat.walker.DirectoryWalker.run(DirectoryWalker.java:83) at org.apache.rat.Report.report(Report.java:418) at org.apache.rat.Report.report(Report.java:394) at org.apache.rat.Report.report(Report.java:366) at org.apache.rat.Report.styleReport(Report.java:346) at org.apache.rat.Report.main(Report.java:109) Caused by: org.apache.rat.document.RatDocumentAnalysisException: Cannot read header at org.apache.rat.analysis.DocumentHeaderAnalyser.analyse(DocumentHeaderAnalyser.java:45) at org.apache.rat.analysis.DefaultAnalyserFactory$DefaultAnalyser.analyse(DefaultAnalyserFactory.java:60) at org.apache.rat.document.impl.util.DocumentAnalyserMultiplexer.analyse(DocumentAnalyserMultiplexer.java:36) at org.apache.rat.report.claim.util.ClaimReporterMultiplexer.report(ClaimReporterMultiplexer.java:42) ... 12 more Caused by: java.io.FileNotFoundException: ./contrib/pgcrypto (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:131) at java.io.FileReader.<init>(FileReader.java:72) at org.apache.rat.document.impl.FileDocument.reader(FileDocument.java:52) at org.apache.rat.analysis.DocumentHeaderAnalyser.analyse(DocumentHeaderAnalyser.java:40) ... 15 more ERROR: 'Pipe broken' ERROR: 'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken' Exception in thread "Thread-0" org.apache.rat.ReportFailedRuntimeException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken at org.apache.rat.ReportTransformer.run(ReportTransformer.java:59) at java.lang.Thread.run(Thread.java:745) Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:755) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:357) at org.apache.rat.ReportTransformer.transform(ReportTransformer.java:64) at org.apache.rat.ReportTransformer.run(ReportTransformer.java:57) ... 1 more Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:584) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:745) ... 4 more Caused by: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:427) at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:215) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:562) ... 5 more Espino-Pivotal:~/workspace/HAWQ-projects/apache-hawq-src-2.0.0.0-incubating {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)