{"action":"created","issue":{"url":"https://api.github.com/repos/cloudera/hue/issues/278","labels_url":"https://api.github.com/repos/cloudera/hue/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/cloudera/hue/issues/278/comments","events_url":"https://api.github.com/repos/cloudera/hue/issues/278/events","html_url":"https://github.com/cloudera/hue/issues/278","id":121017423,"number":278,"title":"Error building 3.9 release on Ubuntu","user":{"login":"andrewrjones","id":140817,"avatar_url":"https://avatars.githubusercontent.com/u/140817?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewrjones","html_url":"https://github.com/andrewrjones","followers_url":"https://api.github.com/users/andrewrjones/followers","following_url":"https://api.github.com/users/andrewrjones/following{/other_user}","gists_url":"https://api.github.com/users/andrewrjones/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewrjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewrjones/subscriptions","organizations_url":"https://api.github.com/users/andrewrjones/orgs","repos_url":"https://api.github.com/users/andrewrjones/repos","events_url":"https://api.github.com/users/andrewrjones/events{/privacy}","received_events_url":"https://api.github.com/users/andrewrjones/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"sai-krish","id":9685943,"avatar_url":"https://avatars.githubusercontent.com/u/9685943?v=3","gravatar_id":"","url":"https://api.github.com/users/sai-krish","html_url":"https://github.com/sai-krish","followers_url":"https://api.github.com/users/sai-krish/followers","following_url":"https://api.github.com/users/sai-krish/following{/other_user}","gists_url":"https://api.github.com/users/sai-krish/gists{/gist_id}","starred_url":"https://api.github.com/users/sai-krish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sai-krish/subscriptions","organizations_url":"https://api.github.com/users/sai-krish/orgs","repos_url":"https://api.github.com/users/sai-krish/repos","events_url":"https://api.github.com/users/sai-krish/events{/privacy}","received_events_url":"https://api.github.com/users/sai-krish/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-12-08T14:26:25Z","updated_at":"2015-12-09T16:57:53Z","closed_at":"2015-12-09T16:57:53Z","body":"I'm getting the following error when building Hue from the 3.9 release archive from Github:\r\n\r\n```\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process (default) on project hue-parent: Execution default of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process failed: Plugin org.apache.maven.plugins:maven-remote-resources-plugin:1.0 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven-remote-resources-plugin:jar:1.0 (): Failed to read artifact descriptor for velocity:velocity-dep:jar:1.4: Could not transfer artifact velocity:velocity-dep:pom:1.4 from/to cdh.snapshots.repo (https://repository.cloudera.com/content/repositories/snapshots): Failed to transfer file: https://repository.cloudera.com/content/repositories/snapshots/velocity/velocity-dep/1.4/velocity-dep-1.4.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException\r\nmake: *** [parent-pom] Error 1\r\n2015/12/08 13:54:49 The command [/bin/sh -c make desktop     && tools/app_reg/app_reg.py --install           /opt/hue/apps/pig           /opt/hue/apps/filebrowser           /opt/hue/apps/useradmin           /opt/hue/apps/zookeeper           /opt/hue/apps/about           /opt/hue/apps/help           /opt/hue/apps/oozie           /opt/hue/apps/jobsub           /opt/hue/apps/jobbrowser           /opt/hue/apps/search     && rm -rf /root/.m2] returned a non-zero code: 2\r\n```\r\n\r\nI'm building inside Docker, so should be quite easy to reproduce. This is my Dockerfile:\r\n\r\n```\r\nFROM phusion/baseimage\r\n\r\n# Install packages (see dependencies in README file - cloudera/hue on Github)\r\nRUN apt-get update \\\r\n    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \\\r\n                        ant \\\r\n                        gcc \\\r\n                        g++ \\\r\n                        build-essential \\\r\n                        libkrb5-dev \\\r\n                        libmysqlclient-dev \\\r\n                        libssl-dev \\\r\n                        libsasl2-dev \\\r\n                        libsasl2-modules-gssapi-mit \\\r\n                        libsqlite3-dev \\\r\n                        libtidy-0.99-0 \\\r\n                        libxml2-dev \\\r\n                        libxslt-dev \\\r\n                        maven \\\r\n                        libldap2-dev \\\r\n                        python-dev  \\\r\n                        python-simplejson \\\r\n                        python-setuptools \\\r\n                        libgmp3-dev \\\r\n                        openjdk-7-jdk \\\r\n    && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\r\n\r\n# Download source code\r\nWORKDIR /opt/hue\r\nRUN curl -k -SL \"https://github.com/cloudera/hue/archive/cdh5.5.0-release.tar.gz\" \\\r\n    | tar -xzf - -C /opt/hue --strip-components=1\r\n\r\n# Get around bug in Ubuntu based systems.\r\nRUN ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/\r\n\r\n# Install core (desktop) and subset of apps\r\nRUN make desktop \\\r\n    && tools/app_reg/app_reg.py --install \\\r\n          /opt/hue/apps/pig \\\r\n          /opt/hue/apps/filebrowser \\\r\n          /opt/hue/apps/useradmin \\\r\n          /opt/hue/apps/zookeeper \\\r\n          /opt/hue/apps/about \\\r\n          /opt/hue/apps/help \\\r\n          /opt/hue/apps/oozie \\\r\n          /opt/hue/apps/jobsub \\\r\n          /opt/hue/apps/jobbrowser \\\r\n          /opt/hue/apps/search \\\r\n    && rm -rf /root/.m2\r\n\r\nRUN useradd hue -r && chown hue:hue /opt/hue/desktop && chown hue:hue /opt/hue/desktop/desktop.db\r\n\r\n# Script for initing our services.\r\nRUN mkdir /etc/service/hue\r\nCOPY run-hue.sh /etc/service/hue/run\r\nCOPY init-hue.sh /etc/my_init.d/hue.sh\r\nEXPOSE 8888\r\n\r\n# Config file\r\nRUN rm /opt/hue/desktop/conf/*.ini\r\nCOPY hue.ini /opt/hue/desktop/conf/hue.ini\r\n\r\n# Cleanup and run init system\r\nRUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\r\nCMD [\"/sbin/my_init\"]\r\n```\r\n\r\nThis worked fine in 3.7. Only change since then is adding the `libgmp3-dev` dependency."},"comment":{"url":"https://api.github.com/repos/cloudera/hue/issues/comments/163323867","html_url":"https://github.com/cloudera/hue/issues/278#issuecomment-163323867","issue_url":"https://api.github.com/repos/cloudera/hue/issues/278","id":163323867,"user":{"login":"andrewrjones","id":140817,"avatar_url":"https://avatars.githubusercontent.com/u/140817?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewrjones","html_url":"https://github.com/andrewrjones","followers_url":"https://api.github.com/users/andrewrjones/followers","following_url":"https://api.github.com/users/andrewrjones/following{/other_user}","gists_url":"https://api.github.com/users/andrewrjones/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewrjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewrjones/subscriptions","organizations_url":"https://api.github.com/users/andrewrjones/orgs","repos_url":"https://api.github.com/users/andrewrjones/repos","events_url":"https://api.github.com/users/andrewrjones/events{/privacy}","received_events_url":"https://api.github.com/users/andrewrjones/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T16:57:53Z","updated_at":"2015-12-09T16:57:53Z","body":"I tried again today and it seems to be working. Maybe just a temporary issue on the Maven repository?\r\n\r\nWill close the issue. Thanks!"}}