Re: cpio Digest mismatch error?

2016-04-06 Thread James Hogarth
On 6 Apr 2016 22:12, "Tom Horsley"  wrote:
>
> On Wed, 06 Apr 2016 12:55:04 -0700
> Doug H. wrote:
>
> > So my guess is that there is a digest file that is being checked by
> > default in fedora but not checked on centos.
>
> But I'd really like to know why it says it has a problem.
> We use rpmbuild on a fairly old RHEL build system to create
> the packages (so the programs will be backward compatible
> with older releases) and we've never had a problem before.
>
> And why is it only complaining about one file? And one
> package? (All the rpms I installed were built on the
> same build system, and just this one rpm has an install
> problem).
>
> Is the python digest code incompatible with the C code
> in rpmbuild in one out of 10,000,000 cases or something?

Incidentally this is not the best way round of doing this. Bear in mind the
builders run on Fedora.current in koji and yet we build epel5 there fine.

Using mock is always the sensible thing to do rather that rpmbuild directly
and anything built using that should work on the target system - if not
it's a bug and it'd break koji builds too.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cpio Digest mismatch error?

2016-04-06 Thread Rick Stevens

On 04/06/2016 03:28 PM, Tom Horsley wrote:

On Wed, 6 Apr 2016 15:15:07 -0700
Rick Stevens wrote:


Any info buried in the journals? Perhaps there's a more complete error
in there somewhere.


Not that I noticed anywhere. I did trace dnf doing this, and found
that despite the error message starting with the string "cpio:" that
no cpio is invoked, dnf apparently does all the archive unpacking
itself in python.


Uhm, you might try changing the debuglevel and/or the errorlevel values
in /etc/dnf/dnf.conf (0 <= value <= 10, default for both is "2") and try
it again. Also check the /var/log/dnf.log* files for possible gotchas.

--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-  A day for firm decisions!!!   Well, then again, maybe not!-
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cpio Digest mismatch error?

2016-04-06 Thread Tom Horsley
On Wed, 6 Apr 2016 15:15:07 -0700
Rick Stevens wrote:

> Any info buried in the journals? Perhaps there's a more complete error
> in there somewhere.

Not that I noticed anywhere. I did trace dnf doing this, and found
that despite the error message starting with the string "cpio:" that
no cpio is invoked, dnf apparently does all the archive unpacking
itself in python.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cpio Digest mismatch error?

2016-04-06 Thread Rick Stevens

On 04/06/2016 02:11 PM, Tom Horsley wrote:

On Wed, 06 Apr 2016 12:55:04 -0700
Doug H. wrote:


So my guess is that there is a digest file that is being checked by
default in fedora but not checked on centos.


But I'd really like to know why it says it has a problem.
We use rpmbuild on a fairly old RHEL build system to create
the packages (so the programs will be backward compatible
with older releases) and we've never had a problem before.

And why is it only complaining about one file? And one
package? (All the rpms I installed were built on the
same build system, and just this one rpm has an install
problem).

Is the python digest code incompatible with the C code
in rpmbuild in one out of 10,000,000 cases or something?


Any info buried in the journals? Perhaps there's a more complete error
in there somewhere.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
- Political Correctness: The insane doctrine that postulates that it -
- is entirely possible to pick up a turd by the clean end.   -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cpio Digest mismatch error?

2016-04-06 Thread Tom Horsley
On Wed, 06 Apr 2016 12:55:04 -0700
Doug H. wrote:

> So my guess is that there is a digest file that is being checked by
> default in fedora but not checked on centos.

But I'd really like to know why it says it has a problem.
We use rpmbuild on a fairly old RHEL build system to create
the packages (so the programs will be backward compatible
with older releases) and we've never had a problem before.

And why is it only complaining about one file? And one
package? (All the rpms I installed were built on the
same build system, and just this one rpm has an install
problem).

Is the python digest code incompatible with the C code
in rpmbuild in one out of 10,000,000 cases or something?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: cpio Digest mismatch error?

2016-04-06 Thread Doug H.
On Mon, 2016-04-04 at 08:38 -0400, Tom Horsley wrote:
> Anyone have any idea why only fedora systems would give this
> error installing an rpm?
> 
>   Installing : ccur-ntrace-ai-7.5-
> 0.beta.75.x86_6419/32 
> Error unpacking rpm package ccur-ntrace-ai-7.5-0.beta.75.x86_64
> error: unpacking of archive failed on file 
> /usr/lib/NightTrace/illuminators/ccur_rt/ccur_rt.h;56fd10d8: cpio:
> Digest 
> mismatch
> error: ccur-ntrace-ai-7.5-0.beta.75.x86_64: install failed
> 
> The exact same rpm installs fine on a centos 7.2 system.
> 
> Even on fedora, if I use rpm2cpio and extract the files, there is
> absolutely nothing wrong with the ccur_rt.h header file.


Searching with "cpio digest mismatch rpm" found:

https://bugzilla.mozilla.org/show_bug.cgi?id=1064588


It suggests that you could get around it with:

rpm -i --nofiledigest name.rpm

So my guess is that there is a digest file that is being checked by
default in fedora but not checked on centos.


-- 
Doug H.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


cpio Digest mismatch error?

2016-04-04 Thread Tom Horsley
Anyone have any idea why only fedora systems would give this
error installing an rpm?

  Installing : ccur-ntrace-ai-7.5-0.beta.75.x86_6419/32 
Error unpacking rpm package ccur-ntrace-ai-7.5-0.beta.75.x86_64
error: unpacking of archive failed on file 
/usr/lib/NightTrace/illuminators/ccur_rt/ccur_rt.h;56fd10d8: cpio: Digest 
mismatch
error: ccur-ntrace-ai-7.5-0.beta.75.x86_64: install failed

The exact same rpm installs fine on a centos 7.2 system.

Even on fedora, if I use rpm2cpio and extract the files, there is
absolutely nothing wrong with the ccur_rt.h header file.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org