Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37018EB84 for ; Mon, 25 Feb 2013 17:42:45 +0000 (UTC) Received: (qmail 94621 invoked by uid 500); 25 Feb 2013 17:42:44 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 94586 invoked by uid 500); 25 Feb 2013 17:42:44 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 94496 invoked by uid 99); 25 Feb 2013 17:42:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 17:42:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.220.171] (HELO mail-vc0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 17:42:38 +0000 Received: by mail-vc0-f171.google.com with SMTP id fy7so187881vcb.2 for ; Mon, 25 Feb 2013 09:42:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=M1DUh4N+7C8+S3ej6+ipOpgs2uDSRuiharhBYqktk+8=; b=O7uSIvHDchGwcXoxlHwECiWQOVBdCLjYg02mv8c41A0VSftIiMxzPmD4hj7PYf89d9 aT9vIDqT5NMNtD7JDP/QB8XjG/S92TTvKxMLR+6ijJS0UAJYwbuYhKwpoJ1sxGMrknT0 gLgPLtLQNI3fzZsQNFCsLWOC5c5DF49xVTWbdzlLCrTKYoN3zaUYQjHye6b1f3uEKyKP ztrxQ4KTClWXRqeKrfm3A/i3rpTomNcFqEIzsjoOxPQ7u7kE1N5czzbqjNgrsbrkBPT6 7zuWaIClJJ2rG9J1eJImoRbw48LOLA8Fki0bej+hGl46l6rKmtUxpiMkpNsuo1zks5uv NlCQ== X-Received: by 10.52.24.98 with SMTP id t2mr8898913vdf.69.1361814137234; Mon, 25 Feb 2013 09:42:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.140.130 with HTTP; Mon, 25 Feb 2013 09:41:48 -0800 (PST) In-Reply-To: References: From: David Nalley Date: Mon, 25 Feb 2013 12:41:48 -0500 Message-ID: Subject: Re: RPM Build Errors - File Listed Twice To: cloudstack-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQn0POEMCyP4JsvBVT9rOLXqzutTSapZSDVUusDX6ayWv5VYDH/YWIbqSOvJ58zpv1TJu52h X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Feb 25, 2013 at 12:17 PM, Paul Sanders wrote: > Hello All, > > I am trying to build Cloudstack 4.0.1 from source and am having a nightmare > building the required RPMs to install. > > I have compiled with 'mvn install -Dnonoss' which runs through without > issue. (I have also followed the guide to install the vmware additions). > > When I run waf rpm, I get the following errors: > > Checking for unpackaged file(s): /usr/lib/rpm/check-files > /root/wd/cloudstack/apache-cloudstack-4.0.1-incubating-src/artifacts/rpmbuild/BUILDROOT/cloud-4.0.1-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 > > What is it I am missing? Is this cached in someway? > > Thanks > > Paul > --- > Kind Regards > > Paul Sanders > > Mail: paul.sanders87@googlemail.com So RPM doesn't like the files listed twice, but it will exit cleanly with them (patch welcome for that incidentally - there's an open bug for it) The problem thats causing it to fail is that the spec file doesn't have a listing for the non-ASF friendly JARs. See this thread from earlier in the month http://markmail.org/message/s45dx53jmyop7cql Essentially modify the spec file to include those file listing (or glob them with a file listing), and it will build fine. --David