NetBSD Problem Report #47192

From www@NetBSD.org  Wed Nov 14 14:24:06 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id BCDFE63E81A
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 14 Nov 2012 14:24:05 +0000 (UTC)
Message-Id: <20121114142405.15A7963E81A@www.NetBSD.org>
Date: Wed, 14 Nov 2012 14:24:05 +0000 (UTC)
From: bbartlomiej@gmail.com
Reply-To: bbartlomiej@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkgin fails to import packages from file
X-Send-Pr-Version: www-1.0

>Number:         47192
>Category:       pkg
>Synopsis:       pkgin fails to import packages from file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    imil
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 14 14:25:00 +0000 2012
>Closed-Date:    
>Last-Modified:  Thu Jan 31 20:58:05 +0000 2013
>Originator:     Bartek Krawczyk
>Release:        6.0
>Organization:
>Environment:
NetBSD www.tveurosat.net 6.0 NetBSD 6.0 (XEN3_DOMU) amd64

>Description:
www# cat to.txt 
php53-curl
php53-gd
php53-mcrypt
php53-mysql
php53-pear
php53-pgsql
php53-pspell
php53-xmlrpc
php53-zip
php53-zlib

www# pkgin import to.txt 
php53-curl is not available on the repository
php53-gd is not available on the repository
php53-mcrypt is not available on the repository
pkgin: can't allocate memory
: Cannot allocate memory


As you can see when I try to import packages from file pkgin fails with "cannot allocate memory". Same thing happens when I prefix packages with "lang/"
Installing these packages individually, succedds.

Regards
>How-To-Repeat:
Try to import package names to be instaled with pkgin.
>Fix:

stacktic sent a fix for this and has been imported to pkgin's CVS

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->imil
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 14 Nov 2012 14:51:17 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->feedback
State-Changed-By: imil@NetBSD.org
State-Changed-When: Wed, 14 Nov 2012 20:02:08 +0000
State-Changed-Why:
A fix written by stacktic@ is available in pkgin's CVS, could you try and confirm it fixes this issue ?


From: Bartek Krawczyk <bbartlomiej@gmail.com>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: pkg/47192
Date: Tue, 20 Nov 2012 11:00:05 +0100

 The fix helps with ": Cannot allocate memory" but pkgin still says it
 can not find the packages on the repository. Is there some kind of
 special syntax for "import"?
 "pkgin install php53-curl" works just fine, but "pkgin import list.txt"
 which contains "php53-curl" doesn't.

 Regards
 -- 
 Bartłomiej Krawczyk
 JID: bbartlomiej@jabster.pl
 http://pentaxian.pl

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 09 Dec 2012 19:33:40 +0000
State-Changed-Why:
feedback received (and no, I don't know the answer to your question, sorry)


From: "Emile iMil Heitor" <imil@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47192 CVS commit: pkgsrc/pkgtools/pkgin
Date: Fri, 14 Dec 2012 09:05:48 +0000

 Module Name:	pkgsrc
 Committed By:	imil
 Date:		Fri Dec 14 09:05:48 UTC 2012

 Modified Files:
 	pkgsrc/pkgtools/pkgin: Makefile distinfo

 Log Message:
 0.6.3
         PR3555339@sf (stacktic)
         Avoid negative speed when a download start (stacktic)
         PR47196 fixed by stacktic
         PR47060 fixed by stacktic
         Added show-no-keep by orgrim
         Fixed PR47192 (by stacktic)


 To generate a diff of this commit:
 cvs rdiff -u -r1.29 -r1.30 pkgsrc/pkgtools/pkgin/Makefile
 cvs rdiff -u -r1.24 -r1.25 pkgsrc/pkgtools/pkgin/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: stacktic@NetBSD.org
State-Changed-When: Thu, 31 Jan 2013 20:58:05 +0000
State-Changed-Why:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.