From owner-freebsd-ports-bugs Thu Jan 30 23:30:14 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1FDE37B401 for ; Thu, 30 Jan 2003 23:30:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6C2F43F79 for ; Thu, 30 Jan 2003 23:30:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0V7U8NS051519 for ; Thu, 30 Jan 2003 23:30:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0V7U8xu051518; Thu, 30 Jan 2003 23:30:08 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2DE237B401 for ; Thu, 30 Jan 2003 23:21:36 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25DAB43F75 for ; Thu, 30 Jan 2003 23:21:34 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id EC7CD51987; Fri, 31 Jan 2003 17:51:30 +1030 (CST) Message-Id: <20030131072130.EC7CD51987@wantadilla.lemis.com> Date: Fri, 31 Jan 2003 17:51:30 +1030 (CST) From: "Greg 'groggy' Lehey" Reply-To: "Greg 'groggy' Lehey" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/47707: ports/jdk12 fails to build Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 #include #ifdef __FreeBSD__ -#include +#include #elif __OpenBSD__ #include #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