[rudder-users] building rudder

Jonathan Clarke jonathan.clarke at normation.com
Mon Jun 11 20:54:15 CEST 2012


On 11/06/12 20:18, Jonathan Clarke wrote:
> On 11/06/12 11:26, Michael Gliwinski wrote:
>> On Monday 11 Jun 2012 10:02:59 Michael Gliwinski wrote:
>>> On Monday 11 Jun 2012 09:16:45 Jonathan Clarke wrote:
>>>> Basically, it's just a local cache for Maven downlaods (a Nexus
>>>> installation to be exact), so it shouldn't be necessary to download
>>>> anything, since all our Maven dependencies are available from the
>>>> interner.
>>>>
>>>> I'll have a look into why you're getting this error...
>>> Cheers Jonathan!
>>> Would full output of dpkg-buildpackage help?
>> Attaching it just in case.
> Thanks Michael.
>
> The reason for this error is the debian/rules file including the wrong
> Maven settings file:
>
>> $ grep settings debian/rules
>>     cd $(CURDIR)/SOURCES/rudder-sources/rudder-parent-pom &&
>> $(CURDIR)/SOURCES/maven2/bin/mvn -s
>> $(CURDIR)/SOURCES/settings-internal.xml -Dmaven.test.skip=true install
>>     cd $(CURDIR)/SOURCES/rudder-sources/rudder-commons &&
>> $(CURDIR)/SOURCES/maven2/bin/mvn -s
>> $(CURDIR)/SOURCES/settings-internal.xml -Dmaven.test.skip=true install
>>     cd $(CURDIR)/SOURCES/rudder-sources/scala-ldap &&
>> $(CURDIR)/SOURCES/maven2/bin/mvn -s
>> $(CURDIR)/SOURCES/settings-internal.xml -Dmaven.test.skip=true install
>>     cd $(CURDIR)/SOURCES/rudder-sources/ldap-inventory &&
>> $(CURDIR)/SOURCES/maven2/bin/mvn -s
>> $(CURDIR)/SOURCES/settings-internal.xml -Dmaven.test.skip=true install
>>     cd $(CURDIR)/SOURCES/rudder-sources/cf-clerk &&
>> $(CURDIR)/SOURCES/maven2/bin/mvn -s
>> $(CURDIR)/SOURCES/settings-internal.xml -Dmaven.test.skip=true install
>>     cd $(CURDIR)/SOURCES/rudder-sources/rudder &&
>> $(CURDIR)/SOURCES/maven2/bin/mvn -s
>> $(CURDIR)/SOURCES/settings-internal.xml -Dmaven.test.skip=true install
>> package
> The easy fix is just to replace "settings-internal" with
> "settings-external" everywhere. Note, this should be the same (problem
> and fix) for the rudder-inventory-endpoint package.
>
> Not sure why this is broken though, I'll file a bug...
> http://www.rudder-project.org/redmine/issues/2568.

Actually, I just fixed this on the git repo. So, if you git pull your
checkout, and try and build again, it should work just fine.

Jonathan


More information about the rudder-users mailing list