NetBSD Problem Report #55925
From gson@gson.org Wed Jan 13 21:28:48 2021
Return-Path: <gson@gson.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 B550C1A9217
for <gnats-bugs@gnats.NetBSD.org>; Wed, 13 Jan 2021 21:28:48 +0000 (UTC)
Message-Id: <20210113212843.2CD65253EDE@guava.gson.org>
Date: Wed, 13 Jan 2021 23:28:43 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: pkgsrc.tar.gz contains work directories
X-Send-Pr-Version: 3.95
>Number: 55925
>Category: pkg
>Synopsis: pkgsrc.tar.gz contains work directories
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: cjep
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 13 21:30:00 +0000 2021
>Closed-Date: Sun Feb 14 16:56:03 +0000 2021
>Last-Modified: Sun Feb 14 16:56:03 +0000 2021
>Originator: Andreas Gustafsson
>Release: NetBSD 9.0
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:
The current ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz
contains the directories
pkgsrc/pkgtools/pkg_install/work/
pkgsrc/pkgtools/cwrappers/work/
that are not supposed to be there, and lots of files within them.
This causes package builds from a freshly downloaded pkgsrc.tar.gz
to fail with errors such as
ERROR: [resolve-dependencies] A package matching ``pkg_install>=20200828'' should
ERROR: be installed, but one cannot be found. Perhaps there is a
ERROR: stale work directory for ../../pkgtools/pkg_install?
>How-To-Repeat:
ftp 'ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz'
zcat pkgsrc.tar.gz | tar tfv - | grep /work/
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->cjep
Responsible-Changed-By: cjep@NetBSD.org
Responsible-Changed-When: Sun, 14 Feb 2021 16:56:03 +0000
Responsible-Changed-Why:
Picking this up.
State-Changed-From-To: open->closed
State-Changed-By: cjep@NetBSD.org
State-Changed-When: Sun, 14 Feb 2021 16:56:03 +0000
State-Changed-Why:
Many thanks for bringing this to our attention. I believe the admins
have cleaned up and the latest tar.gz does not have the work directories.
Kind regards, Chris
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.