From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 9 19:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3C0F31D for ; Thu, 9 Jan 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E973146A for ; Thu, 9 Jan 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s09JA0Wg004896 for ; Thu, 9 Jan 2014 19:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s09JA0Qp004895; Thu, 9 Jan 2014 19:10:00 GMT (envelope-from gnats) Resent-Date: Thu, 9 Jan 2014 19:10:00 GMT Resent-Message-Id: <201401091910.s09JA0Qp004895@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, "Christopher J. Ruwe" Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C03F92FA for ; Thu, 9 Jan 2014 19:09:00 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ACA431450 for ; Thu, 9 Jan 2014 19:09:00 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s09J8xYG065929 for ; Thu, 9 Jan 2014 19:08:59 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s09J8x3m065928; Thu, 9 Jan 2014 19:08:59 GMT (envelope-from nobody) Message-Id: <201401091908.s09J8x3m065928@oldred.freebsd.org> Date: Thu, 9 Jan 2014 19:08:59 GMT From: "Christopher J. Ruwe" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185614: editors/openoffice-4 does not configure, dbus-deps missing X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 19:10:00 -0000 >Number: 185614 >Category: ports >Synopsis: editors/openoffice-4 does not configure, dbus-deps missing >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 Jan 09 19:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Christopher J. Ruwe >Release: 9-STABLE >Organization: >Environment: FreeBSD dijkstra.cruwe.de 9.2-STABLE FreeBSD 9.2-STABLE #0 05d5e4d: Tue Jan 7 09:09:19 CET 2014 cjr@dijkstra.cruwe.de:/usr/obj/usr/home/cjr/media/src/freebsd-git/sys/GEN_WDTRACE amd64 >Description: When building the port editors/openoffice-4 on a clean system, such as for example poudriere, the port fails at the configure state with following excerpt from apache-openoffice-4.0.1.log: checking for GTK... yes checking for GTHREAD... yes checking for GTK_2_10... yes checking whether to enable DBUS support... yes checking for DBUS... no configure: error: Package requirements (dbus-glib-1 >= 0.70 ) were not met: Package dbus-glib-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-glib-1.pc' to the PKG_CONFIG_PATH environment variable Package 'dbus-glib-1', required by 'world', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables DBUS_CFLAGS and DBUS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ===> Script "configure" failed unexpectedly. Please report the problem to office@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** [do-configure] Error code 1 Stop in /usr/ports/editors/openoffice-4. ===> Cleaning for apache-openoffice-4.0.1 build of /usr/ports/editors/openoffice-4 ended at Thu Jan 9 11:35:04 ART 2014 build time: 00:23:17 >How-To-Repeat: compile editors/openoffice-4 in poudriere I am really amazed that this has not occured before, so I am not entirely sure if I analysed the issue correctly >Fix: apply attached patch with an extra option DBUS Patch attached with submission follows: diff -urN /poudriere/ports/default/editors/openoffice-4/Makefile editors/openoffice-4/Makefile --- /poudriere/ports/default/editors/openoffice-4/Makefile 2013-11-06 12:31:22.240469531 +0100 +++ editors/openoffice-4/Makefile 2014-01-09 12:50:03.254249811 +0100 @@ -32,11 +32,15 @@ WITHOUT_CPU_CFLAGS= true MAKE_JOBS_SAFE= yes -OPTIONS_DEFINE= GCONF GNOMEVFS CCACHE +OPTIONS_DEFINE= GCONF GNOMEVFS CCACHE DBUS OPTIONS_DEFAULT=GCONF GNOMEVFS GNOMEVFS_DESC= Enable GNOME Virtual File System CCACHE_DESC= Mimimize compile time of C/C++ programs +DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \ + libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib +DBUS_ENABLE= dbus + NO_STAGE= yes .include "${.CURDIR}/files/Makefile.localized" @@ -60,6 +64,14 @@ CONFIGURE_ARGS+=--disable-gnome-vfs .endif + +.if ${PORT_OPTIONS:MDBUS} +CONFIGURE_ARGS+=--enable-dbus \ +.else +# +.endif + + ONLY_FOR_ARCHS= i386 amd64 .if ${ARCH} == amd64 @@ -195,7 +207,6 @@ --with-package-format="archive" \ --enable-gstreamer \ --enable-wiki-publisher \ - --enable-dbus \ --enable-opengl \ --enable-category-b \ --enable-lockdown \ @@ -206,8 +217,8 @@ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --without-fonts \ --with-system-serf -# --with-system-jpeg -# --enable-pdfimport +# --with-system-jpeg \ +# --enable-pdfimport \ # --without-stlport --disable-mozilla \ # --with-system-graphite \ >Release-Note: >Audit-Trail: >Unformatted: