[ https://issues.apache.org/jira/browse/PIG-5468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944495#comment-17944495 ]
Rohini Palaniswamy commented on PIG-5468: ----------------------------------------- > Forrest build failed generating pdfs Did not get to the bottom of it due to lack of time, but manually copying the contents of apache-forrest-0.9/plugins to apache-forrest-0.9/build/plugins solved the issue. For future reference, in case anyone else runs into the issue. {code} fetch-plugin: Trying to find the description of org.apache.forrest.plugin.output.pdf in the different descriptor files fileset: Setup scanner in dir /projects/apache/pig/site/author/build/tmp with patternSet{ includes: [plugins-*.xml] excludes: [] } Using the descriptor file /projects/apache/pig/site/author/build/tmp/plugins-1.xml... Using class org.apache.tools.ant.taskdefs.optional.TraXLiaison In file /projects/apache/pig/site/author/build/tmp/plugins-1.xml time: 1744667585661 Out file /projects/apache/pig/site/author/build/tmp/pluginlist2fetchbuild.xml time: 0 Style file /Users/rohinip/apache-forrest-0.9/main/var/pluginlist2fetch.xsl time: 1296526720000 Processing /projects/apache/pig/site/author/build/tmp/plugins-1.xml to /projects/apache/pig/site/author/build/tmp/pluginlist2fetchbuild.xml Loading stylesheet /Users/rohinip/apache-forrest-0.9/main/var/pluginlist2fetch.xsl Unknown file: Fatal Error! Premature end of file. Failed to process /projects/apache/pig/site/author/build/tmp/plugins-1.xml Setting project property: plugin-found -> The following error occurred while executing this line: /Users/rohinip/apache-forrest-0.9/main/targets/plugins.xml:342: Fatal error during transformation Fetch-plugin Ok, installing ! configure-plugin: Unable to find /Users/rohinip/apache-forrest-0.9/build/plugins/org.apache.forrest.plugin.output.pdf Unable to find /Users/rohinip/apache-forrest-0.9/build/plugins/org.apache.forrest.plugin.output.pdf/input.xmap Unable to find /Users/rohinip/apache-forrest-0.9/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap Unable to find /Users/rohinip/apache-forrest-0.9/build/plugins/org.apache.forrest.plugin.output.pdf/internal.xmap Unable to find /Users/rohinip/apache-forrest-0.9/build/plugins/org.apache.forrest.plugin.output.pdf/locationmap.xml No locationmap provided for plugin org.apache.forrest.plugin.output.pdf Exiting /Users/rohinip/apache-forrest-0.9/main/forrest.build.xml * [6/23] [1/23] 0.075s 7.8Kb privacypolicy.html X [0] privacypolicy.pdf BROKEN: No pipeline matched request: privacypolicy.pdf X [0] issue_tracking.pdf BROKEN: No pipeline matched request: issue_tracking.pdf * [9/20] [0/0] 0.058s 1.2Kb skin/print.css * [10/19] [0/0] 0.027s 766b images/favicon.ico * [13/16] [0/0] 0.018s 5.2Kb images/pig-logo.gif X [0] index.pdf BROKEN: No pipeline matched request: index.pdf * [15/15] [1/23] 0.075s 9.0Kb version_control.html X [0] version_control.pdf BROKEN: No pipeline matched request: version_control.pdf X [0] bylaws.pdf BROKEN: No pipeline matched request: bylaws.pdf * [18/12] [0/0] 0.016s 4.3Kb skin/profile.css X [0] linkmap.pdf BROKEN: No pipeline matched request: linkmap.pdf * [20/11] [1/23] 0.117s 14.2Kb whoweare.html X [0] whoweare.pdf BROKEN: No pipeline matched request: whoweare.pdf * [22/9] [0/0] 11.838s 359b skin/images/rc-b-l-15-1body-2menu-3menu.png * [23/9] [1/23] 0.184s 20.5Kb releases.html X [0] releases.pdf BROKEN: No pipeline matched request: releases.pdf * [25/8] [1/23] 0.075s 9.3Kb philosophy.html X [0] philosophy.pdf BROKEN: No pipeline matched request: philosophy.pdf * [27/7] [1/23] 0.065s 7.2Kb about.html X [0] about.pdf BROKEN: No pipeline matched request: about.pdf * [29/5] [0/0] 0.029s 2.9Kb skin/basic.css * [32/3] [1/23] 0.111s 9.5Kb mailing_lists.html X [0] mailing_lists.pdf BROKEN: No pipeline matched request: mailing_lists.pdf There appears to be a problem with your site build. Read the output above: * Cocoon will report the status of each document: - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ). * Even if only one link is broken, you will still get "failed". * Your site would still be generated, but some pages would be broken. - See /projects/apache/pig/site/author/build/site/broken-links.xml BUILD FAILED /Users/rohinip/apache-forrest-0.9/main/targets/site.xml:224: Error building site. {code} > Remove Google Analytics from the Pig Website > -------------------------------------------- > > Key: PIG-5468 > URL: https://issues.apache.org/jira/browse/PIG-5468 > Project: Pig > Issue Type: Task > Reporter: Niall Pemberton > Assignee: Niall Pemberton > Priority: Major > Attachments: pig-ga-v2.patch, published-changes.patch > > > Hi Pig Team > The ASF {_}*Privacy Policy*{_}[1][2] does not permit the use of _*Google > Analytics*_ on any ASF websites and the ASF Infra team will soon enforce a > {_}*Content Security Policy*{_}(CSP) that will block access to external > trackers: > * [https://lists.apache.org/thread/w34sd92v4rz3j28hyddmt5tbprbdq6lc] > Please could you remove the use of the Google Analytics from the Pig website? > * [https://lists.apache.org/thread/4I > 17v5034773lhoytoqs7h343vpjnwn1c|https://lists.apache.org/thread/417v5034773lhoytoqs7h343vpjnwn1c] > I would have submitted a patch to remove Google Analytics, but it seems that > Pig is pulling in file _*site-to-xhtml.xsl*_ from the old Hadoop Subversion > repository, via an svn:external link > * > [https://svn.apache.org/viewvc/hadoop/common/site/main/author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl?view=markup] > * [https://svn.apache.org/viewvc/pig/site/author/src/documentation/] > Since Hadoop has now moved to GitHub, then it would probably be a good idea > to copy that folder (as its not longer maintained) into your site and > maintain it within the Pig project - or ask the hadoop project to modify it > > The ASF hosts its own _*Matomo*_ instance to provide projects with analytics > and you can request a tracking id for your project by sending a mail to > *privacy AT apache.org.* > * > [https://privacy.apache.org/faq/committers.html#can-i-use-web-analytics-matomo] > Additionally I would recommend reviewing any external resources loaded by > your website. The Content Security Policy will prevent any resources being > loaded from 3rd Party providers that the ASF does not have a Data Processing > Agreement (DPA) with. On the 1st February Infra will begin a temporary > "brownout" when the CSP will be turned on for a short period. This will allow > projects to check which parts, if any, of their websites will stop working. > The Privacy FAQ answers a number of questions about which external providers > are permitted or not: > * [https://privacy.apache.org/faq/committers.html] > Thanks > Niall > [1] [https://privacy.apache.org/policies/website-policy.html] > [2] > [https://privacy.apache.org/faq/committers.html#can-i-use-google-analytics] -- This message was sent by Atlassian Jira (v8.20.10#820010)