You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by David Nalley <da...@gnsa.us> on 2013/03/12 01:24:27 UTC
[ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Chip, et al:
CLOUDSTACK-1631 is for the RPM build failures (that have been
occurring for some days now.)
The error is:
error: create archive failed on file
/home/jenkins/build/workspace/package-rhel63-4.1/dist/rpmbuild/SOURCES/cloudstack-4.1.0-SNAPSHOT.tgz:
cpio: Bad magic
Bad Magic is _generally_ a problem with trying to manipulate files
that have already be %doced. In reviewing the spec file I see that
there are duplicate %doc definitions for LICENSE and NOTICE in the
-management subpackage.
My current EL6 environment is in disarray and I have NOT tested this
solution (though it needs to be applied regardless, just not willing
to guarantee it will solve the packaging failure issues - though I
think it will.)
The commit that needs to be cherry picked is this:
7a0f1bdf813ddb3a61a57d27b98f1ff7753d1be4
--David
Re: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Posted by prasanna <ts...@apache.org>.
On 20 March 2013 20:26, Wido den Hollander <wi...@widodh.nl> wrote:
>
>
> On 03/20/2013 12:19 PM, Prasanna Santhanam wrote:
>>
>> On Wed, Mar 13, 2013 at 02:19:57PM +0530, Prasanna Santhanam wrote:
>>>
>>> On Wed, Mar 13, 2013 at 01:45:46PM +0530, prasanna wrote:
>>>>
>>>> On 13 March 2013 12:56, Pradeep Soundararajan
>>>> <pr...@citrix.com> wrote:
>>>>>
>>>>> David,
>>>>>
>>>>> I did not come across this issue "cpio: Bad magic" even before or after
>>>>> your doc changes. I am doing the build and packaging daily on both 4.1 and
>>>>> master.
>>>>>
>>>>> I suspect it could be the setup issue.
>>>>>
>>>>
>>>> Can you tell us the following from your build machine:
>>>> 1) rpmbuild version
>>>> 2) cat /etc/redhat-release
>>>> 3) cpio version?
>>>>
>>>> I'll hook you up with the machines so you can take a look. I can't
>>>> figure this one out.
>>>
>>>
>>> Nevermind, it looks like this magically fixed itself. I uninstalled
>>> the tomcat6 installed on the build node and installed the one from the
>>> repos and it worked fine.
>>>
>>> awful error message from cpio.
>>>
>>
>> This broke again couple of days back with the same cpio error. It's
>> the same issue and tomcat looks to be in order. Someone with more
>> packaging knowledge will have to take a look at this.
>>
>
> I just fixed this issue in the 4.1 branch, it should be working now again.
>
> This got lost during the merge from master to 4.1 with the packaging stuff.
> It's resolved in the 4.1 branch now but was already fixed in master.
>
Wrong subject actually : this is not related to the package fix you
made for adjusting jna classpath. There's an issue on the build
environment that causes the rpmbuild to fail with an obscure error
saying cpio : Bad magic. I was referring to that.
Re: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Posted by Wido den Hollander <wi...@widodh.nl>.
On 03/20/2013 12:19 PM, Prasanna Santhanam wrote:
> On Wed, Mar 13, 2013 at 02:19:57PM +0530, Prasanna Santhanam wrote:
>> On Wed, Mar 13, 2013 at 01:45:46PM +0530, prasanna wrote:
>>> On 13 March 2013 12:56, Pradeep Soundararajan
>>> <pr...@citrix.com> wrote:
>>>> David,
>>>>
>>>> I did not come across this issue "cpio: Bad magic" even before or after your doc changes. I am doing the build and packaging daily on both 4.1 and master.
>>>>
>>>> I suspect it could be the setup issue.
>>>>
>>>
>>> Can you tell us the following from your build machine:
>>> 1) rpmbuild version
>>> 2) cat /etc/redhat-release
>>> 3) cpio version?
>>>
>>> I'll hook you up with the machines so you can take a look. I can't
>>> figure this one out.
>>
>> Nevermind, it looks like this magically fixed itself. I uninstalled
>> the tomcat6 installed on the build node and installed the one from the
>> repos and it worked fine.
>>
>> awful error message from cpio.
>>
>
> This broke again couple of days back with the same cpio error. It's
> the same issue and tomcat looks to be in order. Someone with more
> packaging knowledge will have to take a look at this.
>
I just fixed this issue in the 4.1 branch, it should be working now again.
This got lost during the merge from master to 4.1 with the packaging
stuff. It's resolved in the 4.1 branch now but was already fixed in master.
Wido
Re: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Posted by Prasanna Santhanam <ts...@apache.org>.
On Wed, Mar 13, 2013 at 02:19:57PM +0530, Prasanna Santhanam wrote:
> On Wed, Mar 13, 2013 at 01:45:46PM +0530, prasanna wrote:
> > On 13 March 2013 12:56, Pradeep Soundararajan
> > <pr...@citrix.com> wrote:
> > > David,
> > >
> > > I did not come across this issue "cpio: Bad magic" even before or after your doc changes. I am doing the build and packaging daily on both 4.1 and master.
> > >
> > > I suspect it could be the setup issue.
> > >
> >
> > Can you tell us the following from your build machine:
> > 1) rpmbuild version
> > 2) cat /etc/redhat-release
> > 3) cpio version?
> >
> > I'll hook you up with the machines so you can take a look. I can't
> > figure this one out.
>
> Nevermind, it looks like this magically fixed itself. I uninstalled
> the tomcat6 installed on the build node and installed the one from the
> repos and it worked fine.
>
> awful error message from cpio.
>
This broke again couple of days back with the same cpio error. It's
the same issue and tomcat looks to be in order. Someone with more
packaging knowledge will have to take a look at this.
--
Prasanna.,
Re: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Posted by Prasanna Santhanam <ts...@apache.org>.
On Wed, Mar 13, 2013 at 01:45:46PM +0530, prasanna wrote:
> On 13 March 2013 12:56, Pradeep Soundararajan
> <pr...@citrix.com> wrote:
> > David,
> >
> > I did not come across this issue "cpio: Bad magic" even before or after your doc changes. I am doing the build and packaging daily on both 4.1 and master.
> >
> > I suspect it could be the setup issue.
> >
>
> Can you tell us the following from your build machine:
> 1) rpmbuild version
> 2) cat /etc/redhat-release
> 3) cpio version?
>
> I'll hook you up with the machines so you can take a look. I can't
> figure this one out.
Nevermind, it looks like this magically fixed itself. I uninstalled
the tomcat6 installed on the build node and installed the one from the
repos and it worked fine.
awful error message from cpio.
--
Prasanna.,
Re: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Posted by prasanna <ts...@apache.org>.
On 13 March 2013 12:56, Pradeep Soundararajan
<pr...@citrix.com> wrote:
> David,
>
> I did not come across this issue "cpio: Bad magic" even before or after your doc changes. I am doing the build and packaging daily on both 4.1 and master.
>
> I suspect it could be the setup issue.
>
Can you tell us the following from your build machine:
1) rpmbuild version
2) cat /etc/redhat-release
3) cpio version?
I'll hook you up with the machines so you can take a look. I can't
figure this one out.
RE: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Posted by Pradeep Soundararajan <pr...@citrix.com>.
David,
I did not come across this issue "cpio: Bad magic" even before or after your doc changes. I am doing the build and packaging daily on both 4.1 and master.
I suspect it could be the setup issue.
Thanks,
Pradeep S
-----Original Message-----
From: Chip Childers [mailto:chip.childers@sungard.com]
Sent: Tuesday, March 12, 2013 6:03 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
On Mon, Mar 11, 2013 at 08:24:27PM -0400, David Nalley wrote:
> Chip, et al:
>
> CLOUDSTACK-1631 is for the RPM build failures (that have been
> occurring for some days now.)
>
> The error is:
> error: create archive failed on file
> /home/jenkins/build/workspace/package-rhel63-4.1/dist/rpmbuild/SOURCES/cloudstack-4.1.0-SNAPSHOT.tgz:
> cpio: Bad magic
>
> Bad Magic is _generally_ a problem with trying to manipulate files
> that have already be %doced. In reviewing the spec file I see that
> there are duplicate %doc definitions for LICENSE and NOTICE in the
> -management subpackage.
>
> My current EL6 environment is in disarray and I have NOT tested this
> solution (though it needs to be applied regardless, just not willing
> to guarantee it will solve the packaging failure issues - though I
> think it will.)
>
> The commit that needs to be cherry picked is this:
> 7a0f1bdf813ddb3a61a57d27b98f1ff7753d1be4
>
>
> --David
>
ACK and applied. Thanks for the notice that things are already broken.
Re: [ACS41][Patch Request] CLOUDSTACK-1631 - fix RPM packaging
Posted by Chip Childers <ch...@sungard.com>.
On Mon, Mar 11, 2013 at 08:24:27PM -0400, David Nalley wrote:
> Chip, et al:
>
> CLOUDSTACK-1631 is for the RPM build failures (that have been
> occurring for some days now.)
>
> The error is:
> error: create archive failed on file
> /home/jenkins/build/workspace/package-rhel63-4.1/dist/rpmbuild/SOURCES/cloudstack-4.1.0-SNAPSHOT.tgz:
> cpio: Bad magic
>
> Bad Magic is _generally_ a problem with trying to manipulate files
> that have already be %doced. In reviewing the spec file I see that
> there are duplicate %doc definitions for LICENSE and NOTICE in the
> -management subpackage.
>
> My current EL6 environment is in disarray and I have NOT tested this
> solution (though it needs to be applied regardless, just not willing
> to guarantee it will solve the packaging failure issues - though I
> think it will.)
>
> The commit that needs to be cherry picked is this:
> 7a0f1bdf813ddb3a61a57d27b98f1ff7753d1be4
>
>
> --David
>
ACK and applied. Thanks for the notice that things are already broken.