Subject: kern/16149: ./configure failure on on LFS partition
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rob@tuna.nl>
List: netbsd-bugs
Date: 04/01/2002 02:50:04
>Number:         16149
>Category:       kern
>Synopsis:       ./configure failure on on LFS partition
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 31 15:54:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD CC122438-A.ensch1.ov.nl.home.com 1.5ZC NetBSD 1.5ZC (ZILA) #1: Thu Mar 28 22:18:21 CET 2002 rob@CC122438-A.ensch1.ov.nl.home.com:/usr/tmp/src/sys/arch/i386/compile/ZILA i386
Architecture: i386
Machine: i386
>Description:
I'm not quite sure if this should be attributed to kern, but it seems the most appropriate category. 


When building mplayer from source on an LFS partition configure fails. (Complete make outpuut below.)
Moving the mplayer sources to an FFS partition solves the problem and completes  the build.


##### begin of make output #####

bash-2.05# make clean && make
===> Cleaning for mplayer-0.60nb2
=> Checksum OK for MPlayer-0.60.tar.bz2.
===> Extracting for mplayer-0.60nb2
===> Required installed package win32-codecs>=010122: win32-codecs-011227 found
===> Required installed package lame>=3.89: lame-3.91 found
===> Required installed package SDL>=1.2.0: SDL-1.2.3 found
===> Required installed package esound>=0.2.18: esound-0.2.23 found
===> Required installed package libaudiofile>=0.2.1: libaudiofile-0.2.1 found
===> Required installed package pth>=1.3.2: pth-1.4.0nb1 found
===> Required installed package aalib-x11>=1.4.0.4: aalib-x11-1.4.0.4 found
===> Required installed package png>=1.2.1: png-1.2.1 found
===> Required installed package libdvdread>=0.9.2: libdvdread-0.9.2 found
===> Required installed package Mesa>=3.2.1: Mesa-3.4.2nb1 found
===> Required installed package nasm>=0.98: nasm-0.98 found
===> Required installed package gmake>=3.78: gmake-3.79.1 found
===> Patching for mplayer-0.60nb2
===> Applying NetBSD patches for mplayer-0.60nb2
===> Configuring for mplayer-0.60nb2
=> Linking lame files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Linking audiofile files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Creating wrapper script /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink/bin/audiofile-config.
=> Linking esound files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Creating wrapper script /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink/bin/esd-config.
=> Linking pth files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Creating wrapper script /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink/bin/pth-config.
=> Creating wrapper script /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink/bin/pthread-config.
=> Linking Mesa-x11base files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Linking Mesa-localbase files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Linking aalib-x11 files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Creating wrapper script /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink/bin/aalib-config.
=> Linking SDL files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Creating wrapper script /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink/bin/sdl-config.
=> Linking zlib files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Linking png files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Linking libdvdread files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Linking ossaudio files into /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink.
=> Creating /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/.buildlink/include/sys/soundcard.h.
Detected operating system: NetBSD
Detected host architecture: i386
Checking for cc version ... 2.95.3, ok
Checking for CPU vendor ... AuthenticAMD (6:4:2)
Checking for CPU type ...  AMD Athlon(tm) processor
Checking for GCC & CPU optimization abilities ... pentiumpro
Checking for kernel support of mmx ... yes
Checking for kernel support of 3dnow ... failed
It seems that your kernel does not correctly support 3dnow.
To use 3dnow extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnowex ... failed
It seems that your kernel does not correctly support 3dnowex.
To use 3dnowex extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of mmx2 ... failed
It seems that your kernel does not correctly support mmx2.
To use mmx2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for mtrr support ... yes
Checking for assembler (as 2.11.2) ... ok
Checking for extra headers ... none
Checking for extra libs ... none
Checking for kstat ... no
Checking for posix4 ... no
Checking for nanosleep ... yes
Checking for socklib ... no
Checking for inet_pton() ... yes (using )
Checking for stdint.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... no
Checking for alloca.h ... no
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... ./configure: cannot create /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/mplayer-conf--6371.o: text busy
*** Error code 2

Stop.
make: stopped in /usr/tmp/raid0/pkgsrc/graphics/mplayer
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/mplayer

#####  end of make output #####


>How-To-Repeat:
1. move pkgsrc over to an LFS partition.

2. type 'make'

3. wait for the above error when build reaches configure

FYI: 
pkgsrc:		march 30 2002
kern/ userland:	march 26 2002 (ish)

>Fix:
As a work around linking graphics/mplayer from an FFS partition into the same pkgsrc tree results in succesful build
>Release-Note:
>Audit-Trail:
>Unformatted: