Date: Fri, 31 Jan 2003 17:51:30 +1030 (CST) From: "Greg 'groggy' Lehey" <grog@lemis.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47707: ports/jdk12 fails to build Message-ID: <20030131072130.EC7CD51987@wantadilla.lemis.com>
next in thread | raw e-mail | index | archive | help
>Number: 47707 >Category: ports >Synopsis: ports/jdk12 fails to build >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 30 23:30:08 PST 2003 >Closed-Date: >Last-Modified: >Originator: Greg 'groggy' Lehey >Release: FreeBSD 5.0-CURRENT i386 >Organization: LEMIS (SA) Pty Ltd >Environment: System: FreeBSD wantadilla.lemis.com 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat Oct 26 11:16:38 CST 2002 grog@current.lemis.com:/usr/obj/src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/WANTADILLA i386 >Description: java/jdk12 fails to build: gcc -O -pipe -mcpu=pentiumpro -W -Wall -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-unused -Wno-p arentheses -pipe -fPIC -DX_PLATFORM=X_SOLARIS -DJAVA_SOUND -DJAVA_THREAD -Di386 -DHAVE_ALIGNED_LONGLONGS -DHAVE_ALIGNE D_DOUBLES -DARCH='"i386"' -DRELEASE='"1.2.2"' -DFULL_VERSION='"jdk1.2.2-p11:root:2003/01/31-15:03"' -DHAVE_POLL -D_REENT RANT -I. -ICClassHeaders -I../../../../src/bsd/javavm/export -I../../../../src/share/javavm/export -I../../../../src/sha re/native/common -I../../../../src/bsd/native/common -I../../../../src/share/native/sun/audio -I../../../../src/bsd/na tive/sun/audio -c -o obj/i386/HAE_API_bsd.o ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:54:31: machine/soundcard.h: No such file or directory ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c: In function `HAE_Setup': ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:157: `SNDCTL_DSP_GETFMTS' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:157: (Each undeclared identifier is reported only once ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:157: for each function it appears in.) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:163: `AFMT_U8' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:163: `AFMT_S8' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:164: `AFMT_U16_LE' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:164: `AFMT_S16_LE' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:168: `SOUND_PCM_READ_CHANNELS' undeclared (first use in this function ) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:175: `SOUND_PCM_WRITE_CHANNELS' undeclared (first use in this functio n) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c: In function `HAE_GetHardwareVolume': ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:322: `SOUND_MIXER_READ_VOLUME' undeclared (first use in this function ) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c: In function `HAE_SetHardwareVolume': ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:333: `SOUND_MIXER_WRITE_VOLUME' undeclared (first use in this functio n) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c: In function `PV_AudioWaveOutFrameThread': ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:524: syntax error before "audio_info" ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:527: `SNDCTL_DSP_GETOPTR' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:527: `audio_info' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c: In function `HAE_AquireAudioCard': ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:680: `AFMT_MU_LAW' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:691: `AFMT_S16_LE' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:701: `SNDCTL_DSP_SETFMT' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:708: `SNDCTL_DSP_STEREO' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:719: `SNDCTL_DSP_SPEED' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c: In function `HAE_GetDeviceSamplesPlayedPosition': ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:813: syntax error before "audio_info" ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:814: `SNDCTL_DSP_GETOPTR' undeclared (first use in this function) ../../../../src/bsd/native/sun/audio/HAE_API_bsd.c:814: `audio_info' undeclared (first use in this function) gmake[3]: *** [obj/i386/HAE_API_bsd.o] Error 1 gmake[3]: Leaving directory `/src/FreeBSD/ports/java/jdk12/work/build/bsd/sun/audio' >How-To-Repeat: Fix PR 47699 cd /usr/ports/java/jdk12 make >Fix: --- src/bsd/native/sun/audio//HAE_API_bsd.c Fri Jan 31 17:37:21 2003 +++ src/bsd/native/sun/audio//HAE_API_bsd.c.new Fri Jan 31 17:48:49 2003 @@ -51,7 +51,7 @@ #include <sys/wait.h> #include <errno.h> #ifdef __FreeBSD__ -#include <sys/soundcard.h> +#include <machine/soundcard.h> #elif __OpenBSD__ #include <soundcard.h> #endif Comments: I'm a little puzzled with this. This is the second bug I've found in this port today, and the ports tree is freshly updates. On the other hand, the bugs look pretty straightforward, so I can't see that I'm doing anything wrong. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030131072130.EC7CD51987>