Subject: pkg/31367: wine does not build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: pkgsrc-bugs
Date: 09/21/2005 21:21:00
>Number:         31367
>Category:       pkg
>Synopsis:       wine package does not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 21 21:21:00 +0000 2005
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 3.0_BETA
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut für Nachrichtentechnik
 X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281
>Environment:
	
	
System: NetBSD quiche 3.0_BETA NetBSD 3.0_BETA (QUICHE) #4: Mon Sep 5 22:10:05 CEST 2005 hauke@quiche:/usr/src/sys/arch/i386/compile/QUICHE i386
Architecture: i386
Machine: i386
>Description:

A build of emulators/wine fails with a link error:

../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ntdll.spec    relay32.o atom.o cdrom.o critsection.o debugbuffer.o debugtools.o directory.o env.o error.o exception.o file.o handletable.o heap.o large_int.o loader.o loadorder.o misc.o nt.o om.o path.o process.o reg.o relay.o resource.o rtl.o rtlbitmap.o rtlstr.o sec.o server.o signal_i386.o signal_powerpc.o signal_sparc.o string.o sync.o version.o thread.o time.o virtual.o wcstring.o ntdll.dll.dbg.o   -Wl,--image-base,0x7bc00000 -o ntdll.dll.so -L../../dlls    -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode  -L../../libs/port -lwine_port -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lossaudio -li386 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib
ntdll.dll-00qqP6.spec-trwWx4.o(.data+0xe40): In function `__wine_spec_exports_funcs':
: undefined reference to `lfind'
ntdll.dll-00qqP6.spec-trwWx4.o(.data+0xac80): In function `__wine_spec_exp_names':
: undefined reference to `lfind'
ntdll.dll-00qqP6.spec-trwWx4.o(.data+0xac79): In function `__wine_spec_exp_names':
: undefined reference to `lfind'
winegcc: cc failed.
gmake[2]: *** [ntdll.dll.so] Error 2
gmake[2]: Leaving directory `/usr/src/pkgsrc/emulators/wine/work/wine-20050830/dlls/ntdll'
gmake[1]: *** [ntdll] Error 2
gmake[1]: Leaving directory `/usr/src/pkgsrc/emulators/wine/work/wine-20050830/dlls'
gmake: *** [dlls] Error 2
*** Error code 2

>How-To-Repeat:

	Build wine on an i386 netbsd-3 machine.

	The complete output of 'make', /etc/mk.conf and the .build.log 
	can be picked up at

	http://la.causeuse.org/hauke/NetBSD/pkgsrc/wine-2005-09-21.tar.gz

>Fix:
	Yes, please.  :)

>Unformatted: