Subject: Re: pkg/34058: Misc errors with PKG_RESUME_TRANSFERS set
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: pkgsrc-bugs
Date: 07/23/2006 17:25:02
The following reply was made to PR pkg/34058; it has been noted by GNATS.

From: Juan RP <juan@xtrarom.org>
To: pkgsrc-bugs@netbsd.org
Cc: 
Subject: Re: pkg/34058: Misc errors with PKG_RESUME_TRANSFERS set
Date: Sun, 23 Jul 2006 18:13:27 +0200

 On Sun, 23 Jul 2006 16:00:07 +0000
 "Johnny C. Lam" <jlam@pkgsrc.org> wrote:
 
 > I couldn't reproduce this on either my NetBSD-3.0/i386 box or my Darwin
 > box with a recent bootstrap.  In both cases, the fetch was successful
 > with PKG_RESUME_TRANSFERS=YES.  Both of them have barebones mk.conf
 > files.  What's in your /etc/mk.conf?
 
 My mk.conf file:
 
 .ifdef BSD_PKG_MK
 
 WRKOBJDIR=/home/juan/work-pkgsrc
 #PKG_DEVELOPER=YES
 #PKG_RESUME_TRANSFERS=YES
 PKG_RCD_SCRIPTS=YES
 PKGSRC_COMPILER=ccache gcc
 PKG_REGISTER_SHELLS=YES
 SU_CMD=/usr/pkg/bin/sudo sh -c
 
 USE_BUILTIN.glu=YES
 USE_BUILTIN.MesaLib=YES
 USE_BUILTIN.iconv=YES
 USE_BUILTIN.zlib=YES
 
 _ACCEPTABLE=YES
 ATHLON=1
 
 .ifdef DEBUG
 CFLAGS+=-pipe -g
 .elif defined(ATHLON)
 CFLAGS+=-march=athlon-xp -pipe -O3
 .else
 CFLAGS+=-pipe
 .endif
 
 MOZILLA_USE_LINUX=YES
 PACKAGES=/home/juan/packages-current
 ACROREAD_FONTPATH=/usr/X11R6/lib/X11/fonts/TTF
 
 #FETCH_CMD=wget
 .if defined(FETCH_CMD) && ${FETCH_CMD} == "wget"
 FETCH_BEFORE_ARGS=--passive-ftp
 FETCH_RESUME_ARGS=-c
 FETCH_OUTPUT_ARGS=-O
 .endif
 
 PKG_OPTIONS.mplayer=    dvdread gif jpeg mad mplayer-menu \
                         -mplayer-real mplayer-win32 oss png \
                         sdl theora vorbis xvid \
                         -mplayer-runtime-cpudetection \
                         -arts -cdparanoia -dv -esound -nas -faad \
                         -aalib
 PKG_OPTIONS.gmplayer=   ${PKG_OPTIONS.mplayer}
 PKG_OPTIONS.mencoder=   -cdparanoia -dv -mplayer-runtime-cpudetection
 PKG_OPTIONS.gxemul=     x11
 LIBDVDCSS_MASTER_SITES=http://download.videolan.org/pub/libdvdcss/
 PKG_OPTIONS.mutt=mutt-hcache
 PKG_OPTIONS.fluxbox=imlib2 xft
 PKG_OPTIONS.imlib2=mmx
 PKG_OPTIONS.fam=kqueue
 ALLOW_VULNERABLE_PACKAGES+=ffmpeg
 PKG_OPTIONS.freetype2=truetype
 PKG_OPTIONS.transcode=-imagemagick
 PKG_OPTIONS.mjpegtools=-dv mjpegtools-simd
 PKG_OPTIONS.tiff=lzw
 PKG_OPTIONS.SDL=-aalib -arts -nas -esound
 
 MASTER_SITE_GNOME=ftp://ftp.dit.upm.es/linux/gnome/
 
 .endif