pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/34462 (rpm2pkg cannot install suse100_libpng on amd64)



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@localhost>
> To: Paulo Alexandre Pinto Pires <p%ppires.org@localhost>
> Cc: gnats-bugs%NetBSD.org@localhost
> 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.



Home | Main Index | Thread Index | Old Index