pkgsrc-Bugs archive

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

pkg/55925: pkgsrc.tar.gz contains work directories



>Number:         55925
>Category:       pkg
>Synopsis:       pkgsrc.tar.gz contains work directories
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 13 21:30:00 +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:



Home | Main Index | Thread Index | Old Index