Bug 156983 - compiling emulators/wine-1.3.19 fails on FreeBSD 7.4
Summary: compiling emulators/wine-1.3.19 fails on FreeBSD 7.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 21:40 UTC by Martin Birgmeier
Modified: 2011-05-15 17:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2011-05-12 21:40:07 UTC
Compiling wine 1.3.19 fails on FreeBSD 7.4. The following is an excerpt of the build log showing only the relevant lines:

cc -c -I. -I. -I../../include -I../../include -I/usr/local/include/freetype2 -I/usr/local/include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -I/usr/local/include -O2 -fno-strict-aliasing -pipe  -o brush.o brush.c
cc -c -I. -I. -I../../include -I../../include -I/usr/local/include/freetype2 -I/usr/local/include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -I/usr/local/include -O2 -fno-strict-aliasing -pipe  -o builtin.o builtin.c
mmdevdrv.c: In function 'AUDDRV_GetEndpointIDs':
mmdevdrv.c:189: error: 'oss_sysinfo' has no member named 'numaudioengines'
mmdevdrv.c:214: error: 'PCM_CAP_INPUT' undeclared (first use in this function)
mmdevdrv.c:214: error: (Each undeclared identifier is reported only once
mmdevdrv.c:214: error: for each function it appears in.)
mmdevdrv.c:215: error: 'PCM_CAP_OUTPUT' undeclared (first use in this function)
mmdevdrv.c:249: error: 'PCM_CAP_DEFAULT' undeclared (first use in this function)
mmdevdrv.c: In function 'AUDDRV_GetAudioEndpoint':
mmdevdrv.c:299: error: 'SNDCTL_ENGINEINFO' undeclared (first use in this function)
gmake[1]: *** [mmdevdrv.o] Error 1
gmake[1]: Leaving directory `/usr/tmp/hal/z/SRC/FreeBSD/HEAD/ports/emulators/wine/work/wine-1.3.19/dlls/wineoss.drv'
gmake: *** [dlls/wineoss.drv] Error 2
cc -c -I. -I. -I../../include -I../../include -I/usr/local/include/freetype2 -I/usr/local/include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wpointer-arith -I/usr/local/include -O2 -fno-strict-aliasing -pipe  -o clipping.o clipping.c
gmake: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/usr/tmp/hal/z/SRC/FreeBSD/HEAD/ports/emulators/wine/work/wine-1.3.19/dlls/wineps.drv'
*** Error code 1

Stop in /.../hal/z/SRC/FreeBSD/HEAD/ports/emulators/wine.
*** Error code 1

Stop in /.../hal/z/SRC/FreeBSD/HEAD/ports/emulators/wine.

How-To-Repeat: cd /usr/ports/emulators/wine && make
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2011-05-14 13:31:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

over to maintainer
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2011-05-15 17:00:35 UTC
State Changed
From-To: open->closed

Thank you for the report, Martin.  Looking into the failures, it appears 
that the sound system on older versions of FreeBSD really is too lacking. 

Even for FreeBSD 8.2 I needed to create three patches, two of which are 
already upstream, and this is at yet another dimension, so I had to mark 
the port as IGNORE.  If you want to manually work around it, building 
Wine by adding --without-oss to the CONFIGURE_OPTIONS and the files with 
"oss" in their names from pkg-plist should work.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-05-15 17:00:49 UTC
gerald      2011-05-15 16:00:28 UTC

  FreeBSD ports repository

  Modified files:
    emulators/wine       Makefile 
  Log:
  Mark IGNORE for versions of FreeBSD before than 8.0.  The version of
  the sound subsystem on those is just too incomplete.
  
  PR:             156983
  
  Revision  Changes    Path
  1.372     +2 -2      ports/emulators/wine/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"