Subject: pkg/35090: NO_BIN_ON_FTP flag for p5-perl-headers-3.0nb3 breaks 'pkg_add kde'.
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 11/20/2006 22:05:00
>Number:         35090
>Category:       pkg
>Synopsis:       NO_BIN_ON_FTP flag for p5-perl-headers-3.0nb3 breaks 'pkg_add kde'.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 20 22:05:00 +0000 2006
>Originator:     John Murphy
>Release:        NetBSD 3.1
System: NetBSD 3.1 NetBSD 3.1 (GENERIC_LAPTOP) #0: Tue Oct 31 04:32:05 UTC 2006 i386
Architecture: i386
Machine: i386
'pkg_add kde' is broken by the absence of p5-perl-headers-3.0nb3 in the
packages section of the NetBSD ftp server. I presume it's missing because
'NO_BIN_ON_FTP' is set in its Makefile, but I haven't seen the Makefile
so I can't be sure. The fact that it's not at .../3.0/i386/All or in the
'vulnerable' folder means that 'pkg_add kde' fails spectacularly. A loop
is entered in which other files (eg. nas-1.8nb1.tgz) is fetched multiple
times. Experimenting with my own ftp server showed nas-1.8nb1.tgz was
downloaded 84 times in 10 minutes! The full results of the experiment can
be seen here:
'export PKG_PATH=";"'

'pkg_add kde' and leave it running overnight for worst effect.

Check the server's xferlog if you have access to it, or check the
bandwidth used by some other means.