Subject: Re: memtestplus errors (was: LFS and big files)
To: None <pkgsrc-users@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 01/06/2007 10:46:43
On Sat, 6 Jan 2007 16:36:40 +0100
Bernd Ernesti <netbsd@lists.veego.de> wrote:

> [note the reply-to pkgsrc-users@NetBSD.org]
> 
> On Fri, Jan 05, 2007 at 11:58:30PM -0500, Steven M. Bellovin wrote:
> [..]
> 
> > First, note that there is a difference between memtest86 and
> > memtestplus.  I recommend the latter (and am listed as the
> > maintainer of it).  Second, I do not have any 64-bit machines to
> > test on.  Given that it's chipset-dependent, I'm quite loathe to
> > assume anything about its behavior.  It's easy enough to test,
> > though -- just change the ONLY_FOR_PLATFORM line in the Makefile,
> > and let me know what happens.
> 
> If it would only install and uss the correct packages.
> 
> Setting PKG_OPTIONS.memtestplus = memtesplus-iso caused it to install
> cdrtools, despite I had cdrtools-ossdvd-2.01.1.36nb1 installed.
> 
> Ok, that was the easier part to fix by patching options.mk:
> 
> BUILD_DEPENDS+=
> {cdrtools,cdrtools-ossdvd}>=2.01:../../sysutils/cdrtools
> 
> Now the install failed:
> 
> => Generating pre-install file lists
> /usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/mdec 
> /usr/bin/install -c -o root -g wheel -m
> 444 /pkgsrc/sysutils/memtestplus/work.i386/memtest86+-1.65/memtest.bin /usr/pkg/mdec/memtestplus.bin /usr/bin/install
> -c -o root -g wheel -m
> 444 /pkgsrc/sysutils/memtestplus/work.i386/memtest86+-1.65/memtest /usr/pkg/mdec/memtestplus
> install: /pkgsrc/sysutils/memtestplus/work.i386/memtest86+-1.65/memtest:
> stat: No such file or directory *** Error code 1 Stop.
> 
> NetBSD/i386 current
> 

Thanks for the report -- I'll check out the latter problem.  It did
install properly for me just a few days ago, on a new machine.  (I was
unaware of cdrtools-ossdvd; I'll make that change, too.)

What options did you have set?


		--Steve Bellovin, http://www.cs.columbia.edu/~smb