thanks for you reply????I will examine the spec file.

------------------ Original ------------------
From:  "David Nalley"<da...@gnsa.us>;
Date:  Wed, Feb 6, 2013 05:02 AM
To:  "cloudstack-users"<cloudstack-users@incubator.apache.org>; 

Subject:  Re: RPM Build fails on 4.0 with "Installed (but unpackaged) found"



On Mon, Feb 4, 2013 at 5:53 PM, Gabriele Bozzi <mabus...@gmail.com> wrote:
> Building nonoss; it stops at RPM build.
> Any help would be appreciated.
>
> Cheers
>
>
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /root/builds/apache-cloudstack-4.0.0-incubating-src/artifacts/rpmbuild/BUILDROOT/cloud-4.0.0-1.el6.x86_64
>
> error: Installed (but unpackaged) file(s) found:
> /usr/share/java/cloud-iControl.jar
> /usr/share/java/cloud-manageontap.jar
> /usr/share/java/cloud-netscaler-sdx.jar
> /usr/share/java/cloud-netscaler.jar
>
> RPM build errors:
>      File listed twice: /usr/share/java/axis2-1.5.1.jar
>      File listed twice: /etc/cloud/management/Catalina
>      File listed twice: /etc/cloud/management/Catalina/localhost
>      File listed twice: /etc/cloud/management/Catalina/localhost/client
>      File listed twice: /etc/cloud/management/db.properties
>      File listed twice: /etc/cloud/management/log4j-cloud.xml
>      File listed twice: /etc/cloud/management/tomcat6.conf
>      Installed (but unpackaged) file(s) found:
>      /usr/share/java/cloud-iControl.jar
>      /usr/share/java/cloud-manageontap.jar
>      /usr/share/java/cloud-netscaler-sdx.jar
>      /usr/share/java/cloud-netscaler.jar
> system command rpmbuild failed with error value 1

So it looks like you were triggering the non-oss build - which
requires additional jars that aren't accounted for in the reference
spec file. You'll need to add the files that were unpackaged in the
spec file (probably as part of the -deps subpackage file listing)

--David

Reply via email to