From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 18 20:20:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98F5B106566B for ; Wed, 18 May 2011 20:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 350238FC15 for ; Wed, 18 May 2011 20:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4IKKARx091889 for ; Wed, 18 May 2011 20:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4IKKAje091888; Wed, 18 May 2011 20:20:10 GMT (envelope-from gnats) Resent-Date: Wed, 18 May 2011 20:20:10 GMT Resent-Message-Id: <201105182020.p4IKKAje091888@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edward.Sanford.Sutton@FreeBSD.org, III Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE52106564A for ; Wed, 18 May 2011 20:12:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 0288D8FC14 for ; Wed, 18 May 2011 20:12:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4IKCAf1051767 for ; Wed, 18 May 2011 20:12:10 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4IKCAm2051766; Wed, 18 May 2011 20:12:10 GMT (envelope-from nobody) Message-Id: <201105182012.p4IKCAm2051766@red.freebsd.org> Date: Wed, 18 May 2011 20:12:10 GMT From: Edward.Sanford.Sutton@FreeBSD.org, III To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157167: port x11/xrx build fails when www/libxul is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2011 20:20:10 -0000 >Number: 157167 >Category: ports >Synopsis: port x11/xrx build fails when www/libxul is installed >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: Wed May 18 20:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Edward Sanford Sutton, III >Release: 8.2-i386 and a newer stable on amd64 >Organization: >Environment: FreeBSD blackhole.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: xrx-1.0.3 fails to build with libxul-1.9.2.17 installed. The output of configure changes in the presence of /usr/local/include/libxul/npapi.h from no to yes: checking npfunctions.h usability... yes checking npfunctions.h presence... yes checking for npfunctions.h... yes moving the file aside makes the build succeed. While the header is present, The warnings appear during compile earlier in the build in addition to right with the error: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../rx -DNETSCAPE_PLUGIN -DXP_UNIX -DMOZ_X11 -DOJI -DXP_UNIX -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -D_THREAD_SAFE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -DXP_UNIX -I/usr/local/include/libxul -g -O2 -MT XDpyName.lo -MD -MP -MF .deps/XDpyName.Tpo -c ../rx/XDpyName.c -fPIC -DPIC -o .libs/XDpyName.o In file included from ./RxPlugin.h:57, from ../rx/XDpyName.c:32: /usr/local/include/libxul/npapi.h:622: warning: function declaration isn't a prototype /usr/local/include/libxul/npapi.h:625: warning: function declaration isn't a prototype /usr/local/include/libxul/npapi.h:626: warning: function declaration isn't a prototype In file included from ../rx/XDpyName.c:32: ./RxPlugin.h:96: error: expected specifier-qualifier-list before 'int16' gmake[3]: *** [XDpyName.lo] Error 1 gmake[3]: Leaving directory `/usr/tmp/usr/ports/x11/xrx/work/xrx-1.0.3/plugin' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/tmp/usr/ports/x11/xrx/work/xrx-1.0.3/plugin' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/x11/xrx/work/xrx-1.0.3' gmake: *** [all] Error 2 >How-To-Repeat: install www/libxul then try to build x11/xrx >Fix: move /usr/local/include/libxul/npapi.h, configure port, move file back, build and install. I do not know how to tell configure to not see it, nor do I know how to make it just work with the file being present but either would be a fix for the ports tree. sed could edit the output of configure or configure itself to appear to not locate the file. >Release-Note: >Audit-Trail: >Unformatted: