pkgsrc-Bugs archive

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

Re: pkg/47252: upgrade pkgsrc/lang/gcc47 to 4.7.2



The following reply was made to PR pkg/47252; it has been noted by GNATS.

From: Richard PALO <Richard.PALO%baou.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47252: upgrade pkgsrc/lang/gcc47 to 4.7.2
Date: Fri, 30 Nov 2012 11:36:07 +0100

 This is a multi-part message in MIME format.
 --------------000708080001080306060607
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Continuation of the gcc47-libs problem...
 
 I believe there is a general problem here as indicated in the 
 PKG_DEBUG_LEVEL=1 output log extract as follows:
 
 => Automatic manual page handling
 ...
 set -e;/usr/bin/mkdir -p /tmp/pkgsrc/lang/gcc47-libs/work/.pkgdb
 set -e;                                                                 {      
                                                         /usr/bin/cat 
 /tmp/pkgsrc/lang/gcc47-libs/work/.pkgdb/+SIZE_PKG &&                           
 
 /opt/pkg/bin/nawk '$1 == "full" { print $3; }' < 
 /tmp/pkgsrc/lang/gcc47-libs/work/.rdepends | /usr/bin/sort -u |                
         
 /opt/pkg/gnu/bin/xargs -n 256 /opt/pkg/sbin/pkg_info -K 
 /var/opt/pkg/db/pkg -qs;                        } |                            
                                 /opt/pkg/bin/nawk 'BEGIN { s = 0 
 } /^[0-9]+$/ { s += $1 } END { print s }'  > 
 /tmp/pkgsrc/lang/gcc47-libs/work/.pkgdb/+SIZE_ALL
 pkg_info: missing package name(s)
 usage: pkg_info [-BbcDdFfhIikLmNnpqrRSsVvX] [-e package] [-E package]
                  [-K pkg_dbdir] [-l prefix] pkg-name ...
         pkg_info [-a | -u] [flags]
         pkg_info [-Q variable] pkg-name ...
 
 
 
 
 Perhaps the following is piped into xargs just before the pkg_info error:
   /opt/pkg/bin/nawk '$1 == "full" { print $3; }' < 
 /tmp/pkgsrc/lang/gcc47-libs/work/.rdepends
 
 The contents of /tmp/pkgsrc/lang/gcc47-libs/work/.rdepends is:
 build   gcc47-4.7.2{,nb[0-9]*}  gcc47-4.7.2
 
 the result is empty because there is no "full" dependency.
 
 Therefore, 'pkg_info -qs' is invoked without argument, and that isn't 
 supported.
 
 I believe, wherever this script is, should be updated to take care of 
 the case where there is no "full" dependency and not call pkg_info -qs
 
 BTW - I noticed the same pkg_info error when rebuilding the recently 
 updated devel/nspr.. I presume there are others.
 
 
 
 --------------000708080001080306060607
 Content-Type: text/x-vcard; charset=utf-8;
  name="Richard_PALO.vcf"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="Richard_PALO.vcf"
 
 YmVnaW46dmNhcmQNCmZuOlJpY2hhcmQgUEFMTw0KbjpQQUxPO1JpY2hhcmQNCm9yZzpTQVMg
 QkFPVTtUTlQgUEFDQQ0KYWRyOlpJIENhbXAgTGF1cmVudDs7MTE3LCBhdiBNYXJjZWwgQmVy
 cmU7TEEgU0VZTkUgU1VSIE1FUjtWQVI7ODM1MDA7RlJBTkNFDQplbWFpbDtpbnRlcm5ldDpy
 aWNoYXJkLnBhbG9AYmFvdS5mcg0KdGVsO3dvcms6KzMzIDQgOTQgOTQgMzkgOTQNCnRlbDtm
 YXg6KzMzIDQgOTQgODcgODYgNjcNCngtbW96aWxsYS1odG1sOkZBTFNFDQp2ZXJzaW9uOjIu
 MQ0KZW5kOnZjYXJkDQoNCg==
 --------------000708080001080306060607--
 


Home | Main Index | Thread Index | Old Index