Subject: Re: pkg/37296 (pkg_info -X doesn't work on Linux)
To: None <joerg@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-bugs
Date: 11/13/2007 06:15:05
The following reply was made to PR pkg/37296; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov@tut.by>
To: gnats-bugs@NetBSD.org
Cc: joerg@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/37296 (pkg_info -X doesn't work on Linux)
Date: Tue, 13 Nov 2007 08:11:02 +0200
> The following reply was made to PR pkg/37296; it has been noted by GNATS.
> From: Joerg Sonnenberger <joerg@britannica.bec.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/37296 (pkg_info -X doesn't work on Linux)
> Date: Mon, 12 Nov 2007 21:27:32 +0100
> On Mon, Nov 12, 2007 at 07:30:02PM +0000, Aleksey Cheusov wrote:
>> These packages fail too.
>
> OK, pkg_info -X -v fails, but pkg_info -X alone still works fine.
> I'll take a look why -v breaks.
pkg_info fails on Linux, see below.
NetBSD version seems to work (But with -v flag it fails also).
root@pkgsrc-0:/srv/pkgsrc_bin/Debian/All# /usr/pkg_pbulk/sbin/pkg_info p4pr-20010504.tbz ssync-1.6.tbz
Information for p4pr-20010504.tbz:
Comment:
Perforce file annotation with change, revision, and branch
Requires:
p4-[0-9]*
p4-[0-9]*
perl>=5.0
Description:
p4pr produces a file from the Perforce depot with each line annotated
with the change, revision, and branch from which it came. It takes
its time, but the output is invaluable.
root@pkgsrc-0:/srv/pkgsrc_bin/Debian/All# echo $?
1
root@pkgsrc-0:/srv/pkgsrc_bin/Debian/All# uname -a
Linux pkgsrc-0 2.6.18-5-vserver-686 #1 SMP Thu Aug 30 04:29:47 UTC 2007 i686 GNU/Linux
root@pkgsrc-0:/srv/pkgsrc_bin/Debian/All# /usr/pkg_pbulk/sbin/pkg_info -X p4pr-20010504.tbz ssync-1.6.tbz
PKGNAME=p4pr-20010504
DEPENDS=p4-[0-9]*
DEPENDS=p4-[0-9]*
DEPENDS=perl>=5.0
COMMENT=Perforce file annotation with change, revision, and branch
SIZE_PKG=5610
BUILD_DATE=2007-11-12 20:33:12 +0200
CATEGORIES=devel scm
LICENSE=
MACHINE_ARCH=i386
OPSYS=Linux
OS_VERSION=2.6.18
PKGPATH=devel/p4pr
PKGTOOLS_VERSION=20070916
FILE_NAME=p4pr-20010504.tbz
FILE_SIZE=3957
DESCRIPTION=p4pr produces a file from the Perforce depot with each line annotated
DESCRIPTION=with the change, revision, and branch from which it came. It takes
DESCRIPTION=its time, but the output is invaluable.
root@pkgsrc-0:/srv/pkgsrc_bin/Debian/All# echo $?
1
root@pkgsrc-0:/srv/pkgsrc_bin/Debian/All# md5sum p4pr-20010504.tbz ssync-1.6.tbz
369f3edf172924fce7edcc76a5bd14a0 p4pr-20010504.tbz
2cc9a37b31ceea50744faf63de69acff ssync-1.6.tbz
root@pkgsrc-0:/srv/pkgsrc_bin/Debian/All#
--
Best regards, Aleksey Cheusov.