Date: Thu, 28 Dec 2006 03:56:19 GMT From: David Grochowski<grocho98@students.rowan.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/107261: [PATCH] Add required run dependency to audio/nas. Message-ID: <200612280356.kBS3uJ1i068395@www.freebsd.org> Resent-Message-ID: <200612280400.kBS40V3A023614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107261 >Category: ports >Synopsis: [PATCH] Add required run dependency to audio/nas. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 28 04:00:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: David Grochowski >Release: 7.0-CURRENT >Organization: Rowan University >Environment: FreeBSD Wanderer 7.0-CURRENT FreeBSD 7.0-CURRENT #17: Tue Dec 26 16:29:48 EST 2006 root@Wanderer:/usr/obj/usr/src/sys/WANDERER i386 >Description: When trying to compile audio/nas without x11-toolkits/libXt installed, I receive an error: cc -c -O2 -fno-strict-aliasing -pipe -I../../include -I/usr/local/include -DCS RG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DMALLOC_0_RETU RNS_NULL -DBSD44SOCKETS -I../../include -I/usr/local/include -DCSRG_BASED -DFU NCPROTO=15 -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DBS D44SOCKETS -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARR OWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DBSD44SOCKETS Xtutil.c -o unshared/Xtutil.o Xtutil.c:27:27: X11/Intrinsic.h: No such file or directory In file included from Xtutil.c:29: Xtutil.h:56: error: syntax error before "int" Xtutil.h:66: error: syntax error before "AuXtAppAddAudioHandler" Xtutil.h:68: error: syntax error before "AuServer" Xtutil.h:69: warning: data definition has no type or storage class Xtutil.h:74: error: syntax error before "XtInputId" Xtutil.c:41: error: syntax error before "XtAppContext" Xtutil.c:44: error: syntax error before "XtWorkProcId" Xtutil.c:51: error: syntax error before "closure" Xtutil.c: In function `AuXtHandleAudioEvents': Xtutil.c:53: error: `closure' undeclared (first use in this function) Xtutil.c:53: error: (Each undeclared identifier is reported only once Xtutil.c:53: error: for each function it appears in.) Xtutil.c: At top level: Xtutil.c:62: error: syntax error before "_au_xt_syncWorkProc" Xtutil.c:62: error: syntax error before "data" Xtutil.c: In function `_au_xt_syncWorkProc': Xtutil.c:64: error: `data' undeclared (first use in this function) Xtutil.c:67: error: `True' undeclared (first use in this function) Xtutil.c: At top level: Xtutil.c:75: error: syntax error before "_au_xt_eventEnqWorkProc" Xtutil.c:75: error: syntax error before "data" Xtutil.c: In function `_au_xt_eventEnqWorkProc': Xtutil.c:77: error: `data' undeclared (first use in this function) Xtutil.c:80: error: `True' undeclared (first use in this function) Xtutil.c: At top level: Xtutil.c:89: error: syntax error before "XtPointer" Xtutil.c: In function `_au_xt_synchandler': Xtutil.c:91: error: `data' undeclared (first use in this function) Xtutil.c:95: error: structure has no member named `syncWorkProcId' Xtutil.c:96: error: structure has no member named `app_context' Xtutil.c: At top level: Xtutil.c:104: error: syntax error before "XtPointer" Xtutil.c: In function `_au_xt_eventenqhandler': Xtutil.c:106: error: `data' undeclared (first use in this function) Xtutil.c:110: error: structure has no member named `eventEnqWorkProcId' Xtutil.c:111: error: structure has no member named `app_context' Xtutil.c: At top level: Xtutil.c:121: error: syntax error before "XtInputId" Xtutil.c:129: error: syntax error before "AuXtAppAddAudioHandler" Xtutil.c:129: error: syntax error before "app_context" Xtutil.c: In function `AuXtAppAddAudioHandler': Xtutil.c:143: error: structure has no member named `app_context' Xtutil.c:143: error: `app_context' undeclared (first use in this function) Xtutil.c:144: error: `aud' undeclared (first use in this function) Xtutil.c:166: error: structure has no member named `id' Xtutil.c:167: error: `XtPointer' undeclared (first use in this function) Xtutil.c:167: error: syntax error before "XtInputReadMask" Xtutil.c: At top level: Xtutil.c:177: error: syntax error before '->' token Xtutil.c:177: error: initializer element is not constant Xtutil.c:177: warning: data definition has no type or storage class Xtutil.c:178: error: syntax error before '->' token Xtutil.c:178: warning: initialization makes integer from pointer without a cast Xtutil.c:178: warning: data definition has no type or storage class Xtutil.c:180: error: syntax error before "if" *** Error code 1 Stop in /usr/ports/audio/nas/work/nas-1.8/lib/audio. *** Error code 1 Stop in /usr/ports/audio/nas/work/nas-1.8/lib. *** Error code 1 Stop in /usr/ports/audio/nas/work/nas-1.8. *** Error code 1 Stop in /usr/ports/audio/nas. Obviously, x11-toolkits/libXt is necessary for this port to install and run. >How-To-Repeat: Try and build audio/nas without x11-toolkits/libXt installed. >Fix: Apply the provided patch: ---cut here--- --- Makefile.bak Wed Dec 27 22:34:18 2006 +++ Makefile Wed Dec 27 22:38:48 2006 @@ -14,6 +14,8 @@ MAINTAINER= multimedia@FreeBSD.org COMMENT= Network Audio System +RUN_DEPENDS= ${X11BASE}/lib/X11/libXt.so:${PORTSDIR}/x11-toolkits/libXt + USE_IMAKE= yes INSTALLS_SHLIB= yes MAKE_ENV+= COMPRESS_CMD="${COMPRESS_CMD:S/c//}" ---end cut--- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612280356.kBS3uJ1i068395>