Erik, I've added the UK mirror and also disabled ipv6. As a result, have fixed the previous errors. I did have to launch the build command a few times as it was failing for various dependencies, but eventually it has successfully finished.
Thanks for your help Andrei ----- Original Message ----- From: "Erik Weber" <terbol...@gmail.com> To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 3:58:38 PM Subject: Re: working howto for building cloudstack from sources Check if your network interface has ipv6 enabled and disable it if so. Erik 12. aug. 2014 16:40 skrev "Andrei Mikhailovsky" <and...@arhont.com> følgende: > Erik, > > I am trying to understand who is having the issue here. I am not behind a > proxy and my connectivity to the internet is free of egress rules. > > Also, I've not had any issues downloading other dependencies while running > the mvn -P deps command. > > Do you know if there is a way to manually download the troublesome > dependency locally and have maven use the local copy instead of downloading > it from a broken link, etc? > > Thanks > > ----- Original Message ----- > From: "Erik Weber" <terbol...@gmail.com> > To: users@cloudstack.apache.org > Sent: Tuesday, 12 August, 2014 1:53:59 PM > Subject: Re: working howto for building cloudstack from sources > > 12. aug. 2014 13:32 skrev "Andrei Mikhailovsky" <and...@arhont.com> > følgende: > > > > Erik, > > > > just tried to follow the guide in the link that you've sent ( > http://www.terbolo.us/?p=5) and have the following error: > > > > [INFO] Scanning for projects... > > Downloading: > http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom > > Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector > executeWithRetry > > INFO: I/O exception (java.net.SocketException) caught when processing > request: Connection reset > > You, or the repo, seem to have connectivity issues. > > I wrote the guide while doing the debian process for the first time, so > sort out those connection resets and it should be fine > > Erik > > > Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector > executeWithRetry > > INFO: Retrying request > > [ERROR] The build could not read 1 project -> [Help 1] > > [ERROR] > > [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 > (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error > > [ERROR] Non-resolvable parent POM: Could not transfer artifact > org.apache:apache:pom:11 from/to central ( > http://repo.maven.apache.org/maven2): Connection reset and > 'parent.relativePath' points at wrong local POM @ line 14, column 11 -> > [Help 2] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > > make: *** [build-indep-stamp] Error 1 > > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > > > > > > > > Any idea on how to fix it? > > > > My build platform is Ubuntu 12.04 > > > > Thanks > > > > Andrei > > > > ----- Original Message ----- > > From: "Erik Weber" <terbol...@gmail.com> > > To: users@cloudstack.apache.org > > Sent: Tuesday, 12 August, 2014 10:35:11 AM > > Subject: Re: working howto for building cloudstack from sources > > > > On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky <and...@arhont.com> > > wrote: > > > > > Hello guys, > > > > > > I was hoping someone could share a working howto on building cloudstack > > > from sources. In particular, I am planning to build 4.4.0 .deb packages > > > with several cherrypicks and my build server is Ubuntu 12.04 with the > > > latest updates. > > > > > > I've followed two different howtos, both from the cloudstack website, > but > > > unfortunately, they are a bit different and they produce different > errors > > > when executing "mvn3 -P deps". > > > > > > Thanks > > > > > > > > > > Try this: http://www.terbolo.us/?p=5 > > > > A word of advice; cherry-picking can have unforseen consequences if done > in > > the wrong order, or if you miss a commit. > > ie. one commit might depend on another and cause havoc if that isn't > there. > > > > Erik >