Subject: Re: pkg/34462 (rpm2pkg cannot install suse100_libpng on amd64)
To: None <tron@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Nicolas Joly <njoly@pasteur.fr>
List: pkgsrc-bugs
Date: 09/05/2006 13:55:02
The following reply was made to PR pkg/34462; it has been noted by GNATS.
From: Nicolas Joly <njoly@pasteur.fr>
To: gnats-bugs@NetBSD.org
Cc: tron@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org,
p@ppires.org
Subject: Re: pkg/34462 (rpm2pkg cannot install suse100_libpng on amd64)
Date: Tue, 5 Sep 2006 15:50:55 +0200
On Tue, Sep 05, 2006 at 08:45:02AM +0000, Matthias Scheler wrote:
> The following reply was made to PR pkg/34462; it has been noted by GNATS.
>
> From: Matthias Scheler <tron@NetBSD.org>
> To: Paulo Alexandre Pinto Pires <p@ppires.org>
> Cc: gnats-bugs@NetBSD.org
> Subject: Re: pkg/34462 (rpm2pkg cannot install suse100_libpng on amd64)
> Date: Tue, 5 Sep 2006 09:41:06 +0100
>
> On Mon, Sep 04, 2006 at 05:39:41PM -0300, Paulo Alexandre Pinto Pires wrote:
> > [...] Running the command by hand failed with both amd64 and i386
> > versions of rpm2pkg.
> >
> > Other .rpms have been successfully installed.
>
> Let me try to summeraize the facts:
> 1.) "rpm2pkg" works on LP64 platforms and doesn't have a general
> portability problems.
> 2.) The error message means that the RPM library returns an error.
>
> Possible reasons I can imagine:
> 1.) A bug in the RPM library.
> 2.) The RPM is corrupt (!= failed to download correctly) or in a format
> which requires a newer version of the RPM library.
>
> I'll try to find somebody who uses this packages on a NetBSD-amd64 system
> to debug this.
I just checked on my -current NetBSD/amd64, and it looks like the
problem comes from the provided RPM (i tried to download many times,
and got the same results ...).
njoly@lanfeust [emulators/suse100_libpng]> rpm -qvv -p /local/src/NetBSD/pkgsrc/distfiles/suse100/x86_64/libpng-1.2.8-5.x86_64.rpm
D: New Header signature
D: Signature size: 264
D: Signature pad : 0
D: sigsize : 264
D: Header + Archive: 192360
D: expected size : 192365
query of /local/src/NetBSD/pkgsrc/distfiles/suse100/x86_64/libpng-1.2.8-5.x86_64.rpm failed
For reference, here follow a good result :
njoly@lanfeust [emulators/suse100_libpng]> rpm -qvv -p /local/src/NetBSD/pkgsrc/distfiles/suse100/x86_64/libjpeg-6.2.0-739.x86_64.rpm
D: New Header signature
D: Signature size: 264
D: Signature pad : 0
D: sigsize : 264
D: Header + Archive: 69701
D: expected size : 69701
libjpeg-6.2.0-739
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.