ports/185614: editors/openoffice-4 does not configure, dbus-deps missing
Christopher J. Ruwe
cjr at cruwe.de
Thu Jan 9 19:10:00 UTC 2014
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list