From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 10 17:00:30 2012 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 14BD810656E7 for ; Fri, 10 Feb 2012 17:00:30 +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 C51D98FC40 for ; Fri, 10 Feb 2012 17:00:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1AH0SbI053629 for ; Fri, 10 Feb 2012 17:00:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1AH0SOo053628; Fri, 10 Feb 2012 17:00:28 GMT (envelope-from gnats) Resent-Date: Fri, 10 Feb 2012 17:00:28 GMT Resent-Message-Id: <201202101700.q1AH0SOo053628@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, Jimmy Kelley Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E00361065670 for ; Fri, 10 Feb 2012 16:50:38 +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 AFCE88FC15 for ; Fri, 10 Feb 2012 16:50:38 +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 q1AGocX1060804 for ; Fri, 10 Feb 2012 16:50:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q1AGocUp060803; Fri, 10 Feb 2012 16:50:38 GMT (envelope-from nobody) Message-Id: <201202101650.q1AGocUp060803@red.freebsd.org> Date: Fri, 10 Feb 2012 16:50:38 GMT From: Jimmy Kelley To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/164965: openoffice.org-3 fails to build in moz, nss, and connectivity modules 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: Fri, 10 Feb 2012 17:00:30 -0000 >Number: 164965 >Category: ports >Synopsis: openoffice.org-3 fails to build in moz, nss, and connectivity modules >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: Fri Feb 10 17:00:27 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jimmy Kelley >Release: 9.0-STABLE >Organization: >Environment: FreeBSD jmobile.jimmy.local 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Feb 8 11:23:55 CST 2012 root@jmobile.jimmy.local:/usr/obj/usr/src/sys/GENERIC i386 >Description: OpenOffice.org-3 build fails in the moz and nss modules due to a conflict with an include file named mpi.h; there are two such files: one in the openoffice build area(s) (the one that needs to be used by the failing modules), and one in /usr/X11R6/include. Modifying the appropriate Makefiles to have the include search path look in the build area BEFORE looking in other system areas fixes this problem. The build next fails in the connectivity module due to a char const * to sal_Char conversion error. >How-To-Repeat: Attempt to build openoffice.org-3 from the ports. >Fix: The attached patches, applied to the build area as the failures happen, got me a completed build that successfully installs and runs. Patch attached with submission follows: --- nss/unxfbsdi.pro/misc/build/nss-3.12.6/mozilla/security/nss/lib/freebl/Makefile.orig 2012-02-10 10:20:57.000000000 -0600 +++ nss/unxfbsdi.pro/misc/build/nss-3.12.6/mozilla/security/nss/lib/freebl/Makefile 2012-02-10 10:23:24.000000000 -0600 @@ -464,7 +464,7 @@ vpath %.S mpi ecl vpath %.s mpi ecl vpath %.asm mpi ecl -INCLUDES += -Impi -Iecl +INCLUDES := -Impi -Iecl $(INCLUDES) DEFINES += -DMP_API_COMPATIBLE --- moz/unxfbsdi.pro/misc/build/mozilla/security/nss-fips/lib/freebl/Makefile.orig 2012-02-10 10:11:01.000000000 -0600 +++ moz/unxfbsdi.pro/misc/build/mozilla/security/nss-fips/lib/freebl/Makefile 2012-02-10 10:11:37.000000000 -0600 @@ -431,7 +431,7 @@ vpath %.c mpi ecl vpath %.S mpi ecl vpath %.s mpi ecl -INCLUDES += -Impi -Iecl +INCLUDES := -Impi -Iecl $(INCLUDES) DEFINES += -DMP_API_COMPATIBLE --- moz/unxfbsdi.pro/misc/build/mozilla/security/nss/lib/freebl/Makefile.orig 2012-02-09 19:51:09.000000000 -0600 +++ moz/unxfbsdi.pro/misc/build/mozilla/security/nss/lib/freebl/Makefile 2012-02-10 10:25:01.000000000 -0600 @@ -429,7 +429,7 @@ vpath %.c mpi ecl vpath %.S mpi ecl vpath %.s mpi ecl -INCLUDES += -Impi -Iecl +INCLUDES := -Impi -Iecl $(INCLUDES) DEFINES += -DMP_API_COMPATIBLE --- connectivity/unxfbsdi.pro/misc/sqlbison.cxx.orig 2012-02-09 21:20:28.000000000 -0600 +++ connectivity/unxfbsdi.pro/misc/sqlbison.cxx 2012-02-09 22:45:52.000000000 -0600 @@ -7788,7 +7788,7 @@ # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ yyssp, yytoken) { - char const *yymsgp = YY_("syntax error"); + char *yymsgp = YY_("syntax error"); int yysyntax_error_status; yysyntax_error_status = YYSYNTAX_ERROR; if (yysyntax_error_status == 0) >Release-Note: >Audit-Trail: >Unformatted: