Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 11:53:16 GMT
From:      Hon-Yu Lawrence Cheung <cheunghonyu@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174429: [patch] add depends to editors/openoffice-3
Message-ID:  <201212141153.qBEBrG2R089044@red.freebsd.org>
Resent-Message-ID: <201212141200.qBEC00H9050735@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174429
>Category:       ports
>Synopsis:       [patch] add depends to editors/openoffice-3
>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 Dec 14 12:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Hon-Yu Lawrence Cheung
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD headquarter.honyucheung.net 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r243787: Sun Dec  2 18:15:54 HKT 2012     sysadmin@headquarter.honyucheung.net:/usr/obj/usr/src/sys/HEADQUARTER  amd64
>Description:
To build apache-openoffice in a fresh freebsd environment without enabling any GCONF and GNOMEVFS options, it fails in configure stage result from missing dbus and dbus-glib depends.

..
..
---Begin OPTIONS List---
===> The following configuration options are available for apache-openoffice-3.4.1:
     GCONF=off: GConf configuration backend
     GNOMEVFS=off: Enable GNOME Virtual File System
===> Use 'make config' to modify these settings
---End OPTIONS List---

..

checking whether to enable GConf support... no
checking whether to enable GNOME VFS support... no
checking for GTK... yes
checking for GTHREAD... yes
checking for GTK_2_16... 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
No package 'dbus-glib-1' 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-3/work/aoo-3.4.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 info -g -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/editors/openoffice-3.

>How-To-Repeat:
To build apache-openoffice in a fresh freebsd environment without enabling any GCONF and GNOMEVFS options
>Fix:
A dirty workaround is adding BUILD_DEPENDS with dbus and dbus-glib.

Patch attached with submission follows:

--- Makefile.original   2012-12-14 07:26:55.024766833 +0800
+++ Makefile    2012-12-14 19:11:05.908309711 +0800
@@ -16,10 +16,13 @@
 
 LICENSE=       AL2
 
 NO_LATEST_LINK=        yes
 
+BUILD_DEPENDS= dbus-launch:${PORTSDIR}/devel/dbus \
+                dbus-binding-tool:${PORTSDIR}/devel/dbus-glib
+
 USE_GNOME=     desktopfileutils gtk20 libxslt libidl glib20
 USE_XORG=      x11 ice xaw xau xext xrender xrandr \
                xi xt xcursor xdamage xcomposite xfixes
 USE_GL=                gl glu
 USE_GSTREAMER= yes

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212141153.qBEBrG2R089044>