Subject: Re: pkg/36473: Postpone ${DISTDIR} write permission check till it's really needed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obache@netbsd.org>
List: pkgsrc-bugs
Date: 07/30/2007 15:30:05
The following reply was made to PR pkg/36473; it has been noted by GNATS.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/36473: Postpone ${DISTDIR} write permission check till it's really needed
Date: Tue, 31 Jul 2007 00:28:53 +0900

 On Sun, 22 Jul 2007 04:25:02 +0900, Aleksej Saushev <asau@hotbox.ru> wro=
 te:
 
 >  $ cd /usr/pkgsrc/archivers/unzip/
 >  $ make
 >  =3D> Required installed package digest>=3D20010302: digest-20060826 f=
 ound
 >  audit-packages: not found
 >  =3D=3D=3D> Skipping vulnerability checks.
 >  WARNING: No /pkg-vulnerabilities file found.
 >  WARNING: To fix run: `download-vulnerability-list'.
 >  =3D> Fetching unzip552.tgz
 >  fetch: Cannot write to /usr/pkgsrc/distfiles/unzip-5.52
 >  *** Error code 1
 > Stop.
 >  make: stopped in /usr/pkgsrc/archivers/unzip
 >  $ stat /usr/pkgsrc/distfiles/unzip-5.52/unzip552.tar.gz >/dev/null &&=
  echo ok
 >  ok
 >  $ id -u
 >  1000
 >  $ stat /usr/pkgsrc/distfiles | cut -d ' ' -f1-6
 >  5 539392 drwxr-xr-x 41 root wheel
 > With fresh pkgsrc tree.
 > Thus, you can't reuse read-only DISTDIR.
 
 No, normally we can reuse.
 Do you have PKG_RESUME_TRANSFERS=3Dyes in /etc/mk.conf?
 
 -- =
 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org