NetBSD Problem Report #56683

From www@netbsd.org  Thu Feb  3 10:25:08 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E90301A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  3 Feb 2022 10:25:07 +0000 (UTC)
Message-Id: <20220203102506.819611A923D@mollari.NetBSD.org>
Date: Thu,  3 Feb 2022 10:25:06 +0000 (UTC)
From: tschweikle@gmail.com
Reply-To: tschweikle@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkg zsh pulls in 210 packages
X-Send-Pr-Version: www-1.0

>Number:         56683
>Category:       pkg
>Synopsis:       pkg zsh pulls in 210 packages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jperkin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 03 10:30:00 +0000 2022
>Closed-Date:    Tue Sep 05 05:55:58 +0000 2023
>Last-Modified:  Tue Sep 05 05:55:58 +0000 2023
>Originator:     Thomas Schweikle
>Release:        NetBSD HEAD, pkgsrc 9.0 as of Feb., 3rd 2022
>Organization:
>Environment:
NetBSD nbsd10.bfs.de 9.99.93 NetBSD 9.99.93 (GENERIC) #0: Wed Feb  2 05:40:58 UTC 2022  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Installing zsh using pkgin will pull in 210 additional packages.
Installing the same using pkg_add pulls in zsh and nothing else.
>How-To-Repeat:
Install NetBSD, upgrade to latest HEAD, then install pkgin.
Install zsh using "pkgin in zsh" -- will pull in 210 pkgs.
Try the same with pkg_add: only zsh will be pulled in, if you installed bash before.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->jperkin
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 03 Feb 2022 10:34:02 +0000
Responsible-Changed-Why:
Over to maintainer


From: Thomas Klausner <wiz@NetBSD.org>
To: tschweikle@gmail.com
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: pkg/56683: pkg zsh pulls in 210 packages
Date: Thu, 3 Feb 2022 11:33:43 +0100

 On Thu, Feb 03, 2022 at 10:30:01AM +0000, tschweikle@gmail.com wrote:
 > >Number:         56683
 > >Category:       pkg
 > >Synopsis:       pkg zsh pulls in 210 packages
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Feb 03 10:30:00 +0000 2022
 > >Originator:     Thomas Schweikle
 > >Release:        NetBSD HEAD, pkgsrc 9.0 as of Feb., 3rd 2022
 > >Organization:
 > >Environment:
 > NetBSD nbsd10.bfs.de 9.99.93 NetBSD 9.99.93 (GENERIC) #0: Wed Feb  2 05:40:58 UTC 2022  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
 > >Description:
 > Installing zsh using pkgin will pull in 210 additional packages.
 > Installing the same using pkg_add pulls in zsh and nothing else.
 > >How-To-Repeat:
 > Install NetBSD, upgrade to latest HEAD, then install pkgin.
 > Install zsh using "pkgin in zsh" -- will pull in 210 pkgs.
 > Try the same with pkg_add: only zsh will be pulled in, if you installed bash before.

 Something is wrong in your setup. What is your pkgin configuration?
  Thomas

From: "Jonathan Perkin" <jperkin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56683 CVS commit: pkgsrc/pkgtools/pkgin
Date: Wed, 16 Aug 2023 17:19:55 +0000

 Module Name:	pkgsrc
 Committed By:	jperkin
 Date:		Wed Aug 16 17:19:55 UTC 2023

 Modified Files:
 	pkgsrc/pkgtools/pkgin: Makefile distinfo

 Log Message:
 pkgin: Update to 23.8.0.

 ## Version 23.8.0 (2023-08-16)

 This is the biggest overhaul of pkgin yet!  As well as fixing many bugs, pkgin
 23.8.0 runs "pkgin -n upgrade" over 2,000x faster on a test system with 12,663
 packages installed compared to 22.10.0 (1.4 seconds vs over 54 minutes).

  * Large overhaul of dependency resolution code, fixing many upgrade issues,
    providing significant performance improvements, and improving code and
    logic readability.

  * Add support for SUPERSEDES.

  * Fix install and removal ordering.

  * Improve and fix handling of "keep" packages, using "pkg_add -A" to
    correctly install automatic packages rather than applying keep or unkeep
    flags afterwards.

  * Output improvements, sorting packages alphabetically and providing a
    simple progress counter.  Fix unwanted output that could end up mixed
    with package paths in "pkgin export".

  * Correct handling of +REQUIRED_BY for reverse dependencies, fixing
    DEPENDS that use alternate matches.

  * Many internal code improvements, memory leaks plugged, and compiler
    warnings eradicated.

 Fixes at least the following issues:

  * NetBSDfr/pkgin#10
  * NetBSDfr/pkgin#44
  * NetBSDfr/pkgin#79
  * NetBSDfr/pkgin#95
  * NetBSDfr/pkgin#97
  * NetBSDfr/pkgin#110
  * NetBSDfr/pkgin#113
  * NetBSDfr/pkgin#128
  * NetBSD PR#51465
  * NetBSD PR#56683


 To generate a diff of this commit:
 cvs rdiff -u -r1.124 -r1.125 pkgsrc/pkgtools/pkgin/Makefile
 cvs rdiff -u -r1.77 -r1.78 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->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Tue, 05 Sep 2023 05:55:58 +0000
State-Changed-Why:
Should be fixed in 23.8.0.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.