Subject: Re: pkg/37296: pkg_info -X doesn't work on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-bugs
Date: 11/07/2007 21:00:14
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: 
Subject: Re: pkg/37296: pkg_info -X doesn't work on Linux
Date: Wed, 07 Nov 2007 22:59:35 +0200

  >>Synopsis:       pkg_info -X doesn't work on Linux
 
 pkg_info -v gives some more information
 
     =========================================================================
     0 ~>pkg_info -v ~pkgsrc/pkgsrc_bin/Debian/All/a2ps-4.13.0.2nb11.tgz 
     parsing: .
     path: /home/cheusov/.
     Requested space: 406904 bytes, free space: 11096911872 bytes in /var/tmp/instmp.O9dT3i
     running: /home/cheusov/pkg/bin/tar --fast-read --use-compress-program gzip -xpf /home/pkgsrc/pkgsrc_bin/Debian/All/a2ps-4.13.0.2nb11.tgz +CONTENTS +COMMENT +DESC +MTREE_DIRS +SIZE_PKG +SIZE_ALL
     tar: WARNING! These patterns were not matched:
     +MTREE_DIRS
     pkg_info: extract of /home/pkgsrc/pkgsrc_bin/Debian/All/a2ps-4.13.0.2nb11.tgz failed
     pkg_info: error during unpacking, no info for '/home/pkgsrc/pkgsrc_bin/Debian/All/a2ps-4.13.0.2nb11.tgz' available
 
     =========================================================================
     1 ~>pkg_info -v ~pkgsrc/pkgsrc_bin/Debian/All/a2ps-sharatype-2.0.5.tgz 
     parsing: .
     path: /home/cheusov/.
     Requested space: 588251 bytes, free space: 11096891392 bytes in /var/tmp/instmp.zErm0Z
     running: /home/cheusov/pkg/bin/tar --fast-read --use-compress-program gzip -xpf /home/pkgsrc/pkgsrc_bin/Debian/All/a2ps-sharatype-2.0.5.tgz +CONTENTS +COMMENT +DESC +MTREE_DIRS +SIZE_PKG +SIZE_ALL
     tar: WARNING! These patterns were not matched:
     +MTREE_DIRS
     pkg_info: extract of /home/pkgsrc/pkgsrc_bin/Debian/All/a2ps-sharatype-2.0.5.tgz failed
     pkg_info: error during unpacking, no info for '/home/pkgsrc/pkgsrc_bin/Debian/All/a2ps-sharatype-2.0.5.tgz' available
 
     =========================================================================
     1 ~>
 
 0) 'pkg_info -v' for the same packages generated under NetBSD
    looks very differently.
 1) Both these archives were created by pbulk and
    pkg_add works correctly with them.
 2) Note that adding verbosity flag changes an exit status
    from 0 (may be seen in original PR) to 1.
    IMHO this is a serious bug.
 
 P.S.
 This bug doesn't allow to create pkg_summary.gz under Linux (and others?).
 
 -- 
 Best regards, Aleksey Cheusov.